Accessing sdcard filesystem through dev machine filesystem - possible?

by Marco Nelissen » Sun, 10 May 2009 06:57:59 GMT


Sponsored Links
 When the phone is plugged in to your computer, open the USB notification
(drag down the status bar, select "USB connected"), then choose "mount".





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



Accessing sdcard filesystem through dev machine filesystem - possible?

by Marco Nelissen » Sun, 10 May 2009 06:59:38 GMT


 I should add: while the sd card is mounted on your computer, it won't be
accessible to the phone, so it's probably not really going to be more any
more convenient than using adb push/pull.






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


Sponsored Links


Accessing sdcard filesystem through dev machine filesystem - possible?

by Raphael » Sun, 10 May 2009 14:20:52 GMT


 The original post is about an sdcard image, so I guess this is
emulator related. An emulator sdcard is a FAT32 filesystem so you
should be able to mount it using mount under linux if you have a fat32
support module. Under Windows or Mac there are probably ways to do
that too.

As Marco said you can't access the sdcard image or device from 2
different locations, e.g. emulator and host can't access it at the
same time, unless you want to corrupt it. There's no mount/umount UI
in the emulator so you'd have to quit it and restart it. adb push/pull
or ddms explorer might be a better choice.

R/






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



Other Threads

1. getting mainmenu applications

How can I get the list of all applications present in mainmenu and
launch them?
--~--~---------~--~----~------------~-------~--~----~

2. Can we use static class that holds all the constants for the applications?

In the last example given, it would be better to define strings like that in
an xml file as the Dev Guide suggests.





Yes it is actually better to use static classes for your constants.
e.g.

class C {
       public static final String PREFS_NAME = "MyPrefsFile";
       public static final String PREFS_FAVS = "MyFavs";
       public static final String PREFS_RECENT = "MyRecents";
}

so can use it from any other activity as follows:

SharedPreferences settings = this.getSharedPreferences(C.PREFS_NAME,
0);
String recent = settings.getString(C.PREFS_RECENT, defaultValue);

--~--~---------~--~----~------------~-------~--~----~ You received this
message because you are su...

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

3. Real Estate & SEO

4. Making UPNP (Universal Plug and Play) Protocol work for Android

5. Why there is no log message output in the logcat after installed SDK 1.6

6. Non-Market download problems.

7. How to have a horizontal scroll view with multiple buttons?