[android-developers] Facility to execute code before BOOT_FINISHED

2009-09-02 Thread salza
Does Android or Linux provide any facility so that I can execute code before Android has been loaded or initialized? This code execution would not need any Android Library methods but only low-level functionalities that Linux provides even without Android.

[android-developers] Re: Ressource Management / Priorization of applications?

2009-09-01 Thread salza
? On Aug 28, 3:00 am, salza floriansa...@googlemail.com wrote: Maybe I misunderstand something. Let's say thread A of process A has the priority very important and thread B of process B has the priority not so important. In Android every process has its own Dalvik VM instance - so thread

[android-developers] Re: Load of applications in RAM

2009-09-01 Thread salza
How can I set a trigger of an application? And which triggers do built-in applications like e.g. Phone have? As you said, that as little as possible should be loaded at system startup, is there any regulation system that controls that not too many applications are loaded into RAM at system

[android-developers] hardware interrupts

2009-09-01 Thread salza
If there is any hardware interrupt, what is Android's worst-case latency to respond on that? Has anyone already experimented on that topic? On the other hand, if we have differentely priorized threads, what is the worst-case latency to switch threads when a higher-priority thread becomes ready?

[android-developers] Re: CPU bandwidth control for threads/apps

2009-09-01 Thread salza
Well, does maybe someone have an alternative idea how I could solve that in another way? On Aug 28, 9:08 am, salza floriansa...@googlemail.com wrote: Does Android provide a facility to ensure certain applications and/or threads receive a minimum of CPU bandwidth (and other apps/threads

[android-developers] Re: CPU bandwidth control for threads/apps

2009-09-01 Thread salza
...@gmail.com wrote: android.os.Process.setThreadPriority (android.os.Process.THREAD_PRIORITY_...); On Sep 1, 8:10 pm, salza floriansa...@googlemail.com wrote: Well, does maybe someone have an alternative idea how I could solve that in another way? On Aug 28, 9:08 am, salza floriansa

[android-developers] Re: Ressource Management / Priorization of applications?

2009-08-28 Thread salza
, Aug 27, 2009 at 8:52 AM, salza floriansa...@googlemail.com wrote: So is there any method I can use, to set the priority for a process? Linux normally has this ability (e.g. nice - Set process priority of new processes) In the Android API I found a method to kill processes: killProcess(int

[android-developers] Load of applications in RAM

2009-08-28 Thread salza
Does someone know when application are loaded into RAM? I think I have do differentiate between home applications / built-in applications like the phone application and application that are not needed immediately after boot-up. So are these different types of applications loaded into RAM at

[android-developers] CPU bandwidth control for threads/apps

2009-08-28 Thread salza
Does Android provide a facility to ensure certain applications and/or threads receive a minimum of CPU bandwidth (and other apps/threads are prevented from consuming all the CPU bandwidth)? --~--~-~--~~~---~--~~ You received this message because you are subscribed

[android-developers] Re: Ressource Management / Priorization of applications?

2009-08-27 Thread salza
So is there any method I can use, to set the priority for a process? Linux normally has this ability (e.g. nice - Set process priority of new processes) In the Android API I found a method to kill processes: killProcess(int pid) So is there any possibility for me as a developer to use a method

[android-developers] Benefits of Android for Connectivity Reasons

2009-08-24 Thread salza
I am just thinking of a new application and I am pretty new to mobile OS. For my application it would be very important, that there is an easy connectivity between the smartphone and other blueetooth-able devices. In many articles I have read, that Android is the best OS regarding connectivity