.NET Compact framework - General Questions and Answers

Hi,
I develop using native API and I want to know what is the opinion of xda community about the .NET framework.
Can it be used to develop fast response applications?
Thanks!

it's a lot slower then native
but ok for normal dialog programs

Thank you for your responses!

Related

Visual Basic for Windows Mobile ?

is it possible to use VB.NET to make simple applications for windows mobile (5/6 ?) devices ?
I'm pretty good with VB and I recently got into VB.NET and I'd love to make simple applications for my XDA Flame !
if it's possible, are there tutorials explaining the basic/ difference from making a desktop application ?
thanks !
shodanx said:
is it possible to use VB.NET to make simple applications for windows mobile (5/6 ?) devices ?
I'm pretty good with VB and I recently got into VB.NET and I'd love to make simple applications for my XDA Flame !
if it's possible, are there tutorials explaining the basic/ difference from making a desktop application ?
thanks !
Click to expand...
Click to collapse
i never tried .NET 03, but i have 2005 installed and use it regularly. Just create a new project and under Smart Device choose your OS. If you're already familiar with VB6 and VB2005 then it should be a cinch. You can find some guides here http://msdn2.microsoft.com/en-us/windowsmobile/default.aspx.
Hi,
thanks for the quick answer
I have visual basic 2008 express edition
can this version make WM5 apps ? or do I need the full version ? (I have the full 2005 but I prefer this version because it's "lighter")
shodanx said:
Hi,
thanks for the quick answer
I have visual basic 2008 express edition
can this version make WM5 apps ? or do I need the full version ? (I have the full 2005 but I prefer this version because it's "lighter")
Click to expand...
Click to collapse
Wow i guess I'm behind, i thought 2008 was still in beta. I'm downloading it now and I'll know for sure in about 20 mins. I'm not sure exactly what they cut out in the express editions.
imo u cannot with the express edition, u require pro edition.
shaileshashar said:
imo u cannot with the express edition, u require pro edition.
Click to expand...
Click to collapse
Seems like you're right...
shodanx said:
Hi,
thanks for the quick answer
I have visual basic 2008 express edition
can this version make WM5 apps ? or do I need the full version ? (I have the full 2005 but I prefer this version because it's "lighter")
Click to expand...
Click to collapse
Well, yes and no.
It doesn't allow you to make WM apps, however the compiler CAN produce WM apps.
This mean that you can use your "express" environment to produce a standard application, taking care that the form has the correct size for your PDA, and then you can try compiling it specifing the .NET libraries on your device instead the regular ones.
If the code you produced doesn't use any feature strictly related to the regular .NET Framework version, it will compile.
Take a look here:
http://www.jargoncode.it/tips/netcfcompile-eng.htm
Still, remember that this will make programming more difficult and that you cannot benefit of debugging features and so on. If your needings are simple, this solution may be good. If your needings are complex, then I suggest using "non express" versions of Visual Studio.

getting started in programing for WM6. pls advise

hi folks,
i love my phone and will like to contribute...
i studied years ago turbo pascal but i figured that programing languages basically have similar flows?
i will like to seek advise from pros on how do i get started?
can i
1) know what programing language or tools do i need?
2) know what are the usual errors or problems so that my climb will be easier?
i am really sincere and i hope the pros can take some time to advise me...
yours
leo
I would say, the easiest way to do some application pgrogramming, is to use the Visual Studio 2008(Tool) and C#(language). The platform is .Net framework 3.5.
You can download the latest Windows Mobile emulators, and use it along with Visual studio to test and debug your programs. Once you are satisfied with the program, you can build the cab using Visual Studio(which you can install on the real windows mobile device).
Please post specifics if you need more info. I am sure most of the poeple here are willing to help!
Please try the search function before posting even though this is the Q&A section
This question was just asked: http://forum.xda-developers.com/showthread.php?t=452400
sorry bro . . .
its fine, just figured you might find a little information quicker there
ok specific Q can i rely solely on "WYSIWYG" interface? rather than hardcode like C etc?
Nope. Solely WYSIWYG won't get you anywhere.
But you can use it. For example the CompactFramework.Net (CF.Net) has a WYSIWYG interface, but the underlying functionality you'll have to write yourself.
If that is what you meant...

Mono & .Net

Has anything of good use in the market been written using any of the .net technologies? Anyone had any experience using the mono framework yet?
Before you post, please answer the question rather than give some lame ".net sucks, use java" bs response. I can use java, im just more proficient in C#.
Thanks
I'm not very familiar with Mono/.net, but koushik has been working on porting it over:
http://www.koushikdutta.com/2009/01/compiling-mono-under-android-build.html

Silly question

This feels like a silly question but I was wanting to start developing apps for my HTC Tilt (AT&T Kaiser) and I wasn't sure what language it even uses, I was going to assume C#, but I want to check with you guys before I start learning a language just to find out I learned the wrong one for my phone
Thanks in advance!
Mainstream development is C# or VB if you are using the .NET Compact Framework or C/C++ to use the older but faster Win32 programming model, or its ATL or MFC templates.
Start here:
http://wiki.xda-developers.com/index.php?pagename=Development Tools
Thanks man, I really appreciate the help

[QUESTION] What is the diference between .NET 3.5 & .NET 3.7?

Hello All!
On my travels yesterday I happened to come across a cab for .NET 3.7...
Haven't installed it as never heard of 3.7 being out..
Is it real? Are there any added benefits?
Thanks in advance!
can u post the link or a cab. ?
As requested..
Here you go,
Any Ideas? Thought maybe it might be for cooking rom's but not sure...
.NET Compact Framework 3.7 leaked to public?
Are you sure you've got an authentic .Net Compact Framework version? The next version of the desktop framework is 4.0 and the compact framework usually follows the desktop version. I'd be a bit suspecious about what ever it is that you have that is labeled as version 3.7.
Zauroman said:
Are you sure you've got an authentic .Net Compact Framework version? The next version of the desktop framework is 4.0 and the compact framework usually follows the desktop version. I'd be a bit suspecious about what ever it is that you have that is labeled as version 3.7.
Click to expand...
Click to collapse
I think we all know i've not found it off MS website. Just happened to be in a list of cab's i was looking through. I didnt think it was a tru MS certified. I have since tho googled it some more and got lead to a thread on xda for rom cookers.. must have some truth behind it?
Just hought it was all a bit strange..
CF 3.7 beta is available for some time now on forums though not publicly aknowledged
Patchank said:
CF 3.7 beta is available for some time now on forums though not publicly aknowledged
Click to expand...
Click to collapse
Awsome, some one who seems to know about it!
Any added benefit? whats the diffrence?
snowblind2142 said:
Awsome, some one who seems to know about it!
Any added benefit? whats the diffrence?
Click to expand...
Click to collapse
I have been using this for a long time now. I had it on my Diamond2 and currently have it o my HD2. Didnt realise much difference to 3.5.....so your not missing much!
rumz82 said:
I have been using this for a long time now. I had it on my Diamond2 and currently have it o my HD2. Didnt realise much difference to 3.5.....so your not missing much!
Click to expand...
Click to collapse
Thank you! All I wanted to know!
3.7 is 0.2 more
reubenbubu said:
3.7 is 0.2 more
Click to expand...
Click to collapse
lol This is true..
I wont lie, part of me is still curious whats in the extra 0.2...
snowblind2142 said:
Awsome, some one who seems to know about it!
Any added benefit? whats the diffrence?
Click to expand...
Click to collapse
slightly better performance though some appps are buggy with it while running fine with CF3.5 ...
can't tell you what differs between the 2 versions though, sorry
Patchank said:
slightly better performance though some appps are buggy with it while running fine with CF3.5 ...
can't tell you what differs between the 2 versions though, sorry
Click to expand...
Click to collapse
Thanks for sharing your experience with it
??
what is net cf main function?
i'm sorry with this stupid question..
Not 100% sure..
amrimy said:
what is net cf main function?
i'm sorry with this stupid question..
Click to expand...
Click to collapse
I'm no pc whiz but as far as I know it lays the foundations behind windows for programs to better plug in/communicate with each other.
Please correct me if i'm wrong
I know that all the fun apps and games dont work without it
amrimy said:
what is net cf main function?
i'm sorry with this stupid question..
Click to expand...
Click to collapse
You need it whenever a programmer has written their program (e.g. a phone app) using one of the .Net programming languages. Similar to how you would need Microsoft windows to be running on your pc if you wanted to run (the windows version of) Microsoft Office. The .net programming languages are not the only option when writing programs, but they're very popular so that's why you find lots of things won't run without the framework.
Technically the framework is a bit like a translator sitting between two people who don't speak the same language, but who want to communicate with each other. The .net compact framework is the translator sitting between programming languages that programmers understand (and like to write in), and the language that the underlying circuitry of your phone (and the operating system) understands. It also does lots of safety checks whilst programs are running to ensure that e.g. when a program crashes it doesn't crash your entire phone, and that programs don't try and do things they shoudn't (e.g. security risks).
It is possible to write programs (e.g. a phone app) that doesn't need the .net compact framework - and programs that don't use it can sometimes run faster than those that do! (because they miss out the 'translation' step). The advantage of using it, however, is that it does a lot of things for the programmer to make things quicker and easier - helps them avoid reinventing the wheel, some very complex tasks are already done for you, programs are less likely to crash / are more reliable, and can 'talk' to other programs much more easily.
The cleverest bit (for me as a programmer) is that I can use the same (.net) programming language to write web sites, windows mobile apps, windows phone 7 apps, and programs for microsoft windows. It used to be that you would have to learn something completely different for each.
Hope that helps.
Ian

Categories

Resources