[android-developers] Re: How to keep an eye on my application memory?

2011-03-06 Thread GDroid
Thanks. I've used all the values in Debug.MemoryInfo class. It has already been mentioned that Android has a memory limit (16MB / 24MB) per process. My question is, which values is used by the system to determined if my application should be killed? I tried looking for the relevant source but

[android-developers] How to keep an eye on my application memory?

2011-03-02 Thread GDroid
Hi all, Recently I decided to check how much memory my application is using. For the first test I started my application and went back to the running services screen to check my process's memory. I got ~11MB. It seemed too much in my opinion. I used the Dump HPROF file from the DDMS menu, opened

Re: [android-developers] Re: Suspicious TCP RST packets while device is sleeping.

2010-12-26 Thread GDroid
I've been seeing the same behavior myself. Can someone address this please? Thanks Guy -- 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,

[android-developers] Why the compile task in the Ant scripts is defined to compile with debug information?

2010-10-12 Thread GDroid
Hi, I took some time and imported all the new rules from sdk-location\tools \ant\ant_rules_r3.xml During the import I have noticed that in the compiler target, where the javac task is defined the debug property is set to true (debug=true). It doesn't use the manifest debuggable flag or has any

[android-developers] Audio internals

2010-08-29 Thread GDroid
Hi all, I have been using the different Audio API's for sometime now. Yet there are still somethings I'm not sure of and that are behaving differently on different handsets. I failed to find good documentation on the relations between the following: 1. AudioManager Mode - which I can change

[android-developers] Invalid Task Affinity name ... must have at least one '.' separator

2010-03-11 Thread GDroid
One of my users failed to install my application, when checking the log this error is shown: Invalid taskAffinity name XXX in package XXX: must have at least one '.' separator Anyone seen this before? I've searched the SDK documentation and it doesn't mention anything like that.. Anyone can

[android-developers] Application name error while updating - caused by adding a color resource

2010-03-09 Thread GDroid
I'll jump to the issue. When I update my application i.e. installing a new version from the SDCard using one of the APKInstallers around, only in the Installing screen the name (in the title) of my application is incorrect. Have anyone else saw this issue? Can anyone try this one their own

[android-developers] ListView scrolling issue/behavior

2010-02-16 Thread GDroid
Hi, I've encounter some kind of behavior which I'm not sure is correct. I've created an activity which consists of a button and a ListView inside a LinearLayout (Orientation = Vertical). When the activity is displayed nothing is selected. When I move the track-ball (G2 1.6) the first record in

[android-developers] Re: ListView scrolling behavior and performance

2010-02-08 Thread GDroid
listener of the item view is wrong instead use: ListView.setOnCreateContextMenuListener. I couldn't find anything regarding this in the documentation so I suggest this should be added. G'day On Feb 4, 5:46 pm, GDroid baron...@gmail.com wrote: Hi, I have a listview showing contacts. When I'm

[android-developers] Re: ListView scrolling behavior and performance

2010-02-08 Thread GDroid
listener of the item view is wrong instead use: ListView.setOnCreateContextMenuListener. I couldn't find anything regarding this in the documentation so I suggest this should be added. G'day On Feb 4, 5:46 pm, GDroid baron...@gmail.com wrote: Hi, I have a listview showing contacts. When I'm

[android-developers] ListView scrolling behavior and performance

