<Dev help plz> looking to get into developing stuff...tips? - EVO 4G Q&A, Help & Troubleshooting

Hi, I have experience programming in Java and c/c++ and was looking at getting into programming some apps or even helping on on some roms and finally start helping out around the EVO community. I just need a little help getting started. I have eclipse and such set up, but does anyone have any tips or tutorials that might help. (Yes, I have searched Google). Maybe alittle insight in to somethings that I may run into. I want to create apps and games that will be helpful to the community. Thanks

I don't know if it would help but there is an android 'chef' section here on xda:
http://forum.xda-developers.com/forumdisplay.php?f=613
and this thread seems to have a few resources for getting started:
http://forum.xda-developers.com/showthread.php?t=697938

Have you run through the tutorials and read all the documentation on developer.android.com? The "Dev Guide" and the "Resources" tabs are a good place to start, as is just reading through the javadocs for the API. If you're already a Java programmer, you know the code semantics already. It's just a question of understanding the Android concepts. Not to say that's trivial, but the foundation of the language is Java, which means knowing it gives you a head start.

Do a search On xda site for "everything android" its a huge file I put together that includes lots of needed tools and setup files for cooking roms and building apps. It also has a guide with links to the sites where I got the tools from. That should help. Just remember it's for windows and I recommend downloading to ur computer not ur phone cause its over a gig in size

Papa Smurf151 said:
Do a search On xda site for "everything android" its a huge file I put together that includes lots of needed tools and setup files for cooking roms and building apps. It also has a guide with links to the sites where I got the tools from. That should help. Just remember it's for windows and I recommend downloading to ur computer not ur phone cause its over a gig in size
Click to expand...
Click to collapse
Thanks, for that. I looked around the forum but prob would of had a real hard time finding that.

If you are more comfortable with the .net framework, get MonoDroid. C# programming for android. You just need a copy of visual studio 2010, thank god for the free ultimate version I got from school. I haven't messed around with it a lot yet but there is no visual representation of the screen or adding strings like in Eclipse but I like C# more than Java so I'll use this more often than not
Sent from my Evo powered by MIUI

Comrade P said:
If you are more comfortable with the .net framework, get MonoDroid. C# programming for android. You just need a copy of visual studio 2010, thank god for the free ultimate version I got from school. I haven't messed around with it a lot yet but there is no visual representation of the screen or adding strings like in Eclipse but I like C# more than Java so I'll use this more often than not
Sent from my Evo powered by MIUI
Click to expand...
Click to collapse
I have visual studio 2010 ultimate as well from my school. I haven't ever worked with c# but i cant imagine that its much more different from C/C++. Just some different ways of calling/naming things

Exactly. I like it a lot more than Java. Can't really explain it. Just test both of them out and see which you prefer.

Related

Android application developer Guides (for Dummies!)

Hi all,
I created this thread to collect informations, suggestions and links for who want to start learning developing android applications, whitout being an expert developer.
I like programming (vb6, vb.net ) but I don't know anything about android and linux, and just a little about java... Now I bought an Hero and I met android world... I downladed Eclipse IDE, Android SDK and I starded with dev guide on SDK... I just take a look to helloandorid application... it works! and now? In the xml layout seems easy to add View like buttons or text... but how can I handle to the user actions like the button click? in vb is simple to manage the buttonpressed event...!
If someone knows some simple guides about java, eclipse and android, please let links on this thread!
Thank you!
This one's awesome for learning how to create widgets:
http://nm-blog.sanid.com/wp-content/uploads/2009/07/android_howto-hellowidget.pdf
here are some other resources you could easily find by using google search:
http://www.helloandroid.com/tutorials
http://nexsoftware.net/wp/2009/07/29/tutorial-creating-a-custom-analogclock-widget/
http://www.anddev.org/index.php
Other than that, just start from the simplest Hello World -examples on Google's own Android site.
I'm going to start leurning Android programming
If ill find nice links i will post them here. Is there btw a way to program inside visual studio? Cuz all tutorials on the net are using eclipse.
You'll need to use Eclipse to my knowledge as its all Java based. The other alternatives are the IntelliJ plugin and doing it all from Command line/Text Editor.
Back to the Topic, I'm just trying my hand at a little Android development this week too, the tutorials and manuals at developer.android.com have been great!
Another thing, while I remember, if you've done any sort of .NET/ASP.NET development before you should find it a breeze, apart from the lack of Visual Studio (best IDE that ever was), they're VERY similar compared to some other languages/technologies I've used.
HeY Furios, Im new to android dev also, so if you don't mind, I would like to follow you and share any info I find with you and to whom ever else would like any info...Thanx
SDK 2.1
Hi Guys,
I went onto the SE developer site and got he x10 SDK, but it only gives me the choice for a 1.6 virtual Machine. Is there another place that I have to go to get the SDK for 2.1?
Thanks.
It would be cool to learn how to develop roms as well...or is that much deeper?
Well guy's start here on this thread first >>>http://forum.xda-developers.com/showthread.php?t=667298
Made me think
need minor help!
im actually developing a few games, but im running into some seemingly basic issues, that i seem i cannot get to work. basically a button mash game, single/multi player, well on multi player i cannot for my life get the multi player functions to work, as in in the end the game already knows who the winner is based on an integer score, then it is supposed to use an sqlite database to take the highest scored player such as P1 or P2 and allow them to input there name to be permanently displayed. it cannot seem to differentiate using IF statements, but the feature does work with single player flawlessly, i may link source code if asked, TY

