Android :: Interpret Device State Dump From DDMS?

Sep 8, 2009

Is there any documentation describing the various sections of "dump device state" output from DDMS?

Android :: Interpret device state dump from DDMS?


Android :: DDMS Heap Dump Permissions?

Sep 1, 2010

I'm trying to get a heap dump from ddms in Eclipse, but it gives me the following error:

"Unable to create HPROF file for application 'space.shhh'. Check logcat for more information."

And here is the logcat output: D/ddm-heap(19153): Heap dump: file='/sdcard/com.bunnies.Shhh.hprof' E/dalvikvm(19153): hprof: can't open /sdcard/com.bunnies.Shhh.hprof- hptemp: Perm ission denied.

I've tried this on an actual device (HTC Desire w/ 2.1 Eclair) and an emulator (Donut). Both gave exactly the same result as above. Also, I do have the WRITE_EXTERNAL_STORAGE permission in the manifest.

View 4 Replies View Related

Android : Dump HPROF File Button In DDMS

Nov 18, 2009

Here,http://android.git.kernel.org/?p=platform/ dalvik.git;a=blob_plain;f=docs/heap-profiling.html;hb=HEAD is a description about Dalvik Heap Profiling.

In "Android 1.6 ("Donut")" section, it says "Select your application and click the "dump HPROF file" button. ". I can find that button in DDMS.

I found there were three items in Device menu: 1.dump device state 2.dump app state(always disabed) 3.dump radio state

Is "dump app state" button the "dump HPROF file" button?

View 5 Replies View Related

General :: Get Dump Image Boot From Device

Sep 28, 2012

I was trying to get dump_image boot from my device, but I got this instead

Code:
shell@android:/ $ su root
su root
shell@android:/ # dump_image boot /sdcard/boot.img
dump_image boot /sdcard/boot.img
sh: dump_image: cannot execute - Permission denied

View 1 Replies View Related

Android :: Can't See Device In DDMS / Way To View

Apr 15, 2010

I have Windows XP and use Eclipse v3.4.1.

Under Device Manager I see Android Phone -> Android Composite ADB Interface when my Nexus One is plugged into the computer (Disk drives - > HTC Android Phone USB Device when my myTouch is plugged in), so I

View 5 Replies View Related

Android :: Ddms Unable To Recognize Device

Dec 8, 2009

I have a G1 and Windows 7. I just install the new sdk-r04 windows usb driver and java SE 1.6.0_17. I tried to start ddms and nothing. When i enter "adb devices" im getting this: List of devices attached completely empty. C:UsersRoy>adb get-state unknown.

View 2 Replies View Related

Android :: DDMS Not Display Program Data On Device

Jun 23, 2010

Can we view the database of Emails on Device through DDMS ? How ever i can see and access the database of SMS on Emulator through DDMS.

View 2 Replies View Related

Android :: Can't View Device Data Using DDMS / Way To See That Like On Emulator?

Sep 23, 2010

I have just started testing my application on a real device. Why can't I see my application data on the device using DDMS like I can on the emulator?

View 2 Replies View Related

Android :: DDMS Doesn't Show Process List On Device

Oct 15, 2009

I have two phones, one running 1.5 and the other on 1.6. When I connect the 1.6 device via usb, DDMS recognizes it and in the top-left pane shows: HT842....... | Online | 1.6, debug

It then lists the individual processes, I can select them and use various tools like allocation tracker.

But when I connect the 1.5 device, DDMS recognizes it but shows: HT95A....... | Online | 1.5

But it does not show any of the processes on the device, so I am not able to do use allocation tracker and such. The sysinfo tab works, and I can monitor logcat with filter and such in the bottom pane.

What am I missing here? Obviously the 1.5 device has USB debugging enabled. Why does it not show 'debug' in DDMS? I'm using SDK 1.5_r2 on linux (Ubuntu 9.04), if that makes a difference.

