Apps like Xender, allow a user to share an app with another user, by directly transferring (and installing the app) on another users device. This is done device to device, and done without the target device downloading the app from google play.
I already know how to transfer a file from one device to another using wifi direct.
My question is - what file do you need to transfer, to transfer the app? Is it the apk ? Where is it located ?
You can find the APK of your installed app in /data/app in your internal storage .
Not in every case but most of the time when your are sending an APK you are sending the complete APP .
Also check this post maybe thats what you want. https://stackoverflow.com/a/11908293/7704356
Related
We have a use case where user need to select their file on cloud storage, e.g. Google Drive and get the selected file downloaded from a desktop application whithout downloading the file to their mobile.
Is this possible? If yes, what is the possible security concern?
I ended up with getting the file ID from mobile apps, and send the file ID to my desktop application. My desktop application will build the direct link with the following format
https://drive.google.com/uc?export=download&id=FILE_ID
then begin the download with Process.Start(DIRECT_LINK). This should start the download process with system browser. The only fall back for this method is that there will be no download progress reported back.
I have an application which runs on an organization's server. I also have a mobile application which the users of the organization can download from the app store.
I want the person managing the application on the server side to be able to select the users and install the mobile application remotely on the user's devices without users having to go to the store to download it.
How do I do this for my iOS app and is it possible to do this for Android apps?
Since it is an enterprise app, the iOS app has to be trusted by Apple for users to use it. I don't want the user to trust the app manually by going to settings.
On ANdroid you can't silently install it. You can download it and attempt to install it, which will prompt the user for permission. To silently install, you'd need to be a system app with the appropriate permission. Which means you'd need rooted devices, which more or less means devices you guys but and maintain. But if that's a viable path you should check out device ownership policies and the amount of control you have that way.
Just to add to #Gabe, what you can do is, you can have your basic app installed on the device and then request request to install further content.
Our Android app will be used in a place without internet. We have one server with limited internet there.
Can user download the app from the server instead of google play, the way we can use ios cache server?
If we keep a copy of app in the server and install from it, how can we update the app with latest version?
Thanks.
You can host the apk file on the server and download it to the devices for installation. However, you first need to enable third party source installation for the devices.
Link how to here,
https://www.cnet.com/how-to/how-to-enable-third-party-app-installation-on-most-android-phones/
In terms of the update, you can always update the apk file anytime but you might need a separate system to notify the users/devices about the update. Probably by using SMS.
I want to create an apk for only one devices. I have to send an apk to my client. I want to send him the apk for only one device as we do in IOS using UUID(device id). it is an enterprise level app. He don't need to upload it , he may just make copy of it and use it in his office.
How could i solve this issue?
Is there any way.
As we create some software which can run on particular computer who have paid and other have to pay before using these software.
We also do this thing in IOS in which we take device id of user and create an ipa only for that user.
Bind it with the IMEI of the device.
Just check the IMEI of the device running your app with the provided IMEI and open your activity only if the IMEI is correct.
Can an application be remotely uninstalled/deleted?
We cannot uninstall an application without user intervention, therefore uninstalling/deleting an application remotely is not possible.
This is actually possible but you cannot do it. Only Google can (to remove malware downloaded from the Market I guess)
If you want controls like a remote wipe of data/ encryption though, read about Device Admin