best source for learning to develope applications for windows?

First off I would like to say thank you for the developers on this website that make my phone better than ever. I would love to contribute in the same way but I lack the skills I need.
Long story short, what is the best way to learn development for wm from scratch? Are there online courses I could take? I would love some in depth training on this! Any help is greatly appreciated
Don't expect that you learn all this stuff with the waving of a magic wand, or a site that hands it all out on a plate. It is going to be a long hard slog to get any good at this......
Having said that, download the Microsoft Windows Mobile SDK for the version you want to target. Then have a look in the SAMPLES directory that gets installed with it. It will be in the \Program Files\ directory for the SDK version above. It contains several examples for C++, C#, and VB, and the C++ sampes are also WIN32 , ATL and MFC. They are also superb examples of "how to do it" code. Looking at them, and trying to understand them is a good start. The hard work is still up to you, but it is worth it.
Also try this:-
http://msdn.microsoft.com/en-us/library/ms184401.aspx
Good advice, I found looking at the videos a great help; http://msdn.microsoft.com/en-us/windowsmobile/bb495180.aspx
The only problem is, there is too much info available. For 1 solution there 6 ways to create it..For some applications on this site I asked the developer for some help. Some of them are, when online, really helpfull. Look for open source projects, not to old, and download and debug them.

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] Android Development

I'm interested in doing some development for android. I'm just not sure where to start. I see a ton of books on Amazon.
I'm just wondering what would be recommended for an absolute beginner. I know my way around a computer so i don't need it that noob'd down.
I think i would like to play with some apps, and eventually move to Kernels and Roms.
What you you recommend?
Probably the best way to start is to learn Java (the main coding language for apps and userspace), and C (the main languages for kernelspace stuff). After that, messing with the App Inventor would be the place to go.
Search dsixda very helpful thread
Sent from my PC36100 using XDA App
i was thinking of learning some basics of android app development and coding with a very basic walk through so that i can fully understand what i'm going to be able to use the Java code in particular applications. Would this be a bad strategy.
As a software developer, I would recommend spending a couple weeks getting the basics of Java and object-oriented development down. Do a few sample apps in Java. Once you've done that, try Android. I'm afraid that learning to code, learning Java, and learning to develop for Android all in one may be too much for someone.
You really need to have the basics of Java and object-orientation down, then take on Android as it's not altogether simple, particularly for someone who's just learned to code.
As far as kernel/ROM development, I'm guessing C and Linux shell scripts are the things to learn there. If you want to write Android apps, do as I've mentioned above.

Please explain what porting is. I'm still confused after countless google searches.

I'm called for a job interview this Monday. They need someone to port some programs children play with on the web to Android. It's educational software that looks accessible to children.
My only experience with porting is working with Unity and going back and forth from PC to my Android phones. My problem is I don't know how porting is done exactly.
Let's say I want to port a Java program to Android. Do I have to create a layer of coding around the original Java source code and make it work with Android? Or is it just modifying the original source code to fit the new platform?
I searched multiple forums and countless google searches. I'm going insane. Please help me!
Thank you! :laugh:
Well I guess it depends. Unless you are using a cross-platform framework (e.g. Xamarin), then it would involve re-writing the code in Java.
If you already have some Java back end code (e.g. some servlet implementation), then I would just create an interface to this module and leave it as it is. No point in rewriting working code in a language that already runs on Android (unless your one of these people who can't help themselves and has to refactor everything to death).
i dont think there is much for u to do, if the games are web based, just build a laucher that links to the games, otherwise look for similar games in android version and install them as a package on all phones.
Sent from my U8150 using xda app-developers app

Categories

Resources