Android :: MemoryFile Between Processes

Jun 22, 2009

I've been able to send data via shared memory between threads within a process using MemoryFile.I then tried to send data between a service and an activity in different processes, but the data did not get passed. The name for each call the MemoryFile's constructor was the same.Is it possible to share data between processes using a MemoryFile?

Android :: MemoryFile between processes

Android :: MemoryFile Object From Other Process?

Apr 1, 2009

I have created a MemoryFile object in my client application, and how can I get it in my server application? The object is large enough that I can't tranfer it by Intent or aidl interface.

View 2 Replies View Related

Android :: MemoryFile To Create A File In Memory?

Feb 20, 2009

How I could get a File path from a file create in memory using MemoryFile class? I was able to create one but I can't seem to know how to obtain a "pointer" path to this file in memory so that I could give it to MediaPlayer...

View 8 Replies View Related

Android :: Are Processes Kept Alive When Nothing Is Being Done?

Feb 8, 2010

I have an app which declares a BroadcastReceiver, the receiver gets the broadcast, does what it needs to, then ends ensuring that everything is tidied up as needed. When I examine the system through the DDMS view in Eclipse the process for the application is still running after the receiver has completed. I've even boiled it down to a simple test case which gets a shared preferences instance from the context, checks a random setting, and then exits, and, when run on the 1.5 emulator (which is the minimum supported OS level) the process is still hanging around.The reason this is an issue is memory usage (which shows under DDMS as around 2MB).I've had queries about why the application still uses up memory even when it's not doing anything, so, my question is; Is this behaviour normal, or have I missed something that would make the process exit?

View 9 Replies View Related

Android :: How Does A Singleton Behave In Different Processes?

Mar 23, 2010

I have a singleton class and I am using it to access databases. I would like to know how it would behave if I use the same from my remote service class which runs as a separate process. Will it create a new instance in that process or will it use the instance from the other process?

View 3 Replies View Related

Android :: Background Processes Not Being CPU-limited?

Apr 19, 2010

We were told that, as of Android 1.6, background processes were put in a Linux process scheduling class that limited how much CPU they would use. A few weeks ago, I ran a benchmark test that seemed to validate this claim.I have run more tests, and I am no longer confident in my earlier conclusion. I can get a background process to significantly impact the foreground process, more than would seem to be possible if the background process was, indeed, CPU-limited.

View 14 Replies View Related

Android :: Nexus One DDMS Only Two Processes

May 1, 2010

I'm having trouble using the nexus one in DDMS on Fedora 12. It is detected fine and I can see two processes, cooliris and uploader.These are the only two that show up. The emulator shows up just fine and i can debug from there. Does anyone have suggestions on how to get the nexus to connect properly?

View 2 Replies View Related

Android :: When Is Appropriate Time To Use Separate Processes?

Nov 4, 2010

I have read all about having separate processes for different Application components, and how to use them.I am curious, what are some appropriate use cases for when an application should actually use separate processes?It seems to me, the main advantage to using separate processes is to make the different portions of your app more easily killable by the OS.

View 7 Replies View Related

Android :: DDMS Does Not List Processes

Feb 15, 2009

I've been trying to locate some excessive object creation to deal with hiccuping caused by the garbage collector (any word on upcoming improvements to this, btw?), and have discovered that DDMS is the tool for the job.I shut down eclipse and booted up DDMS, and it finds my device, but lists no processes running (no matter what I run).Initially, it did list the "powermanager" app that I had installed, so I assumed this was causing some kind of conflict and uninstalled it and rebooted my device.Now it simply lists no processes.

View 4 Replies View Related

Android :: How To Share Data In Different Processes?

Nov 23, 2010

I wrote a JAVA application with native methods, and trigger encoding program in native methods. That makes two processes, one is application process, another is encoding process.I would like to know if there is a way to get encoded data from encoding program and pass them to JAVA application.

View 2 Replies View Related

