How to get several SdCard devices names on Android ?

by Peter Jeffe » Tue, 25 May 2010 00:40:55 GMT


Sponsored Links
 



As it says, this call gets the FAT volume id for the given mount
point:

    public static native int getFatVolumeId(String mountPoint);

--



How to get several SdCard devices names on Android ?

by Peter Jeffe » Tue, 25 May 2010 01:38:13 GMT


 


Sorry, I realized I was bit terse here.  This isn't an exposed
interface, so it's unsupported, but it's the only way I know to get
it, so use at your own risk.  Create the following class:

package android.os;
public class FileUtils {
    public static native int getFatVolumeId(String mountPoint);
}

and put that in an android.os package in your app.  It's basically a
stub that lets you access the call at runtime.

--


Sponsored Links


Other Threads

1. How to execute Replace command

Hi,
In SyncML Device management Replace command is used to replace DevInfo or
DeviceDetails
But i don't know how to acheive this.
We can read the DevInfo from android.os.Build API
This is only readable , how to  execute this "Replace " command in remote
device management using SyncML.
Thanks in advance.

-- 

2. Saving the contents of an array

How do I save the contents of an array to a file and then read it
again later? I have a small amount of data that will need to be stored
and since I have no idea where to start on using a SQLite database, I
think this will work a lot better.

3. Example on how to use Scroller in an activity

4. (Turun harga) WTS : HTC Hero putih

5. Ganti SPL ke engineering SPL dari ADP1

6. Kelas bulu dulu

7. Example on how to use Scroller in an activity