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. Using mapquest

hi,

In one of my android applications, I have to use the mapquest to show
the location and directions etc of a particular landmark. When I try
to use the mapquest, I always am getting error. I think there are some
internal redirection which is preventing the loading of the mapquest.
However, the result is not loading. Is there a time restriction on the
latency time for response from the server. The same app. is working on
iPhone.?

Pl. help me

THanks

-- 

2. Eclair Browser Plugin Help

Dear All,

   I have a doubt in Eclair source code.

   After Succesful installation of Eclaire Source code(SDK 2.0) inside
browser directory i am unable to see plugins(Eg: app_plugins) & Gears.

   But in Cupcake(SDK 1.5), these directories found inside Browser
directories.

  I want to work on Browser plugins.....

  So my question is .....

 1) Eclair supports Browser plugins Now ????

 2) If it supports.... What are the alternative of app_plugin & Gears
directory in Eclair ????

  If anybody throw some light on these isues.....





-- 

3. GsmCellLocation.getCid() format

4. AudioPool cleanup issues

5. AsyncTask and passing message back to UI Thread

6. Problems capturing keys

7. My first android application. i need advise