[Q] newbie leaning Java first, JCreator or Eclipse? - Android Q&A, Help & Troubleshooting

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.

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.

[Q] What IDE and software are you guys using for dev work?

Hey guys, I have been doing some app development for a few months now, and I use Eclipse. I was curious what Development software other people use. I have heard of some people using Lua to make games, which cuts down on some of the programming too. So if you use something like that to make your life easier, I am interested to hear about it. Thanks.
i use IntelliJ IDEA for android software dev. i know many people use Eclipse but i think you will see and feel a difference when using IntelliJ. it was built specifically for Java dev and it shows. its not a one size fits all ide like Eclipse.
it has actually made me a better and faster programmer over the years.
I use IntelliJ mainly because of the frequent crashes I had with the emulator using Eclipse.
I use Eclipse. Google seems to have invested most of its efforts into integrating Eclipse with the android SDK so i figure its probably the best choice for Android. However I generally just use gedit when I can. Best test editor out there.
I started using Eclipse and I'm happy of my choice. The best is that you can find any answer to your troubles developed for this IDE. The best point to start if you would learn programming Android.
Has anyone ever used lua?
Sent from my ADR6400L using XDA App
coder_t2 said:
Has anyone ever used lua?
Sent from my ADR6400L using XDA App
Click to expand...
Click to collapse
Since Lua is a scripting language, most Android developers probably dont pay much attention to it. Java/C++ are much more powerful in comparison.
I've just started poking around the android SDK and Java recently (coming from a C# background), and since Google chose it, I'm using Eclipse.
I'm using Eclipse, but mainly because I didn't know what else there was to use. The basic tutorials all showed setting up a project in Eclipse. I would like something with a better layout editor. Or maybe I just don't know how to use Eclipse properly.. lol.. I've only been an Android Developer for 2 weeks..
Jotokun said:
and since Google chose it, I'm using Eclipse.
Click to expand...
Click to collapse
they mostly chose it cause its a very large and supported open source IDE (for almost every possible language), doesnt mean its the best. in some cases a non open source commercial product is better than open source. ive used both Eclipse for Java and IntelliJ and IntelliJ is by far way better. They even now have a community open source Android Edition but its still based on there commercial full edition.
its by far the best Java IDE, dont be afraid to try it.
Netbeans also good.
For those that use eclipse. What do you use for source control?
Sent from my ADR6400L using XDA App
what is the actual standing
Hi anbody at this time is there a new favorit ?
is it possible to vote for one ?
i want to start - i am a edv professional (25 Years IT)
Questions or Problems Should Not Be Posted in the Development Forum
Please Post in the Correct Forums
Moving to Q&A

Help on getting started with App Development?

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

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

What can I use the Lapdock for, now that I am on CMx?

