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.
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.
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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With