Advice please - Windows Mobile Software Development

Greetings all
I'm an XDA veteran, and have had an idea for an application I'd like to develop. I have programming skills, mainly in VB6.
So my question is, what application/language is best/simplest for developing my app on WIndows Mobile? The main criteria I have is that I want to be able to read data from and write data to a remote windows based pc - I'm assuming that I'm going to do that via wifi or bluetooth networking.
I'm "between jobs" at the moment, so looking for a development platform that won't cost me much, if anything. I intend to make my application initially as free/donateware - it's something I need, but may be useful to others, but I don't want the hassle of trying to make it secure, serial numbers etc, for it to end up cracked on a warez site!
So what's the best development tool for PC/Windows Mobile development?
Thanks in advance

TangerineTractor said:
Greetings all
I'm an XDA veteran, and have had an idea for an application I'd like to develop. I have programming skills, mainly in VB6.
So my question is, what application/language is best/simplest for developing my app on WIndows Mobile? The main criteria I have is that I want to be able to read data from and write data to a remote windows based pc - I'm assuming that I'm going to do that via wifi or bluetooth networking.
I'm "between jobs" at the moment, so looking for a development platform that won't cost me much, if anything. I intend to make my application initially as free/donateware - it's something I need, but may be useful to others, but I don't want the hassle of trying to make it secure, serial numbers etc, for it to end up cracked on a warez site!
So what's the best development tool for PC/Windows Mobile development?
Thanks in advance
Click to expand...
Click to collapse
Best is quite subjective
I, personally see it this way:
C# (The language I mainly use) is a powerful, relatively simple one. Maybe equal to VB.net, however I feel that it is a step ahead of that.
C++ Extremely powerful, but hard to use (unless you know how to use it already).
C# will provide you with a lot of pre-built functions that are easy to use, but you compromise some speed and size (more RAM usage generally)...while C++ will require some thinking and referring to many API's , but in doing this you can get a much faster, leaner program.
Since you know VB already, I would either stay with that, or shift to C#...if you want a challenge, go learn C++!
I hope this was of some help...

Thanks. My app will have a PC based management module, which I've just started writing in Visual Basic Express, no Problems. I still need to identify the best platform to write the WM application, which is basically going to read a datafile, display some buttons, and write another datafile...

Related

Wanting to learn the basics of programming

