[android-developers] Is that a way to only dump application heap allocations from app space?

2015-08-17 Thread Freepine
Hi, I am trying to investigate my app's memory usage by dumping all the java allocations with DDMS. However after converting the hprof dump and opening it in MAT, it says there are totally 14.2MB allocated, while in DDMS "VM heap" tab, it only shows 6.2MB in "Allocated" column. Is that because

[android-developers] Activity with new BarcodeDetector API from Google Play Services 7.8

2015-08-17 Thread gc
I'm implementing an Activity that uses a CameraSource and SurfaceView(to show the camera's view) along with the new BarcodeDetector API and after detection I'm trying to perform a finish() but it doesn't go back to the prior Activity it just keeps running this one. Here is a code snippet from m

[android-developers] vh vw issue

2015-08-17 Thread Jags
hi all, in my android app i have a webview with some html ui. i use vh vw for controls, so that my ui scales proportionately for tabs. but problem is in text box when keyboard shows up, the entire page shrinks and when keyboard is hidden, controls are jumbled up. what is the way to stop this be

[android-developers] webview affected by accessibility

2015-08-17 Thread Jags
hi all, i have a native application which contains some ui wrapped in webview. in galaxy s6, when i go to accessibility settings and change font size to small / large, text size in webview becomes small or large respectively. what are the ways to stop this ? -- You received this message becau

[android-developers] Re: Could re-use your insight! what is the meaning of PARCELABLE_WRITE_RETURN_VALUE

2015-08-17 Thread John A
In case anyone else finds this on a Google search: Most Java objects are cleaned up through garbage collection, but some need to be explicitly told to dispose of themselves when they are no longer needed. The usual example is a file handle; you need to tell Java to close that handle when you ar