compiling source code - Windows Mobile Development and Hacking General

Hello ,
I have seen some softwares with source code at hotpocketpc.com
url is hotpocketpc.com/tag/srcx/
What do i need to make application (EXE) .
Thanks

Looking good. Are those applications free.

hello bigman,
Use visual studio or something
These all are freeware and free to download i think , because if you look at all of the software with source code from http://www.hotpocketpc.com/tag/srcx/ , they are from most of open source , but these people they classified whether source code is available or not. Think good for new developer if there are rich resources.

You need a Compiler.
What compiler is correct for you depends on the Programming Language the Programm was written in.
Genrally: The MS Visual Studio 2008 (and the Express Edition) with the Windows Mobile 6 SDK (http://www.microsoft.com/downloads/...3a-a651-4745-88ef-3d48091a390b&displaylang=en), will work the most of those applications!

Thank brandi,
That is right answer , i start using it , got a lot errors and but i will try to get familier with visual studio , and hopefully will try to get in there soon as i got reasonable knowledge of PIC C compilers.
thanks

Related

pSlimClient 0.1 - Open source slimserver client written in c# (source only)

Good evening! I just released the source for my very own slimserver client for windows mobile! (I was very frustrated as I couldn't find any free/open source ones out there).
This is the first release ever, and hence very very basic. Thus, I have only released the source, and no binaries..
It does work, and it does satisfy my current requirements, so I don't plan on spending a lot more time on it. If you want to see it evolving to meet your own needs as well, please do help, by donating your time and coding skills
In order to make it work , you will have to manually edit the libslim\core.cs file with your slimserver details.
There are no GPL notices, nor attributions in the files yet for the various pieces of code that I used. This will change soon!
The scrolling list control is called Kinetic Scroller, and I found it on this forum. Many thanks to dosfan for releasing the source to that excellent and extremely usable control (I did some minor changes).
I found what was the basis for SlimXML somewhere on the web, I don't remember where. Many thanks to the developer In order to compile it, you might need Visual Studio 2008.
You will also need SlimServer version 7 beta installed, as the previous versions do not provide any CLI functionality for browsing the music folders
https://sourceforge.net/projects/pslimclient/
Nice..
This sounds great. Currently I am using the handheld skin and mplayer. It works but a real client would be sweet. The only problem is I don't think I can get a C# compiler. Do you know of a free one or would you be able to get me a binary? I'm running duttys 6.1 on a at&t tilt.
Thanks and good luck with the project.
wr420

WM6 compiler

I'm looking at developing a biomonitoring application, the setup to consist of a 24 bit ADC with an Atmel AVR microcontroller sending data via Bluetooth to the mobile phone for display. I don't have a large budget so am looking for freeware or something a lot cheaper than Visual Studio to develop the application to run under WM5/6. It has to be compiled due to the amount of processing needed.
I prefer to write in C/C++ . Pascal would be a 2nd choice then anything else except Basic.
For Windows development I use Borland C++ Builder and have used Delphi. On the embedded side I use Codevision AVR C compiler.
I'd appreciate recommendations for development software. TIA.
I got this C compiler to work a while ago (managed to recompile a few of my desktop PC SDL projects to ppc):
http://sourceforge.net/projects/wince-xcompile
[EDIT]
Sorry, ceGCC is what i was using, not xcompile:
http://cegcc.sourceforge.net/
[/EDIT]
It's free, but it's for linux (if you don't have linux, that might be a good reason to give it a try ). Also, the problem is that it doesn't have an IDE of its own, and no graphical interface editor.
There's also pgcc, allowing you to compile applications directly on your pocketPC, but i wasn't able to make it compile any GUI application, only console ones (but i didn't really spend much time trying). There's a working link and a short info on how to use it here:
http://www.aximsite.com/boards/business-development/135816-pocket-c.html#post1187340 (sorry for linking to other forum, but i didn't want to post someone's tutorial as mine).
Anyway, i'd love to hear about any other free alternatives as well
you could try embedded visual c++.
it is free but you can not debug on devices powered wm5 or higher. you will need the ppc 2003 sdk and win xp prof or 2000.

Language being used for applications

I've been developing enterprise applications for over a decade now, but PPC Development is totally new for me. I'm curious to know what language most PPC developers use to build their applications? Is it common to develop using Mobile .NET or are most of the applications developed in C++?
I really want to get involved, as there are applications I would like to write, but I'm struggling to find a starting point.
I want to develop a finger friendly application like the SPB Mobile Shell, and I assume I will have to use C++ and animations to ge the desired functionality? Any help is greatly appreciated.
The simplest way to start is using the .NET platform.
Its main languages are Visual C# and Visual Basic.
The main advantage is that those two languages are simple (the C# is close to the Java language) and secure in terms of memory management, but they also are slow, because the compiler creates managed code, just like the java compiler does.
I've tried to do some small apps using C#, and it's really entertaining and "simple". The problem is that you need the Microsoft Visual Studio IDE, which is not free, unless you use a free version, the Visual Studio Express IDE, but I'm not quite sure that it works to dev on a PPC.
As far as I know, there is a way to do unmanaged code, using C++ I guess, which is much faster. I don't know how to program in C++ for a PPC, and I'm also interested, as the few apps that I made in C# were really slow.
Good luck !
ErGo_404 said:
The simplest way to start is using the .NET platform.
Its main languages are Visual C# and Visual Basic.
The main advantage is that those two languages are simple (the C# is close to the Java language) and secure in terms of memory management, but they also are slow, because the compiler creates managed code, just like the java compiler does.
I've tried to do some small apps using C#, and it's really entertaining and "simple". The problem is that you need the Microsoft Visual Studio IDE, which is not free, unless you use a free version, the Visual Studio Express IDE, but I'm not quite sure that it works to dev on a PPC.
As far as I know, there is a way to do unmanaged code, using C++ I guess, which is much faster. I don't know how to program in C++ for a PPC, and I'm also interested, as the few apps that I made in C# were really slow.
Good luck !
Click to expand...
Click to collapse
I'm guessing that applications like SPB Mobile Shell is developed in C++. I just don't see how it could be .NET code. I was sort of hoping, considering this is a developers forum, that there would be a better response to this thread; however the overwhelming feeling I get is that the 'new' people aren't cool enough to share information with.
devikta said:
I'm guessing that applications like SPB Mobile Shell is developed in C++. I just don't see how it could be .NET code. I was sort of hoping, considering this is a developers forum, that there would be a better response to this thread; however the overwhelming feeling I get is that the 'new' people aren't cool enough to share information with.
Click to expand...
Click to collapse
I feel your pain but best suggestion I can give to you is there is icontact app for which author have released source code (Thank you very much for that) . Look at the code and try to understand and see where you can get with it.
I started using visual studio IDE but I was running in to issue with the IDE itself, good luck to you.

Windows Mobile Development Tools?

Hi all!
So, I've decided to finally take the plunge and start developing for Windows Mobile proper. Flash can finally get the flick
But, what do I need? Visual Studio 2005? Because I don't have/can't afford that, and it seems as though the Express editions aren't supported.
I like C# as a language, and would like to further learn it.
So: What do I need?
Mods: Wasn't sure if this was the right place, move it if you want
Girvo
Girvo said:
Hi all!
So, I've decided to finally take the plunge and start developing for Windows Mobile proper. Flash can finally get the flick
But, what do I need? Visual Studio 2005? Because I don't have/can't afford that, and it seems as though the Express editions aren't supported.
I like C# as a language, and would like to further learn it.
So: What do I need?
Mods: Wasn't sure if this was the right place, move it if you want
Girvo
Click to expand...
Click to collapse
in vs 05/08 (at least pro version), select create project>VB or C# >> smart device.... and ya... u need wm emulator that can be dl from ms web site....
you could try Basic4PPC (search for it on the web). I'm using it and I am very pleased with it. It has a good price and nice support and an excellent forum.
BTW: the applications you write will need the NET.framework installed on the PPC.
Rgds,
/tilleke
There is also
- PellesC (it's c) but it's a very good ide with some tools very usefull.
- SharpDevelop (v2.2) an open source ide for C# (and VBNet). In the "new solution" dialog select "Compact Framework")
Hope this help you
I suggest some free developing tools:
1. CeGCC: Free and open source developoing tools, gcc. Can be used in Linux and Windows(Cygwin)
2. Mamaich's Pocket GCC: Free and open source. gcc, used in Pocket PC.
3. EVC++ 4.0, Free but closed source. Download free M$.
SharpDevelop is what I seem to want. It's a nice IDE! Wrote a twitter client for my PC with it in about 20 minutes last night
BUT:
I can't install the WinMo 6 SDK without Visual Studio. Do I need the SDK?
There's a good documentation on installing the emulators:
http://msexchangeteam.com/archive/2007/09/17/447033.aspx
I'm writting an application for work in c# compact framework. It's really a PITA. So much isn't in the compact framework. Go check out opennetcf. It has some very useful libraries. Also it's a bummer but all the cool stuff needs to be done in native language.
helloworld1 said:
I suggest some free developing tools:
1. CeGCC: Free and open source developoing tools, gcc. Can be used in Linux and Windows(Cygwin)
2. Mamaich's Pocket GCC: Free and open source. gcc, used in Pocket PC.
3. EVC++ 4.0, Free but closed source. Download free M$.
Click to expand...
Click to collapse
Pocket c# is also a free choice.
Pascal via Lazarus is another free alternative.
http://snapshots.lazarus.shikami.org/lazarus/ has the wince package
and there is a discussion forum at http://www.lazarus.freepascal.org/i...rum&f=17&sid=afea0e515f0090fef3aaee9c84fe72cf
Takes some time setting it up properly. But once done, it's a great environment, and the programming is very similar to c#. The programs seem to run faster on my phone, than the c# programs I've made.
Some good posts in here guys, keep it up
Still haven't found a solution to the SDK installation problem
Also: What should I be using to develop Today Screen plugins?

planetsourcecode type site for Windows Mobile

Is there anything, besides codeproject, that has a repository for source code for windows mobile 5/6/6.1? I am looking for something similar to planetsourcecode.com/.net so I can learn from sourcecode.
Also, is there any development tool I can use to program today plugins besides Visual studio? I know of basic4ppc. But anything else? Anything similar to appforge out there?
Try embedded Visual C++/Basic from the MS Websites. (it's free)
...or ic#code if you intend to write managed code. Hey moderators what about a new forum here in XDA for open source code / class libraries / etc for windows mobile and HTC devices?
jdiperla said:
Is there anything, besides codeproject, that has a repository for source code for windows mobile 5/6/6.1? I am looking for something similar to planetsourcecode.com/.net so I can learn from sourcecode.
Also, is there any development tool I can use to program today plugins besides Visual studio? I know of basic4ppc. But anything else? Anything similar to appforge out there?
Click to expand...
Click to collapse
I recently went through this when making Manilla2D Customizer.
I found a lot of very useful information at the pocket pc developers network http://www.pocketpcdn.com/
Code project also has quite a few decent articles
When you get truly stuck with a problem the community over at stackoverflow.com will usually have an answer for you
Feel free to download the source for M2DC at http://code.google.com/p/manilla2dcustomizer/downloads/detail?name=M2DC_v0.11.133-src.zip&can=1&q=
As far as development tools... I was unable to find anything I was happy with other than Visual Studio. Microsoft has a 90 day trial of Visual Studio 2008 Professional for free download... and that is what I have been using for M2DC, it has worked well for me, but I know in 2 months I need to buy the full version (nearly $700 ) or convince my employer or contracting employer to buy it for me ( )
good luck
I have a similar issue. I can code command line, I am just bad at picking the "correct" compiler, worse at setting it up and I don't really care for Visual coding and IDEs (am perfectly happy with Notepad or Nano).
I was surprised that there is no sticky on these forums, not even in the roll-up, that discusses "recommended" tools (or available combinations) for writing mobile applications.
The only one I am aware of is Visual Studio et al described on MS' site here -
http://msdn.microsoft.com/en-gb/windowsmobile/bb264337.aspx
Now, obviously, I don't really like spending money, especially if I can do it for free (and legally, obviously), so I was pleasently surprised when I found that MS gives their tools away to students -
https://downloads.channel8.msdn.com/Products.aspx
So this gets Visual Studio (I elected for 2005 rather than 2008) and the rest of the tools as a developer environment. I just installed all of this and it seems to be working ok with minimum fuss, so I shall be bastardising some MS sample project in the near future to create a template program and then I should be away....
Beyond that, there's the option of embedded visual c++ 4 (download and service pack 4). Only problem was getting this to compile properly (as I said, I have problems with getting compilers to work. They a nemesis of mine, along with printers).
If there are other options (like ic#code, gcc etc...) that are also easy to set up, but not attached to Microsoft, I would love to be told about them especially if there is a walk-through about how to put the pieces in the right place or an IRC channel I can ask silly questions in (like what .
If you don't require C++, check out PellesC.
It's very straightforward to get it up and going, it's using lcc modified compiler.

Categories

Resources