[android-developers] HttpClient GC_Concurrent freed

2013-07-29 Thread Kristoffer
Hello. Iam having trouble with memory leak it will finaly cause the app to force close. I have stripped down my code just to find where the problem is and i located it to my httpclient. When i run this code iam geting many GC_Concurrent freed. if i add a Thread.sleep(1000); then i will ofcourse

[android-developers] Re: send message from class to activity

2013-07-29 Thread Piren
An Activity, like BroadcastReceiver is a class, so you've done it before. You just did it using existing mechanisms that make it simpler for you. You should read up on how to use BroadcastReceiver to send messages (it can listen to whatever you want), though the LocalBroadcastReceiver should be

[android-developers] Re: Dealing with 1000's of different devices, each one with its own bugs

2013-07-29 Thread Piren
Well, after i started encountering such issues i just LOADED my app with debugging information, like, seriously redonkulous amounts of logging. There's nothing the app didn't log, sorted with tags and extra information to say exactly what is doing on and why. It was easier to fix bugs of even

Re: [android-developers] Is anyone able to run the 4.3 emulator under Linux?

2013-07-29 Thread Jacky Alciné
I'm running 13.04, its fine. Sent from my Nexus 4 - sans the typos. On Jul 28, 2013 5:31 PM, Kostya Vasilyev kmans...@gmail.com wrote: It helps, thanks a lot! I feel so special (again) :) -- K 2013/7/28 Yaron Reinharts yaron.reinha...@gmail.com Hi, No problem here (Ubuntu 12.04)

Re: [android-developers] Widget on Lock Screen

2013-07-29 Thread Yamusani Vinay
yes i read the documentation..in developer.android.com..what i am expecting is to place my widget on lock screen..in developers site they mentioned the we can place widget on lock screen..by setting widget category as keyguard i used the same thing but i am unable to solve the issue.. On Mon,

[android-developers] Re: Dealing with 1000's of different devices, each one with its own bugs

2013-07-29 Thread a1
.I've decided to move to iOS development, and the only way to convince me otherwise is to give me a decent, reliable way of dealing with fragmentation There isn't any reliable way of dealing with fragmentation - devices and platform bugs has to be workaround (if possible) or device marked

[android-developers] android how to bring our application to foreground when it goes to background?

2013-07-29 Thread ashish
i want to bring my application to foreground when it goes to background. when my application is in the foreground then on the button click i set the taskid in a variable(id)with below code ActivityManager am = (ActivityManager) this.getSystemService(ACTIVITY_SERVICE); RunningTaskInfo

[android-developers] libGLES_Trace How to use

2013-07-29 Thread dani maoz
Hi As anyone used libGLES_trace.so . I would like to write a project (binary) which listen to opengl packet on the device (Like google OpenGL ES trace) Can any one post code example or Instruction how to use? Regards Dani -- -- You received this message because you are subscribed to the

Re: [android-developers] Widget on Lock Screen

2013-07-29 Thread TreKing
On Mon, Jul 29, 2013 at 2:48 AM, Yamusani Vinay yamusanivi...@gmail.comwrote: by setting widget category as keyguard i used the same thing but i am unable to solve the issue.. You need to describe your symptoms better. For example: What does unable to solve mean? What does your widget config

Re: [android-developers] android how to bring our application to foreground when it goes to background?

2013-07-29 Thread TreKing
On Mon, Jul 29, 2013 at 8:31 AM, ashish ashish.a...@gmail.com wrote: i want to bring my application to foreground when it goes to background. Why? This sounds like obnoxious behavior. - TreKing

[android-developers] Required: PHP Developer at DC

2013-07-29 Thread Mark J
Hi There, Please let me know if you have someone available for below mention requirement below. Please send your resume to m...@tekenergyusa.com Position: PHP Developer Location: DC Duration: 6+ months *Required Skills:* - 5+ years of experience with minimum 2 years experience in module

[android-developers] Re: Dealing with 1000's of different devices, each one with its own bugs

2013-07-29 Thread Mike
You can run most of the Android API, you can even hook up and listen to BroadCast events. There are few limitations, one is the callback, you can not use startIntentWithResult . User need to download the App from play store, and install, log in. On Sunday, July 28, 2013 5:30:57 PM UTC-4, Omer

[android-developers] Re: Dealing with 1000's of different devices, each one with its own bugs

