Help on getting started with App Development? - Asus Eee Pad Transformer Prime

I would like to develop my own application, I've gotten my feet wet in programming in java and a little c++ but I want to learn everything I can.
Also maybe are there compiling tools available directly on Android?
Can anyone get me started?
Much thanks for people who help.
Sent from my Transformer Prime TF201 using xda premium

Download the Android SDK and the ADT Plugin for Eclipse from here: http://developer.android.com/sdk/index.html. After I got it all running, I found a nice little Android Development Tutorial online and went to work (it was probably on this same site). Eclipse is a little slow on Windows, so I switched to an Ubuntu machine, but that is not a must.

tedr108 said:
Download the Android SDK and the ADT Plugin for Eclipse from here: http://developer.android.com/sdk/index.html. After I got it all running, I found a nice little Android Development Tutorial online and went to work (it was probably on this same site). Eclipse is a little slow on Windows, so I switched to an Ubuntu machine, but that is not a must.
Click to expand...
Click to collapse
sorry if this is noob, but did you dual boot or run it in a VM? would either be sufficient? or would an actual dual boot be better?

stretchwookie said:
sorry if this is noob, but did you dual boot or run it in a VM? would either be sufficient? or would an actual dual boot be better?
Click to expand...
Click to collapse
I made a dual boot machine. VM works well for many -- definitely a good option to be able to play around with Linux to see if you like it. For development purposes, I thought it better to get the best performance, thus the dual boot system.
I have the need to move my development machine often, so I did my research and got a laptop that is very compatible with Ubuntu -- many are not. It has all worked out very well to this point.

tedr108 said:
I made a dual boot machine. VM works well for many -- definitely a good option to be able to play around with Linux to see if you like it. For development purposes, I thought it better to get the best performance, thus the dual boot system.
I have the need to move my development machine often, so I did my research and got a laptop that is very compatible with Ubuntu -- many are not. It has all worked out very well to this point.
Click to expand...
Click to collapse
thank you very much! i just recently decided i want to become a developer and possibly a get a degree in computer science. (im stilll young, luckily i got time to do this) and so im very new to all this. ive been rooting and flashing for 2 years, but never have created anything. so thank you for taking your time to answer me, regardless of my noobness

I recently got started with developing for Android, and using the Android SDK with eclipse is definitely a great way to get started. I would recommend making a simple application that does some type of math function.
If you have developed in Java before, it will be pretty easy to get started with Android. I common first app is a tip calculator. If you get stuck or have any questions, google is your best friend. Also, you can always PM me, I have been looking for people to develop with.

juntistik said:
I recently got started with developing for Android, and using the Android SDK with eclipse is definitely a great way to get started. I would recommend making a simple application that does some type of math function.
If you have developed in Java before, it will be pretty easy to get started with Android. I common first app is a tip calculator. If you get stuck or have any questions, google is your best friend. Also, you can always PM me, I have been looking for people to develop with.
Click to expand...
Click to collapse
I may PM you tonight, I'll see if I can get that tip calculator to work. Thanks!
Sent from my LG-VM670 using XDA App

Related

[Q] Add New Apps for Webtop [Gimp, Thunderbird, etc...]

