permissions to start SystemService in package

by Digambar Rasal » Thu, 14 Jan 2010 01:13:11 GMT


Sponsored Links
 Hi,

I am trying to add new system service and following steps mentioned by
Dianne Hackborn @




permissions to start SystemService in package

by Dianne Hackborn » Thu, 14 Jan 2010 04:04:17 GMT


 I would guess the problem is that you aren't signing your app with the
platform cert, which is required if you want to share its uid.

Also if you are not having the code run in the system process, then your
code here is very broken -- the intent receiver will run, and you will make
the object and publish it, and then the intent receiver is done...  and the
system thinks your process is empty, and eventually kills it.  You want to
have this coming from a started services.

Though honestly -- system services really should just run in the system
process, since that one won't go away.  If you absolutely want your service
running in another process, you must make it persistent like the phone
process.




> 


Sponsored Links


permissions to start SystemService in package

by Digambar Rasal » Wed, 20 Jan 2010 18:42:28 GMT


 Made changes, signed APP with platform certificate and it runs fine on
emulator.

Only question is about making it persistent. I tried running few
application and this service is still active. So wondering whether it
will be killed or not. I will appreciate if you can tell what will be
scenario in which this service will be considered empty and killed.

Regards
Digambar



Other Threads

1. Preventing Screen uto Lock while my application is running

Hello,

I read a lot of posts concerning preventing the screen auto lock but
didn't find an efficient way.

Isn't there any simple line I could put to do such a thing? everything
looked so complicated, or didn't work.

thanks
--~--~---------~--~----~------------~-------~--~----~

2. Hwo to use getLineCount method in TextView? what is the internal Layout?

Hi guys,
In my app, there is a TextView ,more than 20 lines .I want to divide
it into multi-screen  display  in  a ScrollView.
when I invoke the getLineCount method ,I get 0(Zero). the reference of
android  developer guide said  "Return the number of lines of text, or
0 if the internal Layout has not been built. " what is the  internal
Layout?
please help!
--~--~---------~--~----~------------~-------~--~----~

3. How to handle this kind of situation within my code

4. How to handle this kind of situation within my code

5. Take a Picture without an Activity

6. How come the accelrometers maximum sampling rate are so low?

7. Emulator quick start