Re: [android-developers] Re: How to set and get thread priority from Java and native layers

2010-05-10 Thread Krishnakumar Ramachandran
set the priority of a background- > thread too high it has an impact on the GUI (it gets sluggish). It > must be doing something... > > > On May 10, 9:20 pm, Krishnakumar Ramachandran > wrote: > > Hi has anyone got any idea on this? > > > > On Mon, May 10, 2010 at

Re: [android-developers] How to set and get thread priority from Java and native layers

2010-05-10 Thread Krishnakumar Ramachandran
Hi has anyone got any idea on this? On Mon, May 10, 2010 at 12:56 PM, KK wrote: > I have a multithreaded streaming app which has mainly the following 5 > threads > > 1 Main App(UI) Thread > 1 controller thread (in native) > 1 audio decoder thread (in native) > 1 video decoder thread(in native) >

Re: [android-developers] Problem with fwrite onto sdcard

2009-12-07 Thread Krishnakumar Ramachandran
Hi Dianne, I am requesting WRITE_EXTERNAL_STORAGE permission. Is that enough or do i need some other permission? On Mon, Dec 7, 2009 at 1:52 PM, Dianne Hackborn wrote: > Be sure you are requesting the WRITE_SDCARD permission, which is needed for > an application to be able to modify data in t

Re: [android-developers] Re: Problem with fwrite onto sdcard

2009-12-06 Thread Krishnakumar Ramachandran
My basic requirement is to compile some of my existing C++ code with android ndk. I already have some existing logging in it which is writing to a file. I compiled my code and executed the same and found that the log file i wanted was empty. Hence i wrote a sample test application as below, which w