Wednesday, May 30, 2012

[How to] Install Android 4.0 under VMware

1) Download image from http://www.buildroid.org/Download/android-x86-vm-20120307.iso.gz and decompress it

2) Use VMWare to mount the iso and create a virtual machine
Type : FreeBSD
Harddisk : 10G
Ram : 512MB

3) Choose Install Android-x86 to harddisk


4) Create partition and format the primary partition and then create a fake SD Card for 2G


5) After Android OS started. Run the Terminal Emulator inside the Android to get the IP Address. Type "netcfg" inside the Terminal
say the ipaddress is 172.16.85.133

6) To push file or app to the Android OS under VMWare, you need to install Android SDK. (say installed in ~/android-sdk-macosx/)

7) For example, to push Music to the sdcard
~/android-sdk-macosx/platform-tools/adb connect 172.16.85.133
~/android-sdk-macosx/platform-tools/adb push ~/Mymusic.mp3 /sdcard/Music/


8) To compile and install a sample app to the Android OS
~/android-sdk-macosx/platform-tools/adb connect 172.16.85.133
cd ~/android-sdk-macosx/samples/ActionBarCompat/
~/android-sdk-macosx/tools/android update project -t 1 -p .
ant debug
~/android-sdk-macosx/platform-tools/adb install bin/MainActivity-debug.apk

# -r option is to reinstall
~/android-sdk-macosx/platform-tools/adb install -r bin/MainActivity-debug.apk


9) Shell access
~/android-sdk-macosx/platform-tools/adb connect 172.16.85.133
~/android-sdk-macosx/platform-tools/adb shell


Friday, May 25, 2012

Galaxy Notes ICS 4.0.3 update


May 24 2012.
N7000ZSLPF – 4.0.3 – 2012 May – N7000OZSLPF – Hong Kong
N7000DXLP9 – 4.0.3-  2012 May – N7000OLBLP6 – Singapore
N7000DXLP9 – 4.0.3 – 2012 May – N7000OLBLP6 – Philippines (Sun)
N7000ZSLPF – 4.0.3 – 2012 May – N7000OZSLPF – Taiwan Download
N7000DXLP9 – 4.0.3 – 2012 May – N7000OLBLP6 – Singapore (SingTel)
May 23 2012.
N7000DDLP8 – 4.0.3 – 2012 May – N7000ODDLP5 – India
N7000DDLP8 – 4.0.3 – 2012 May – N7000ODDLP5 – Sri Lanka
N7000DDLP8 – 4.0.3 – 2012 May – N7000ODDLP5 – Bangladesh
N7000DDLP8 – 4.0.3 – 2012 May – N7000ODDLP5 – Nepal
May 22 2012.
N7000DXLP9 - 4.0.3 – 2012 May - N7000OLBLP6 - Thailand
N7000DXLP9 - 4.0.3 – 2012 May - N7000OLBLP6 - Malaysia
N7000DXLP9 - 4.0.3 – 2012 May – N7000OLBLP6 - Indonesia
N7000DXLP9 - 4.0.3 – 2012 May - N7000OLBLP6 – Vietnam
May 2012.
N7000XXLPY - 4.0.3 – 2012 May - N7000OXALPY - Open Germany

Download kies 2.0 from Samsung as OTA update may be later

http://www.samsung.com/in/consumer/mobile-phone/mobile-phone/galaxy-note/GT-N7000ZBAINU-support



Wednesday, May 23, 2012

epub title and cover tips

OEBPS/content.opf
OEBPS/content.opf Select all
<metadata xmlns:opf="http://www.idpf.org/2007/opf" xmlns:dc="http://purl.org/dc/elements/1.1/"> <dc:title>Book Title</dc:title> <dc:creator>Author Name=</dc:creator> ... ... <meta name="cover" content="cover-image"/> </metadata> <manifest> <item id="ncx" href="content.ncx" media-type="application/x-dtbncx+xml"></item> <item id="cover-image" href="images/cover.jpg" media-type="image/jpeg"/> <item id="cover" href="cover.html" media-type="application/xhtml+xml"/> ... </manifest>
OEBPS/cover.html
OEBPS/cover.html Select all
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Cover<=</title> <style type="text/css"> img { max-width: 100%; } </style> </head> <body> <div id="cover-image"> <img src="images/cover.jpg" alt="Book Title"/> </div> </body> </html>
.
.
.

Monday, May 14, 2012

How to convert GarageBand Mac project file to GarageBand iPad

Suppose you have a GarageBand project in Mac and want to convert to iPad, you should change 2 files projectData and metadata.plist using TextWrangler or TextEdit
change the word x86_64 to iPad1,1
and change macos to ios
and drag the project file say MySong.band to iTunes under GarageBand App

If you know how to use command in Terminal

cd MySong.band
sed -i.bak 's/x86_64/iPad1,1/g;s/macos/ios/g' projectData
sed -i.bak 's/x86_64/iPad1,1/g;s/macos/ios/g' Output/metadata.plist 
rm *.bak Output/*.bak