How to use sdcard with android source code compiled?

by kong » Mon, 20 Dec 2010 10:38:48 GMT

Sponsored Links
 I compiled android's source code.But how to use sdcard with it?

/out/target/product/generic/ emulator -image system.img -data userdata.img -ramdisk ramdisk.img

use this can run a emulator,but if I want to use a sdcard,how to do?


Other Threads

1. How to submit an issue for priority elevation? Issue# 5669

I'm wondering what the process is for elevation of a bug report at

There is a severe bug in the Android 2.0.1 software running on MOTO
DROID which is causing myself and hundreds of other peoples TXT/SMS
Conversations to be completely deleted, even if messages are NOT
marked to be auto-deleted or if the messages are locked.  In addition,
whatever bug is causing the message deletions is also causing other
files and phone settings to be removed or re-set.

This is a critical bug, many people rely on their TXT messages and
need to know that their messages will be reliably stored on the
phone.  I know I've lost many important bits of contact information
and messages of personal value.

If anyone can help get this issue noticed and at least help flush out
what is causing the problem I know there's a ton of people that would
rest easy and be more comfortable with their phones.  I'm not very
code-savvy and the problem seems intermittent for the ~160 people that
have commented on the issue so maybe somebody that is more code-savvy
can root it out through the code

Thanks for your time!


2. Problematic HTTPS Posts, help needed


I have done a lot of work with the Android communicating via http, Get
and Post, with servers. Most of it seems to work pretty much the same
as the org.apache.http.* libraries on other platforms (which is in
itself pretty neat!).

Couple of things that might be helpful

- Do the http work off the UI thread because of the way server
communication delays and times-out and such. Otherwise the Android app
manager will freak-out and the ANR dialog will appear (App not

- This may be wrong but our apps tend to create and dispose of
DefaultHttpClients often, rather then keeping them around for re-use.
We experienced problems trying to reuse object like these (kind of
like to describe with the


3. Help me in TextMessage and DataMessage

4. ADB and Windows Hibernate?

5. How to display unicode text received from a web API

6. SharedPreferences can not create the xml file

7. Example for Contacts.PresenceColumns