[android-developers] Re: how to start the default music application from my own application
hi Peli, I tried that code where you have to pass the song number from you content provider Uri.*withAppendedPath*(MediaStore.Audio.Media.*EXTERNAL_CONTENT_URI*,1); But what if i want to pass the name of the song with complete path from sdcard? Because sending the song id gives me wrong songs sometimes. also sometimes we have same song at 2 different places in the sdcard, will the content provider has one entry or two entries for the same song? Thanks in advance, Payal On Tue, Nov 18, 2008 at 12:08 PM, Oskeol [EMAIL PROTECTED] wrote: Can you post your solution please??? I need the same functionality. I have some resources in the sdcard. If i want to start the song named in da club present in the sdcard what should i do??? Thanks in advance On 13 Nov, 16:57, Payal Amin [EMAIL PROTECTED] wrote: never mind i solve the problems. Thanks everybody for your help. Payal On Thu, Nov 13, 2008 at 10:05 AM, Payal Amin [EMAIL PROTECTED] wrote: Hi Peli, One more question, i want to play the songs from the sdcard, and the song which will be played is whatever user selects from sdcard. Can you help me with this? Thanks a lot, Payal On Thu, Nov 13, 2008 at 9:43 AM, Payal Amin [EMAIL PROTECTED] wrote: hi Peli, Thanks for your reply. I tried your code and the default media player in sdk does appear on the emulator, but only for a second and then don't know it disappears. Do i have to add anything else in the code? Thanks, Payal On Thu, Nov 13, 2008 at 7:00 AM, Peli [EMAIL PROTECTED] wrote: http://www.openintents.org/en/node/112 Peli www.openintents.org On Nov 12, 7:56 pm, Payal Amin [EMAIL PROTECTED] wrote: Hi All, I want to start the default Music application which is there when you run the emulator from my own application say hello world. Can anybody tell me how can i do so? Thanks, Payal --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: how to start the default music application from my own application
hi Peli, Thanks for your reply. I tried your code and the default media player in sdk does appear on the emulator, but only for a second and then don't know it disappears. Do i have to add anything else in the code? Thanks, Payal On Thu, Nov 13, 2008 at 7:00 AM, Peli [EMAIL PROTECTED] wrote: http://www.openintents.org/en/node/112 Peli www.openintents.org On Nov 12, 7:56 pm, Payal Amin [EMAIL PROTECTED] wrote: Hi All, I want to start the default Music application which is there when you run the emulator from my own application say hello world. Can anybody tell me how can i do so? Thanks, Payal --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: how to start the default music application from my own application
Hi Peli, One more question, i want to play the songs from the sdcard, and the song which will be played is whatever user selects from sdcard. Can you help me with this? Thanks a lot, Payal On Thu, Nov 13, 2008 at 9:43 AM, Payal Amin [EMAIL PROTECTED] wrote: hi Peli, Thanks for your reply. I tried your code and the default media player in sdk does appear on the emulator, but only for a second and then don't know it disappears. Do i have to add anything else in the code? Thanks, Payal On Thu, Nov 13, 2008 at 7:00 AM, Peli [EMAIL PROTECTED] wrote: http://www.openintents.org/en/node/112 Peli www.openintents.org On Nov 12, 7:56 pm, Payal Amin [EMAIL PROTECTED] wrote: Hi All, I want to start the default Music application which is there when you run the emulator from my own application say hello world. Can anybody tell me how can i do so? Thanks, Payal --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: how to start the default music application from my own application
never mind i solve the problems. Thanks everybody for your help. Payal On Thu, Nov 13, 2008 at 10:05 AM, Payal Amin [EMAIL PROTECTED] wrote: Hi Peli, One more question, i want to play the songs from the sdcard, and the song which will be played is whatever user selects from sdcard. Can you help me with this? Thanks a lot, Payal On Thu, Nov 13, 2008 at 9:43 AM, Payal Amin [EMAIL PROTECTED] wrote: hi Peli, Thanks for your reply. I tried your code and the default media player in sdk does appear on the emulator, but only for a second and then don't know it disappears. Do i have to add anything else in the code? Thanks, Payal On Thu, Nov 13, 2008 at 7:00 AM, Peli [EMAIL PROTECTED] wrote: http://www.openintents.org/en/node/112 Peli www.openintents.org On Nov 12, 7:56 pm, Payal Amin [EMAIL PROTECTED] wrote: Hi All, I want to start the default Music application which is there when you run the emulator from my own application say hello world. Can anybody tell me how can i do so? Thanks, Payal --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] how to start the default music application from my own application
Hi All, I want to start the default Music application which is there when you run the emulator from my own application say hello world. Can anybody tell me how can i do so? Thanks, Payal --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] How can i check the permissions on a Folder
I want to know how can we check the permissions on a folder? like the / data folder at android's root, if we create a file browser and click on it, it will show us nothing because we don't have permissions to view it's content as a user. so what i want to do is, i want to display a message to user that you can't see the content of this folder, or something like this. There is canRead() function in java api, but it always returns true... I also tried listFiles().length because it returns 0 for /data folder. But if i create a new folder in sdcard and click on it first time then also listFiles().length will be 0 and user will see that you can not see the containts of this folder. I know i can check the path of the folder and check that whether it's path starts with sdcard or not and then do appropriate option. But does anybody have tried anything which directly tells you that the folder has files/folders in it but you don't have permissions. thanks, Payal --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] flash memory
Is there anything like flash in android? like I can create some file and store it in. Or I can copy a file from my sdcard to flash? I found that user data image but I am not sure about that. Can anybody help me with this? Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] Announcing the new Android 0.9 SDK beta! http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---