Get simcard information using flutter - android

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.

Related

How to know the Android version remotely

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.

How to change WiFi Hotspot name and also perform a Wifi Scan in Flutter?

I have been trying to search a way to changes Wifi Hostspot name of android device using flutter. I also wanted to get a list of available wifi nearby using flutter. I have just started learning flutter and i dont have much knowledge to write plugins for it from scratch. Is there any easier way to perform above two things?
The 3rd-party wifi package might help you out with listing available networks. It supports Android, but not iOS.
For the hotspot situation, you can check out this (unpublished, only on github) package: wifi_iot. That one also mostly supports Android for most functions. You would need to test it yourself and extract which functions you need, because you can't get it through https://pub.dartlang.org/

Communicate with android RIL

I'm looking to get access to get low level network information on an android device that isn't available through the api. Is there a way to talk to the RIL to get more information?
Yes. I'm actually messing around that same thing. My hardware uses GSM radio and everything turns around the android internal API. (do a stackoverflow search with "[android] internal API" and you will get tons of info on how to access it). In my case, I'm interested in the data link over the GSM. So, it's in android source code in frameworks/base/telephony/java/com/android/internal/telephony/DataConnectionTracker.java. If you are interested in other features like SMS, SIM cards, voice call or anything that is not available on the standard "public" API, look in the folders frameworks/base/telephony/java/com/android/internal/telephony and the names are pretty relevant to what it does. As for a clear documentation, I did not find it. I think it's not publish since it is not recommended to use the internal APIs because it could change without notice and there is no guaranty an internal API will not change in the next Android version.

retrieve IMEI for android using actionscript3

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/

Printing API in Android

I've downloaded a utility called PrintShare which allows one to print things like web pages, contact lists, calendars, etc to a printer connected through wireless or a computer participating on the PrintShare network.
I would like to have my Android app create a text file, then send that text file to a printer that is shared with PrintShare.
Is there an API for printing on Android?
Thanks
Mike
All which need a printing API in Android should vote for it.
http://code.google.com/p/android/issues/detail?id=1148
http://code.google.com/p/android/issues/detail?id=13275
Currently there are some bad working third party apps. Nothing is a professional solution.
From Android 4.4 provided API Printing
http://developer.android.com/training/printing/index.html
http://www.youtube.com/watch?v=Iub67ic87KI
Is there an API for printing on Android?
Not natively. There might be some from third parties, but nothing built into the OS.
Android 4.4 and higher has a printing API that you can use.
Bixolon is a company that sells printers of all types. In fact, it sells printers that can connect with Android applications by an API (SDK).
Here some real example:
http://www.youtube.com/watch?v=op_j80zVL78
And here more information about it (Bixolon SPP-R200)
Android: Connecting and Printing to Bixolon SPP-R200
If anyone knows another company or printers, please share!
Thanks
Checkout out www.lob.com, they have a nice printing and mailing API that is easy to integrate with Android!
Android now includes a complete framework that allows users to print any document using a printer connected over Wi-Fi, Bluetooth, or other services. The system handles the transaction between an app that wants to print a document and the services that deliver print jobs to a printer. The android.print framework provides all the APIs necessary to specify a print document and deliver it to the system for printing. Which APIs you actually need for a given print job depends on your content.
Kindly refer to the following url:
https://developer.android.com/reference/android/print/package-summary.html

Categories

Resources