Apk for only one device/user - android

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.

Related

Custom notification for desktop file to Android phone

I have a csv file on my linux desktop that contains events in the future I need to be notified of. Currently, I have a python program made that emails me an hour before the event so I can act.
I used to have my Android phone set up so that if an email from my computer was received (sent through a google account) a unique sound would play. This distinguishes it from other emails.
After an Android update, this functionality is gone from Android phones.
I then used Twilio but am well past the free trial (I sent a text when the email was sent).
I have Airdroid on my phone but don't know how it can scan or read my file on a linux desktop to see when a notification is due.
The question is: what methods can I use to directly send a notification to my Android phone from a file on my desktop?
I am not sure if this is best Stack to ask this question so please advise if there is a better forum.
You can use the API of Pushbullet to accomplish this for free.
Then, their Android app is here: https://play.google.com/store/apps/details?id=com.pushbullet.android

Build Applications for Single-Use Devices

I have tested build applications for corporate-owned, single-use (COSU) code from google for single app use case where there will be one app locked on the screen. It works well, but the app need to be device owner to use lockTask. For testing purpose i have use adb shell command which can not be used for production, how do i manage provisioning process for production?
You no longer need to implement a Device Policy Controller to manage Android devices, Google has recently released the Android Management API which allows you to set up a COSU device with just a few Cloud API calls. With the Android Management API you can set up devices using a QR code, with NFC, or entering a manual token, as you prefer.
For once you can use a NFC provisioning. You will need another phone with "programmer app" that will beam the Bundle of data including wifi SSID, PASSWORD and APK PATH for the "production device" to download install and set as device owner. There are another ways of doing that (apart from the one you used with adb command, but that only works on rooted devices). Please get back to me if you need any more info.
Check this out:
http://florent-dupont.blogspot.com/2015/02/10-things-to-know-about-device-owner.html
and this :
https://www.youtube.com/watch?v=GGDpShew3aA&t=278s
For testing purposes I've actually used the programmer's app from the second link I posted.

How to detect users of my app who open it using an emulator on the PC

I have an app that has some unknown devices listed in the analytics portal I use.
I was wondering if Android and iOS have a method that I can call which tells me if the app has been downloaded and opened using an emulator?
I've thought of accessing the device's IMEI, but this is only for mobile phones and doesn't cover tablets. Any help would be greatly appreciated.
You can try filtering out the Connecting device's by their device's model number, name and id.
For that you first need your app to parse the data from the phone, and then send this data to your server while authentication.
The server checks the robots list and then authenticates the exceptions (genuine users).
NB: Nowadays emulators are updated, they are capable of spoofing a Device Name, Model and ID. So it's a hectic job to detect spoofer's.
Just a Mere Concept out of Thoughts, Might possibly work!
There are couple of methods out there. Android includes a built in method,but some of them can be maneuvered.
Android includes some system properties that keep such information. they can be accessed using the getprop utility and there are ways to get the problematically.
More specifically, the "ro.build.characteristics" will contain the word "emulator" when running on emulator.
Long story short: There are couple of libraries that are capable of doing this and are consider reliable.
Here is a good example:
https://github.com/framgia/android-emulator-detector
For iOS see this answer
As a side note. if you are concerned about having a safe environment to run your application, take a look at SafetyNet

Pushing apps remotely from server to user's device

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.

Is it possible to transfer an app from one device to another?

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

Categories

Resources