How to made an application to HTC? - General Questions and Answers

Can someone tell me what i need?
C++ or Turbo Delphi or something another?
And what is different when i am programming to PC ant when i am programming to PDA

I think you need Microsoft Visual Studio to do that, it comes with C++, C# and Visual Basic. But I guess there are also other possibilities.

ok thanks i will try something

Related

How to learn programming for WM2003 ?

I would like to learn to program for PPC.
I am familiar with x86 assembly , and several RISC assembly langauages, while I understand it won't help me here, I also do know VB.
What language do you suggest I should learn, and what tools/compilator should I use ?
I would like to program an todat-plugin , among other things,
thnx
Visual Studio .NET is rather easy to use..
Your VB skills may come in handy..
There is allso the opportunity to use pure VB, but it isn't really any good..
The integration between development environment, emulator and device is awesome in VS.NET..
I personally use VS.NET 2003, with only VB.NET installed. Works for me..
The downside is that the applications require the .NET framework, and eat a little more memory than well written apps in other languages..
For absolute power and control; C++ as allways..
[Norwegian]
Ps. Fyll ut profilen bedre..?
[/Norwegian]
with .net 2003
you can do vb.net
c# .net
c++ .net
with embedded visual studio c++ you can do
win32 applications
you can do mfc applications
heard there also in an embedded visual studio vb
which let you do vb without being .net
visual studio 2005 .net will merge embedded visual studio and smart device .net (the .net you can do with 2003 visual studio)
[Norwegian]
Ps. Fyll ut profilen bedre..?
[/Norwegian][/quote]
what would you like to know ?
www.madhacker.org
Anyway, I was really looking for something lighter that the heavily overpriced and over-sised MS Visial Studio - but it seems that there are no better options
well there is a free c# compiler both a compiler which run on the pocketpc and one that is just a free windows c# compiler for windows but .net should be able to work on pocketpc's not matter what
and i also have a gcc compiler for pocketpc as in it run on the pocketpc
just about every compiler you can find which can compile arm code you can use to make programs for pda's using pocketpc2002 and 2003(SE)
AlCapone said:
www.madhacker.org
Click to expand...
Click to collapse
:shock:
You are one crazy dude!

Learn C++ for WM ... which book for starters?

Hey Guys
i'm going to get into C++ so I can program WinMob and having ordered Programing Windows by Petzold, I quickly realised this is not a "learn c++" book.
Can anyone recommend a book to take me from knowing nothing to genious please? I have assembler experience so not a total newbie but haven't done any for over 15 years!
Monty Burns said:
Hey Guys
i'm going to get into C++ so I can program WinMob and having ordered Programing Windows by Petzold, I quickly realised this is not a "learn c++" book.
Can anyone recommend a book to take me from knowing nothing to genious please? I have assembler experience so not a total newbie but haven't done any for over 15 years!
Click to expand...
Click to collapse
are you a C/C++ expert? I presume you are since you have assembly knowledge.
I can't say I'm a WM programmer expert, but I like to share with you my experience with Windows and Windows Mobile.
I started off in Windows programming, rather than Windows Mobile, and that helps me alot in adopting Windows Mobile programming. And when I first started Windows programming, there isn't a luxury like .NET or MFC (actually it was already there, but very preliminary) so Win32 programming was all I can cling on, but I am glad I'm 'force' to learn Win32 programming as it forces me to understand the foundation of Windows operation (messaging queue, windows message intercept, windows manipulation, etc). So when C# and .NET comes in, it took me very quickly to adopt (although I resist on such managed framework for awhile ). Because of my background with Windows programming, it's easy for me to develop Windows Mobile application, although I can't say it's anywhere comparable to some of the wonderful codes you find in XDA developers.
So my personal advise is if you are into building good Windows code, knowing Win32 programming is important.
Monty Burns said:
Can anyone recommend a book to take me from knowing nothing to genious please? I have assembler experience so not a total newbie but haven't done any for over 15 years!
Click to expand...
Click to collapse
I would like to suggest Douglas Boling's "Programming Microsoft Windows CE .NET, Third Edition (Core Reference)" or its latest version. It was one of Windows Mobile C++ book that I bought that's still useful after many years.
HI GUys
thanks for the replies.
I've quickly found out that before I learn C++ for WinMob I need to learn it on the windows platform in general. As you say Zenkinz, it seems easy to migrate from Windows to WinMob. Sadly, I am far from advanced at c++, I used to know assembler (680x0) but that was over 15 years ago! Infact, i'm a complete newbie to C++
I got that Douglas Boling book ... its mammoth! And also beyond my level at the moment as I'm a complete learner.
I've also booked myself on a local college course to start me on learning C++.
So again, thank you for the replies, very usefull!

