GPS SDK, API or open source project - General Topics

Hello all!
I have a Touch Diamond for which I want to write a application that's using the internal GPS.
Does anyone know where to find an API which can be used for that.
Or if someone has an open source project that I can have a look at just to see how to read the positions of it, that would work as well.

You can download windows mobile 6 (or 5) SDK, there is sample in c# using GPSID.
But, reading data from com port also isn't hard. There is example on codeproject.
Hope that helps you...

Thanks!!
I will have a look at that. Hopefully it will be what I'm after

Related

PPC Emulator for Testing downloaded programs

Hi Guys,
I have searched high and low for the answer to this one, so I thought I'd give up and ask you guys.
What I need is an Emulator for PPC that I can use on my computer to test downloaded programs before I instal them to my XDA.
The problems are:
Active sync appears to only work with visual .net development suit, which I dont have the money to buy.
Embeded visual C does run a nice emulator, but it wont connect to the active sync and thuse I cant install programmes. There did seem to be a solution in useing the folder option in the above programe to access a Virtual SD card on the computer (shared folder on my drive) but how do I access the programmes?
I would prefer to try these programmes out in a sand pit if I could.
But there doesnt seem to be away.
Please dont flame me if I have missed an earlier thread or some google search... I am new.. I am not worthy... I have no flame retardent underware...
Edy
I don't have an answer for you, (I also would like to do this also!), but I don't believe you will be able to get the eMbedded Emulator to run 'real' apps because these apps are compiled for a CPU target, (usually ARM) and the emulator only runs 8086 compiles.
The emulator is more to test your own source code and it compiles for 8086, and when you are ready, you compile your source for ARM, MIPS, to distribute.
If anyone knows of a Windows based emulator that runs ARM compiled programs, I would LOVE to know about it.
I seem to remember there was a Palm version where you could simply drag and drop programmes into it and test them. Would be nice if that were so for the PPC.
Still noone said life had to be perfect ;-)
Edy
Ya, I came from the Palm world, and they did have an emulator that would allow you to run Palm apps. It wasn’t the great emulation, but it usually was good enough to give you an idea if you even wanted to bother installing it on your ‘real’ device.
Well, maybe there is one for PPC and we just don’t know about it… Anyone???
There is no such an emulator and making it is extremely difficult. You'll have to completely emulate whole CPU, some hardware and write your own OS just for this "virtual" PocketPC. Noone has done this.
So the long and the short of this is I need visual .net to be able to run the MS emu... Any here doing that? If so can you tell me if it is possible to install other programs for testing, or will the emu only work with applications you are writing yourself?
There is no such an emulator and making it is extremely difficult. You'll have to completely emulate whole CPU, some hardware and write your own OS just for this "virtual" PocketPC. Noone has
Click to expand...
Click to collapse
no it's that that difficult at all sure it takes some time to do
if you look around for emulators many many platforms come as emulated on pc systems like ps2 all the way back to mame
i have a few friends who just made a whole emulation of the arm cpu on the pc not a pocketpc or windows ce emulator but just pure arm
Rudegar said:
i have a few friends who just made a whole emulation of the arm cpu on the pc not a pocketpc or windows ce emulator but just pure arm
Click to expand...
Click to collapse
Please, can you provide us with a link? I was very interested in such an emulation to test Xanadux stuff without being afraid to render the Himalaya into a brick
Matthias
they are making it because they are embedded software developers
and they are making a project where they are programming to the arm cpu i dont know if they would part with the code but mind you it's no
pocketpc emulator and i doubt it would even support a graphic display apart from text since they dont need it for the project
i'm sure there must be some emulators out there
i mean the stuff in embedded visual c++ and visual studio 2003 and 2005
even if it's not a true emulator then it comes kinda close
embedded visual c++ does have an emulator, but you cant sync it with active sync and therefore you can only test programs that you are developing yourself. There was a posted solution for this involving a null modem cable and two com ports. But my computer only has one com port :-(
Looks like you need to buy Visual Studio .net to get a fully working emulator that can sync with active x and thus test programs....
Hi there,
Somebody correct me if I'm wrong about this, but I don't think even getting the .NET framework working with Microsofts PPC 2003 emulator will work as a true emulator for the actual device.
I have the emulators for PPC and SmartPhones installed since we are developing applications for mobile (but mostly Java based) phones. So far with our initial test developments, you can only run your own developed applications or applications that are currently being developed and compiled for the emulators. Final compiled applications (for ARM/MIPS) are different from the compiled versions for the emulators and won't work with it. Being like this, the compiled version for the ARM processors will not work with the PPC emulator.
Well, that is just my comment...
Cheers,
Hey, I haven't tried it yet, but this sure sounds like what we have wanted...
http://msdn.microsoft.com/mobility/windowsmobile/downloads/emulatorpreview/default.aspx
Hey, I just tired it, (installing an ARM app) and it works. Cool!
How do I download that program. or can somebody upload please.
How do I download that program. or can somebody upload please
Click to expand...
Click to collapse
* Visit http://beta.microsoft.com,
* Login using your Passport account, or create one if you don't have one.
* Use Guest ID MSDEVICE to access the Community Preview website
You'll have to create a passport but that shouldn't be a real problem? I tried to upload it to the FTP using upload:upload but it won't let me send the file?
I have to say that this tool / App is one of the best you can find on the Web. I can now emulate the Pocket PC on my PC to trial games / apps first without messing up my XDA2i.
Thanks for the link guys well done!!
Lee
Upload it plz!
can u upload it somewhere? i am unable to download from the MS site!!!
PLZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ.................
Re: Upload it plz!
studdocs said:
can u upload it somewhere? i am unable to download from the MS site!!!
PLZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ.................
Click to expand...
Click to collapse
I assume you installed the Microsoft ActiveX component called "Microsoft File Transfer Manager" right?
It's the requestor that appears just before the download begins... Then press "transfer" to begin the transfer ..
I hope it works for you...
Rayan
It would be helpful if somebody could upload this program, I am having no success after many attempts to download.
Here you go: ftp://ftp.xda-developers.com/DeviceEmulator050419.msi
(better use a 'normal' FTP client to download)

How do i develop a C# or C++ app to copy files

Basically what i want to do is what M2DC does.
i want the program to list all the .zip files that are in a certain theme folder and then when you apply the theme, it unzips the file and copies whatever is in that file and copy it to the windows folder.
Please help me.
i know NOTHING about programming.
you dont even need to show me, even if you give me a link that give me the necessary information to help me do so.
btw, i have Visual Studio 2008.
http://msdn.microsoft.com/en-us/windowsmobile/default.aspx
that is microsofts windows mobile developer center you may find some stuff there, but if you have no programing experience you may just want to get the developer of m2dc to help you out getting started
best of luck
forgot to mention i already looked there.
good tutorials. just none of which help me in this situation.
kidnamedAlbert said:
Basically what i want to do is what M2DC does.
i want the program to list all the .zip files that are in a certain theme folder and then when you apply the theme, it unzips the file and copies whatever is in that file and copy it to the windows folder.
Please help me.
i know NOTHING about programming.
you dont even need to show me, even if you give me a link that give me the necessary information to help me do so.
btw, i have Visual Studio 2008.
Click to expand...
Click to collapse
Did you download the free copy of visual studio?
bedaweed said:
Did you download the free copy of visual studio?
Click to expand...
Click to collapse
i have the full version
the only reason he would have asked is that you have to have the full version for windows mobile development....
okay well i do.
but im not a programmer so i need some help.
i started trying to jump in just recently, mostly i've just been skinning before so i am in the same boat
this is the c++ library reference, it may provide some help.
http://msdn.microsoft.com/en-us/library/cscc687y.aspx
the code should be the same on a pc performing the same operation
so such code exmpls should be fine too
i tried to do some searching but it appears that there is not very many beginners tutorials for windows mobile so I will just put a couple of suggestions out there.
If you have never written code before I would recommend starting with C#
I personally use C++ but that is because I started writing C++ while still in high school before C# even existed. From what I can tell C# would be a much less painful experience that learning c++.
If you are not all that interested in learning the ins and outs of programming I would take a took at mortscript because that basically gives you just about everything that you would need and I just checked the documentation they have everything you need, the ability to unzip files and make a simple gui
Whenever looking about learning a new programming language you will do best to look for a "Hello World" example, whenever I learna new language / platform (like i am currently doing with android) I always look for a hello world example so that I can get something simple up and running
I end up getting a lot of information from http://www.codeproject.com/ and http://www.pocketpcdn.com/ sometimes the information is outdated, but it is usually pretty good.
The latest and greatest programming website is stackoverflow.com You can ask a question and Usually you will get an answer to your question in a day or so.
If you are ever interested in looking at some C++ things you can look at the full M2DC source code by downloading the zip file from the google code page (latest source code). In the zip file there is a sln file somewhere, that is the entire solution for the program. You should be able to open that file with you copy of visual studio and build a fully working copy of M2DC
good luck
How to teach programming in one post...
Well I don't know where to start, Developing C# apps for PPC is similar to developing desktop apps. The best way to learn is to see what others have done and copy across the code you need (Lookup Popfly Development ).
I'd try and find the code for this in a Normal WinForms app to do this and then port it across to the PPC App.
I'd do it in C#. The un-zipping maybe complicated, I'm not sure what ZIP code is in the .Net Compact Framework.
Let me know if you need any help, I might even knock some code together for ya.
Ta
Dave
mpenguin14 said:
i tried to do some searching but it appears that there is not very many beginners tutorials for windows mobile so I will just put a couple of suggestions out there.
If you have never written code before I would recommend starting with C#
I personally use C++ but that is because I started writing C++ while still in high school before C# even existed. From what I can tell C# would be a much less painful experience that learning c++.
If you are not all that interested in learning the ins and outs of programming I would take a took at mortscript because that basically gives you just about everything that you would need and I just checked the documentation they have everything you need, the ability to unzip files and make a simple gui
Whenever looking about learning a new programming language you will do best to look for a "Hello World" example, whenever I learna new language / platform (like i am currently doing with android) I always look for a hello world example so that I can get something simple up and running
I end up getting a lot of information from http://www.codeproject.com/ and http://www.pocketpcdn.com/ sometimes the information is outdated, but it is usually pretty good.
The latest and greatest programming website is stackoverflow.com You can ask a question and Usually you will get an answer to your question in a day or so.
If you are ever interested in looking at some C++ things you can look at the full M2DC source code by downloading the zip file from the google code page (latest source code). In the zip file there is a sln file somewhere, that is the entire solution for the program. You should be able to open that file with you copy of visual studio and build a fully working copy of M2DC
good luck
Click to expand...
Click to collapse
actually thats the first thing i tried(using m2dc as a template)
but i was super confused.
i tried taking out unessicary things like softkeys, background, internet, etc. but it didnt want to build. and plus, i probably did it all wrong.
if i cant get a good mortscript to do it, ill look into those websites you recommended me.
im in high school right now and im trying to find classing that will teach me some basic programming.
my school is filled with idiots though.
but im moving to a different city, so maybe they can teach me better than i would here.
thanks again.

datamatrix scanning in managed c#

Hi, I was wondering how difficult it would be to make a dll or something from libdmtx, which is an open source datamatrix analyser. So far it is in use on the iPhone, but I figure it shouldn't be to difficult to code for WindowsCE... it's just I'm a noob in developing anything this deep, my area of programming is more like c# ui's and flash applications...
http://www.libdmtx.org/ is the site for the library
At the moment I'm working on some app ideas, so if anyone would be willing to make a pocket pc dll out of this, capable of being used in c#.net
shameless bump
AIPSYS has library used with windows mobile, u can search aipsys to visit the website and find the suitable library, lib or DLL.

[Ask] Can someone help me??

Hi all,
i am beginer to develop an application on Windows mobile. i need to use Win32 to write it. But , i can't find any source code to learn how to do it.
Can anyone give me some tutorial video or notes for learning??
Thank you very much.
Look at the samples in the sdk, if you havent' downloaded it yet:
http://www.microsoft.com/downloads/details.aspx?familyid=06111A3A-A651-4745-88EF-3D48091A390B&displaylang=en
Thank garthus for your link.
i have downloaded it before. i take a look for it. i discover these samples introduce new functions or command codes supported in the windows mobile 6
i want to learn some basic codes to develop a window. eg. how to develop menuBar , something like that

[Q] Wanting to start creating homebrew applications.

Ok, so I have no experience of working with any type of coding of development except for Adobe Flash. I don't think that really counts though, nor help me here, but I want to start off by saying that I'm simply a 17 year old.
I want to start development of an app to edit the registry. For example, I got the idea for everytime you click a button on the app, it edits something on the registry. Of course, phones will have to be Interop-Unlocked (Which my Samsung Focus is).
So to get on topic, how may I start creating an app for Windows Phone to edit registry and etc.? As I said before, I really don't have much experience, but I would love to learn and help the community.
Thanks in advance.
Bump up....
Ok, basic first steps: do you have the WP7 SDK? You can get it for free, and you'll need it. It includes the tools to build and deploy apps (compilers and so forth).
The project you're talking about is a bit heavy for a first foray into app development, but you can give it a shot. One of the easier ways (for me, at least) to learn things is to look at what other people did, which in coding usually means looking at open source projects. There are a few open-source apps which access the registry.
For example, my MultiTaskToggle app (linked in my sig) works on Samsung and provides an example of how to read and write a specific registry value.
If you want to browse the registry at all, you'll need something different. This can be done, using COM to call native APIs. Look at the Homebrew library (used by the Webserver projects, among others) or WP7 Advanced Explorer (open source, code is on Codeplex). These types of project have two parts: managed (.NET code, typically in C#) that calls the COM interface, and native (C/C++, written using the Windows Mobile SDK) that implements the COM object.
You may want to do some research online to get started, either here on XDA-Devs (though I think most tutorials here assume at least basic knowledge) or elsewhere (even from MS directly) if you're really starting from scratch.

Categories

Resources