View 5 Replies View Related

Android :: DDMS Not Showing Threads From Device / Need To Change Particular Setting In Eclipse?

May 22, 2010

I'd like to check for memory leaks in my Android app using the DDMS feature in Eclipse. When I launch an emulated device, the threads display properly for the emulated device, starting with 8600 and up.

However, when I connect my Droid to the PC, the device shows up just fine in DDMS. The logcat is generated correctly, and I can view the file structure. However, threads do not display. I get "no client selected" in the Threads pane, and there is no drop-down icon next to the device listing.

Do I need to change some particular setting in Eclipse? Is this maybe a driver issue?

View 2 Replies View Related

Android :: Device Idle State Capture

Feb 3, 2009

Is it possible to somehow detect and capture the idle state of the android device? Need help on the approach which should be followed for developing idle time based applications in android?

View 3 Replies View Related

Android :: How To Know The Device State - Landscape/portrait - Programatically

Nov 5, 2009

I want to know the device state programmatically.

I mean whether the device is in portrait mode or in landscape mode by programming (in a class which extends the Activity).

View 4 Replies View Related

Android :: Interpret Adb Bugreport Tutorial

Oct 8, 2010

Is there any documentation around how to interpret adb bugreport

View 2 Replies View Related

Android :: Get Droid Browser To Interpret Sprites Better?

Oct 19, 2010

I'm developing a mobile web application and I have a home screen with a number of icons on it, so I tried to use a sprite to serve all the images in one swoop.

I noticed, however, that the iphone4 scaled the images in my sprite fairly well (they looked a little dithered), but on my HTC Evo the sprite rendered images look really blocky. I switched to standard images (background:(/image_url/) w/o background-position) and the image looked much better - see this , where the left image is served using the single image, and the ones to the right of it are served from the sprite (but are the same images in the sprite).

Is there a way to get the Android browser to interpret the sprites better?

View 1 Replies View Related

Android :: Need To Interpret Google's Code For Phone Camera App?

Jul 6, 2010

The function below is part of the code for Google's Camera app. I didn't understand the logic of the statements in bold. Please help. Code...

View 1 Replies View Related

Android :: Changing Displayed State Of Views Based On Parent ViewGroup's State

Aug 11, 2010

I have a compound UI component built up from a ViewGroup containing a number of TextView, ImageView etc. components. Many of these have StateListDrawables as their images/backgrounds. Is there any way of making them select from this drawable based on the state of the parent ViewGroup rather than the component itself? Ideally I want to be able to change the visual state of all children of the ViewGroup (text colour, image etc) based on the state of the ViewGroup, preferably without having to hook up complex logical code. This seems like a fairly common sort of requirement, so I was hoping it would be straightforward in Android - am I going to be disappointed?

View 1 Replies View Related

HTC Droid Eris :: Can Someone Interpret This - Memory Data

Mar 15, 2010

In the 2.1 Eris:

In Settings -> Applications -> Running Services

There is a white bar at the bottom. Mine says:

Avail: 10MB + 0.00B in 5 Other:0.00B in 6

(Those numbers have been different, obviously at different times. The above numbers are after killing the still-running Music, Listen, and AK Notebook processes. No other "non-essential" proceses were running. )
But what do they mean?

How does that correlate to Settings -> SD card & phone storage which tells me Available space is 86 MB?

View 2 Replies View Related

Android :: Phone State Listener State Transitions

Feb 8, 2009

I'm a little confused by what I'm seeing with regards to phone state transitions via the PhoneStateListener. When I receive a call, this is what happens: (call comes in) RINGING -> IDLE (I pick up) OFFHOOK (I hang up) IDLE It's that first transition from RINGING to IDLE without any interaction from me (not ending the call, not answering the call) that confuses me. Do I really have to implement an idle counter to know that an incoming call has really ended? Seems like the reported phone state represents some sort of phone state that isn't the obvious one.Is this a bug or am I just not in tune with the paradigm here?

