Re: [android-developers] File Browser: can not data folder access
11.04.2011 2:41, bahtiyar kara пишет: I know that if ı create a file in internal memory, it s saved under /data/data directory. Is it wrong? No, that's correct. Just don't hard-code /data/data/package - rather use Context.openFileInput / openFileOutput / getFilesDir. and when ı list files in my application, for example ı want to open an image or an mp3 file in internal directory in this folder. I think ı need to access there? or I think wrong? An application has access to its own files. But not to files of other applications. Other applications don't have access to your files either. What ı want to do: I want to create some directories and files in android and then I want to list them a file browser firstly. Depends on where some directories and files are. What do you should me? Do you should I need to do them in sd card? If you need to have files that are visible by other applications, then yes, using the memory card is a simple way to achieve that. Make sure you read this: http://developer.android.com/guide/topics/data/data-storage.html#filesExternal -- Kostya Many thanks for helping... -- Kostya Vasilyev -- http://kmansoft.wordpress.com -- 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 android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] File Browser: can not data folder access
Thanks for your advices Kostya.I will try to do them... 2011/4/11 Kostya Vasilyev kmans...@gmail.com 11.04.2011 2:41, bahtiyar kara пишет: I know that if ı create a file in internal memory, it s saved under /data/data directory. Is it wrong? No, that's correct. Just don't hard-code /data/data/package - rather use Context.openFileInput / openFileOutput / getFilesDir. and when ı list files in my application, for example ı want to open an image or an mp3 file in internal directory in this folder. I think ı need to access there? or I think wrong? An application has access to its own files. But not to files of other applications. Other applications don't have access to your files either. What ı want to do: I want to create some directories and files in android and then I want to list them a file browser firstly. Depends on where some directories and files are. What do you should me? Do you should I need to do them in sd card? If you need to have files that are visible by other applications, then yes, using the memory card is a simple way to achieve that. Make sure you read this: http://developer.android.com/guide/topics/data/data-storage.html#filesExternal -- Kostya Many thanks for helping... -- Kostya Vasilyev -- http://kmansoft.wordpress.com -- 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 android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Bahtiyar Kara İstanbul University-Computer Engineering 0554 797 45 37 -- 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 android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] File Browser: can not data folder access
hello, I wrote a file browser application for my project.when directories list in a listview,ı cant access the data folder. What can ı do access in it.? 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 android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] File Browser: can not data folder access
'cause you do not have permission? On Sat, Apr 9, 2011 at 8:11 PM, eagles78 bahtiyarkara1...@gmail.com wrote: hello, I wrote a file browser application for my project.when directories list in a listview,ı cant access the data folder. What can ı do access in it.? 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 android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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 android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] File Browser: can not data folder access
On Sat, Apr 9, 2011 at 8:11 AM, eagles78 bahtiyarkara1...@gmail.com wrote: I wrote a file browser application for my project.when directories list in a listview,ı cant access the data folder. What can ı do access in it.? You don't. On production hardware, applications can access external storage and their portion of internal storage (e.g., getFilesDir()) and nothing else. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training in Oslo: http://bit.ly/fjBo24 -- 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 android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] File Browser: can not data folder access
@monrie there is no permission for access to data folder in android so ı cant use a permission. Do you know any permission to do it? @mark I dont have an experience.Have you used a real file browser in Android and How it access these files? Cant I access there with any way? I think if I request a root access in my application, then can ı access data folder? 2011/4/10 Mark Murphy mmur...@commonsware.com On Sat, Apr 9, 2011 at 8:11 AM, eagles78 bahtiyarkara1...@gmail.com wrote: I wrote a file browser application for my project.when directories list in a listview,ı cant access the data folder. What can ı do access in it.? You don't. On production hardware, applications can access external storage and their portion of internal storage (e.g., getFilesDir()) and nothing else. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training in Oslo: http://bit.ly/fjBo24 -- 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 android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Bahtiyar Kara İstanbul Üniversitesi Bilgisayar Müh. 4.sınıf -- 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 android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] File Browser: can not data folder access
No, you don't request root permission. You have to have a rooted phone, there's no such thing as a rooted permission. And so no, there won't be any permission you can request to see the filesystem. Kris On Sun, Apr 10, 2011 at 1:08 PM, bahtiyar kara bahtiyarkara1...@gmail.comwrote: @monrie there is no permission for access to data folder in android so ı cant use a permission. Do you know any permission to do it? @mark I dont have an experience.Have you used a real file browser in Android and How it access these files? Cant I access there with any way? I think if I request a root access in my application, then can ı access data folder? 2011/4/10 Mark Murphy mmur...@commonsware.com On Sat, Apr 9, 2011 at 8:11 AM, eagles78 bahtiyarkara1...@gmail.com wrote: I wrote a file browser application for my project.when directories list in a listview,ı cant access the data folder. What can ı do access in it.? You don't. On production hardware, applications can access external storage and their portion of internal storage (e.g., getFilesDir()) and nothing else. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training in Oslo: http://bit.ly/fjBo24 -- 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 android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Bahtiyar Kara İstanbul Üniversitesi Bilgisayar Müh. 4.sınıf -- 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 android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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 android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] File Browser: can not data folder access
On Sun, Apr 10, 2011 at 1:08 PM, bahtiyar kara bahtiyarkara1...@gmail.com wrote: How it access these files? It doesn't. I think if I request a root access in my application, then can ı access data folder? Yes, but rooting devices isn't really within the scope of this group, and you cannot force other users to root their phones. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training in Oslo: http://bit.ly/fjBo24 -- 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 android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] File Browser: can not data folder access
k, *the permission I suggest* is linux file permission, not the android permissions declared in the manifest file, On Mon, Apr 11, 2011 at 1:08 AM, bahtiyar kara bahtiyarkara1...@gmail.comwrote: @monrie there is no permission for access to data folder in android so ı cant use a permission. Do you know any permission to do it? @mark I dont have an experience.Have you used a real file browser in Android and How it access these files? Cant I access there with any way? I think if I request a root access in my application, then can ı access data folder? 2011/4/10 Mark Murphy mmur...@commonsware.com On Sat, Apr 9, 2011 at 8:11 AM, eagles78 bahtiyarkara1...@gmail.com wrote: I wrote a file browser application for my project.when directories list in a listview,ı cant access the data folder. What can ı do access in it.? You don't. On production hardware, applications can access external storage and their portion of internal storage (e.g., getFilesDir()) and nothing else. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training in Oslo: http://bit.ly/fjBo24 -- 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 android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Bahtiyar Kara İstanbul Üniversitesi Bilgisayar Müh. 4.sınıf -- 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 android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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 android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] File Browser: can not data folder access
10.04.2011 21:29, moonrie пишет: k, *the permission I suggest* is linux file permission, not the android permissions declared in the manifest file, If that was possible with Linux, that'd be a massive security hole, and not just in Android. Thankfully, there isn't one there. Android uses Linux file system permissions to prevent applications from accessing each other's data stored in the internal storage (under /data/data/package name). -- Kostya Vasilyev -- http://kmansoft.wordpress.com -- 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 android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] File Browser: can not data folder access
hi again, There is a file browser: http://www.lysesoft.com/products/andexplorer/ If ı download this application in my android system, can ı access data folder or other system folders? http://www.lysesoft.com/products/andexplorer/How this application access the data folder? or it cant do that? -- Bahtiyar Kara İstanbul Üniversitesi Bilgisayar Müh. 4.sınıf -- 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 android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] File Browser: can not data folder access
Why do you think you need to access other applications' private data storage? 11.04.2011 2:20 пользователь bahtiyar kara bahtiyarkara1...@gmail.com написал: hi again, There is a file browser: http://www.lysesoft.com/products/andexplorer/ If ı download this application in my android system, can ı access data folder or other system folders? http://www.lysesoft.com/products/andexplorer/How this application access the data folder? or it cant do that? -- Bahtiyar Kara İstanbul Üniversitesi Bilgisayar Müh. 4.sınıf -- 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 android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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 android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] File Browser: can not data folder access
I know that if ı create a file in internal memory, it s saved under /data/data directory. Is it wrong? and when ı list files in my application, for example ı want to open an image or an mp3 file in internal directory in this folder. I think ı need to access there? or I think wrong? What ı want to do: I want to create some directories and files in android and then I want to list them a file browser firstly. What do you should me? Do you should I need to do them in sd card? Many thanks for helping... 2011/4/11 Kostya Vasilyev kmans...@gmail.com Why do you think you need to access other applications' private data storage? 11.04.2011 2:20 пользователь bahtiyar kara bahtiyarkara1...@gmail.com написал: hi again, There is a file browser: http://www.lysesoft.com/products/andexplorer/ If ı download this application in my android system, can ı access data folder or other system folders? http://www.lysesoft.com/products/andexplorer/How this application access the data folder? or it cant do that? -- Bahtiyar Kara İstanbul Üniversitesi Bilgisayar Müh. 4.sınıf -- 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 android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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 android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Bahtiyar Kara İstanbul Üniversitesi Bilgisayar Müh. 4.sınıf -- 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 android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en