Hi,

I put the question in another thread and got this from Dianne :


"
You can create a Service without an Activity, that's one of the points
of a
Service, but you still need to be running in a process created by the
activity manager (from an .apk with a manifest etc).

It might help if you describe what you are actually trying to do, what
context this is coming from (you are building your own platform,
creating
something to upload to market, etc).
"

I am developing a testagent which I can communicate with over TCP/IP
from an external test program.

This agent lets me inject keypresses etc.(got the ideĆ” from Monkey).
But I also want to be able to access the Android Java API but some of
it need an instance of a Context.

So my question is how can this be achieved? Can I run this as a
Service, I dont want it to be visible to the user. And if I run it as
a Service would ! have permission to inject keypresses between
Activities?

I am building my own platform and need this for test purposes, nothing
that is going to be on the Android Market.

BR,
Sven

--~--~---------~--~----~------------~-------~--~----~
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting
-~----------~----~----~----~------~----~------~--~---

Reply via email to