Hi guys, now I know this is a BIG request, but I was hoping someone might be interested in helping me begin to learn the different aspects of programming.
Now I know I cant just "hop on the band waggon" I need lots of training before hand in different programing languages, but the one I really want to understand is c# (thats what most windows mobile apps are built on right?)
So are there any really good recomended beginners guide you guys could suggest to me to get me started.
Sorry I must sound like I dont have a clue xD
(well I dont)
Thanks in advance
Hop on the band waggon? I guess you'd rather have to jump in cold water!
I suggest buy a book. If you actually spend the money on it then it's bigger motivation to make something out of it. There's even a book about Windows Mobile .NET programming. What else could you ask for? I don't have the link at hand but you should easily find it on Amazon.
RAMMANN said:
Hop on the band waggon? I guess you'd rather have to jump in cold water!
I suggest buy a book. If you actually spend the money on it then it's bigger motivation to make something out of it. There's even a book about Windows Mobile .NET programming. What else could you ask for? I don't have the link at hand but you should easily find it on Amazon.
Click to expand...
Click to collapse
Hey thanks for the speedy response,
are you refering to this?
http://www.amazon.co.uk/Programming...=sr_1_1?ie=UTF8&s=books&qid=1264201954&sr=8-1
It looks pretty nice, and will it teach me the basics?
yes, for example. or this one:
http://www.amazon.co.uk/Microsoft®-NET-Compact-Framework-Reference/dp/0735617252/ref=pd_sim_b_5
If you are really looking to learn programming, I would suggest against starting with Windows Mobile development. .NET framework for Windows Mobile is very lacking, and in order to do even simplest things you end up using Interops (way of calling native libraries written in C++) or searching/writing libraries on your own.
.NET (and C# by extension) is a multi-platform framework. Start with simple Windows or Web development. Read up on OOP development, find some simple examples online and start a very small, easy to write project.
Once you can write some simple applications for Windows or Web, then you might want to start looking into Windows Mobile development.
Before you start spending money on books try Microsoft's Beginner Developer Learning Centre a go. There are lots of video tutorials which will help you get the basics down http://msdn.microsoft.com/en-us/beginner/dd435692.aspx.
It's not specifically for windows mobile development, but most of what you will learn is transferable.
Once on the website, click "Windows Track" and then "Tier 1", tutorials are available for both C# and VB.NET.
The guy that made the BDLC tutorials for Microsoft also runs http://www.learnvisualstudio.net/, there are a few more free tutorials there too on more advanced topics, a subscription to the site will let you get all the videos.
And look for open source applications like "ReRemind", "Freda" or "RemoteTracker". If you debug these you can learn alot.
ajhvdb said:
And look for open source applications like ... "Freda" ... If you debug these you can learn alot.
Click to expand...
Click to collapse
No No No please don't use Freda as an educational example It's the first .NetCF app I wrote and I really am not very proud of some parts of it. In particular, I only figured out the right pattern to use for 'settings' forms after I had written several already. Some day I will go back and tidy up the code and document it properly. But right now I am still adding features ...
Jim
dont worry, if i look at my old code it's bad too but still works

[Q] Windows Desktop Programs/Games to Windows Mobile?

Took a look back for a few pages, and did a couple quick searches. Didn't quite find enough info.
I am wondering the best approach to take when converting a program to be compatible with and run on windows mobile.
I don't currently know any languages so, I would have to start learning from the beginning.
Thanks for any info
from the little I know about programming, the way an application (or games) works on windows is nothing similar to the way a program runs on windows mobile, so you would actually need to start from scratch... There are however some tools to make the job easier with older programs, like Dosbox... but I don't know if it's what you want.
The most amazing think for me is that, out os 61 views on this topic, the only person that bother to answer is NOT a developer (me)
Convert app? Impossible. With source code it is possible, if you adjust UI to fit the screen and get over some limitations and many other things.
Good is .NET on this, because if you install .NET CF on your PC, you can run apps built for winmo directly on your PC. Only issue is when it tries using other than normal libraries from GAC and tries using InterOp. That library would have to be recompiled for win32, rather wince-arm (back to 1st part). The same, the app has to be made that it is compatible with both file paths - remember that WinMo doesn't use C:\Windows but \Windows etc. And .NET CF is highly limited compared to desktop version.
Thanks for the replies.
I'm not looking for a simple way to convert programs as I'm sure it is impossible. I'm expecting to have to pretty much start from ground up.
I've seen some games such as Pocket Diablo(some others here http://www.jamesbeckingham.com.au/Default.aspx) as well as Starcraft that someone here was working on.
But I'm just wondering the best approach to do work like these guys. As there are some games I would like to bring to mobile.
These games work pretty much that people make the engine from scratch, with many hours in disassemblers, hexeditors etc they find out how does the engine load graphics from those huge files etc and they add it to their engine. Usually.
Its possible... but often more work than it is worth
OndraSter said:
These games work pretty much that people make the engine from scratch, with many hours in disassemblers, hexeditors etc they find out how does the engine load graphics from those huge files etc and they add it to their engine. Usually.
Click to expand...
Click to collapse
Exactly. The hours put in to "porting" these apps to windows mobile is often close to the work it would take to make the game from scratch. So if you are not familiar with coding, disassembling code is far outside your scope. However, when finished, these games have more of an original feel, but often work less effective. This is due to the translation of using mouse clicks to touch input. Games such as diablo rely heavily on having two mice buttons to click. A total remake would be less like the original but might compensate for the new control scheme.
Both ways are possible, but they are both also complicated and involve a great deal of work. Not to mention how unhappy blizzard is with people using their artwork, even if the game is absolutely free.
Sorry but, none of you are really being helpful..
I do not expect this to be easy. I am expecting it to be a long process, and telling me something that I already know over and over doesn't help me get started. I've already said that I expect to probably have to rebuild these from ground up..
I know what is ahead of me and want to do this stuff, other wise I wouldn't be asking.
So if anyone knows the process or at least where I could get started. Please let me know. Otherwise I'll just start with Java then C# until I find my own way into doing this.
From personal experience of porting a game ( http://forum.xda-developers.com/showthread.php?t=717274 ), it will take awhile. Here is the process I used when making the game:
1) Collect image resources if any are possible to be used.
2) Research what kind of engines to use. I made the mistake of trying to use the basic image function in C#.net, which was a waste of time. Then I switched to GDI+ and haven't had any problems since.
3) Make a list of things you want to do on the program. From the required things to the extra fancy features. Sounds are extra features.
4) Prototype A LOT. Find what you want to accomplish, break its parts down into basic actions, then prototype of how to do that action.
As a language to start with, I personally recommend C#.net because its easy to use. It doesn't have the speed of C++, but it does have the #region/ #endregion functions which have helped me ENORMOUSLY with writing code. The region code can be minimized. With 2000+ lines of code per class and about 20 classes, minimizing code makes moving around easier.
Check the XDA boards or search online if your lost. If you need more help on porting code or making functions to do specific actions, message me and I'll gladly help.

