Develop with no SIM Card - android

Can I use a device to develop on with no SIM card?
As I can't get any of my devices to show up in the run configurations. I am using Eclipse and want to test a barcode reader.
I have looked at all the info on connecting and use as debugging. I am on a mac.
But none of the devices are showing up.
When I connect a device should it be visible in the run configurations?

You don't have to use a SIM card when developing barcode Apps, all you need is just the access to Internet(sometimes the access to Internet is also not necessary, some Apps can parse the barcode locally, I think they include the parse library in the App).

Related

Change Sim serial Number in Android Lollipop(Rooted device)

Hello All I am trying to change my Sim Serial Number in Android Lollipop(Rooted Device) and i have also installed Xposed Framework in my device, now I read on net that i should use DonkeyGuard in order to do that but as DonkeyGuard works only Till Android Kitkat.
Can anyone please tell me any other app or way by which i can change my Sim Serial number.
Please Help me guys.
You can feed fake SSN data to specified apps via the Xposed Module XPrivacy.
Github
Xposed repo

SIM Card Mobile Application Pre Load

Not directly a code related question, though I think this is the right place to ask.
Does anyone know, if so how and which requirements are needed, if it's possible to pre-load an IOS application and/or Android application on a Sim card. After which a user sticks it in their phone and loads them onto the device.
I know it used to be possible with old Nokia phones where the telecom provider loaded an app on the sim card, though not sure how this would work security wise for the current iOS and Android.
If someone could push me in the right direction, it would be well appreciated.
If it's not possible, does anyone know of an alternative solution?
There is no way to access data from the sim card using the iOS SDK apparently, so this would not be possible even if you could fit an app or url to the apps webpage on the sim card.
https://stackoverflow.com/a/15380308/1219956
as for android you can access some info from the sim card, but probably not arbitrary data written to it (which im not even sure how you would get onto the sim in the first place)
How to read Sim raw data on Android?
It's possible, as some network carriers trigger automatic installation of certain apps such as for subscription management. I noticed this when an app from my carrier appeared on my unbranded Android phone, shortly after I inserted my carrier's SIM card.
Most SIM cards support the Java Card platform for this purpose. How exactly a phone OS would interface with this to trigger app installations, I'm not sure, and might be vendor-dependent.
You can find some more information in a DEFCON talk slideset, "The Secret Life of SIM Cards". You should also look up the page on UICC Carrier Privileges in Android documentation.

Android device with built-in thermal printer

Im currently developing an app for a handheld device, running Android OS and with a built-in termal printer. The app will be used for selling and ticketing. Now, boss ordered a few POS for testing (from China) and, well, shipping takes forever to get here so im doing some research in terms on how the "printing" part works. As of right now, what im doing is storing the tickets inside the sdcard and then i download the file to my pc and print it using my TSP700 desktop printer. My question is.. when it comes to printing on the built-in printer, is it possible to send the file that's supposed to be printed right to the printing queue without having to store a copy of it in the sdcard? Anyone with experience on this kind of situation?
In a word, yes. There isn't any reason for the SD card to be involved at all. I've used receipt printers that are connected via Bluetooth. Since yours is built in, it's likely to be USB. Hopefully the manufacturer publishes a well-documented SDK for the printer, but don't count on it. I had to write my own frame-based serial protocols and receipt formatters. There's probably not a printing queue unless you write one.
How your app can communicate with the built-in printer depends on the manufacturer’s implementation. I would start by finding out from the manufacturer what interface is available to your app and any SDK or samples they offer to integrate printing into your app.

implementing scanner using phonegap

I was using Android SDK for my application development. Now I am in a situation to move on cross platform development so, I started learning Phonegap as it is well suitable for cross platform.
I want to use external scanner device and card swipper with android device. I googled it but i didnt find any useful ideas.
I explored phonegap.com/ but it explains only about using device sensors,contacts and media information..etc. But It didnt say about implementing external hardware devices.
Please help me.
For a barcode scanner, you probably want to get a bluetooth capable device, as USB devices can be problematic to connect to different devices. Start by using it in HID mode, which emulates a keyboard (nb, doesnt play nice on iPad and other apple devices, popup keyboard disappears, but android ok). Later you can try using SPP mode. When using HID mode with phonegap, you dont need to do anything special, just read as keystrokes in html pages.
There is also a phonegap plugin for zxing to use the camera, but you asked about external physical scanners, which are faster for bulk scanning.
Haven't tried connecting card swipe readers to android yet

How to simulate a SIM card for android

I do not have a real android device. I completely depend on emulator. So, for the sim contacts, changing sim cards and other purposes regarding sim, i want a simulator for SIM. I didn't find any thing regarding this in our default emulator. Can anyone please help me with any idea on this and any links to third party SIM simulators for android emulator. Thank you in advance..
May this help you:
Buddy in Document it is said that Emulators are supported with simulated SimCard..
"A GSM modem, including a simulated SIM Card" More Information
And There are some patches available which allows sim card support in emulator using standard USB PCSC reader...
Here are some links which may guide you through..
http://simhacks.github.io/android-emulator/
http://blog.codepainters.com/2010/11/20/android-emulator-patch-for-configurable-imei-imsi-and-sim-card-serial-number/
I had a similar problem in which I needed to obtain contacts from my SIM to test with my application. Furthermore to my understanding the only solution I resulted in was buying an android mobile and performed tests using that as I could not find such a SIM emulator.

Categories

Resources