Question for developers - Windows Mobile Development and Hacking General

I want to learn how to develop small apps for the pocket pc platform.
What language should I learn. What software do u use?
Visual Basic? c++ ? I am kinda stuck.
Can someone point me in the right direction... also where can I find good documentation on developing for this platform?
Thanks

visual studio .net 2003 let you make applications for the xda in c++, c# and basic
embedded visual studio let you make applications for the xda in c++ using mfc and win32
you can also use powerbuilder i think it's called
and gc as in the gnu compiler
which language you want to use is up to you really

Hi,
i just decompressed a .cab file found in my MDA compact extended rom:
Default_PhonePad_ITA_RC10.CAB
i found a lot of files....
0CeSetup.001
0CeSetup.999
IN05D9~1.020
IN71C6~1.016
etc..
etc...
the question is easy...
how can i open these files? What kind of language are those files programmed with?
thanks in advance

how can i open these files? What kind of language are those files programmed with?
Click to expand...
Click to collapse
they would be Binary files as in already compiled files you it matter not which language they are written in as when they are compiled they are nothing but 0's and 1's
how you open them really depend on what you mean by opening them
if you mean that you want to run the application then you should not extract the files just doubleclick on the cab file and it autoinstall
if you mean how you edit cab files then there are many cab file editors
try doing a search in the forum or on google
if you mean that you want to decompile them back to code then i'm sure there are tools for that too but code which have already been compiled and then taken back to code looks very very bad
and you need to really understand win32 sdk to understand much of whats going on
decompilers should be able to decompile to what ever langauge they support no matter which language the program originaly was written in

Additional Programs
For Cabs: use the WinCE CAB Manager, download here: sorry forgot the link, just search here.
For ms_.nbf: use the windows mobile 2003 ROM Editor, download here: http://forum.xda-developers.com/download.php?id=3208

Rudegar said:
visual studio .net 2003 let you make applications for the xda in c++, c# and basic
embedded visual studio let you make applications for the xda in c++ using mfc and win32
you can also use powerbuilder i think it's called
and gc as in the gnu compiler
which language you want to use is up to you really
Click to expand...
Click to collapse
Incorrect. Visual Studio.net 2003 lets you make c# questions for PocketPC, but nothing else. For C++ you needed embeddded visual studio.
Visual Studio.Net 2005 does add everything, but thats in beta.
btf

they would be Binary files as in already compiled files you it matter not which language they are written in as when they are compiled they are nothing but 0's and 1's
Click to expand...
Click to collapse
ok, got it
if you mean that you want to decompile them back to code then i'm sure there are tools for that too but code which have already been compiled and then taken back to code looks very very bad
and you need to really understand win32 sdk to understand much of whats going on
decompilers should be able to decompile to what ever langauge they support no matter which language the program originaly was written in
Click to expand...
Click to collapse
yes, i meant this. Decompiling the cab file to read the code.
I thought there was a compiler for each language, that's why i was asking.
If somebody could suggest a free good decompiler....

well a cab file is not a program is more like a zip file
use the cab thingy mentioned and get the dll and exe files out of the cab file
here is what you would look for if the programs like most games is in pure ARM code
http://www.google.dk/search?q=arm+decompiler&btnG=Søg&hl=da
maybe this would help if you are trying to access .net
http://www.programmersheaven.com/search/download.asp?FileID=38892
how you go about it when you know something about the arm asm and maybe want to write your own decompiler
http://list.cs.brown.edu/pipermail/plt-scheme/2004-August/006284.html
maybe this
http://compilers.iecc.com/comparch/article/01-09-046
or if you feel luckey
http://www.google.dk/search?hl=da&q=pocketpc+decompiler&btnG=Søg&meta=

cab
my apology...cab is not a program...

Related

Programming on SPV M3000

I just downloaded eMbedded Visual C++ 4.0 to developp programs but I haven't the code to install it & never found it.
Does anybody know another developping tool ?
Pixel69 said:
I just downloaded eMbedded Visual C++ 4.0 to developp programs but I haven't the code to install it & never found it.
Does anybody know another developping tool ?
Click to expand...
Click to collapse
This one is from the microsoft site:
Use the following CD key when installing this software: TRT7H-KD36T-FRH8D-6QH8P-VFJHQ
http://www.microsoft.com/downloads/...3d-50d1-41b2-a107-fa75ae960856&DisplayLang=en

Developing Software

How does one develop software for WM?
Evera said:
How does one develop software for WM?
Click to expand...
Click to collapse
Hi,
get a copy of visual-studio or evc++ (which is free), download and install the proper sdk's for the devices and go ahead reading books, analyse the source code of the sample application provided in the sdk's and then you're ready to code your own...that's it.. I can only encourage to you try it, it's easier than you think.
cheers
Link
Greetings,
If you could provide the link for the softwares it would be very helpful of you.
And a guide for the new people who are dump of making a software for pocket pc be very nice of you.
evc++
http://www.google.dk/search?hl=da&q=evc++&btnG=Google-søgning&meta=lr=lang_da|lang_en
how to program
http://www.google.dk/search?hl=da&q=learning+c++&btnG=Søg&meta=lr=lang_da|lang_en

Which languages for WM devices?

