sdcard in avd SDK 1.5

by longhairedsi » Tue, 28 Apr 2009 23:52:10 GMT


Sponsored Links
 Hello,

I've been trying to figure out how to use the sdcard that was
generated when I created the avd file for the emulator in SDK 1.5 r1.

In previous SDKs I set this in the Eclipse run configurations  -sdcard
c:\android\sd500m.img

I could then access the sdcard through DDMS etc.

How do i specify the sdcard that was created in the avd?

Cheers
Si


--~--~---------~--~----~------------~-------~--~----~



sdcard in avd SDK 1.5

by nEx.Software » Wed, 29 Apr 2009 00:30:37 GMT


 It should automatically use the image created during creation of the
AVD.



--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


sdcard in avd SDK 1.5

by Raphael » Wed, 29 Apr 2009 01:08:12 GMT


 When you create your AVD you can use the --sdcard argument this way:

$ android create avd ... --sdcard 16M
or
$ android create avd ... --sdcard /path/to/existing/img

The former will create a new AVD with a new "sdcard.img" file of the
requested size.
The second form will use the provided image path for the sdcard.

Then just run the emulator with the avd name and it should use your
sdcard right away.

Oh since if you had customized previous Eclipse launch configurations
with extra emulator launch parameters, make sure to remove them from
Eclipse, otherwise it might override your AVD setting.

R/

On Tue, Apr 28, 2009 at 8:52 AM, longhairedsi



--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. module reference counts

Hi,

I had 2 modules where in driver1 made use of a core module, and see
that everytime, I access the application say turn on/off, the
reference count of core module increases.

The application is in such a way that, there is 1 daemon (which runs @
boot, as a service in init.rc) does an insmod of core_drv.ko, and then
there is an individual android settings.apk which does the insmod
driver.ko when it needs to use it and then does an rmmod of driver.ko
during off.

The problem I am facing is when I want to kill the daemon and do an
rmmod of core, the module reference count shows more than 1 even when
driver.ko module doesn't exist !!!
Note: This doesn't seem to happen on a non-android kernel...

regards,

-- 
unsubscribe: android-kernel+unsubscr...@googlegroups.com
website: 

2. How to set the inset.top to 0 for TextView

How to align the text to top of a TextView/container, that is top of
text should start be in (0,0) of TextView

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical"
xmlns:android="http://schemas.android.com/apk/res/android"

<TextView
android:id="@+id/text1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="TextView"
android:textSize="42sp"
android:paddingTop="0px"
android:gravity="top"
</TextView>
</LinearLayout>


I have used above snippet, however still output is not as expected

Any ideas?

-- 

3. Widget Layout Frustration

4. listDivider in 2.0

5. Why activity Icon is not removed from launcher

6. Android 2.0 setImageResource(R.drawable.my_icon)

7. Showing ellipsis in a TextView?