sorry about the delayed response. I don't own the other app, but we need to communicate with each other...these are the requirements I have been given :(
Its not doing anything fancy, just collecting usage data(phone calls, sms, etc). In order to make the data as correct as possible, I would like to make sure to start collection as soon as the app is installed, rather than until the next reboot. I figure out one way of doing this, not sure if this is very clean way. Since the OtherApp will always be installed before MyApp, the manfiest of OtherApp is modified to listen for package_add/remove/ modify of the MyApp, and as soon as it gets this notification, it will start the MyApp service. It works, but i'm not sure if this is a good way. Any thoughts? On Jun 24, 10:07 am, TreKing <[email protected]> wrote: > On Jun 17, 6:40 pm, ADman <[email protected]> wrote: > > > In my case, i have two apps- one runs as a service and collects data, the > > other > > displays it. > > Why do you have two apps? > > > Any suggestions on how to achieve this? > > Ask the users to start your app immediately? > You can't do this programmatically, for good reasons. > Why is your app so dependent on starting immediately? What is it doing > that it can't recover from? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

