Jump to content

Help needed to Develop for Omnia


Recommended Posts

Guest Zephyrot
Posted

Hello everyone, Im a JAVA programmer, and recently got a Samsung Omnia.

I just needed a bit of assistence :rolleyes:

I want to develop apps for the Omnia, I just dont know where to start. I already got Visual Studio 2008, and the Windows Mobile SDK 6 from Microsoft.

Is there any kind of Tutorial I can follow to get started into WinMo development? Ive been reading this on MS page http://msdn.microsoft.com/en-us/library/bb...tionDevelopment

But a bit of real help from someone I think would be a lot better :)

Thanks in Advance

Posted
Hello everyone, Im a JAVA programmer, and recently got a Samsung Omnia.

I just needed a bit of assistence :rolleyes:

I want to develop apps for the Omnia, I just dont know where to start. I already got Visual Studio 2008, and the Windows Mobile SDK 6 from Microsoft.

Is there any kind of Tutorial I can follow to get started into WinMo development? Ive been reading this on MS page http://msdn.microsoft.com/en-us/library/bb...tionDevelopment

But a bit of real help from someone I think would be a lot better :)

Thanks in Advance

same boat! :(

just realize that i want to be a developer.

so i downloaded vs2008 pro eval. (90 days)

it has wm5 sdk so im going to start there for now...

im on the msdn site and it has (im sure) all you need to know!

but if someone could simplify it or if you could provide "a bit of real help from someone" i think that will help.

THANKS!

Guest afriza
Posted

Hi guys,

I am not currently using VS2008 but I believe you can use several languages to develop in Omnia using VS2008 including C++ (native/managed), C#, VB. You can start by creating new project. this is how you do it with VS2005 (I hope VS2008 is not that different): file > new > project > choose language (e.g. Visual C#) > Smart Device > Windows Mobile 6 Professional > Device Application

if you are using C++ (native), you can use "MFC Smart Device Application" template from Visual C++ category.

You can refer to other tutorials from there.

-- afriza

Guest bulderhart
Posted

I started developing in C++ when I got my Omnia. I didn't really find one comprehensive introduction, but I did find a couple of interesting links that helped me get started. (I was a C programmer +/- 15 years ago, on Win 3.1, so a lot was new but I did have general coding experience). Let me start by saying that I found most code samples just by using Google. And I use the msdn site whenever I need API reference information.

OK, here's a bunch of links:

Getting started with WinMo:

- http://msdn.microsoft.com/en-us/library/bb158662.aspx -> Sample applications from MS

- http://msdn2.microsoft.com/en-us/library/ms950423.aspx -> Getting started programming WinMo

- http://msdn.microsoft.com/en-us/windowsmobile/default.aspx -> MS WinMo Developers Center

- http://www.microsoft.com/Downloads/details...;displaylang=en -> ScreenLib library, plus video introduction. ScreenLib can be handy, but does have it's limitations. The video helped me get my first 'Hello World' type of application up and running.

MFC introduction:

- http://www.christineweb.be/MFC/MFCIndex.html

- http://www.devarticles.com/c/a/Cplusplus/U...ion-Skeleton/3/

- http://msdn.microsoft.com/en-us/library/ws8s10w4(VS.80).aspx

- http://msdn.microsoft.com/en-us/library/482ck6x8(VS.80).aspx (a little bit outdated sometimes)

On creating custom controls (which I do regularly, especially when I need a finger friendly UI):

- http://www.codeproject.com/KB/miscctrl/customcontrol.aspx

- http://www.codeproject.com/KB/miscctrl/subclassdemo.aspx

- http://www.flounder.com/presubclasswindow.htm

- http://www.koushikdutta.com/search/label/Klaxon

EDB: the Embedded Database of WinMo (also used by Calendar/Task List etc.):

- http://msdn.microsoft.com/en-us/library/aa914733.aspx -> MS Reference

- http://www.codeguru.com/cpp/w-p/ce/databas...ticle.php/c6765 -> EDB primer

- http://msdn.microsoft.com/en-us/library/ms885379.aspx -> On multiple sort orders (which for me took some time to figure out)

- http://www.krvarma.com/?p=125 -> Nice sample application, to help you get started

- http://www.codeguru.com/cpp/w-p/ce/databas...e.php/c6879__2/ -> record structures

Visual Studio hints & tips:

- http://www.codinghorror.com/blog/files/Vis...20Shortcuts.htm -> keyboard shortcuts

- Please note that you'll need the Professional edition for WinMo development, which will set you back a whopping $800! I think this is rediculous and certainly not helping the WinMo community to grow. There are other means of course, like obtaining a student license, etc...

Communities / code examples:

- CodeGuru and CodeProject are my favourites

- Also have a look at XDA developers, although they tend to focus on tweaking HTC devices

I just finished my first project. I think I'll do my next project in C#, which seems to be the language of the future for WimMo development. I'm hugely impressed by the BeyondPod application (C#, open source): http://www.codeplex.com/beyondpod.

Good luck!

Posted
I started developing in C++ when I got my Omnia. I didn't really find one comprehensive introduction, but I did find a couple of interesting links that helped me get started. (I was a C programmer +/- 15 years ago, on Win 3.1, so a lot was new but I did have general coding experience). Let me start by saying that I found most code samples just by using Google. And I use the msdn site whenever I need API reference information.

OK, here's a bunch of links:

Getting started with WinMo:

- http://msdn.microsoft.com/en-us/library/bb158662.aspx -> Sample applications from MS

- http://msdn2.microsoft.com/en-us/library/ms950423.aspx -> Getting started programming WinMo

- http://msdn.microsoft.com/en-us/windowsmobile/default.aspx -> MS WinMo Developers Center

- http://www.microsoft.com/Downloads/details...;displaylang=en -> ScreenLib library, plus video introduction. ScreenLib can be handy, but does have it's limitations. The video helped me get my first 'Hello World' type of application up and running.

MFC introduction:

- http://www.christineweb.be/MFC/MFCIndex.html

- http://www.devarticles.com/c/a/Cplusplus/U...ion-Skeleton/3/

- http://msdn.microsoft.com/en-us/library/ws8s10w4(VS.80).aspx

- http://msdn.microsoft.com/en-us/library/482ck6x8(VS.80).aspx (a little bit outdated sometimes)

On creating custom controls (which I do regularly, especially when I need a finger friendly UI):

- http://www.codeproject.com/KB/miscctrl/customcontrol.aspx

- http://www.codeproject.com/KB/miscctrl/subclassdemo.aspx

- http://www.flounder.com/presubclasswindow.htm

- http://www.koushikdutta.com/search/label/Klaxon

EDB: the Embedded Database of WinMo (also used by Calendar/Task List etc.):

- http://msdn.microsoft.com/en-us/library/aa914733.aspx -> MS Reference

- http://www.codeguru.com/cpp/w-p/ce/databas...ticle.php/c6765 -> EDB primer

- http://msdn.microsoft.com/en-us/library/ms885379.aspx -> On multiple sort orders (which for me took some time to figure out)

- http://www.krvarma.com/?p=125 -> Nice sample application, to help you get started

- http://www.codeguru.com/cpp/w-p/ce/databas...e.php/c6879__2/ -> record structures

Visual Studio hints & tips:

- http://www.codinghorror.com/blog/files/Vis...20Shortcuts.htm -> keyboard shortcuts

- Please note that you'll need the Professional edition for WinMo development, which will set you back a whopping $800! I think this is rediculous and certainly not helping the WinMo community to grow. There are other means of course, like obtaining a student license, etc...

Communities / code examples:

- CodeGuru and CodeProject are my favourites

- Also have a look at XDA developers, although they tend to focus on tweaking HTC devices

I just finished my first project. I think I'll do my next project in C#, which seems to be the language of the future for WimMo development. I'm hugely impressed by the BeyondPod application (C#, open source): http://www.codeplex.com/beyondpod.

Good luck!

dude you rock!! :rolleyes:

  • 3 months later...
Guest DeepBlueEditor
Posted

Simple question then for you guys. In the GPS forum we found a simple application that is really a single .dll file that when run keeps active the GPS chip and hunts for sats in the background. We want to make a link to run the dll file from a regular Omnia desktop or even better would be create a widget for thwe widget bar(s) to activate or kill this dll.

The app is called GPSToggle and you can catch the cab file here: http://www.baf.cc/gpstoggle

I am trying to find links in the forums to tell me how to create my own links with icons and such to do this but having no luck so far. Anyone here have ideas?

Thanks. Catch us in the GPS forums (the really long one) for further details or info.

Thanks,

S.

Guest Slick86
Posted

Since you are programming for the omnia, you will also want the omnia specific samsung sdk from http://innovator.samsungmobile.com/index.do Zephyrot, you might want to take up one of the c versions if you want to do MinMo programming. I have not seen any java written programs for windows mobile

Guest BeamRider
Posted

The language (or framework) you'll choose depends on the project you have in mind. As a Java developer that I used to be, I suggest you to start from C# and develop some small GUI based applications to familiarize with the framework (that's very close to Java) and its classes/controls. Once mastered something similar to what you already know, you may want to move to C/C++ and MFC and study something more system oriented.

You'll find a lot of good and interesting code at CodeProject, mix tutorials with MSDN documentation and you'll get almost everywhere.

But ... first of all ... choose your battle :excl:

Guest Slick86
Posted (edited)

I wouldn't bother going back to c or c++ if you learn c#. WPF is way easier than MFC. It is nice that c# and java are both object oriented

Edited by Slick86

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.