I come from years of Symbian PDA owning/development, and I had several languages available, besides C++: OPL (Basic-like), PersonalJava, J2ME, MidletPascal, Python, Jython, m-Shell... all of them for FREE!
What are the alternatives on a WM machine? Can I only develop in C++, or have I some FREE alternatives?
do you mean languages or programming envioments ?
embedded visual studio is free if you mean envioments
Rudegar said:
do you mean languages or programming envioments ?
Click to expand...
Click to collapse
both.
I just found info about the embedded visual studio you talk about. I see c++ allows API access,but VB cannot. Any workaround?
I also found WABA and EWE: for the first, site states "you can write native code by modifing WABA sources"; I guess it means writing additional C++ code?
for the second, it says it allows accessing native functions: does it mean you can use EWE to start/receive calls, send/receive SMS, access COM port,...?
The following languages/interpreters are used nicely on HTC Typhoon:
1. Jython 2.2 for Java 1.1.8 SE (along with Personal Java CE 1.1 and the JDK runtime/library);
2. Perl CE 5.8.0 from the Rainer-Keuchel portings;
3. nScriptm HPCARM 0.104 by Nakka/ S/K;
4. Rebol CE 1.5.5 by Carl Sassenrath.
An advanced application manager such as SPHelper is needed to solve the pointing device stuff ...
There is a Smartphone patch for Python CE from one of the developers at SF.net released in March I did not try yet, (perhaps someone interested will) ...
anfd said:
The following languages/interpreters are used nicely on HTC Typhoon:
1. Jython 2.2 for Java 1.1.8 SE (along with Personal Java CE 1.1 and the JDK runtime/library);
2. Perl CE 5.8.0 from the Rainer-Keuchel portings;
3. nScriptm HPCARM 0.104 by Nakka/ S/K;
4. Rebol CE 1.5.5 by Carl Sassenrath.
An advanced application manager such as SPHelper is needed to solve the pointing device stuff ...
There is a Smartphone patch for Python CE from one of the developers at SF.net released in March I did not try yet, (perhaps someone interested will) ...
Click to expand...
Click to collapse
thanks, that's very interesting, especially Jython: Is Java 1.1.8 supported by all HTC devices?
Yupp, it sure is ... but Sun Microsystems stopped releasing it alltogether to the end user, R.I.P Personal Java (this was the actual compatibility with CE) ...
The link is:
isiam.blogspot.com (I`ve made it as described) ...
anfd said:
Yupp, it sure is ... but Sun Microsystems stopped releasing it alltogether to the end user, R.I.P Personal Java (this was the actual compatibility with CE) ...
The link is:
isiam.blogspot.com (I`ve made it as described) ...
Click to expand...
Click to collapse
that blog is just the reason for which I asked about PersonalJava compatibility
I use PJ compatible PDAs since several years (SonyEricsson p800, Motorola a1000...), and I'd like to continue being able to use PJ applications even when I'll pass to Windows PDA!
I guess you can add Python CE v2.5 to that list as well now ...
It`ll be working fine on every single WM version existing, although I did not test`em all:
http://downloads.sourceforge.net/pythonce/PythonCE.WM.CAB?modtime=1191509518&big_mirror=0

[Project] Client Repository such Swaret(Linux Slackware)

Need WM6 software developers for make WM6 installer from remote repository .
the software must read file list from repository and download and install on device the selected cab with dependencies.
Its Possible?
tnx to all
it's very good idea, if i can help with something... i'm a coder, buy my skill of C/C++ is a little low.

Doubts with Using Xamarin to develop Android App

Hi All,
We are developing Android App using C# with Xamarin.
I have task to integrate existing C source with App developed. This done by loading corresponding *.so.
Sorry in advance if these questions are naive....
Questions:
1 > I am using Windows. To generate the *.so what is the suitable IDE? Can the windows be used to generate *.so(static object)?
2> If I were to go with Eclipse , Do I need to install the plugins like SDK ,NDK etc...?
3> Do I need to care for processor architecture's , If need to compile the source?....I mean cross compilation
Thanks
sanddune008 said:
Hi All,
We are developing Android App using C# with Xamarin.
I have task to integrate existing C source with App developed. This done by loading corresponding *.so.
Click to expand...
Click to collapse
I'm not sure if I understand you question but I assume you want to extend an existing app -build in C# using Xamarin- with native android Java?
I'm not sure that's even possible. Xamarin is utilizing mono for android to create android (Linux) executable files. When decompiling my own Xamarin build apk with APK Studio I did see the mono .so libraries, but my own code was compiled. Referenced .Net (Windows!) dll's where added to the apk. I assume the mono libraries deal with how they are used in the compiled C# code.
Since there's no quick conversion I see a few options:
A - Change the Xamarin/C# android project to a library project (dll). Compile it using Xamarin and find out (google) how to utilize this dll using mono for android in your Java development environment (eclipse). There are mono .so files...
B - Convert the Xamarin/C# source to java source code. There are some commercial tools which claim to be able to convert C# to Java. Go java all the way.
C - Stick to Xamarin/C#
I think option A will lead to lots of headache assuming you referenced some .Net assemblies in your C# source. However it might be worth a try. Though keep in mind that if you keep using the Xamarin/C# part, you keep needing the Xamarin license to upgrade/update code in the future.
I would go for either B or C depending on the codebase. If it's a lot of code a Xamarin license renewal might be cheaper then a rewrite (conversion). In my experience code converters are reasonable tools, but I've never saw a one-click conversion happen. There's always extra work to make the converted code even compile.
In conclusion: Mixing Xamarin/C# and native Java code might be technically possible, I would rather make a choice for either one of them.
I can't answer your questions about eclipse and required libraries, but I hope my answer is of some use.
Regards,
Alex

Categories

Resources