Develop for Windows CE 6 on Windows 7 - c#

I'm trying to develop an application for a Windows CE 6 device. I'm using Visual Studio 2008 on Windows 7 and am able to create a Smart Device application, but when I try run it to see if it works, I get:
Error 1 ActiveSync bootstrap initialization failed. Please connect/cradle a real device or download the User-level Windows Mobile Device Center Application from http://go.microsoft.com/fwlink?linkid=67763 Device Connectivity Component
Following the link just takes me to the Windows Mobile site and I can't connect the actual device as I don't have the right cable. I already have Windows Mobile Device Center on my PC anyway.
Please help, I really need to get this sorted as I am nearing a deadline!!
Edit
Otherwise, would a Pocket PC application work on a Windows CE device?

I do a lot of development using CE 6.0 target devices and a 64-bit development PC, so it's definitely supported. How are you connecting to the device? WMDC is not needed (and if the target has any sort of ethernet, I'd highly recommend avoiding WMDC at all costs). You should be running ConManClient2.exe and then CMAccept.exe over on the CE device and connecting that way.

Related

GPRS Connection on a Windows 8 Tablet Using C#

I am developing an app for a Windows 8 tablet using C# and I need to write a module that creates a GPRS connection using a SIM card.
I have tried searching for this but most results I find talk about a GPRS connection either for Windows CE or Windows Mobile and I presume the code for Windows 8 would be different.
If anyone can give me some advice on how I can create this module or link me to some websites that may explain how I can achieve this I would be great full.
Thanks...
Assuming you're programming an app in the environment formerly known as Metro, you need these WinRT APIs.
There are C# code examples provided.
This is not to be confused with the Windows 8 desktop, which has its own separate set of APIs here.
These APIs are valid for LTE, UMTS/HSPA etc as well as GPRS.

Running windows 7 emulator without the requirement for wddm 1.1

I'm from the android background. I have installed .net and windows phone sdk. When I tried to open the windows phone emulator it say's that :
My computer doesn't have requried grahics unit processing . . . .
I have intel 945 graphics card. I tried for wddm 1.1. But it seems that I'm out of luck. I couldn't find any drivers.
Are there any way in which I can create windows app without the requirement for wddm 1.1?
This is really frustrating.
Intel didn't provide WDDM 1.1 drivers for the 945 chipset.
If this is a desktop machine, you could always grab a mid/low-end $40 discrete graphics adaptor, most of which support WDDM 1.1 (e.g. http://www.newegg.com/Product/Product.aspx?Item=N82E16814131398). If this is a laptop, look for a new device:
A (now, somewhat elderly) 945-era PC is not going to deliver a solid experience when running something as demanding as the Windows Phone 7 emulator. Note: The WP7 emulator is a full device emulator, not a simple simulator as offered on other mobile platforms' SDK's.
This is more the case when running the Windows Phone 8 SDK as its emulator runs on Hyper-V which requires a 64-bit CPU: http://www.wpcentral.com/windows-phone-8-emulator%E2%80%99s-hardware-requirements.
I strongly recommend aiming for a Nehalem-class PC (i.e. Core-i5/7 based PC) which has a processor that supports Second Level Address Translation (SLAT): This will prevent your CPU and GPU unnecessarily flushing the TLB and slowing down your PC: http://blogs.msdn.com/b/tvoellm/archive/2009/04/06/why-does-my-desktop-box-slowdown-when-i-install-hyper-v.aspx.
HTH.

Porting windows form application to Windows Phone 7.5 Mango

We have an application written in C# (.Net 2.0). MS-Access as database and crystal report for reporting. I have to port it to Windows Phone 7 (Target mobile is LUMIA 800).
My concerns are:
Does Crystal report work on windows phone 7?
Can I connect app to MS-Access in same way that I am connecting it on computer?
bad news, you have to start from scratch as WP7 only support SilverLight apps (XNA too, but it's for games). Moreover, you won't be able to connects to access directly.
A classic Data application on WP7 will use some Web Services hosted on a server that will provides all data access, whichever is behind. Then the WP7 will query the WS to get/put data.
I'd suggest you to take a look at WCF RIA Services, but you have to understand it's a high learning curve starting from Windows Forms skills.
Does Crystal report work on windows phone 7 ?
No, Crystal Reports are not supported on Windows Phone. Nor are they suitable for presentation on a mobile device.
Can I connect app to MS-Access in same way as I am connecting it on computer?
Microsoft Access isn't supported on Windows Phone. You can connect to remote databases, as described by Steve, but for local data storage, you would have to convert your data.
Also, the UI and the entire User Experience (UX) for a mobile application is vastly different than for a desktop application, and as such you would want to start from scratch regardless.

Windows Mobile - .NET CF: How to connect to the internet via PC?

I'm wondering is it possible to develop a small application (C#, .NET Compact Framework, maybe using Windows Mobile SDK (I don't know yet)) which will be able to connect to the internet when my phone is connected to the PC. Any ideas ?
Sure. Just set up the PC connection to allow pass-through.

can c# be used for communicating mobile and pc?

As a minor project in my degree I would like to communicate mobile and pc .I am interested to communicate through bluetooth is it possible to do so in c#?
If possible please provide me list of application or hardware i would requiere in order to do so.
thanks in advance
If (and it's a big if based on the lack of information in your question) you mean "How do I write an app on my PC, using C#, that can communicate with a Windows Mobile device that is connected to my PC via ActiveSync or WMDC" then the answer is RAPI. A free, open-source managed wrapper for it is here.
Yes its possible if its with windows mobile phone or pocket pc with bluetooth. You need a bluetooth enabled computer and mobile phone. For dev you need to download the windows mobile 6 sdk.
Then developing of the communication between desktop app and mobile phone app, you can use the 32feet.Net is open source.
When you download it and installs (well it unpacks to program files folder) you will have the dll that you make reference to in Visual Studio. Also you will get some sample apps. One of them is a Bluetooth Chat that works in Desktop, Pocket PC and SmartPhone.
Another option you could use is set up a web service that acts like an intermediary between the device and your machine. One huge benefit of this is that no longer are you bound by the distance requirements of bluetooth.
Of course if you're trying to build some sort of proximity service (do z when item x is 3 meters from item y) then bluetooth is probably the way to go.

Categories