Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android:How to transfer an app from the same app to another Android phone

Tags:

android

I am creating an application in Android where i want to transfer my particular app .apk file to another android phone via Bluetooth. I am setting an option menu called "Share App",on clicking it will transfer my app .apk file to the phone whose Bluetooth is On. It worked very well while creating the same app in J2ME,now i am trying it in Android and its not working. So is there any way of doing it??? Any replies will be helpful to me.

like image 361
mobilemagic Avatar asked Dec 16 '11 10:12

mobilemagic


People also ask

Can I copy an app from one Android to another?

The best and most reliable method for most users is to use the built-in Google Backup method to transfer your apps and other content. If that option doesn't work for you, third-party apps are available. Like the Google Backup method, these will allow you to transfer your apps from one Android device to another.

Can I transfer one app from one phone to another?

turn on your new phone and tap start. when you get the option, select “copy apps and data from your old phone” you can either do this with a cable to connect the phone or by selecting “A backup from an Android phone” follow the remaining instructions you're given to copy your data over.


1 Answers

Apps are stored generally in /data/app but you can only access that folder if your phone is rooted.

So AFAIK the only way to do it is maybe to include your apk inside assets folder and then copy it to sdcard before you can share it. But then the received apk cannot be shared because it doesn't have another apk inside assets. So forget about this solution.

The cleanest way would be to direct to user to the market place.

like image 59
Noureddine AMRI Avatar answered Nov 15 '22 01:11

Noureddine AMRI