developing help please - Windows Mobile Development and Hacking General

Hello to all programers
I want to write my own program for my HTC Elf (touch). I try Microsoft Visual Studio 2005 with Windows Mobile 6 SDK. I wrote same small applications but all with windows (frames) I tried some example from SDK for fullscreen application but it didn't look fine for me. Could you someone send me some small fullscreen application as example please.
THX M. Göllner

gollner said:
Hello to all programers
I want to write my own program for my HTC Elf (touch). I try Microsoft Visual Studio 2005 with Windows Mobile 6 SDK. I wrote same small applications but all with windows (frames) I tried some example from SDK for fullscreen application but it didn't look fine for me. Could you someone send me some small fullscreen application as example please.
THX M. Göllner
Click to expand...
Click to collapse
Hi!
I don't have the code right now but I think you have to set the borderstyle to none and the window state and add the following:
FormBorderStyle = FormBorderStyle.None;
WindowState = FormWindowState.Maximized;
You can have some problems with SIP though...
Hope this helps.

thx
thx
I tried it but after maximize there is still bar with system button on the top and bar with keyboard button on the bottom.

Related

Tips for faster development under Visual Studio

Hi everybody,
I've tried to develop for Windows Mobile 6 under Visual Studio using the emulator and the deployment is rather long - Around 20-30 seconds just to deploy the application.
I was wondering if you have any tips regarding a faster way to test the application you develop for mobile. The current options I see now is the Visual Studio 2005 device emulator and deploying directly to the device itself (that actually proved to be a bit faster).
Thanks!
Yes you can test the application directly to your device if you have sync it but don't remember where to change that
Guys, where can I find complete developing environment?
I think a have VS on CDs, it's all I need?
or there is some add-on to VS to develop for WM?
Thanks in advance.
korro said:
Guys, where can I find complete developing environment?
I think a have VS on CDs, it's all I need?
or there is some add-on to VS to develop for WM?
Thanks in advance.
Click to expand...
Click to collapse
I'm also curious about that because i just installed VS2008.
It should be installed by default.
Try doing: New Project -> Oher/C# -> Smart device
All the emulators are part of VS2008 install.
in project settings under deployment one pick what emulator or real device one wish to debug on
some features and emulator rom versions
require
sdk wm6 or sdk wm5
google for the ms download for those sdk's
great tool
VS2008 is a great tool to develop application, also for pocketpc.
Impressive developing directly on the device...
vitalyb said:
It should be installed by default.
Try doing: New Project -> Oher/C# -> Smart device
All the emulators are part of VS2008 install.
Click to expand...
Click to collapse
Thanks for the tip

Newbie Guide to C++

