Android :: How Android Handles Apps / Processes?

Jun 19, 2010

I've got the htc legend and its an awesome phone. I just wanted to ask to get an idea of how android works on relation to how it handles apps/processes etc. Using a task manager I see that tonnes of apps start when the phone boots. I see apps like app brain, msn talk,.radio, twitter app, stocks, footprints, maps and a whole plethora of others. What makes them start like this? What's the purpose? Do they have a negative impact on performance? It seems like all the apps listed see ones which have shortcuts on the home screen or related widgets. Is this how it works? Although they are listed date saree are they actually taking up system resources? And then there's ones like radio and stocks which I never use and don't have home screen shortcuts for, but they still start. Sometimes when mass kill apps (not processes) it sorta freezes for a while then has to reload the home screen. None of the apps I killed were essential ones, happens sometimes when I kill a bunch of third party apps. Would it be beneficial to kill most of the listed apps which apart on startup that I never use? I try to refrain from using the task manager but Coming from windows I'm just used to massacring all unnecessary processes and programs to keep everything clean.

Android :: How Android handles apps / processes?


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

Android :: Handles Sms When Receives Them?

Sep 24, 2010

I am just wondering about how android handles sms when it receives them. More precisely my question is when the android phone receives a sms message, which application saves the message to the mmssms database? Is this done by the OS or by the native sms application?

View 1 Replies View Related

Android :: EditTexts And Handles

Jan 26, 2010

I have an issue with an application I'm writing for Android. Here's the problem: I need to create several EditText fields on the fly, while still maintaining some sort of handle to each individual one. For example: I create four EditText's, and I wish to submit the information from them to a server via an HTTP connection. How do I get the user-inputted data out of these EditText's after they have been created? (I guess what I'm asking is how exactly do I use the setId() method, because it doesn't seem to be working for me).

View 9 Replies View Related

Android :: Application Handles Updates?

Apr 13, 2010

How an android application handles updates ? What kind of information does the application usually needs to send to request an update, and what does it receives back ?

View 1 Replies View Related

Android :: Handles Power Management Application?

Oct 3, 2009

I am looking for an application that handles power management. I downloaded the Power Management app, but the free app has limited features. I am looking for a free app.

View 2 Replies View Related

Android :: OnToucheEvent Badly Handles ItemizedOverlay

Jul 6, 2009

I have the following exception that occurs I don't really know in which circumstances.

I'm just trying to add an overlay to may viewMap, and I don't have anything special in my classes. The most strange thing is that it worked for a while, then it broken again when I changed my image!

CODE:............................

View 4 Replies View Related

General :: How Does Android Handles Cache And Storage

Mar 29, 2013

I have a HTC EVO 3D for months now and I've never experienced issues with it, but I aways have plenty of storage left and have done a system reset once so I don't know how it behaves. I'm very curious about this because I've explored some apps cache sizes and for example Facebook was about 50 MB. Is there a limit?

I'd like to know what happens when the internal storage runs out of space. Does Android (regardless of device / custom manufacturers "skins") automatically take care of deleting old cache files from apps?

I mean, if you run out of internal storage in a Nexus device, what happens?

View 2 Replies View Related

Android :: Yahoo IM Client That Handles Linked Accounts?

Jun 19, 2010

Does anyone know of a Yahoo IM client that handles linked (AKA Aliases) accounts? I have tried the following clients:
- Meebo
- Palringo
- IM +
- eBuddy
- Nimbuzz
- Hi Yahoo
- Yahoo Droid

They all have the same issue which is: I have linked yahoo accounts (a primary with other accounts linked). When I log into a yahoo account with the above clients and I receive an IM to a linked account, I receive the IM just fine, but when I respond to the IM, it will send from the primary (or logged in) account and NOT the account that IM was sent too. What SHOULD happen is the IM should be sent from the account that the IM was sent too just like the desktop app works.

View 1 Replies View Related

Android :: How Android Handles PCM Data From Voice Call?

Oct 14, 2010

I am trying to understand whether or not Android handles the phone conversation's audio stream or it is done outside Android's framework. Specifically, if, for example, Android controls a cellular processor that provides PCM interface for voice conversation and there is a need to send audio over Bluetooth instead of using mic/speakers, how this is handled? There are two ways here to the best of my understanding:
1. Route PCM from cellular to audio port on Android CPU, then let Android receive the stream and send it to BT stack for processing and eventually pushing to BT hardware over HCI 2. Have Android control a HW switch that will route PCM directly to BT HW using direct PCM interface Which one applies? Is there a preferable way (best usage of resources provided by Android)?

View 3 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 :: 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?

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

HTC Desire :: Bluetooth - How It Handles Calls - Media

Jun 18, 2010

I have the following setup:

Desire
Aux Input (for music)
SuperTooth One BlueTooth Hands Free

When I drive, I use the HTC Desire to play the sat nav instructions and music out of the Aux to the stereo however, if I enable Bluetooth, all music and commands are sent through the Bluetooth receiver instead.

On the iPhone, you have the option to route audio through headphones socket or through the BT device - but cannot find out how to do it on the Desire.

Are there any applications that make it possible to route calls out via BT and everything else out over the Aux?

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.

CODE:................

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 Handler.post/Handler.sendMessage 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

Bluetooth Adapter Which Handles Sending And Receiving Messages

Sep 23, 2011

I'm writing an app which contains three tabs.. let's just call them TabA, TabB, and TabC.

In my main class which extends TabActivity I have a Bluetooth Adapter which handles sending and receiving messages. I initialize the BluetoothAdapter onStart. Part of the initialization tries to reference controls on the three tabs. But my problem is that only TabA (my default tab) has been initialized at this point so when it tries to access TabB and TabC, they're still null.. How can I initialize all 3 activities, and access controls on each of the tabs when receiving messages from the BluetoothAdapter? (Basically I want TabA to contain a TextView to log all messages, TabB will contain a few controls like sliders and checkboxes that will change based on the messages recieved, and TabC will just have an array of buttons that send specific data..)

View 1 Replies View Related

Android :: How Marketplace Handles The Information Related To Marketplace Applications?

Jan 8, 2010

Any thought on how the Marketplace handles the information related to the marketplace applications? I wonder if the request is posted to the marketplace every time client is started or if some of the available applications data is stored locally and refreshed by the background service.

View 4 Replies View Related

Sprint HTC Hero :: How Phone Handles Multiple Gmail Accounts?

Oct 6, 2009

I asked this in the other "Hero" subforum, but I thought I'd ask it here, too. I really like what I see from this phone, but I wonder how it handles multiple Gmail accounts. I have three Gmail accounts for different purposes. My iPhone 3G handles these with no problem. I don't see anything in the Hero manual that indicates that it will play well with multiple Gmail accounts.

View 9 Replies View Related

Motorola Droid :: Handles Netflix In Browser Pretty Well - Summury Box Come Up And Everything

Nov 8, 2009

I am pretty happy about that. The little summary pop up boxes come up and everything. There is no need for a app for that, just a bookmark for me.

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







Copyrights 2005-15 www.BigResource.com, All rights reserved