desktop app (windows app) connect windows phone - windows

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.

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.

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.

Windows Phone 8 device management

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.

Windows Phone 7 programming the use of the USB port

I would like to make a Windows Phone 7 application that takes advantage of it's USB port to communicate with the PC. I would like to write an application to control or push information/data to the PC from the application. But I am having problems finding information on where to start. Can anyone help point me in the right direction with some resources?
The only way to communicate over the USB connection is over HTTP.
To get this to work you'll need:
- a webservice hosted on the PC you're connecting to.
- a way for the app (on the phone) to know the hostname of the PC. (You'll probably need to enter it manually)
When you have these it should be straight forward.
You can't.
If you want to make sure to push data to a client PC, you will have to use a kind of synchronization by using the internet. For example create a wp7 application and a desktop application and let them sync the data based on a user object or anything like that.
As far as I know also the updated SDK for Mango will not support programming against the USB dataconnection.

How to hook api in windows phone 7?

Is there something allow me to develop a software in wp7 just like API MONITOR in windows?
Windows Phone has some native API hooks (although undocumeted):
http://blog.walshie.me/2010/11/12/windows-phone-7-native-apps-the-missing-link
However, due to the restrictive nature of the OS you might have problems in tracking down API calls from other applications, since you will need to have your own app running in the background, and that is currently the privilege given to system apps only.

Resources