permissions to start SystemService in package

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

Sponsored Links

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


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

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.


Other Threads

1. setting max height of listview with initial height is wrap content(it may be empty)


All you can do is set the height of the list view to be 100px
directly. ListView really is not meant to be used this way and
wrap_content is only supported to avoid errors or blank screens

Romain Guy
Android framework engineer

Note: please don't send private questions to me, as I don't have time
to provide private support.  All such questions should be posted on
public forums, where I and others can see and answer them


2. Calling media frame work library function in C/C++


My sample app is in C/C++. I need to use media frame work library to
play a video file.

Can i call Mediaplayer() media framework library function in my C/C++
code ?



3. Can I use a regular View for *trivial* OpenGL programs instead of SurfaceView?

4. Converting Bitmap to Byte Array

5. Calendar App Suggestion

6. When does one use a SurfaceView vs a View?

7. ListView again; addHeaderView, addFooterView difficulty