I have developed an application in Android 2.3.3. I want to install it in my friend's android mobile and test it.
one way is to take my computer and plug his device and run the application and it will be installed automatically.
If i send him the .apk file, and if he launches the .apk file, will it start to work automatically or is there any procedure to follow.
I search quite few sites regarding this, but couldn't find much help...
Thanks...
您应该能够向他发送.apk文件(即使是电子邮件附件或我个人最喜欢的Google Drive文件),但您必须在“设置”>“安全”中启用非市场应用程序的安装。
Compile it by letting it run once in Eclipse's emulator.
Then, navigate to your project folder and you can find the apk inside the bin folder. You can send that apk to anyone. It'll prompt the install on launch as long as he checked the untrusted sources application box in the settings.
Just send him the apk and this is the command to install and it will start working automatically:
in windows
adb install path_to_your_app.apk
in linux/ubuntu
./adb install path_to_your_app.apk
Send your apk file to your friend in mail or send it via bluetooth then follow below step.
Note: You can find your apk file in project's bin folder. but before this you have to enable unknow Source . Got to Settings -> Applications -> and Enable Unknown Sources.
最简单的方法是,将apk发送到您朋友的谷歌帐户并从邮件中下载,并将其安装为ExistentialEnso建议
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.