Amazon Gift Cards

Saturday, December 27, 2008

Sdcard on google android in Mac

Back when i was still posting my tech post on monmonja, i created a post which talks about sdcard on android, that post was done on ubuntu, and currently i shifted to mac coz i feel 8.10 has no big changes (im using it on my ps3). Anyways based on my old post, this is a tutorial on how to get sdcard on android in mac.
SanDisk 2 GB Class 2 SD Flash Memory Card SDSDB-2048-A11
1) Using terminal goto your tools folder
-- cd ~/myandroid/tools

2) make an sdcard (lets put it on our Desktop)
mksdcard 2147483648 ~/Desktop/sdcard.img

3) The beauty of mac is that i knows how to mount files when it sees it's mountable, on our ubuntu guide we need the help of losetup, here just go to the file and double click it. It will be mounted and you can do anything with it (drag,copy,paste) as long as finder can do it.

4) Last final step is to mount our sdcard to our emulator, on eclipse, goto
Run > Run Configuration > Target Tabs > Additional Emulator Command Line Options
* Type the following
-sdcard /Users/almondmendoza/Desktop/androidsdcard.img

Replace almondmendoza with your login name

1 comment:

Monmonja Programming Blog » Blog Archive » Sdcard on google android said...

[...] This is a tutorial on how to emulate a sdcard on google android. This tutorial is a bit advance and is done in Ubuntu. I hope this can help android developers and fasten up your development. Update: For Mac users please see this post [...]