I am developing a application, where I need to display the IMSI number from data card which has been plugged in to a vista system.I am using visual studio 2005 and microsoft SDK.
Is there any way to access the IMSI number of the data card(both GSM and CDMA) using any win32 api or any other way to access it
thanks in advance
Vinayaka Karjigi
Try to query your mobile device via AT commands using the usually installed serial interface (emulator). If supported, AT+CIM should give you the SIM IMSI.
Related
I want to capture distances from sensors, using an Arduino and a Windows Phone device. How can I do that?
The Windows Phone 7 SDK does not give access to the USB port or Bluetooth on the phone, so you can't use that. So I think the best way (and probably only way on Windows Phone 7) would be to communcate over Internet or local network with the Arduino acting as a server which the Windows Phone 7 app connects too.
Here are some examples of an Arduino web server and TCP server.
For the Windows Phone client I would check out either WebClient or sockets.
Windows Phone 8 SDK:
Consider establishing an App to Device communication through Bluetooth API which became available for developers in the release. Bluetooth App to Device application sample, available on MSDN, is the way to go.
There is another option in Windows Phone 8, using Proximity (a set of classes which works with NFC), which is more applicable for a short range communication.
As for Arduino, there is certainly a Bluetooth module.
Windows Phone 7 SDK:
No way to establish a peer-to-peer communication with a third party device. A workaround would be to connect them through a network, as was proposed by Johan.
I have actually made a Windows Phone 8 App that connects to an Arduino using the Sparkfun Bluetooth Silver Modem. Issues is, even after I get them connected, I can't get either the Arduino to receive the input OR I can't get the WP8 App to successfully send to the Arduino...
My GitHub for the project is: https://github.com/lanceseidman/Arduino-Bluetooth-WinPhone8
Hoping everyone can try and help on the project.
My Breadboard photos will be up soon and my Arduino Code.
I am asked to come up with a solution for remotely locking and blocking the camera of Windows Phone 8 devices. Also, I have to remotely wipe the data. I am new to Windows Phone development.
In addition, I have to get some device information and send this to a server periodically for tracking purposes.
Could you please provide some inputs?
Sorry, but there's no way lock or block the camera on a Windows Phone.
Also, an application can only access its own data, so there's no way to wipe all data on the phone. But you don't need an app for this specific need, as you can already do that using the integrated Find my phone service: http://www.windowsphone.com/en-US/How-to/wp8/basics/find-a-lost-phone
Windows Phone 8 also has management functions that can be controlled from a server, one of those functions is to wipe / block the phone. Watch the BUILD videos on Channel 9, its somewhere in there, may have been this video: http://channel9.msdn.com/Events/Build/2012/2-014
I would look into a Mobile Device Management provider such as Silverback (http://silverbackmdm.com/), or Zenprise (http://www.zenprise.com). Microsoft is also releasing an extension to Intune services in 2013 for MDM too.
The MDM providers allow the enforcement of device security policies, including thins such as remote wipe, password enforcement, etc. It's a great way to manage BYOD policies.
Is there a way to retrieve IMSI on the Windows Phone 7 platform?
Regards,
Yusuf
It is possible, but it requires you to use native access, which is not officially supported and will not get your app approved in the Marketplace. I know that with the Dell Venue Pro I managed to access that data through AT commands.
As long as you can get the phone in Modem mode, you can run AT+CIMI to get the IMSI value.
In short, No. There is no way to get any information on SIM card or phone itself except Mobile operator name
Under 'settings - about' I find SIM-ID number, is this information available via a 'standard' API like Mobile Operator name?
If available, as a work-around for WP7 maybe link SIM-ID to IMSI on the 'back-end'.
What about Windows Phone 8 and 'secure NFC' - standard APIs to retrieve IMSI should be available then?
KR,
Ahmad
is there a assembly or API to get isolated storage in windows phone using WPF or win form while connecting the windows phone device via USB?
please note the devise will be running offline so cannot use web service or WCF
thanks
Check out this article on emulator automation. It includes details of adding and removing files from isolated storage and should also work on an actual device as well as the emulator.
This isn't really a supported activity. I too have been thinking about what to do when you want a desktop version with extended features and you want the two to share data.
I think the key here is to think about how Microsoft achieves this with email and calendaring. There's no shared filesystem, rather Outlook on the desktop and Outlook on the phone both function as clients for the same Exchange server.
At one point I considered running a webservice in a desktop app so that the phone app could push data to the desktop app, but that would be a very manual process. The common-server model will provide a much better UX.
It's not an exact match to your situation, but a good tool is the Windows Phone 7 IsolatedStorage Explorer.
The reason I say it may not be the best match is this note from the documentation:
The WP7 Isolated Storage Explorer
supports connections from the emulator
or actual devices. For applications
running on devices a data connection
must be enabled (WiFi or the mobile
data connection).
It's at least a great start and keeps you from having to do the heavy lifting. Is there any reason you have to be offline and check the contents of IsolatedStorage? If you elaborate on why you have that requirement, we might be able to offer some work arounds.
Mobile phone AT&T guidance?
I connect my China/ and Nokia phone using Bluetooth COM PORT CONNECTION. It says COM at 5.
How can I use this connection to send and receive SMSes using C#? For example, are there some resources to consult, or how would some example code look like?
Are you using a bluetooth modem driver? If you are & its presenting the phone as a serial device on COM5 then you should be able to access it in the same was as any modem.
Try the GSMComm library, it also has a demo app you can use to test.
I did a quick Google search, and I can't find a builtin API for exposing SMS capability via Bluetooth. However, from searching the documentation on the Nokia site, it appears the Symbian C++ libraries have an API for sending and receiving SMS, as well as libraries for interfacing with the bluetooth stack. You'll need to install the Symbian C++ IDE and toolchain for building apps. You can find information here on how to do that.