View 2 Replies View Related

Android : Take A Memory Dump On App Crash?

Oct 4, 2010

I am busy writing an app and I have noticed that it sometimes crashes, and when it does and I get back to my computer then I only have the stack trace.

Is there a way for me to take a memory dump of the app at crash time?

View 3 Replies View Related

Android : Unable To Parse Hprof Dump With MAT / How To Fix?

Feb 3, 2010

I'm having trouble analyzing a hprof dum using the Memory Analyzer.. Anyone have any ideas? Here is the error message I get. I just used the "Dump HPROF file" button, and picked it up from the sdcard and opened it with MAT...

View 6 Replies View Related

Android : Get Hprof Dump For Other Processes From App Code?

Jun 16, 2010

In my application , i have an option to capture the hprof dump. I used

android.os.Debug.dumpHprofData (String fileName)

Initially i though the hprof data generated by the method above is for the entire device , which is not so . The hprof data generated is only for my process.

Now i am trying to generate hprof data for other process as well. I need to get the Hprof dump for all the running processes from application code.

from adb shell i tried "kill -10 <pid>" , This command will generate the hprof file for the corresponding process in the data/misc folder.

Now the problem is this command is working perfectly from the adb shell prompt , but i am not able to embed the command to mycode.

My code is like

Runtime.getRuntime().exec("chmod 777 /data/misc") Runtime.getRunTime().exec("kill -10 <pid>")

No exceptions are thrown , but somehow it is not working. The same code above is capturing Hprof dump for my process, when i give my process ID.

I tried with "android.os.Process.sendSignal (int pid, android.os.Process.SIGNAL_USR1) ;" also.Getting the same problem.It is capturing Hprof dump for my process. For other processes it is not working.

Do we need to have any special permission to kill other process from our process ? Or is it a built issue ? can you please suggest some possible way to get Hprof dump for other processes from application code?.

View 2 Replies View Related

Android :: How To Dump The Content Of Sqlite Via Adb Shell Command

Apr 16, 2009

I am trying to dump the content of sqlite via adb shell command.

Here is what i did:

CODE:...........

My questions I try both 'tables' command and dump the schema for 'main', I can't find my table. Can you please tell me what am I doing wrong?

In my java code, I am able to insert value to DB like this:

CODE:.................

View 4 Replies View Related

Android : Dump All Thread Stacks / Can Do This From Within Java Code?

Aug 4, 2010

We have a service that seem to get deadlocked very occasionally in the field. It's not possible to hook up to a debugger. We can detect the deadlock situation programmatically. Is it possible to do this from within Java code?

if (ohIamDeadlocked()) { Thread.something.dumpStacksOfAllThreads(); }

If this is not possible, is there an adb command that could do it? I tried "adb dumpsys" but it doesn't print any stack information.

View 3 Replies View Related

Android : Dump Current Screen To A Bitmap In Droid?

Jun 3, 2010

Is there way to dump the current screen to a bitmap in Android?

And what about dump screen of other applications? For example, running a service background, the foreground app could send an intent to start the service, and capture the current screen and save as a bitmap.

View 2 Replies View Related

Android : How To Dump A Sqlite Statements Text File Into Db?

Nov 5, 2010

I am preparing a new update of my application, in this version I need to insert lot of new rows (200) in my db.

Because I don't want to programatically add 200 insert code line for each row, I would like to know what is the best method to accomplish it just with a call to the file and dumping it into my db.

View 4 Replies View Related

Android :: Java + HTML To TXT Library That Mimics The Output Of Lynx -dump?

Nov 12, 2010

I need a library in java that can take HTML content and generate text in the same format that is generated by the Linux lynx program.

That's it. Reasons below if you care.

I need to expose data provided by 3rd party servers to end users on Android. Data format is ancient, in badly formatted HTML, so much that I've tried reading it using java and it fails occasionally (unacceptable). It is also growing every month (preinstall ruled out) and I can't convince them to change to "modern" stuff (life would be great in XML etc.).

