Thanks Balwinder, i was asking same, which you explained here. On Thu, Jun 4, 2009 at 9:58 PM, Balwinder Kaur (T-Mobile) < [email protected]> wrote:
> > I did not completely understand your question. However, one way to get > to the images, audio, video is to use the MediaStore class > http://developer.android.com/reference/android/provider/MediaStore.html > > You can use Intents with different actions like ACTION_VIEW, > ACTION_PICK, ACTION_GET_CONTENT to get to the dataType you are looking > for (depends on what exactly you want to do) > http://developer.android.com/reference/android/content/Intent.html > > You can check out the ApiDemos included with your SDK. Check out it > under <your sdk directory>/platforms/android-1.5/samples/ApiDemos. The > source code is within the "App" Category. Under Intents. > From the sample code > ... > Intent intent = new Intent(Intent.ACTION_GET_CONTENT); > intent.setType("audio/*"); > startActivity(Intent.createChooser(intent, "Select > music")); > .... > > Hope this is what you were looking for. > > Balwinder Kaur > Senior Mobile Software Engineer > Open Source Development Center > ·T· · ·Mobile· stick together > > The views, opinions and statements in this email are those of the > author solely in their individual capacity, and do not necessarily > represent those of T-Mobile USA, Inc. > > On Jun 4, 1:44 am, "[email protected]" <[email protected]> wrote: > > Hi All, > > > > I want to access the mobile file system, for reading any file, which > > exist in the mobile. For e.g. - i see all images (contain in the > > mobile). > > > > How can i achieve it? > > > > Regards, > > Amit Saini > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~----------~----~----~----~------~----~------~--~---