2013-07-29 Thread Mike
Use my App, you can run code on remote device, not just read logs: https://cloudshellapp.appspot.com/ https://play.google.com/store/apps/details?id=com.cloudshell The App will allow you to run code on remote Android phones, so you can fix the bug on the phone you do not have physical access to.

[android-developers] code generation task with android-gradle build system

2013-07-29 Thread g00s
Hi, I would like to run a task in my android-gradle based build system which will generate some Java code before compilation. I would like it to put the generated source code in the build/ directory somewhere, like buid/src-generated I tried the solution here:

[android-developers] Do SQLiteDatabase references go stale?

2013-07-29 Thread Nathan
Based on previous discussions of best practices here, I employ a factory method for opening SQLite Databases. /** * Factory method ensures only one instance of database in memory. * @param path on external storage * @return */ static public SQLiteDatabase

Re: [android-developers] Do SQLiteDatabase references go stale?

2013-07-29 Thread Kristopher Micinski
Won't this happen when the app dies and goes out of memory, and is then restarted? Kris On Mon, Jul 29, 2013 at 8:00 PM, Nathan nathan.d.mel...@gmail.com wrote: Based on previous discussions of best practices here, I employ a factory method for opening SQLite Databases. /** *

[android-developers] Re: HttpClient GC_Concurrent freed

2013-07-29 Thread RichardC
Your while loop starting while (RunThread) { in your run() method will loop until an external event resets RunThread. Is this what you intended? Try putting a log line inside the while loop and watching the LogCat output. On Monday, July 29, 2013 7:22:12 AM UTC+1, Kristoffer wrote: Hello.

[android-developers] Re: Help with AndroidAnnotations

2013-07-29 Thread Ricardo Cardoso
any idea? 2013/7/25 Ricardo Cardoso rick@gmail.com Testing the console using CURL typing curl -v -H 'Content-Type: application/json' -H 'Accept: application/json' -X POSThttp://localhost:3000/api/v1/registrations -d {\user\:{\email\:\us...@example.com

[android-developers] BASS BOOST API

2013-07-29 Thread Yamusani Vinay
actually i am developing an application where i need to apply bass boost effect to media player..i tried by using following code.. BassBoost bassBoost = new BassBoost(0, mMediaPlayer. getAudioSessionId()); mMediaPlayer.attachAuxEffect(bassBoost.getId());// new

Re: [android-developers] Do SQLiteDatabase references go stale?

2013-07-29 Thread Nathan
On Monday, July 29, 2013 6:14:34 PM UTC-7, Kristopher Micinski wrote: Won't this happen when the app dies and goes out of memory, and is then restarted? Kris Not in my experience, no. Wish it were that easy to reproduce. Nathan -- -- You received this message because you are

Re: [android-developers] Do SQLiteDatabase references go stale?

2013-07-29 Thread Kristopher Micinski
Can't you send it a kill signal: that should reproduce the behavior. Kris On Mon, Jul 29, 2013 at 11:01 PM, Nathan nathan.d.mel...@gmail.com wrote: On Monday, July 29, 2013 6:14:34 PM UTC-7, Kristopher Micinski wrote: Won't this happen when the app dies and goes out of memory, and is then

Re: [android-developers] Do SQLiteDatabase references go stale?

2013-07-29 Thread Nathan
On Monday, July 29, 2013 8:20:02 PM UTC-7, Kristopher Micinski wrote: Can't you send it a kill signal: that should reproduce the behavior. It doesn't. I have no trouble opening opening databases after a kill, even after such databases were left open. Never have. But it could certainly be

[android-developers] Re: HttpClient GC_Concurrent freed

2013-07-29 Thread Kristoffer
Hello. Yes that is what i want it to do. This is a background thread that is started RunThread = true on onResume() and i set it false on onPause() and on onStop(). So as long the activity is active then this should run in background and connect a web server and later in the code iam processing

[android-developers] Re: HttpClient GC_Concurrent freed

2013-07-29 Thread Kristoffer
Here is the part of logcat when it force closes becourse of the memory. And it is pointing at: xml = EntityUtils.toString(httpEntity, UTF-8); 07-30 05:30:58.179: D/dalvikvm(10021): GC_CONCURRENT freed 1191K, 5% free 30775K/32100K, paused 100ms+176ms, total 1294ms 07-30 05:30:58.179: