DDMS data drop down not working - android

I am running my application in HTC Sensation XE but i couldn't access the data->data files as i click the drop down nothing happens. I tried to reset the connection but it fails all the time don't know what the issue is can anyone help please. I have tried to find permissions but couldn't find it in my phone settings.
Here is a screen shot of it
When i open File Explorer first:
After clicking the data drop down button noting happens but the button disappears

There are private files under /data/data. It is right that you can not see anything in it.
What your should do is to root your phone and remount your /data/data partition.

Its because you have not set the permission to make your data accessible in your system.
You have to provide the permission to access the sdcard data from the settings then only you will be able to view and access the data->data folder.

Related

Why the data folder is empty of file explorer in android monitor device?

some time prob like this (Nothing To show) I try to run my app through different devices like emulator Genymotion or Samsung. When I want to check my data in monitor device there is no data in the data folder and sometimes nothing is present in the file explorer. But the app is working properly like search update the data. I have no idea about rooting because I'm new here, please someone guide me if you know...

Android keeps deleting my files while in recovery

I am trying to install a custom ROM on my HTC one m8. I unlocked the boot-loader, installed a custom recovery and everything works fine but whenever I try to put a custom ROM .zip on my SDcard, I see it with File Manager on my phone but if I reboot it on recover mode these files get deleted. I don't understand, help me please!
Resolved : sd card is too old and I can't write nor delete anything on it, I used adb push to put custom rom in the phone's internal memory

Android Emulator - the error message 'Unfortunately browser stopped working'

Whenever I click the browser icon in the android emulator; I get the error message 'Unfortunately, Browser stopped working'. I tried couple of AVDs; but no success.
What exactly is wrong?
Edit the Android Virtual Device settings inside your AVD manager that you are using and try starting your emulator with the "Use Host GPU" option enabled, this will help to fix your error with the browser.
For downloading files with the browser make sure you also add enough size to your SD Card option. After editing both settings, start Android and goto: Settings -> Apps -> Browser. (If needed force to stop the browser) then goto permission and enable storage permission to be enabled. This will fix your error with the browser when downloading files.
Make sure that you have set the SD card to have some storage capacity - set it to 2GB and restart the emulator. The browser won't work without SD card storage, in my experience.
Also, be sure to get logcat so you can see any future error messages.
go into settings, apps, select Browser, and then permissions. Then simply enable "Storage" and you should be good to go.
I guess the bookmark data got corrupted somehow. Just go into settings/apps and clear the browser data. You will lose your bookmarks though. At least the browser doesn't crash anymore.

Where do I find app data in Android

My goal is to save data from app in a text file for further analysis. I used the exact code as given here for saving data:
The data is stored and retrieved according to the app, but I am not able to find MySampleFile.txt (even using the search functionality) on the phone.
I can't find it in Android -> data -> com.*.*. I have a Samsung Galaxy S3. Is anything different in this phone?
Should I make any modifications in the phone?
Do the following to be able to see your data stored in the phone's internal memory.
Turn on USB Debugging on your phone.
Connect your phone to the system.
Open DDMS perspective in your Eclipse.
Select your device from the devices tab on the left.
On the right, the last tab will be File Explorer. Open that.
Traverse to data/data/your.app.package to find the data you want to see.
P.S:- NEVER root your phone, unless you're a developer who loves to mess around with the System apps.
To see data, you phone must be root. Samsung Galaxy S3 is not a root from vendor, you need to root your phone to access internal memory/storage, you can only access external memory/storage in your phone i.e. sdcard
But, i would suggest you to use Emulator rather root your phone.
Here, are some links about what is rooting, you can go through these:
http://gizmodo.com/5982287/reasons-to-root-your-android-device
http://lifehacker.com/5789397/the-always-up+to+date-guide-to-rooting-any-android-phone
http://en.wikipedia.org/wiki/Android_rooting
But again I would suggest to use Emulator unless you are not expert enough to root and Install firmwares again when you don't want your phone root.
Please use Emulator to see data->com.package
From Windows Menu->ShowView->Others->android->fileExplorer you can see the file in your device
Specify permission in AndroidManifest.xml:
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />

Android: cannot access sdcard files from device

I'm working on an android app that writes and reads .PNG files from sdcard. I've already tried it on a device (htc) and it was working fine. Then I had to modify some code to correct some errors (Note that changes made had nothing to do with save/open function). But now just like that I can no longer save/open files on sdcard.
I've tried to open sdcard folder in DDMS File Explorer view (eclipse) but it appears empty and the permissions are d---------. I think it has something to do with the permissions but I have no idea what exactly is causing this problem and how to solve it.
To see if the problem was in my app I tested it on an emulator and it's working fine. So the problem is definitely related to the device.
Any suggestions?
Make sure you didn't connect the phone to your PC in "disk drive" mode.
I recall that in order to be able to view contents of certain directories with ddms you need to have rooted your phone to get the permissions.

Categories

Resources