I m developing an app that pulls android device IMEI and matches it against the database
Is there a way to retrieve android device IMEI using actions script?
Nope, sadly there is no interface to the native API yet, even the Android Team agrees that it should be there. You should rather use Math.random() and store it locally as it provides more or less the same functionality. Have a read here:
http://blogs.adobe.com/simplicity/2011/03/unique-device-identifiers-on-air-mobile.html
They could have used the IMEI on Android. Looks like someone made an ANE.
http://blog.snowflax.com/native-imei-action-script-extension-for-android/
Related
In our case, we have a lot of android POS devices deployed on ground already that we don't know every device's current android version but we have their IMEI serials and android IDs.
Is there any lookup tool or API that get their android versions through entering the device's IMEI or Android ID ?
I'm trying to get their android versions remotely without having to develop any further features on these devices.
I have searched for a lookup tool but without luck
If android devices are sending requests to your server then you can check user-agent data on server side to get some details about the device. Something like what whatsmyua is doing.
Since you didn't mention your server side programming language, i cann't give you more info about how to do it.
Ok, so I have a MySQL DB holding my workouts, I've written API to produce json, and I want to access it from my phone. I built a Unity Android App using System.Net and System.IO to retrieve JSON and put it into a serialized object. Works great on the PC, but when I put it on the phone it doesn't retrieve the data.
Started working on a version using UnityEngine.Networking, but have to rewrite my code to handle the async read, so I haven't tested it on the android device yet.
Does System.Net work on Android Phones in Unity? Is it most likely a permissions thing, or does it flat out not work?
If I can't use System.Net, would UnityEngine.Networking do the trick? Or is there another protocol that can have an Android app read JSON from a web API?
Your question about System.Net supporting on android devices has been answered by #fattie here: Is System.Net.Sockets compatible with Unity targeting iOS?
But anyway, you can use UnityEngine.Networking instead of System.Net. For more information see https://docs.unity3d.com/ScriptReference/Networking.UnityWebRequest.html
I want to get simcard information like (Carrier name or ISP, serial number, network operator code, country code ...etc)
I searched for any information in the flutter website and I only found this
https://pub.dartlang.org/packages/sim_service#-example-tab-
The link explains how to do that only on android but I need this for both android and IOS.
Is there a way to do that in flutter? or I should make myself the code for android and IOS? (which will be a pain)
You can use this plugin named flutter_sim_info.
You can get usim information both platform android and ios.
A Flutter plugin for read SIM information.
You can get SIM data for MCC, MNC, country code, etc...
Note: There are similarities and differences between the data available on Android and iOS. Read the usage.
In iOS 6, [UIDevice currentDevice].identifierForVendor provides a unique ID across all the apps from a single vendor.
Is there any way to do the same thing in Android?
There is the Android Id:
Generating Device-Specific Serial Number
Note that Android is designed so you can't automatically get a full device id. Android even modified a pre-existing part of linux that would have made this possible.
Even better than Android id: your app can request the AUTHENTICATE_ACCOUNTS permission. Then you know the user's Google id. This will be common across all apps and phones the user uses.
I'm looking for any way to check for Android OS updates from within custom Android app.
The app should be able to get info if new version is available and, if so, show appropriate message. This should work on phones provided by many manufacturers. Is there any API method or a web service which can be queried about this?
I know this feature is carrier-depended and that's way I'm not sure if it's even possible.
Thanks in advance.
There is no way to do this. Your app is sandboxed and can't access that kind of information and there is no API from the carrier's end.