Android :: View Cpu Usage Of Processes

Oct 20, 2010

Is there a process manager or task viewer for android that shows how much CPU percentage each process or even each thread in a process takes up?

View 1 Replies View Related

Android :: Two Processes Are Created On First Running Of My Application

Mar 4, 2010

Some times after installing my application and first running my application is creating two processes as follows.


View 4 Replies View Related

Android :: Instantiating Activities Into New Tasks / Processes

Jul 28, 2010

I have an application with a multi-instance activity. I would like each instance of the activity to appear in a new task and process. Any suggestions on how to do this? By manipulating the manifest I can cause all instances of the activity to appear in a specific task and
process, but I haven't found any way to cause each instance to appear in a different task and process.(The requirement to have different tasks is that we want each instance of the activity to appear separately in the task list; the requirement for different processes is that each instance of the activity is backed by a chunk of native code with global state. We can't change either of these.)

View 1 Replies View Related

Android :: Debugging System Processes In Eclipse

Jan 18, 2010

How can I debug some system process (...acore), for example, the status bar, in Eclipse ? I couldn't find any help online yet. I'm able to debug a normal application, but not system threads (windowManagerSevice etc).Also, when I open the Android source in Eclipse using the official instructions, I get build errors, is it OK ? (already executed "make" successfully)

View 2 Replies View Related

Android :: Post Messages Across Processes By Using Handler?

Aug 13, 2010

I have to post messages from one process to another process by using handler .

I am using but i am not getting those messages in another process. I am not getting any exceptions also.

Is it possible to sent messages across processes using Handler?

If it is the case how can i do it?

View 5 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

HTC EVO 4G :: Can Somebody Tell Me What These Processes Are For?

Jul 22, 2010

I rarely play music on myphone, but i do have a few songs on my SD card. Using battery history it shows that MEDIA uses the most internet usage. Was wondering if its safe to put these on autokill and turn off in startup manager

View 1 Replies View Related

Android :: Share Files With Different Activities Running / In Different Processes In Application

Mar 16, 2010

