windows-mobile

Accessing storage of simulator/device while debugging

你。 提交于 2019-11-28 11:39:47
I created an UWP project, where I store a file in the cache directory: string writeFilePath = Path.Combine(ApplicationData.Current.LocalCacheFolder.Path, "test.jpg"); await Task.Run(() => File.WriteAllBytes(writeFilePath, image)); Now I want to view the saved image, but I have no access to it. How do I access it from the simulator or directly on the device (Windows 10 Mobile phone)? Perhaps one could copy the file from the device to the local PC? I tried the IsolatedStorageExplorer , but I only get the following devices: 0 Device 1 Emulator 8.1 WVGA 4 inch 512MB(DE) 2 Emulator 8.1 WVGA 4 inch

Is it possible to run java programs on Windows CE?

醉酒当歌 提交于 2019-11-28 11:35:42
问题 Is it possible to run java programs on Windows CE ? thank's 回答1: Asked and answered: java (ME) on windows mobile Can I run java programs in a Windows Mobile 6 device? Windows Mobile 6 J2SE-scale JVM implementation JVM choices on Windows Mobile.. 回答2: There is CrEme VM, which is very stable, but you need to pay for it. There is also IBM's J9 JVM, but I can't find a link for it now. 回答3: You can run J2ME usign this: http://www.windowsfordevices.com/news/NS2454472990.html Don't know about full

Iframe support on mobile

风格不统一 提交于 2019-11-28 10:13:04
Is there are any ambiguity while using iFrame on the mobile devices? Does all mobile devices support iFrame. Jigar Pandya Ideally all mobile devices should support iFrame however situation can leads you to some known issues which are mentioned in below links. You can put <iframe src="page-1.htm" name="test" height="120" width="600">You need a Frames Capable browser to view this content.</iframe> code in your page and test on various platform. Following are known issues. iframe is not working android inbuild browser how can resolve issue? http://androidforums.com/android-applications/7101

Deploying an application to Windows Mobile Pocket PC

我只是一个虾纸丫 提交于 2019-11-28 08:44:53
问题 Iv been encountering problems with disk space when deploying my app to a pocket pc emulator. So what Iv done is set up a shared directory on my pc to simulate a SD card, Iv copied the program there manually and then run it from the emulator, with this approach I still need to do the visual studio deployment as well so that so that the .net compact framework gets copied over. How do I make visual studio deploy to the shared dir? The 'Output file folder' is grayed out and I can only choose from

How to get the path of app(without app.exe)?

爱⌒轻易说出口 提交于 2019-11-28 08:43:02
I want to get the path of my app like: "\\ProgramFiles\\myApp", I try to use the following code: string path = System.Reflection.Assembly.GetExecutingAssembly().GetName().CodeBase; But it returns a path which has "\\myapp.exe" at the end. I also tried: string path = System.IO.Directory.GetCurrentDirectory(); But it throws an “NotSupportedException”. Is there any way to get a path without .exe at the end? Dan Byström path = System.IO.Path.GetDirectoryName( path ); Application.StartupPath should do that for you. Update: from you edit I see that you are running on Compact Framework. Then

Easy IPC on Windows Mobile?

自古美人都是妖i 提交于 2019-11-28 04:13:20
问题 In a C++ project (i.e. no .NET) on Windows Mobile, I am looking for a way to easily communicate between two independently running applications. Application A would run a service, whereas application B would provide the user some functionality - for which B has to call some of A's functions. I would rather not go through implementing anything in COM. In fact, I would prefer not to do any kind of serialization or similar (i.e. this would exclude using sockets/pipes/files), but rather have B

Windows Mobile Development - Where to begin? [closed]

青春壹個敷衍的年華 提交于 2019-11-28 03:16:27
Okay, I will shortly be starting down the path of windows mobile development. I know nothing about the subject really and I am looking for people with experience to let me know of any gottchas you may know of. Right now I dont even have a breif of what is requied but the assumption is that the application will be very little more than a bunch of CRUD forms for updating data. The only other requirment knowladge I have is that the application will need to support offline storage when there is no signal avaliable. This in turn will obviously require some kind of syncronization when signal returns

Can't find PInvoke DLL error in Windows Mobile

廉价感情. 提交于 2019-11-28 02:53:54
问题 I am having a lot of trouble getting a basic scenario to work on windows mobile 5.0 emulator. I have a winforms app that eventually calls into native code. Deployment works fine and all the native DLLs are copied in the same folder as the winforms .exe. I also verified this is the case with Remote File Viewer tool. However when I launch my app, it always fails with "Can't find PInvoke dll -- System.MissingMethodException" error (when the time comes to call into native code, the DllImport

How do I set Network Management settings or make the dialog appear in C# on Windows Mobile?

我们两清 提交于 2019-11-28 01:25:57
In Windows Mobile, when you open Internet Explorer and type in a URL that your device can't connect to, you are notified of this and prompted to (manually) navigate to the screen where you can actually do something about this as a user (Network Management), like so: alt text http://www.freeimagehosting.net/uploads/d3d95e00d2.gif However, if a .NET Compact Framework application tries to connect to a webservice and the webservice URL is not reachable, the "Cannot Connect" bubble does not appear, and instead the call to the webservice just fails. Sometimes we end up talking customers through this

Get ip address of host pc from windows mobile when connected via ActiveSync

一曲冷凌霜 提交于 2019-11-28 01:08:08
问题 I have a .Net Compact app running on Windows Mobile, and I want to be able to connect to a webservice running on the 'host' machine (i.e. the desktop the PDA is plugged into) when connected via ActiveSync, but I don't know the ip address of the host. How can I find the ip of the desktop PC progromatically on the PDA? 回答1: I've found a KB article How To Retrieve the IP Address of the Remote PPP Peer, which uses the host "PPP_Peer". So I tried: Dns.GetHostEntry("PPP_Peer").AddressList[0] And