Windows Phone 8 device management - windows

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.

Related

Update Windows iot core without internet connection

We have a Windows iot core device on a network that doesn´t have internet.
We want to update the software running on this device, we have another computer running Windows 10 on the same network, is there some service or software we can install on the Windows 10 computer, so that we can update the application running on iot device.
It should be possible to do the update through code.
Thanks
Anders
At the moment, we can update applications on Windows IoT Core via following ways.
Using Microsoft Store
Using Device Update Center
Using Azure IoT Device Management
Using OMA-DM
More details please see this document. The first three ways in above list need internet.Using OMA-DM seems an option in your scenario, the OMA-DM interface is supported in Windows 10 IoT Core and any OMA-DM compliant management solution can be used to install and update applications. You may not need a connection to the internet to use license. In this way, you need to configure a OMA DM server.
In addition, you can also create a custom service for updating the application. You can serve the application package in your server, the devices can load the package's url. And then use PackageManager to update the app.
Here is a topic about how to update the app from USB drive. You can refer to the implement. The difference is packageLocation, in that scenario it is a removable storage, while in your scenario you need to use network share instead.

Network Sharing Win 8 mobile

I found Network Sharing on Win8 mobile. (nokia Lumia)...I am trying to write similar application for Win8. But could not find any support on windows website. On Nokia website also, all I could find is how to turn on, but nothing else.
So, I have a lot of questions in my mind:
Is Network sharing is even supported by Windows or is it Nokia that has their own app to do this?
How this network sharing works? Are we tethering WLAN or something else?
Is it possible to write a similar app with the existing Win8 mobile APIs provided?
Does it use DNSMasq? ( I am assuming it is)
Is there any possible way to find the installed apps and the app structures in Win8 phone, like we have in android phones.
Network sharing is fully implemented by WP8 OS but it is under tight control from your cellular operator. You need to pay extra to enable "tethering" (here in USA). The cellular connection (4G, LTE) is then shared and your phone turns into Wi-Fi access point for other devices. When I try to enable network sharing on my HTC 8X (I am not paying for tethering), the screen flics with Wi-Fi details - tells me Wi-Fi broadcast name, password and number of guests connected - and then one second later I get a dialog from T-Mobile to go online and add tethering to my phone plan.
See above.
No, I don't think it is possible. As an app you don't have any control over network configuration.
I'd assume it provides NAT, DHCP and DNS forwarding. I don't think it uses DNSMasq code directly though. :-)
For privacy reasons you can't get a list of installed apps. Only when you are writing apps for enterprises (that don't go through Microsoft Store), you can list other apps signed with the same enterprise key. See http://msdn.microsoft.com/en-us/library/windowsphone/develop/jj207245.aspx.

Windows phone debugging in device

I am a windows phone app developer. My PC do not have enough graphics to support windows phone emulator. So I am developing application by using the windows phone device (HTC HD7) for debugging and testing from almost 5 months now. Now my device is so hanging and switch-off automatically sometimes. Is it bad for the device to use the developing purpose rather than using emulator ?. Is my device have problem because of the continuous use for developing ?
I think it is not a problem in using device for the developing purpose.
Looks like a fault in the device - I'd send it in for repair. I've certainly not heard of debugging causing issues with devices.
Do check if your internal storage is about getting full. Also if you have minimum RAM config, try not using multiple apps while debugging. Probably this should help.
And nonetheless, you can just visit a technician and get your phone thoroughly checked for issues.

How to view location services settings in windows phone 7 emulator

I am new in Windows Phone 7,How to view location services settings in windows phone 7 emulator
The default emulator image that is shipped with the development tools is not as full featured as the real OS. You can't for example, setup email accounts, turn on airplane mode or edit location settings. This does cause a problem when you wish to test your app without location services available or data connection, for example. In the case of a data connection you can achieve this by turning off the network connection on your host operating system (Windows) but this is inconvenient.
An alternative is to install an unlocked ROM for the emulator. You can, in fact, have multiple emulators installed which can be super convenient. Check out Justin Angels blog post for more details.
http://justinangel.net/WindowsPhone7UnlockedRoms

desktop app (windows app) connect windows phone

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.

Resources