2010-02-04 Thread GDroid
Hi, I have a listview showing contacts. When I'm scrolling the list the scroll works pretty smooth however when/if I'm trying to continue the scroll in the middle of the last scrolling the scroll just stops and sometimes the item I clicked on is selected (I have registered an OnClickListener to

[android-developers] Re: Crop a Picture after Using Camera to Take It

2010-01-27 Thread GDroid
Hi, I'm testing this code on Motorola Milestone (2.0). And I get an exception when trying to launch the Cropper: 01-27 14:29:24.210: ERROR/AndroidRuntime(1895): Caused by: android.content.ActivityNotFoundException: Unable to find explicit activity class

[android-developers] Re: Crop a Picture after Using Camera to Take It

2010-01-27 Thread GDroid
and classname in the intent On Jan 27, 1:31 pm, GDroid baron...@gmail.com wrote: Hi, I'm testing this code on Motorola Milestone (2.0). And I get an exception when trying to launch the Cropper: 01-27 14:29:24.210: ERROR/AndroidRuntime(1895): Caused

[android-developers] Re: Crop a Picture after Using Camera to Take It

2010-01-27 Thread GDroid
of the action looks good... In my app, the image-Uri in the setData is different. You use a 'file:' uri. In my app, I use a 'content:' uri. Maybe the CROP action cannot handle 'file:' uris and can only handle images that are inserted into the Images content-provider. On Jan 27, 9:57 am, GDroid baron

[android-developers] Re: EditText hint shows extra spaces when inputType=textpassword

2010-01-06 Thread GDroid
No. Any one from the Google Team have a response? On Jan 5, 4:33 am, csyperski csyper...@gmail.com wrote: I am seeing the same behavior, did you find any fix for this? On Dec 23 2009, 7:22 am, GDroid baron...@gmail.com wrote: Hi, Just wondered, am I the only one to encounter

[android-developers] Playing live video from a buffer

2009-12-28 Thread GDroid
Hi guys, I'm interested in playing live video. That is, I have my own buffer (frame) and I would like to send it to the screen. As far as I've found the Media Player class supports playing from a file or a URL. So my question is should I try using OpenGL, override the onDraw of my View, or is

[android-developers] EditText hint shows extra spaces when inputType=textpassword

2009-12-23 Thread GDroid
Hi, Just wondered, am I the only one to encounter this strange behavior. When placing an EditText inside my activity and setting its inputType=textPassword as follow: EditText android:text= android:id=@+id/EditText01 android:hint=This is a hint android:inputType=textPassword

[android-developers] Re: Picking up a PhoneBook entry under Android 2.0 !!!

2009-11-22 Thread GDroid
I've tested this code as well and it is indeed backward. Using this solution, I need to set your API Target Level to 5 (Android 2.0), and set the minimum (android:minSdkVersion) to 3 (Android 1.5). This way I am able to compile code which reference API 5 methods and run on older devices. However,

[android-developers] Re: Contacts FAQ?

2009-11-22 Thread GDroid
Thanks jarkman. I've continued the discussion in the thread you have mentioned. http://groups.google.com/group/android-developers/msg/f3b24f3a0748a622 On Nov 19, 12:27 pm, jarkman jark...@gmail.com wrote: GDroid - here's a recipe for supporting two SDK versions in one app: http

[android-developers] Re: [Android 2.0] Contacts FAQ?

2009-11-18 Thread GDroid
I would like to add one more question to this issue: 15) What is the best way to write the code so in case the API Level is below 5, some of the contacts actions can still be done correctly. As far as I've checked when publishing an application on the market there is no way to publish two apks,

[android-developers] Re: DalvikVM could not find field after ProGuard Obfuscation

2009-11-18 Thread GDroid
I was testing against 1.5. I removed the - overloadaggressively and it worked. Thanks for the help. On Nov 6, 11:52 pm, fadden fad...@android.com wrote: On Nov 4, 8:37 am, GDroid baron...@gmail.com wrote: Currently I've managed to build the correct build.xml file and run ProGuard 4.4

[android-developers] Obfuscation of Android project

2009-11-05 Thread GDroid
Hi, I'm new to Java, eclipse and android so please understand if I'm asking some stupid questions. I already have an Android Project created with eclipse and the android plug-in. I would like to make my apk file obfuscate. I search google a lot and found out: 1. ProGuard is an open-source

[android-developers] DalvikVM could not find field after ProGuard Obfuscation

2009-11-05 Thread GDroid
:540) 11-04 16:17:25.173: ERROR/AndroidRuntime(1448): at dalvik.system.NativeStart.main(Native Method) When skipping the obfuscate target during the build I don't get these errors. Any help will be appreciated… Thank you GDroid -- You received this message because you are subscribed