Any way to port Android apps to the Windows Phone platform

Hello XDA,
I have developed an app called Ring My Droid (Scan the QR-Code attached with this post).
Currently this app is only available for the Android platform through the Google Play Store.
I am learning to develop apps for the Windows Phone platform too. But, then I came across this section of the XDA Forum and I am interested to know if anyone out here is aware of a tool or a website or blog providing tutorials or a methodology for porting my existing application to the Windows Phone platform?
This may be a noob question, but I am very new to programming for Windows Phone so bear with me..
Any help would be greatly appreciated!
Thanks.
prognosis: serious
I don't know of any frameworks off the top of my head, but I can infer some of the answers based on experience in other platforms. And those answers are not very promising, unfortunately.
1) If you want your app to be cross-platform, you need to design it as such from inception. Otherwise you're in for a lot of work no matter how you slice it.
2) Because WP and Android use different languages for native apps, you have a big problem in just getting your source code targeted to both platforms. If your codebase is already in Java, you'll need a Java -> C#/VB/C++ translator to make it work. I'm not sure that a product like that exists. If you had started with, say, C#, you could utilize something like Xamarin to target Android and WP at the same time, but like I said I'm not aware of anything similar for Java->C#.
3) If your app is written in HTML 5, then you could adapt it to work on WP8 with very little extra effort. But in that case I bet you would have already known that you're cross-platform-compatible and wouldn't ask this question to begin with.
4) If you're resigned to rewriting your app while maintaining its core design the same, then the basic methodology is as follows:
a) refactor your app into well-defined, loosely coupled components.
b) factor away all Android specific APIs into adapter classes and have all "core" functionality written in terms of those adapters
c) port your core classes to a different platform (WP) in a WP-supported language, such as C#. This would be a straight, mechanical but nevertheless manual rewrite.
d) reimplement your missing adapters on WP to take advantage of WP APIs, while leaving internal-facing interfaces the same, so your core classes just work.
e) all of this makes sense only if there is enough complex core functionality to warrant the rearchitecture + translation. If your app is little more than glue shuffling data between external data sources, then all of this is not worth it, and a compete rewrite is the only way to go (sorry I don't have a QR reader readily available right now so I can't check your app directly).

Help/Guidance on Expanding Knowledge of C#