Should I learn C++ or (C#/VB)?

I know Java fairly well and I would like to move onto mobile programming. I've read up on the aforementioned programming languages and my understanding is that C++ is hard and C#/VB are easier, but slower. The more I read the more I am confused however. In C++, I understand that there's Win32 programming, MFC, and ATL. In C#, there's .Net. Can someone please help me make sense of all of this?
i would suggest first go for C++
and then move further
Depends on what you are going to be developing.
C/C++ is better for performance critical applications with minimal GUI.
.NET + C#/VB is easier and safer at the cost of some overhead.
You'd want to learn all if you are serious about WM development.
The nearest language to Java is C#. The difference between VB and C# is more or less personal preference, as they both use the .NET framework. Most of your programming is creating the .NET objects, setting their properties, and calling their methods, to get them to do what you want. The language that this is done in, is more or less irrelevant.
Personally I would steer clear of C++ unless you are going down the Win32 route. Here your program has to respond to the WM_XXXX messages via the 'hdc' of the screen. (Hardware device context, you can't draw directly to it.) This method has a pretty steep learning curve. ATL and MFC are wrappers to make Win32 more object orientated, and supply more usable functions. .NET rendered ATL and MFC more or less obsolete, but they are still included for backward compatability, and are still prefered by some programmers.
The performance hit on a .NET program only occurs on its load, when the loader has to call the CLR JIT compiler to create the ARM native code. C++ Win32 will compile down to native ARM code from the start. If you do not have any ATL or MFC the compiled EXE can just be copied straight to the PPC and it will run without the need for any runtime libaries, dlls etc., as the core dlls are already part of the PPC operating system.
As mentioned above you may want to try both. The C# and C++ environments are completely different.
It all depends on what you want to do.
For more lowlevel and speed-dependant things, I'd say go the C++ route. Someone above here mentions that .Net is only slower at load time - this is most definitely not true. I have rewritten several apps that started out in .Net to native languages because they were too slow. The speed difference is fenominal - though less with .Net 3.5, but this is not available on all devices yet, especially not on stock ROMs.
C# is a lot easier than the overly complicated and cryptic C++, but again it has drawbacks. It is not as easy to do 'edgy' things in C# though often it is not impossible. C# is much easier than C++ for UI's as well, which can be a real PITA in C++. C# hides many of the more intricate lowlevels things for you and does these automatically. If needed, you can always create a C# user interface that calls C++ DLLs for the lowlevel stuff or whenever you need to.
As for VB, just don't go there.
I see you say you hail from Java. In that case, C# will not be very difficult for you. C# is generally taking the best of Java, C++, and Object (Delphi) Pascal, throws them together, mixes them up, and the result is pretty good.
Personally I am of the opinion that managed languages (C#, Java) do not a good programmer make, and you should know at least the basics of a native language (C, C++, Object Pascal, whatever), their quirks, and why these things are. This will teach you a lot about how things work on a lower level, and while you don't absolutely need to know these things they can still be very helpful when writing in a "higher" / managed language.
Then again, my personal preference for development is Object Pascal (FreePascal), which combines the power of native with the ease of RAD. I wouldn't advise anyone else to go there though, it's just what I grew up with (I have no issue with using C++/C#/whatever, they're just not what I prefer).
Chainfire said:
As for VB, just don't go there.
Click to expand...
Click to collapse
I don't understand why anyone would say this. In .NET, C# and VB have the same exact capabilities. They even use the same class libraries. Neither really has any advantages over the other.
@OP: I've done work in C# and VB.NET, and I can tell you that it's quite simplified and a fantastic OOP solution to mobile programming. The only drawback is that the loading time for a .NET application is a LOT slower than a C++ mobile app. A C#/VB.NET mobile app with one Form with nothing else takes a couple seconds to load, whereas a C++ mobile app will launch instantly. So, it's up to you. Do you want it to be simple, sacrificing a couple seconds at load time, or do you want to get down to the nitty gritty and work with C++ to save those couple seconds?
vb in general have a poor syntax which most programmers
stay clear off and vb have a long history of poorly designed and programmed
programs don by ½ armature's
and earlier vb's have had serious issues as not being real exe's requiring special
runtime dll's not being thread-safe and the likes
just too much ugliness and bad history in vb
for anybody to recommend it to anybody
Yeah, but that was then, and this is now. VB.NET is only slightly more wordy than C# .NET, and they both have the same capabilities and same speed. If the choice was between .NET and C++, I'd say go C++ though.
Cicatrize said:
Yeah, but that was then, and this is now. VB.NET is only slightly more wordy than C# .NET, and they both have the same capabilities and same speed. If the choice was between .NET and C++, I'd say go C++ though.
Click to expand...
Click to collapse
As Rudagar said, there's a lot of bad history. What remains in VB.Net is the syntax. IMHO it encourages sloppy coding and it's frankly plain silly. If you feel differently, that's fine by me. Either way, if you're going for .Net, why would you use anything else than a language specifically designed from the ground up for the framework: C# ? To boot, C# is an awesome language as well. I don't see any reason at all why you would use VB instead. Again, that's personal opinion.
Hi, I am very interested in learning C++ or VB. I had a VB class in high school, but I forgot it all...
I've got my feet dipped in water with Java, and I want to learn to make applications for my phone. I have no idea where to start. I was thinking of starting with a simple application like maybe a today plugin that will update my FB status.
Digging a little into it, it seems that's not as simple as I figured.
I really don't know where to start. Could someone point me in the right direction?

Learning c++ to make wm programs

Hi,
Im trying to self train myself to (at the moment) do simple c++ programming
I have found this website:
http://newdata.box.sk/bx/c/htm/ch01.htm
its a train yourself in 21 days.
Also downloaded ms visual c++ 2008 Express Edition.
Is there any other free software or sites that would help me out?
visual c++ 2008 Express Edition
as i recall will only let you make .net c++ apps
which is pretty pointles
if you wanna do .net c# fit the shue better
if you wanna do c++ then win32 or even microMFC is much better
http://forum.xda-developers.com/showthread.php?t=438185&highlight=programming
http://forum.xda-developers.com/showthread.php?t=412037&highlight=programming
http://forum.xda-developers.com/showthread.php?t=382995&highlight=programming
http://forum.xda-developers.com/showthread.php?t=228043&highlight=programming
http://forum.xda-developers.com/showthread.php?t=305926&highlight=programming
http://forum.xda-developers.com/showthread.php?t=228653&highlight=programming
many sdk's like sonyE x1 panel sdk only works with pure win32 programming
and is free to download at their site with examples and torurials
thanks for the info.
as i have a x1, i will download sony sdk.
a good place to start i think

Best Programming Language to learn for beginners?

Alright before you all have a go on him, I know this isn't the right place to post neither this website but I am active in this site so don't want to create account on another site just to ask this question. I am student and n00b in terms of Programming. I am thinking of joining extra classes in summer vacation. Of course I want to become software engineer. I want to know which will be best language for me to start. C, C++ or dot net? Visual basic looks easy to use but not sure if it has much value in future. I am confused so thought I may get help from these experienced developers. I am in the last year of High School btw.
I am n00b so don't go hard on me If I said anything stupid
friend863 said:
Alright before you all have a go on him, I know this isn't the right place to post neither this website but I am active in this site so don't want to create account on another site just to ask this question. I am student and n00b in terms of Programming. I am thinking of joining extra classes in summer vacation. Of course I want to become software engineer. I want to know which will be best language for me to start. C, C++ or dot net? Visual basic looks easy to use but not sure if it has much value in future. I am confused so thought I may get help from these experienced developers. I am in the last year of High School btw.
I am n00b so don't go hard on me If I said anything stupid
Click to expand...
Click to collapse
Studying C/C++ will be kick start in programming. For future scope, studying Java is good, because Java has its own different fields like Standalone application, web application, and Android of course.
If you're opting for .NET, be sure you're learning the latest version, as .NET versions change from time to time.
And also there are several modern languages like Python, Ruby, Perl etc. Don't know much about its scope.
But everything just emerged from C or Java. So first making a base is what it matters.
EDIT: Don't study Visual Basic as a separate Course, if its included in .NET then its fine. As VB is somewhat a dead technology, most companies are not using it. Studying Silverlight with .NET would be a good choice though.
The best language for me and easy to learn is python programming even noob can create thier own project or apps. bcoz it is embedable in all apps u can understand even if u r n0t a programmer..
Actually any programming language is good to get to know programming in general and to exercise your brain to think/work this way.. oncve you advance a little bit, you will also have the knowledge to know which language to go specific on..
because of my studies, I started with assembler and C, C++, Java, C#.
it depends on what you want to do.
you want to program Android application, use Java, Windows Phone use C#...
i neglected programming on my studies.. i was too lazy. but now i want to be a developer somehow..
so Java for Android applications?
so how about Developing a Rom/Kernel?
Python will be easiest and once you know how to program in one language all others will be much easier to learn.
Sent from my HTC Vision using XDA
Thanks guys, looking forward to it.
The first programing language I used was C.
I've started with C++. But You should try .NET at the beggining. It's so simple. Almost drag&drop method. I used it to create a lot of code generators for my game and other projects.
You should also try AutoIt. Maybe quite harder, but still useable.
I would say, start either with Java or Python.
Why? No specific reason, but they are easy to learn and have a wide area where they can be used later.
I would start with ActionScript 3.0 and/or Java. The first one is the easiest and most fun to program in
If anyone is interested in applications for Android, you should try App Inventor.
http://www.appinventor.mit.edu/
You should try python, becase as others say, it's pretty easy, and if you want to be more motivated, try udacity.com. This is university that operate entirely online. You can view lectures, do quizes, there are also final exams. They start 101 Computer Science (where you learn basics) at 16 april. And guess what, they use python! Even on harder classes.
I wouldn't encourage starting with C or C++. Java and C# are a bit higher level languages and thererfore help you get started faster and let you consentrate on the things that matter most. I would prefer C# over Java as Java has gotten a bit messy in some places, has some gaps in it's standard library, and lacks in standard user interface tools.
Another option to C# would be JavaScript, CSS, and HTML, but the compiler in C# can help you by pointing out mistakes that JavaScript tools can not. Also, if you go this route, don't try to make your code run well on many browsers as that will only cause extra headiche while you are trying to learn the basics. Actually, if you want to use JavaScript over C#, Windows 8 WinRT programming could be a good place to look at. However, it's still in development and lacks in documentation and learning materials when compared to more mature technologies.
If u want work in buisness then go Java. But its very expensive to use because it needs large resources. If u want go for new language try Scala.
JAVA and C++ are the most widely used languages ​​in the world of work today.
But if you want to do web, starts with PHP. It's fairly simple to understand and you can quickly get to Object Oriented concepts, and use simple Design Patterns.

Categories

Resources