I would like to get more than just Firefox on the webtop. A few applications in particular:
Mozilla Thunderbird
Gimp (or equivalent)
OpenOffice (or equivalent)
If I can get these three applications installed, I could fully function without a PC nearby all the time. I have very little Linux background beyond loading up a build and playing with the applications that were already installed. Any information will be appreciated. Anyone think this can be done? Memory limitations is all that I see really standing in the way. I doubt this will be even up to par with most netbooks as far as multi-tasking...
It can be done. It's just a matter of doing it cleanly, which at least I'm working on. Although trying to run Gimp on this hardware... that's gonna suck.
I want chromee!
SS2006 said:
I want chromee!
Click to expand...
Click to collapse
As others have pointed out, ya ain't getting Chrome. Source code isn't available for it. The best you can get would be Chromium, but the earliest Ubuntu packages available for that are for 10.04, and we're running on a 9.04 base. It'll be painful to do that upgrade, and there are no guarantees on what would work after that.
But, if you're willing to do the work, I'll happily cheer you on!
Moved to Q&A
Sogarth said:
It can be done. It's just a matter of doing it cleanly, which at least I'm working on. Although trying to run Gimp on this hardware... that's gonna suck.
Click to expand...
Click to collapse
Sogarth, do you have a cross-compiling environment setup that you can share? So far I've just been locating debs already compiled for the arm platform, but I'd like to start building things from source.
agentdr8 said:
Sogarth, do you have a cross-compiling environment setup that you can share? So far I've just been locating debs already compiled for the arm platfom, but I'd like to start building things from source.
Click to expand...
Click to collapse
I've not built one out yet since I haven't needed to yet (especially since I'm trying to tackle a different problem first). That's not to say that I won't eventually need to, though.
Mr. Clown said:
Moved to Q&A
Click to expand...
Click to collapse
Sirry for posting in development area. I thought it was more a develomental question...
Sent frim my Motorola Atrix 4G from XDA Premium app.
Sirry... Ment "sorry"
Sent frim my Motorola Atrix 4G from XDA Premium app.

Question for the developers/ modders

Its a question so that's why I put it here but it has to do with development so take it as you will....I understand to be a devlipe or kidder you obviously need a good base of Java and Linux knowledge. My question is since I'm trying to break into developing for android what are tips if any that any of you have for someone trying to start out?
Sent from my DROID X2 using xda premium
trafalger888 said:
Its a question so that's why I put it here but it has to do with development so take it as you will....I understand to be a devlipe or kidder you obviously need a good base of Java and Linux knowledge. My question is since I'm trying to break into developing for android what are tips if any that any of you have for someone trying to start out?
Sent from my DROID X2 using xda premium
Click to expand...
Click to collapse
Wouldn't hurt to tweet/message Ace or Dragon on twitter. Ace - @aceoyame Dragon - @dragonzkiller
Both of them are on regularly. Hope you get some answers.
Sent from my MB870 using xda premium
trafalger888 said:
Its a question so that's why I put it here but it has to do with development so take it as you will....I understand to be a devlipe or kidder you obviously need a good base of Java and Linux knowledge. My question is since I'm trying to break into developing for android what are tips if any that any of you have for someone trying to start out?
Sent from my DROID X2 using xda premium
Click to expand...
Click to collapse
Well, to start, get a book on Android Application developing, then download and install Eclipse. (It's best to do this in Linux, rather than Winderz, but there are several devs that work strictly through Winderz.) I use Linux personally as compiling ROMs you can only do in Linux as the Winderz tools don't work so well. If you are looking at developing applications, there are a TON of resources out there. Just Google it. If you are looking to do more with the Android OS, then learn Linux, it helps, a lot!
Hope this little blurb helps.
Ciao!
If you don't know Java, I would get a Java book first before even attempting to learn how to program Android. Most Android books assume you have Java and Object Oriented Programming experience.
And just reading the books won't do it. There is much to be said about experience. You could read a book, do all the code samples and then you think you know programming, but until you apply it, it's completely different.
All of my coding experience was self-taught at the beginning. It started with typing in programs from magazines on my Apple ][+ (and then eventually a //e). I would go in, type in the programs, debug them and get the to run. I would then see what would happen if I started changing things to see how it react. You really learn from your mistakes, because once you make one and correct it, it stays with you.
I also purchased books on programming and learned that way as well. Together, with typing in programs from other programmers, experimenting/changing/modifying their code, writing my own applications, etc, that's how I learned to program.
By the time I got to college to get my Computer Science degree, I had the basics of programming down pat, but I learned a lot more, but the stuff I learned was new and I didn't have to worry about the other basic aspects that some other people had to learn since they never really programmed before.
I'm also trying to get into developing. I've themed my X2, but that's about all the stuff I've done myself. I've edited the build.prop and stuff, but only with stuff other people wrote. I'm trying to learn Java, I've kind of got the structure down, but the code is the hard part for me, trying to remember what terms do what. And arrays too haha
My suggestion would be to learn Java and get familiar with Linux, I'm still trying to do both. Java is going to be the first language I fully learn. I've played around and attempted to learn C++ and Python. But I was easily distracted
Good luck on learning, its overwhelming!!! But once you start to dive in, things start stacking into place and make sense
Sent from my MB870 using XDA
I also use Linux and have taught myself Java even though km no wizard and am using g eclipse and working with some books on android development as well sounds like I'm at least pointed in the right direction at least
And on a side note I've used some flavor of Linux exclusivly for maybe 10 years now hate windows....last laptop I bought has a rwaltek wireless card in it or I would be using debian right now put could never get it yo work even using g wrappers...but that's a bit off topic sorry
Sent from my DROID X2 using xda premium

[Q] newbie leaning Java first, JCreator or Eclipse?

I'm going through some Java books before i dive into Android Dev. Should i use JCreater or Eclipse?
I find eclipse to be very good, lots of debugging facilities and auto compiling and more that I don't know yet.
2 cents worth....
+1 for eclipse. It is what I learned with and use.
zalez said:
+1 for eclipse. It is what I learned with and use.
Click to expand...
Click to collapse
learned with? like started out with?
& i just started. like two days ago. and eclipse is actually pretty user friendly. only thing is its quite easier to just export your app as an apk if you want to test something rather than run it on your device. at least on my aokp g2x its not working but on my friends gb hd2 it works. the apk method works really well though.
swordsx48 said:
learned with? like started out with?
& i just started. like two days ago. and eclipse is actually pretty user friendly. only thing is its quite easier to just export your app as an apk if you want to test something rather than run it on your device. at least on my aokp g2x its not working but on my friends gb hd2 it works. the apk method works really well though.
Click to expand...
Click to collapse
Yes, started out with. Not sure I follow what you mean as far as exporting. Eclipse is extremely easy to export. I also like being able to test on the emulator or have my phone plugged in to my computer and test directly on the phone without the need to export.
+1 for Eclipse.
Even I was confused initially among various IDE while working in j2ee but then following an advice settled on Eclipse because possibilities are endless if you master this IDE and won't matter even if you switch to some other programming language after some time.
+1 for Eclipse.
I've been using it for more than a year and I had no problems.
Please use the Q&A Forum for questions &
Read the Forum Rules Ref Posting
Moving to Q&A
zalez said:
Yes, started out with. Not sure I follow what you mean as far as exporting. Eclipse is extremely easy to export. I also like being able to test on the emulator or have my phone plugged in to my computer and test directly on the phone without the need to export.
Click to expand...
Click to collapse
on my aokp g2x i cant test. i have to export it as an apk just to test it haha. it sucks but its worth it, i get to keep ics.

[Q] Atrix as a Linux PC (no android at all)

Hi all!
As this is my first post, i apologies in advance in case i'm not following some of the proper ways, is such the case, please let me know.
I have search and can't find any thread about this, so here i'm writing.
So, i need to drop the android from the atrix phone and install a native linux on it.
I don't need all the phone functionality, but i DO need access to use all the hardware (i'm planning to use this as an industrial grade motherboard)
Right now my problem is that i have recompile kerner, initrd, even system, but i can't get the linux working properly... my big problem is that i can't initialize the console (no via native screen or hdmi :S) i have try the CM7 kernel and a compiled by my self kernel also, but no way.
I have lots of experience on linux on pc, but this is my first working on a arm or a android based board/phone.
Can someone give me a hand or guide me thou?
Or maybe there is an img there with what i need and i can't find it?
THANKS IN ADVANCE!!!
You'll need to search but I'm pretty sure I saw where a functional edition of Ubuntu was ported to the Atrix about a year ago. I'm not sure how far they took it though.
Sent from my MB860 using xda app-developers app
AnotherBill said:
You'll need to search but I'm pretty sure I saw where a functional edition of Ubuntu was ported to the Atrix about a year ago. I'm not sure how far they took it though.
Click to expand...
Click to collapse
I have search it and can't find it :S (maybe the project never go far enough?)
Thanks!
There is no Linux replacement for Android on the Atrix. Best you will do is to use Ubuntop, Gentop, etc., as Webtop replacements.
Wee bit of searching and you would have known this.
Cheers!

[Q] i need a very simple way to flash my phone with ubuntu please

i need a very simple way to flash my phone with ubuntu touch please
thought it would be simpler to just paste the thread title.... im running in circles trying to accomplish this but keep smashing into brick walls....
tried installing from Ubuntu itself.. its an old version.. too old to understand the $ cmd.......when it comes to linux im a complete moron..... but im smart enough to know that my samsung Ace2 is too damned slow on android.. to the point im having difficulty answering calls
i want android GONE.. i dont want dual boot.. i want android GONE
and, i want a simple install please.. as simple as wubi.exe... in fact it was the only way i was capable of installing ubuntu or xubuntu on my notebooks.. yes ladies and gents.. im converted.. im done with microsoft, most likely 4 good... so please tell me how i can accomplish this task
thank you, much regards to all you for keeping linux alive till today...
Chris
Ubuntu Touch is not for your device... Sorry.
There is the deprecated Ubuntu for Android.
Try this XDA thread: http://forum.xda-developers.com/showthread.php?t=1585009
RumoredNow said:
Ubuntu Touch is not for your device... Sorry.
There is the deprecated Ubuntu for Android.
Try this XDA thread: http://forum.xda-developers.com/showthread.php?t=1585009
Click to expand...
Click to collapse
might i ask why my smartphone isnt elidgible ?
ragez0r said:
might i ask why my smartphone isnt elidgible ?
Click to expand...
Click to collapse
It will only work if there's a port for your device. Sadly, mobile devices aren't as easy to handle as desktop computers. On the desktop you can take the OS and install it on (almost) all devices because it includes drivers for all standard PC components. On mobiles, however, you need separate drivers for every device as all devices are special and (more important) the manufacturer often does not make it easy for devs to write the necessary drivers. Always remember, we who are modding our phones are a minority.
You shouldn't be too sorry about the absence of a port for your device though. Ubuntu is (even though it's rapidly making progress) much slower than Android, even on officially supported devices.
thank you, but i wont give up.. i downloaded kali linux.. now just trying to figure out a way to open a .img file from android
ragez0r said:
thank you, but i wont give up.. i downloaded kali linux.. now just trying to figure out a way to open a .img file from android
Click to expand...
Click to collapse
Dude, you are going to brick your phone. You can't just flash whatever to wherever.
Your phone was built for Gingerbread. It is thin on Hardware resources. I'm sure it is struggling if you've updated it into Jelly Bean. There are alternate ROMs that might run better on an Ace 2. Check the Ace 2 forum at XDA... http://forum.xda-developers.com/galaxy-ace Debloat the damn thing. Samsung layers so much icing on there you can't taste the actual cake. I mean the skin (Touchwiz) is sooo thick it robs the performance. Especially at your phone's age and the major jumps in OS version it's gone through. You've got to blast out a lot of the grunge that's clogging the pipes.
If you truly want away from Android get a phone designed for another OS. You can get a brand new phone fairly inexpensive off contract and not have to deal with Android. I like the Nokia Lumia 520. A great entry level phone that is modern and runs well without breaking the bank. Or maybe you can find a quality used phone on Craig's list.
i find it hard to believe a bricked ace 2 is any different than a functional 1.. i never flashed anything onto it...
okay.. ill try downgrading it to gingerbread..... need to figure out how though lol
ragez0r said:
i find it hard to believe a bricked ace 2 is any different than a functional 1.. i never flashed anything onto it...
okay.. ill try downgrading it to gingerbread..... need to figure out how though lol
Click to expand...
Click to collapse
Dude, not to be an ass. But there are a couple things... You will need to develop your own drivers. If you do (somehow) get a standard Linux distro installed, you won't even be able to get the screen to turn on. Second of all....YOUR PHONE CAN BARELY RUN ANDROID! What makes you think it can handle a full Linux operating system like Kali Linux? And the last thing you need to realize. You WILL NOT be able to make calls, text, or get mobile data on your phone. If the phone is that bad...go out and get a new phone. Sorry man.

Categories

Resources