I would like to share a cache file across activities, which are running in different processes but in a same application.So, is there any way to make it thread safe (probably not "thread safe", should we call it "activities safe" or "process safe" ?

View 2 Replies View Related

Android :: Check Memory Consumption Of Each Running Processes Individually With SDK?

Apr 7, 2010

I would like to check the memory consumption of each running processes individually, cat /proc//statmis ok, but opening a shell for each check is time consuming, and maybe not the best way. any advices how to do it with the SDK?

View 1 Replies View Related

Android :: Game Doesn't Work Due To Thread Background Processes

Mar 8, 2010

I have written a very simple game with some simple animations, but I've noticed that when the phone checks email, or several other apps are running, the animations that update in my thread start behaving slowly or choppy. This is a problem as the game mechanic requires some careful timing of your screen touches based on the animations. So if it starts behaving erratically, the game doesn't really work well - and isn't much fun.
Is there a way to prevent this? Can my threads have a higher priority when they need to run?

View 3 Replies View Related

Android :: Anti-Task Killer To Keep Droid From Closing Processes?

Aug 23, 2010

I subscribe to the church of not using a task killer but what I really would like is an app that I can select programs I don't want android to kill.

An example of why I want this: theres 3 to 4 websites I view for the most part on my phone. I like to open my browser and get it all set up in tabs on Dolphin. However, if I don't use it for while, I re-open the browser to find it had been closed and I have to repeat.

I'd use this in conjunction with the app that monitors CPU use (forgot what it was) and gives a notification if an app rises over a customized threshold in case the app started getting too hungry.

View 1 Replies View Related

LG Eve :: Want To Kill Application / Processes

Sep 27, 2010

After searching, I was unable to find any post that deals with my particular problem, and I don't know if it's a problem or something I have to deal with. On my LG Eve (unlocked, not yet rooted), when I run Task killer, I notice that there are two items in the list that look like configuration files (window with a gear in front of it):
com.tni.Task killer:Captain Obviously, the first one is linked to Task killer and if I kill the configuration file, it kills the Task killer process. When I try to kill, though, it does nothing. The file remains in the list and is also visible in the Task killer widget. (Speaking of the widget, when I kill Task killer, the icon for the 2 configuration files usually remain, even if I auto kill everything.) Doing a little searching on the tubes, I found that are the developer for Quick Settings. I don't think I downloaded that app yet, but I might have and subsequently deleted it. Is it possible that the configuration file remains after I un install an app? If so, how do I remove that con fig file?

View 1 Replies View Related

Android :: Debug Live Running Apps To See What Processes Are Taking Alot Of Cpu Time?

Jan 30, 2009

is there any way to debug live running apps to see what processes are taking alot of cpu time? I see the options in DDMS but they are not really live. I would just like to see what processes took alot of time so I can dig into the code to optimize it

View 2 Replies View Related

Samsung Galaxy S :: How Many Processes Should Be Running?

Aug 14, 2010

I have advanced task killer on my phone but am amazed at the numbers of processes it seems to kill. I have the ones I know I need set not to close down like adw launcher the HTC keyboard etc however it regularly reports its closed down 40 + processes when I run it.The I run it a few moments later, not having launched anything, and it reports shutting down another 20 or so.Is this right?Could this be the cause of the lagging? I am currently running JM5 firmware which seemed amazing to start with but now seems as laggy as it was before.

View 5 Replies View Related

HTC Droid Eris :: Do You Really Need To Kill Processes?

Dec 31, 2009

I am sorry if this is something that already was talked about. However i didnt find a good thread about this so i am going to start a new one.I was told by one geek that i know (trust me, a big big geek) that Android OS learns what apps you use and which you dont. It takes time (1-2 weeks) of normal usage though.I also found this article. Why You Shouldn't Be Using a Task Killer with Android Geek For Me - Android CDMA Sprint Hero.Now I uninstalled ATK and seeing if the phones performance will be affected in the long run. I have a feeling that the first several days will be pretty slow, but i bed it will get better.What do you think? My buddy has been using his Eris w/out ATK for a week now and everything is smooth and quick.

View 41 Replies View Related

Samsung Captivate :: Way To Kill Processes And Keep It Off?

Jul 20, 2010

Is their a way to kill processes and keep it off?

View 8 Replies View Related

Nexus :: List Of Processes Top Right Corner

May 14, 2010

I have a N1 and at some point, a list, which appears to list all my processes, has appeared in the top right corner of my display, and is ALWAYS on regardless of what im doing, in any app, at all times.I believe it first appeared when I installed an app called PowerSaveMode.I have uninstalled it, and checked settings and such, but it appears to be separate from that.

View 6 Replies View Related

General :: How To Manage Processes Properly

Feb 13, 2013

I have a GS2 skyrocket running CM10.1 and i've read that task managers are rather obsolete now. However I have noticed that when I let my phone run standard app process limit the battery life is around 30% worse than when I set the app limit to 4 processes in the developer settings. Now that I have CM10.1 and it doesn't have developer options, i'm wondering what I can do to limit my processes down to conserve battery?

View 1 Replies View Related

General :: Tracing Partition Processes

Jul 9, 2013

how can i trace my recovery partitions all stuff, work ,process etc.? I want to know what is going on while i am entering to recovery. Because this partition is encrypted and i hope i can get some info from this trace stuff for reading the file system of the partition. My tablet running Android 4.0.3, Rooted.

View 3 Replies View Related

HTC Incredible :: How Do Widget Processes From Running All Time?

May 23, 2010

I'm running into this problem with skype and score mobile. Every time I start my phone up, their widget processes are running in the background, but when I go into the options of these programs, there are no options to turn them off. How do I prevent these widget processes from running all the time?

View 2 Replies View Related

Copyrights 2005-15, All rights reserved