I've been taking some classes in C# programming at my University. I'm trying to attain a Computer Science degree and I feel like I've not learned much but a mild foundation for what I can do with C# programming and would like to expand my knowledge, little by little. I feel as though I have a pretty firm grasp on the basics and would love an experienced hand guiding me in the right direction towards getting me better ready for the job market after college. I'm currently applying for internships and would like to be well prepared.
Detayl said:
I've been taking some classes in C# programming at my University. I'm trying to attain a Computer Science degree and I feel like I've not learned much but a mild foundation for what I can do with C# programming and would like to expand my knowledge, little by little. I feel as though I have a pretty firm grasp on the basics and would love an experienced hand guiding me in the right direction towards getting me better ready for the job market after college. I'm currently applying for internships and would like to be well prepared.
Click to expand...
Click to collapse
The best way is to simply use it as much as possible and challenge yourself. I've been working as a developer for nearly 20 years and I'm always finding new things that I don't know how to do. Learning to search effectively is probably the best skill any new developer should hone.
If I were you I'd start out with something not too difficult, like a simple text editor application (make your own version of notepad!) That will give you some basic skills like simple UI design (menus, controls anchored to the form etc.), file reading/writing (good exposure to streams unless you use the quick and easy methods). It's just a general basic all-rounder. Then expand on it - make it so the pages open in tabs. That will teach you about collections (the tab pages, in this instance) or MDI child windows.
There are some great resources available online, but I'll always suggest Stack Overflow. If you don't know it then google it. It's part of the "Stack Exchange" collection of Q&A sites and is probably the most reliable place on the web for programming answers.
Basically, don't try and learn it so you can do it. Do it so you can learn it.
I hope this helps - good luck, and most of all, have fun!
Archer said:
The best way is to simply use it as much as possible and challenge yourself. I've been working as a developer for nearly 20 years and I'm always finding new things that I don't know how to do. Learning to search effectively is probably the best skill any new developer should hone.
If I were you I'd start out with something not too difficult, like a simple text editor application (make your own version of notepad!) That will give you some basic skills like simple UI design (menus, controls anchored to the form etc.), file reading/writing (good exposure to streams unless you use the quick and easy methods). It's just a general basic all-rounder. Then expand on it - make it so the pages open in tabs. That will teach you about collections (the tab pages, in this instance) or MDI child windows.
There are some great resources available online, but I'll always suggest Stack Overflow. If you don't know it then google it. It's part of the "Stack Exchange" collection of Q&A sites and is probably the most reliable place on the web for programming answers.
Basically, don't try and learn it so you can do it. Do it so you can learn it.
I hope this helps - good luck, and most of all, have fun!
Click to expand...
Click to collapse
Thanks! I was just thinking of making this my first project as well. I've done some random things such as a Base10 to Hexadecimal generator, in both the console and WPF. I was thinking this might be a good project as well. I just don't like the fact my school hasn't asked too much of us, but from what I've read that's common. I just want to be prepared to enter the job market so that I may hone my skills. I guess I'll get working on researching what the basic requirements of a text editor is, and how to start saving/opening/creating .txt files.

[Q] What do I need to know to start functional testing?

Hi everyone,
I just took an internship position in which my first project is coming up with ways to QA our company's mobile application, which we do not personally develop. I thought that thorough test cases run with some kind of automation framework (like Appium) would be the best way to do this, but please correct me if I'm wrong.
I don't have any real Android application development experience. Our application is a client-side application, not web-based. I am assuming that I am going to need to teach myself a fair amount of Java, start looking into how to use the Android development kit, and then learn how to write and implement test scripts using an automation framework. Could anyone once over my thinking on how I need to progress here to make sure I'm heading down the right path to learn how to functionally test client side applications? Will I just need to know Java to write these test scripts, or do I need to learn Javascript?
cbutler94 said:
Hi everyone,
I just took an internship position in which my first project is coming up with ways to QA our company's mobile application, which we do not personally develop. I thought that thorough test cases run with some kind of automation framework (like Appium) would be the best way to do this, but please correct me if I'm wrong.
I don't have any real Android application development experience. Our application is a client-side application, not web-based. I am assuming that I am going to need to teach myself a fair amount of Java, start looking into how to use the Android development kit, and then learn how to write and implement test scripts using an automation framework. Could anyone once over my thinking on how I need to progress here to make sure I'm heading down the right path to learn how to functionally test client side applications? Will I just need to know Java to write these test scripts, or do I need to learn Javascript?
Click to expand...
Click to collapse
You could stick with Java if you wish. There may be more work involved. Android has a built in testing framework wrapped around JUnit. Check out the documentation on developer.android.com/tools/testing/testing_android.html.
Although I suppose JUnit is more suited for unit testing. It may be that using an automation framework like Appium may better suit your needs. It also looks like Appium provides support for testing in Java, so you may be able to skip learning Javascript.

Categories

Resources