Thursday, February 6, 2014

Android App installation can be achieved after the implementation of certain operations


            
Android App can be achieved after installation to perform certain operations?, I've asked this question in the next QQ group. The answer is you can use the Service to achieve. But the Service is also a need to start to run. I want to achieve after the successful installation, do not open the case of the App should also perform some functions (logistics supply and demand platform app, and installed the software, based on the phone number to determine whether the user is a person within the company, if it is to The server sends the current location information). Seek expert advice!
Reply:
Installed the start slightly. .
Reply:
This need to be installed before a background service app. Register a broadcast.
When you install an application after the broadcast will be sent to do the action in response to the response.

Reply:
Good evil thoughts, haha
Reply:
reference to the second floor birdsaction reply: services on a background app installed before
need. Register a broadcast.
When you install an application after the broadcast will be sent to do the action in response to the response.
means that to achieve this functionality, to two app to complete?
Reply:
cited a floor afairycell reply:
installed the start slightly. .

Specific code?
Reply:
There is a monitor in the background as a daemon.
If just one app I did what a good way to find.
Reply:
I would also like to know, dajiadouxiang
Reply:
After installing the software, open the Start Service
Reply:
Broadcast + aidl server
Reply:
You can not control the installation procedure code, how to make software installation does not start after it sends information? When you can re-install the judgment is not installed in this process, and then start the application sends the broadcast, send a message bar. But this is sick. . . .
Reply:
By the way, or so, before the development of a program's main interface, then you need to download the APP from this program. . So you can go through the main control APP operation.

No comments:

Post a Comment