I need help - I want to start writing programs for my Tilt. Looking through the posts it seems the C++ is the way to go. I found a bunch of nice tutorials on the web on how to program in C++ but not now to write a program for a pocket pc.
Specifically I need help with which programs to download.
Im looking for a list like this of exactly what I need to get
1. Microsoft embedded Visual C++ 4.0.
2. Microsoft embedded Visual C++ SP4
3. Microsoft pocket pc 2003 sdk.msi
4. Microsoft Windows CE 5.0 Device Emulator
or what ever
Thanks I tried to figure this out on my own but got frustrated after installing like 7 different programs. Seems like you should only need 1 program but it seems like you need to download a bunch.
Also with the Embedded Visual C++ program I dont see where to enter your code - like open workspace or something?
ronschaefer said:
I need help - I want to start writing programs for my Tilt. Looking through the posts it seems the C++ is the way to go. I found a bunch of nice tutorials on the web on how to program in C++ but not now to write a program for a pocket pc.
Specifically I need help with which programs to download.
Im looking for a list like this of exactly what I need to get
1. Microsoft embedded Visual C++ 4.0.
2. Microsoft embedded Visual C++ SP4
3. Microsoft pocket pc 2003 sdk.msi
4. Microsoft Windows CE 5.0 Device Emulator
or what ever
Thanks I tried to figure this out on my own but got frustrated after installing like 7 different programs. Seems like you should only need 1 program but it seems like you need to download a bunch.
Also with the Embedded Visual C++ program I dont see where to enter your code - like open workspace or something?
Click to expand...
Click to collapse
WHAT kind of applications you are trying to write?
Do you need to write a device driver for your PDA?
ronschaefer said:
I need help - I want to start writing programs for my Tilt. Looking through the posts it seems the C++ is the way to go. I found a bunch of nice tutorials on the web on how to program in C++ but not now to write a program for a pocket pc.
Specifically I need help with which programs to download.
Im looking for a list like this of exactly what I need to get
1. Microsoft embedded Visual C++ 4.0.
2. Microsoft embedded Visual C++ SP4
3. Microsoft pocket pc 2003 sdk.msi
4. Microsoft Windows CE 5.0 Device Emulator
or what ever
Thanks I tried to figure this out on my own but got frustrated after installing like 7 different programs. Seems like you should only need 1 program but it seems like you need to download a bunch.
Also with the Embedded Visual C++ program I dont see where to enter your code - like open workspace or something?
Click to expand...
Click to collapse
You should be able to do it with visual studio and the emulator, im not 100% sure though, I only know a limited amount of Java.
Most phones support .net/C#/Java, so pick a language
What I want to write
Just some fun stuff =
One idea I had is a generic sound simulator, tie buttons to different sound - .wav files; animal sounds, machine sounds, phasor blasts, drum kit, theme music like - http://www.thinkgeek.com/tshirts/illuminated/a5bf/
I want to have it look nice too with decent graphics.
i suggest to use Visual Studio 2005 or 2008.
It's simplest way to start (and continue) to write programs.
Both native and NET technologies are supported. C++ and C# available.
Both VS versions are coming with integrated Device Emulator with WM5(VS2005) and WM6(VS2008) images for PDA/PDAPhone/SP and remote debugger for real PDA/PDAPhone/SP devices.
If you are using VS2005/2008. Download the latest Windows Mobile 6 SDK (Standard and Pro) for the best Emulation.
Ta
Dave
but c# only works with .net
where c++ works with win32(native) microMFC(Native) and .net
more info can be found
http://forum.xda-developers.com/showthread.php?t=380069&highlight=programming
http://forum.xda-developers.com/showthread.php?t=382995&highlight=programming
http://forum.xda-developers.com/showthread.php?t=226412&highlight=programming
http://forum.xda-developers.com/showthread.php?t=336251&highlight=programming
http://forum.xda-developers.com/showthread.php?t=305926&highlight=programming
http://forum.xda-developers.com/showthread.php?t=302548&highlight=programming
http://forum.xda-developers.com/showthread.php?t=228043&highlight=programming
http://forum.xda-developers.com/showthread.php?t=317913&highlight=programming
http://forum.xda-developers.com/showthread.php?t=237932&highlight=programming
yes, С# is for NET only. This language appeared together with NET technology as alternative to Java after breakup with SUN
C# is closer to BASIC than C++. I, personally, don't recommend C#. Ths "strange" language is for lazy people. Almost nothing left of C++ and its ideology.
Visual Studio 2008 Pro trial version
Thanks for you advice - i deleted all that embedded C++ stuff - was way too confusing, must have had like 8 programs installed and still was not working - I like the idea of just 3 things the visual studio and the 2 WM6 SDKs
Im going to try the visual studio 2008 - there is a trial version of it for 90 days
http://msdn.microsoft.com/en-us/vstudio/products/aa700831.aspx
Would i be better off with the 2005 version as Im using Xp not Vista on my main computer. Should I get the Try Visual Studio "Team System" 2008 - Trial Software or just stick with the regular one i downloaded?
I also downloaded the standard and professional WM6 SDKs
http://www.microsoft.com/downloads/...745-88EF-3D48091A390B&displaylang=en#filelist
I used embedded visual tools in the past (3 and 4). Be aware that you cannot use the WM5 SDK with eVC, you must use Visual Studio for that. The latest thing usable with eVC is the WM2003 SDK, as far as I know. Also, the emulator handling in eVC was quite sluggish and buggy. When I switched to VS2005, it was like a deliverance to me. Also, the help system in VS is a blessing. *g*
Though I used Delphi's VCL in the past, I would never freely touch such a thing on restricted hardware such as in PDAs. Hence, .NET, MFC and of course *cough* Java *cough* are out of the question. I'm a pure C++ writer. The progs are nicely small and fast. And there are always alternatives to the things I can't use because of that: for instance instead of MFC CStrings I got acquainted with STL library's strings. There's also ATL which supposedly can be used instead of MFC for GUI programming, but when I looked for it some years back I found only very little information about that.
Happy coding.
Is it true that you can only develop WinMo C++ in VS Pro?
I read on the Microsoft marketplace that the standard edition dosnt support mobiles..
are there any alternatives (C++ only please..)
yes they only support through pro... but you can get it for free through dreamspark if you are a student
joel2009 said:
yes they only support through pro... but you can get it for free through dreamspark if you are a student
Click to expand...
Click to collapse
damn, I am a student but my uni isnt listed
I asked one of the admins and they are looking into getting on the list
But it might be too late coz its my last year..
Mic159 said:
damn, I am a student but my uni isnt listed
I asked one of the admins and they are looking into getting on the list
But it might be too late coz its my last year..
Click to expand...
Click to collapse
Good news. My uni isn't listed either. It is a simple matter of verifying your student status on journey ed. I'm glad I could help with this because it turns out that I could get all the dreamspark software through my school's MSDNAA program anyways.

