Recent Notes

Displaying keyword search results 71 - 80
Created by freyo on April 18, 2011 20:47:08    Last update: April 18, 2011 20:51:16
This is a step by step guide to get you started with Android development. It is not intended to be systematic. For that purpose, Google's Android Developer's Guide is the best choice. The purpose of this tutorial is to get you started with Android coding as quickly as possible, with the least amount of fuss. I believe that nothing beats hands on experience when you are learning a new thing. Preparations: Download and install the Android SDK. Make sure you download at least one Android platform and the SDK Platform-tools (step 4 of the installation guide). For the purposes of this tutorial, you don't need Eclipse. Download and install Apache Ant . First steps: Create an AVD (Android Virtual Device) Start the Android emulator with...
Created by freyo on April 12, 2011 13:05:33    Last update: April 12, 2011 13:06:26
android:sharedUserId (from Android doc): The name of a Linux user ID that will be shared with other applications. By default, Android assigns each application its own unique user ID. However, if this attribute is set to the same value for two or more applications, they will all share the same ID — provided that they are also signed by the same certificate. Application with the same user ID can access each other's data and, if desired, run in the same process. Declare sharedUserId in AndroidManifest.xml : <manifest xmlns:android="http://schemas.android.co... Retrieve sharedUserId programmatically: import android.content.pm.PackageManager; impor...
Created by magnum on March 25, 2011 13:14:56    Last update: March 25, 2011 13:15:18
dd is the free ghost on the Linux platform. It copies raw data from one place to another. copy one partition to another (destination partition must be larger than the source partition) dd bs=256k if=/dev/sda1 of=/dev/sdb1 copy the floppy drive to an image file dd bs=128k if=/dev/loop2 of=/tmp/floppy.img copy the floppy drive to an image file and compress it dd bs=128k if=/dev/loop2 | gzip - -f >/tmp/floppy2...
Created by magnum on March 25, 2011 12:31:58    Last update: March 25, 2011 12:31:58
Create an image file of the correct size $ dd bs=1024 count=1440 if=/dev/zero of=floppy.img... Make dos file system $ mkfs.msdos floppy.img mkfs.msdos 3.0.9 (31 Ja...
Created by magnum on March 25, 2011 11:42:49    Last update: March 25, 2011 12:27:14
On Linux, you can mount floppy or CDROM iso images with the help of Loop Device . A loop device is a pseudo-device that makes a file accessible as a block device. To mount a CDROM iso image: $ sudo mount -o loop /tmp/mstrip.iso /mnt/cdrom ... To mount a floppy image: sudo mount -t msdos -o loop -o umask=000 ./floppy....
Created by voodoo on March 24, 2011 09:55:43    Last update: March 24, 2011 10:04:02
Goto http://www.adobe.com/downloads/ , click the download flash player icon Select YUM for Linux from "Select version to download" dropdown Save the rpm file, which is about 4.3K. Install the RPM: rpm -i adobe-release-i386-1.0-1.noarch.rpm Import the Adobe key: rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-adobe-li... Install the flash plugin yum install flash-plugin nspluginwrapper.x86_64 ns...
Created by voodoo on March 10, 2011 11:08:45    Last update: March 10, 2011 11:09:18
Looks like for Linux fdisk , cylinders as display units was deprecated, using sectors is the new way. # fdisk -v fdisk (util-linux-ng 2.18) # ... Notice that cylinder numbers actually overlap for the last 2 partitions.
Created by magnum on March 09, 2011 15:49:58    Last update: March 09, 2011 15:49:58
GNU cpio copies files into or out of a cpio or tar archive. There are 3 modes: -o : copy-out mode, copies files into an archive -i : copy-in mode, copies files out of an archive -p : copy-pass mode, combines the copy-out and copy-in steps without actually using an archive Examples: # create a cpio archive with all files in the ...
Created by voodoo on March 07, 2011 15:24:26    Last update: March 07, 2011 15:24:26
# yum install mysql-server Loaded plugins: pres...
Created by voodoo on March 04, 2011 12:46:58    Last update: March 04, 2011 12:47:35
According to SELinux Trouble Shooting Tool AVC AVC stands for Access Vector Cache . SELinux Denials are reported in the logging system as AVC 's with the denied key word.
Previous  3 4 5 6 7 8 9 10 11 12 Next