This message is exactly as the one I wrote, "In need of a Context". Please remove this one if it can be done.
Why do I have to wait 10h to see my topic? I though something was wrong so I made a new one, thats why the two similar ones. //S On 16 Maj, 09:42, SGAdrian <[email protected]> wrote: > 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 -~----------~----~----~----~------~----~------~--~---