[APP][WM6][QVGA] Mobile Hold'em Manager v1.1

This is my first contribution to the Windows Mobile community. My testing so far is limited to an HTC Touch so I am hoping it works on most other QVGA phones.
Overview
Mobile Hold’em Manager is simple Windows Mobile application to manage the blinds, antes and seating assignments at your favorite poker home game or tournament. It is optimized for QVGA (240x320) touch screen smart phones running Windows Mobile 6. Mobile Hold’em Manager allows you to configure the length, blind values and ante value for each round and can assign player seat numbers for multiple tables. Multiple tournament profiles can be saved allowing to quickly change between different tournament setups and there is also configurable audible and vibration alerts.
Requirements
Windows Mobile Professional 6 or higher
QVGA (240x320) touch screen
.NET Compact Framework version 3.5
800 KB storage space
Installation
Simply copy HoldemManager.CAB to you device, click on the file from your device’s File Explorer and follow the on screen instructions. To uninstall, click Start->Settings and then click Remove Programs from the System tab. Select DKR Software Mobile Hold’em Manager from the list of install programs then press the Remove button.
Future Updates
Skinning support
Support for audio files other than WAV
Support for other screen resolutions
Support for portrait / landscape switching
The install CAB is attached to this post. A PDF user manual with screen shots can be downloaded from:
http://members.shaw.ca/dunlopkr/MobileHoldemManager.pdf
If you like it please:
Cheers,
dunlopkr
BUMP
Anybody give this a try yet. I'd like to know if anyone finds it useful before I start developing new features.
Cheers,
Ken
I can test it for you!
Hello,
I found your little app quite interesting, seems simple and intuitive.
I will test it, and give it a try for my next poker tournament. =)
I'll come back to you to give you my appreciation / comments.
Thanks for your good work!
i would love to use it but on my Diamond is doesnt work right cuase of the resolution
Hope for an update
greetz
I'd love to try it out, but as with the user above, my diamond runs at vga.
Would really love to see a vga version, as this is one of the apps ive really wanted for my phone.
Thanks for your contribution!

Question for the developers?

How can I make VS2008 let me deploy to my HTC TOUCH HD
i can only deploy to thje standard devices so my app does not look like it should (i.e. windows mobile 6 stanard, professional, vga, square vga etc)
any help would be gratefully received
you can download the sonyE x1 sdk it got a emulator which is wvga
of cause you can also just alter one of the other ones
you can change the res to custom in their settings
Download the Windows Mobile 6.1.4 emulator images, they have a greater range of screen sizes to try out.
http://www.microsoft.com/downloads/...52-F89E-4354-84CE-5D19C204498A&displaylang=en
cameronm said:
How can I make VS2008 let me deploy to my HTC TOUCH HD
i can only deploy to thje standard devices so my app does not look like it should (i.e. windows mobile 6 stanard, professional, vga, square vga etc)
any help would be gratefully received
Click to expand...
Click to collapse
hello,
I don't have VS here but :
- connect your device using active sync
- start your VS smartdevice project
- in the top bar, there is a list where you select the emulator, choose your device (WM6 Pro Device should be fine)
- click on the small icon "Connect to device" next to this list
- tadam! you can then debug your programs running on the device!
I made this for my Diamond and my Touch Pro and it's really perfect (for testing sensor components )
Hope this helps!
PS: download.microsoft.com and get the latest WM 6.5 SDK!

Register Windows Logo button with another program???

Hi,
is there a way on Windows Mobile 6.5, 6.5.x and WMD, to map the windows logo button (not the hardware key of a device) to another program than honeycomb start nenu??? I have a little program that is named "Folderview" (it seems to be from HTC) that will show up the start menu with big icons like there it is in Windows Mobile 6.x Smartphone Edition.
The background for my question is that i own a PDA E-Ten Glofiish M800 that has only 64 megs of RAM (total free ram after strat is only around 20 megs with honeycomb) and that's too small for using GPS functions with navigation software like igo 8. I tried the tool "Quickmenu" but i don't like it because i do not want to have a start menu like in verisons of Windows Mobile prior 6.5.
Thanks
StefanV3
Hi
A little search brought this http://forum.xda-developers.com/showthread.php?t=486712
Re
Hey Stefanv3, try this, its a taskmanager but can also set the start button.
http://forum.xda-developers.com/showthread.php?t=583002
Secc
Hi,
thanks for your tipps. StartButtonHook is the tool i was searching for.
AMeBa doesn't work, don't know what's wrong.
But now i have another Problem. The tool "folderview" does not show up the "settings". Has anyone an idea howto create a link to access "settings"???
Thanks
StefanV3
Try this http://forum.xda-developers.com/showpost.php?p=5638427&postcount=4
Hi,
Thank you very much. This is it...
StefanV3

Categories

Resources