The good old Smiley, to make the reading happier:
I am looking for suggestions.
What could I use my Lapdock for, now that I made the switch to CyanogenMod?
Is there a good solution for making the VNC'ed ARM Ubuntu (look for Ubuntu Installer in the Play Store) work better with the touchpad? Should I sell it? Is there a solution to make remote control apps such as TeamViewer or Splashtop integrate with the Lapdock's keyboard and touchpad? Is there any way to make the device switch to Tablet mode without rebooting? That would be rather interesting to see. By the way, the CM9 ROM I am currently running has got Landscape HDMI working flawlessly, so that should not be an issue...
PS: Please do not ignore this thread. Any suggestions are welcome! (Use your common sense though)
The good old Smiley, to leave a good impression:
Proudly sent from my Atrix™ (call him William) using xda premium
I've struggled with the same question on my photon.. If there's working hdmi rotation on your CM, you can still use it for typing out documents,etc. I also used the mirror mode to watch movies on a larger(than phone) screen in bed.
But eventually I just decided to go back to a blur rom and use ubuntop (which is awesome) while waiting for official ICS and someone hopefully porting ubuntu 12.04 to webtop..
Paranoid Android Rom
I don't understand why canonical hasn't leaked that awesome ubuntudroid system they showed off.. there isn't an easier way to get feedback especially since webtop has died and windows 8 is pushing hard into that whole 'blur the lines' market
Sent from my MB860 using Tapatalk 2
aaron.a;[URL="tel:31083061" said:
31083061[/URL]]I don't understand why canonical hasn't leaked that awesome ubuntudroid system they showed off.. there isn't an easier way to get feedback especially since webtop has died and windows 8 is pushing hard into that whole 'blur the lines' market
Sent from my MB860 using Tapatalk 2
Click to expand...
Click to collapse
Maybe they are waiting for the unified linux/android kernel 3.4 this would most certainly make it easier to port and updates trivial.
kurtcocaine said:
I've struggled with the same question on my photon.. If there's working hdmi rotation on your CM, you can still use it for typing out documents,etc. I also used the mirror mode to watch movies on a larger(than phone) screen in bed.
But eventually I just decided to go back to a blur rom and use ubuntop (which is awesome) while waiting for official ICS and someone hopefully porting ubuntu 12.04 to webtop..
Click to expand...
Click to collapse
Hello friend, I did the same thing you did, go back to blur....but now I am stuck in the original ubuntop, I mean I can not install all the apps needed to be a fully working laptop....could you help me with it?. I can not understant the steps in the webtop original thread.
you can use it as a gift....for me!....
from the (m)ATRIX...
Cocolopes said:
you can use it as a gift....for me!....
from the (m)ATRIX...
Click to expand...
Click to collapse
Made me laugh out loud!
Sent from my MB860 using Tapatalk 2
WARNING: Massive multi-reply...
kurtcocaine said:
I've struggled with the same question on my photon.. If there's working hdmi rotation on your CM, you can still use it for typing out documents,etc. I also used the mirror mode to watch movies on a larger(than phone) screen in bed.
But eventually I just decided to go back to a blur rom and use ubuntop (which is awesome) while waiting for official ICS and someone hopefully porting ubuntu 12.04 to webtop..
Click to expand...
Click to collapse
Currently, I use it for watching movies as well, and I am looking forward to pairing a Wii Remote and/or a DualShock® 3 to my Atrix™, so that I can play some games such as GTA III and Shadowgun (Max Payne *-*) on the big screen.
I was happy with Blur until the day I ran into that tempting CM9 thread. I did not know what smoothness and responsiveness really were. Blur was the smoothest I thought it could ever get... But I was wrong, and now I have to choose between fluidity and Webtop. :thumbdown:
I actually went back to Blur some months ago, but unfortunately, prolonged use of ICS can cause dependence. Believe it or not, I was pretty happy with Blur. Webtop was working flawlessly, I even had BackTrack installed, but then came the relapse: I could no longer resist to ICS. I am now back to CM9, and with it comes my dilemma...
I am looking for a way to use the Atrix™ as a more desktop-ish platform when docked (especially to the Lapdock). I believe the ideal would be Ubuntu through a local VNC client, or a remote desktop app, I just wish they would play nicer with the keyboard and touchpad...
Basically, something like a key mapper (easy-to-use, I am still unable to figure out WiiMoteController's key mapping scheme) for Lapdock's hardware. We could make a keyboard-powered Ouya!
What still concerns me though, is that games would not be optimized for it e.g. Minecraft PE, games where the camera angle for example, is controlled by dragging the screen, so it would have to be a really powerful, but easy-to-use key mapper, and since you can't have everything in life, I'm afraid I'm asking for much...
Random Canadian said:
Paranoid Android Rom
Click to expand...
Click to collapse
What I understand from your reply is that the Paranoid Android ROM could put my Lapdock back to use. But what is the Paranoid Android ROM? What makes it different from other ROMs? How could it (at least partially) solve my problem?
Please be more specific.
aaron.a said:
I don't understand why canonical hasn't leaked that awesome ubuntudroid system they showed off.. there isn't an easier way to get feedback especially since webtop has died and windows 8 is pushing hard into that whole 'blur the lines' market
Sent from my MB860 using Tapatalk 2
Click to expand...
Click to collapse
When the official Ubuntu for Android was announced, even though an Atrix 2 was used for the hands-on part, on the project's official hotsite... It was clearly an Atrix™ 4G standing there on the dock. The differences between our device's design and the Atrix 2's or the Defy's (Defy+'s) are not that obvious, but they are, indeed, noticeable.
You do know what that means, don't you? It means it is almost certain that our device will be on the first batch of officially supported devices!
I don't if the Atrix™ is still there, but if it's not, I can try to find the screenshot I took if you'd like.
I am so proud! :beer:
tomh235 said:
Maybe they are waiting for the unified linux/android kernel 3.4 this would most certainly make it easier to port and updates trivial.
Click to expand...
Click to collapse
What do you mean? It would have to be ported to each supported device anyway, wouldn't it?
Sir_gpm said:
Hello friend, I did the same thing you did, go back to blur....but now I am stuck in the original ubuntop, I mean I can not install all the apps needed to be a fully working laptop....could you help me with it?. I can not understant the steps in the webtop original thread.
Click to expand...
Click to collapse
I have never thought I'd say this but, "Please don't get off-topic". I'd appreciate it if this gets settled in a new thread or via PM.
Anyway, you said "stock UbunTop", I could be wrong, but I think it's either stock or UbunTop, which is a mod born right here on our neighbor forum, Android Development.
If yours is really stock, I suggest you get BackTrack from the BackTop project, I don't it's got aircrack built-in, and I was unable to install it, so unless you're an experienced hacker, don't get too excited with BackTrack's features, but my point is: It is amazingly faster than Webtop, it seems lighter, I used to be able to run more than 3 different apps simultaneously...
If yours is really running UbunTop I'm afraid I cannot assist you, since webtop2sd never worked for me and BackTop and WebtopMOD were the only I could ever manage to get working on my device...
Cocolopes said:
you can use it as a gift....for me!....
from the (m)ATRIX...
Click to expand...
Click to collapse
Hahaha
Nice one. I'll think about it though... Hehe
Sent from my MB860 using xda premium
gabriel_feo said:
What I understand from your reply is that the Paranoid Android ROM could put my Lapdock back to use. But what is the Paranoid Android ROM? What makes it different from other ROMs? How could it (at least partially) solve my problem?
Please be more specific.
Click to expand...
Click to collapse
I can answer this. What he meant is that you should use Paranoid. Paranoid is a rom thats an hybrid of a phone an a tablet, in short words, you can activate tablet mode for some apps, while some other apps still run in phone-mode, for the ease of use.
What I actually meant was to give a name and a designation, which I did.
Google paranoid android rom and you get the website, the website has a much better explanation then I could or should have to provide.
But yes in short it can give you a tablet UI on lapdock.
djluis48 said:
I can answer this. What he meant is that you should use Paranoid. Paranoid is a rom thats an hybrid of a phone an a tablet, in short words, you can activate tablet mode for some apps, while some other apps still run in phone-mode, for the ease of use.
Click to expand...
Click to collapse
Random Canadian said:
What I actually meant was to give a name and a designation, which I did.
Google paranoid android rom and you get the website, the website has a much better explanation then I could or should have to provide.
But yes in short it can give you a tablet UI on lapdock.
Click to expand...
Click to collapse
I did before you guys answered and after I posted my reply, and was about to post an apology to you, my friend (Random Canadian).
Sometimes my brain takes just way too long to figure some things out...
I am sorry.
Anyway, thank you very much! This might just solve it all!
>>>>> But even if it works for me, please don't stop sharing your ideas! <<<<<
Sent from my MB860 using xda premium
gabriel_feo said:
I did before you guys answered and after I posted my reply, and was about to post an apology to you, my friend (Random Canadian).
Sometimes my brain takes just way too long to figure some things out...
I am sorry.
Anyway, thank you very much! This might just solve it all!
>>>>> But even if it works for me, please don't stop sharing your ideas! <<<<<
Sent from my MB860 using xda premium
Click to expand...
Click to collapse
So no gift for me? ... hahaha... just a joke... glad you solve it...
from the (m)ATRIX...
Is it possible to get paranoid android on the lap dock in native resolution?(1376)

Categories

Resources