There is a difference between v1.5 and v2.0
When an application goes to the background and returns back onSaveInstanceState()/onRestoreInstanceState() are not called on v1.5
But on a screen rotation they are both called.
onPause()/onStart() are called in all the cases, always.
Saturday, March 13, 2010
Saturday, March 6, 2010
I got the confirmation!
I've just got an email from Google, they have verified my application an promised to ship a free Android phone in 2-4 weeks.
COOOOL!!!!!!!!
COOOOL!!!!!!!!
Wednesday, February 17, 2010
SD partitions
Here is a SD card with one Fat32 partition and another one ext2 partition.
Windows 5.x machine reports only about the first Fat32 and of course does not recognize the ext2. Using an utility called dskwipe, we can see the list of partitions as Window sees them:
C:\>dskwipe.exe -l
one of the lines will be the SD device name (0 here - the whole device, 1 - the first partition):
\Device\Harddisk1\Partition0
To access to the ext2 partition from CoLinux running atop the Windows we need to do the following:
Windows 5.x machine reports only about the first Fat32 and of course does not recognize the ext2. Using an utility called dskwipe, we can see the list of partitions as Window sees them:
C:\>dskwipe.exe -l
one of the lines will be the SD device name (0 here - the whole device, 1 - the first partition):
\Device\Harddisk1\Partition0
To access to the ext2 partition from CoLinux running atop the Windows we need to do the following:
- Add to the colinux.conf the following line
cobd1="\Device\Harddisk1\Partition0" - Load CoLinux and run fdisk /dev/cobd1
- Press 'u' to switch to block counting mode
- Press 'p' to output the partitions
- Write down the starting point of the ext2 partition multiplied by 512, say it will be 17754534912
- Setup a loop device:
losetup -o 17754534912 /dev/loop1 /dev/cobd1 - Check the file system integrity:
e2fsck /dev/loop1 - Mount the partition:
mount /dev/loop1 /media/sd_ext2
Sunday, January 3, 2010
Windows utils
Some command line utilities I have learnt (again).
To test the originality of the system files:
sfc /scannow
To configure power setting if the powercfg.cpl UI can not be started:
powercfg.exe
To test the originality of the system files:
sfc /scannow
To configure power setting if the powercfg.cpl UI can not be started:
powercfg.exe
Acer laptop brings troubles.
It can be called as a known fact, Windows on Acer's laptops stops working when the battery becomes weak. Nobody knows why, but the keyboard and the touchpad do not respond at all.
A solution for that - boot windows with removed battery and disable ACPI driver.
Also, acers have a hidden recovery partition, which should be accessible on Alt-F10 combination after the POST has done its job. But if the MBR record is overwritten, it's no longer there.
One can carefully restore the sector, it's template is located in a hidden partition's file (/ACER/TOOLS/RTMBR.bin). The file does not contains the partition table, so it should be taken from the existing MBR sector (back up it anyway).
A solution for that - boot windows with removed battery and disable ACPI driver.
Also, acers have a hidden recovery partition, which should be accessible on Alt-F10 combination after the POST has done its job. But if the MBR record is overwritten, it's no longer there.
One can carefully restore the sector, it's template is located in a hidden partition's file (/ACER/TOOLS/RTMBR.bin). The file does not contains the partition table, so it should be taken from the existing MBR sector (back up it anyway).
Sunday, December 20, 2009
Android dialog bug fixed
Cool, in Android SDK 2.0 the bug in which onPrepareDialog was not called on an activities reincarnation is fixed.
Wednesday, December 16, 2009
Improve internet connection
If windows internet connection slow or glitchy, try the following utility:
http://www.speedguide.net/files/TCPOptimizer.exe
To analyze the tcp/ip traffic, try Wireshark (http://www.wireshark.org/)
http://www.speedguide.net/files/TCPOptimizer.exe
To analyze the tcp/ip traffic, try Wireshark (http://www.wireshark.org/)
Subscribe to:
Posts (Atom)