Shortest route: I wrote a class to use the W3 html2txt service online (google search it). It worked fine on the app until I got complains and noticed that the W3 service fails occasionally. It's not that big of a deal, but the black box logic expects the output to be in this "lynx like" text format.

So I would like a library to do the conversion (HTML->TXT) in "lynx style" inside the app and avoid the outages in the W3 service. And besides, the lynx output the probably the best I've seen, the most organized and neat.

View 1 Replies View Related

HTC EVO 4G :: Droid X System Dump - Apps

Jun 24, 2010

Below is a list of all .apk files in the dump, and some notes about what is working and not working .apk apps in the Droix X dump useful for the Evo.

LIST
AccountAndSyncSettings.apk
AdminFeedNotifier.apk
AdService.apk
amazonmp3_1.7.22_signed_zipaligned.apk
android-syncservice-app.apk
ApplicationsProvider.apk
ArcPhotoworkshop.apk
ArcVideoEditorLite.apk (Doesn't work)
AtCmd.apk
AudioEffectSettings.apk
BackupAssistanceClient.apk
BatteryManager.apk
BatteryReport.apk
Blockbuster.apk (Won't install)
Bluetooth.apk
BluetoothDun.apk
blur-services.apk
BlurAlarmClock.apk
BlurCalendar.apk
BlurCalendarProvider.apk
BlurCamera.apk
BlurContacts.apk
BlurContactsSync.apk
BlurEmail.apk
BlurEmailEngine.apk
BlurHome.apk
BlurPhone.apk
BlurSNMessagingEngine.apk
BlurUpdater.apk
Browser.apk
BuaContactAdapter.apk
Calculator.apk
CalendarSync.apk
CarDock.apk (works)
CertInstaller.apk
CityID.apk
ClockWidget.apk
cmas.apk
CompassCalibrate.apk
ContactsData.apk
ContactsProvider2_0.apk
ContactsUnconnected.apk
Conversations.apk
DatamanagerApp.apk
DataManagerService.apk
DLNA.apk
DlnaSystemService.apk
DMService.apk
Dock.apk
DownloadProvider.apk
DrmProvider.apk
EnhancedGoogleSearchProvider.apk
ExtDispService.apk
file.txt
FileManager.apk
FirewallService.apk
FMRadio.apk
FMRadioService.apk
Fota.apk
FriendFeed.apk
GlobalSearch.apk
GlobalUnplug.apk
Gmail.apk
GmailProvider.apk
GoogleApps.apk
GoogleCheckin.apk
GoogleContactsSyncAdapter.apk
GooglePartnerSetup.apk
GoogleSearch.apk
GoogleSettingsProvider.apk
GoogleSubscribedFeedsProvider.apk
gtalkservice.apk
HelpCenter.apk
HomeSyncWizard.apk
HTMLViewer.apk
ImDmPlugin.apk
LatinIME.apk
LiveWallpapers.apk
LiveWallpapersPicker.apk
Location.apk
LocationProxyDmPlugin.apk
MagicSmokeWallpapers.apk
Maps.apk
MarketUpdater.apk
MasterClearErrorReport.apk
MediaGallery.apk
MediaProvider.apk
MediaSync.apk
MediaUploader.apk
megamaid.apk
MessagesWidget.apk
Messaging.apk
MotoAtCmdPlugin.apk
MotoAttAtCmdPlugin.apk
MotoGAL.apk
MotorolaSettingsProvider.apk
MtlrNotifier.apk
Music.apk
Mynet.apk
MyVerizon.apk
NetworkLocation.apk
NewsWidget.apk
oma1motService.apk
OMADownload.apk
OMAProvisioning.apk
OverlaySettingsProvider.apk
PackageInstaller.apk
PhoneAddons.apk
PhoneConfig.apk
PhotoWidget.apk
PicoTts.apk
PNI-Moto.apk
PolicyMgrProvider.apk
PolicyMgrService.apk
ProgramMenu.apk
ProgramMenuSystem.apk
Protips.apk
QuickContactWidget.apk
QuickOffice.apk
RichTextCommon.apk
ScreenReader.apk
SDMService.apk
Settings.apk
Setup.apk
SetupProvider.apk
SetupWizard.apk
Skype_mobile.live.apk ("Skype Mobile can only be used on Verizon Wireless phones")
SocialMessaging.apk
SocialShare.apk
SoundRecorder.apk
StatusWidget.apk
StickyNoteWidget.apk
Stk.apk
StorageMonitorService.apk
Street.apk
Swype.apk
SyncML.apk
SyncMLApp.apk
Talk.apk
TalkProvider.apk
TelephonyProvider.apk
Term.apk
ToggleWidgets.apk
TtsService.apk
UniversalInbox.apk
Upgrader.apk
Usb.apk
UserDictionaryProvider.apk
VClipboard.apk
Vending.apk
VideoPlayer.apk
Visualization.apk
VisualizationWallpapers.apk
VoiceCommands.apk
VoiceSearch.apk
VpnServices.apk
Vvm.apk
WeatherWidget.apk
WmdrmDla.apk
WmdrmWebpush.apk
WorkContacts.apk
YouTube.apk

View 16 Replies View Related

Android :: Debug Memory Leak Where Exception Instances In Heap Dump Have No Inbound References?

Sep 2, 2010

I've been trying to diagnose a memory leak in an Android application I'm writing. I got a heap dump loaded into Eclipse, but the results I'm seeing are very curious. There are some 20,000 instances of an exception (specifically, LDAPException from the UnboundID LDAP library) in the heap with no inbound references.

That is, they show up at the root of the dominator tree. The OQL SELECT objects e FROM com.unboundid.ldap.sdk.LDAPException e WHERE (inbounds(e).length = 0) returns over 20,000 results, totalling to nearly all of the heap. And yet, the GC runs before the heap dump and I can see that it's running in the console, repeatedly, during the execution of the leaky code. If these instances have no inbound refs, what could be keeping them alive?

I also tried doing a "shortest paths to GC" query. It shows one LDAPConnectionReader row retaining 2 instances, and ~20k LDAPException @ <addr> unknown rows with various hex addresses.

Update: I haven't had time to further diagnose this since posting it, and the bounty I posted is ending before I likely will. I'm awarding it as best I can now, lest the points go to waste. Thanks to everyone who looked into this! I will come back later and update again with the results of further diagnosis, when life is a little less hectic.

View 3 Replies View Related

HTC EVO 4G :: Unwanted Dump Of Text Message History

Nov 27, 2010

Seems that what I am about to describe has plagued Droid Incredible users (post from another Android forum). Hoping someone using an Evo on Sprint can share some insight and/or solutions to the issue.

At least twice in the past couple months, all of my text messages (several thousand within dozens of conversation threads) have suddenly disappeared without warning. It basically happens like this: I check or send some texts, check something else on my phone like my email or calender or other routine function, then go back within moments to check or send another text and just like that, my entire text message history is EMPTY. Talk about frustrating!

I have doubled checked my settings and have nothing set that would cause older messages to be purged. Anyone know what may cause this and how to prevent it from happening again? BTW, I also had all my favs as identified in my favs widget totally disappear once (had to re-select each one again). Not sure if this is related, but I thought I mention it.

View 2 Replies View Related

General :: Dump All Game Data To External SD?

Oct 2, 2012

I downloaded GT Racing Motor Academy and want to download it, but face the problem of not having enough space. I have a 32gb external SD card and moved the app itself to the SD card but want all the 650mb of game data to download to it.

SAMSUNG-SGH-I577

View 5 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved