Nexus One (Android) Development Questions - Nexus One General

Hey everyone,
I'm relatively new to participating in this forum. I've been lurking for some time playing around with my rooted G1, cliq, and now my Nexus one.
While it's been fun toying with other people's work, I'd like to get serious about development again so I have something to contribute. Android really interests me and I'd like to learn the ropes. I haven't done anything with software development in years. At one point in time I was relatively competent with *nix based operating systems, scripting, and coding in C (never liked C++ or OOP in general, so I stuck with straight C, but I guess I'll have to stop being stubborn and realize that OOP is here to stay). This, however, was years ago. At the time I was running FreeBSD 2.2.6 and occasionally Slackware (forget the version) to give you an idea of how much I have to catch up on
My questions:
1) Does anyone have a recommendation for a Linux distribution that's conducive to Android development? I'm sure you can develop software in any distribution and everyone has their own personal preference for a distribution. My question is are any superior specifically for the purpose of Android development? (note: I'm trying my best not to phrase this as an uninformed newb question, as I know the eternal distro debate is quite futile and annoying. I'm just looking for a bit of insight to get me started specifially with Android development).
2) Could anyone point me in the right direction for where I can begin to learn about Android development as a whole? I'd like to develop a solid foundation in whatever aspects are most crucial. I would assume this includes basic linux proficiency (which I'm sure will come back like muscle memory), knowledge of C/C++, and Java. But I'd like to hear any input from those with experience so I don't waste my time reading material that may not be helpful.
Ideally I'd like to have enough of a basic knowledge of Android so by the end of the week I can write a basic "Hello World" Android app and continue learning from there.
One last thing. Yes, I do plan on googling it. And then googling it again. And I absolutely love the search function. The point of this post is to get a bit more insight about what to Google and search for

I dont know if you want to develop apps or work on ROMs and such. Apps are written in Java, and Im fairly sure alot of the lower level stuff is written in C.
The AndroidSDK is out for windows so you dont really need to have linux.
As for a Hello World app, read this http://developer.android.com/guide/tutorials/hello-world.html
thats what I followed to learn the basics, granted so far I only know enough to make a simple WebViewing application
EDIT: just a tip, when constructing the UI, read the part about constructing using XML, this is the ideal way to go, and you should get used to this instead of the traditional Java way.

1. The most condusive environment will be Ubuntu 8.04 (which I believe is referenced a couple of times on the SDK pages). Glad to have you here with us. : )
2. Here is a pdf on beginning with android, this is mainly geared toward application development though.
Have fun! : )

wow this is just the kind of material ive been looking for! Thanks!

Also, I've put together 2 or 3 of my own applications on Windows 7 (32bit), with no issues at all.
Just saying, if you have a windeers machine, it aint bad for building apps.

Thanks for the positive response everyone. That gives me a lot of helpful info to get started. After I get my bearings I'll post a thread to help other developers get their start.
Here are a few other decent links I've found so far:
http://developer.android.com/guide/basics/what-is-android.html
http://www.ibm.com/developerworks/opensource/library/os-android-devel/
http://www.devx.com/wireless/Article/39101

No Turning Back
Well I just too the plunge I told my boss I want to go part time next summer so I get get back into software development. You have to follow your passion, and and I'm giving up a full time salaried management position with my company in order to do so.
I've gotten a good start. I bought a new laptop and gave it a nice fresh install of Windows 7 Ultimate. Installed JDK, Android SDK, Eclipse, Eclipse ADT plugin, etc.
Then took my old laptop and I'm in the process of getting rid of Fedora and putting Ubuntu 8.04 desktop on it as I type this
So my development environment is almost in place. Now all I have to do is brush up on linux fundamentals, brush up my my c, and learn java from scratch.
This will be fun
Any suggestions on a good place to start learning java specifically for Android?

I don't have any specific links, but my suggestion is to benefit from and give back to open source projects. By downloading the sources for Android applications that are open and learning what needs to be done on that level to get the end product running on your phone, you can learn more than most any tutorial you will find. And while the next step of improving on those applications may not come for a while, eventually you will be in the position of extending that functionality you started with and making something new or just improving the existing application so it does it's job better. Pay attention to the licenses involved though, and make sure to not do anything that isn't permitted (which isn't hard to stick to honestly).

Check Amazon for Head First Java which is a great starter for Java and OOP, another book to check out is Professional Android Application Development, I got both on Amazon for like 40 bucks shipped. Although I know Head First Java is used at a lot of schools like UC Berkley and UC Irvine, so I don't know if prices go up around this time of year that school is starting back up. I use VMPlayer on my Windows 7 machine to run Ubuntu when I need it, works like a charm and it's free.

JoshHart said:
Check Amazon for Head First Java which is a great starter for Java and OOP, another book to check out is Professional Android Application Development, I got both on Amazon for like 40 bucks shipped. Although I know Head First Java is used at a lot of schools like UC Berkley and UC Irvine, so I don't know if prices go up around this time of year that school is starting back up. I use VMPlayer on my Windows 7 machine to run Ubuntu when I need it, works like a charm and it's free.
Click to expand...
Click to collapse
Just purchased both of them. Thanks for the tip.
Items not yet shipped:
Delivery estimate: January 14, 2010
1 of: Professional Android Application Development (Wrox Programmer to Programmer)
Sold by: Amazon.com, LLC
1 of: Head First Java, 2nd Edition
Sold by: Amazon.com, LLC

[double post deleted]

mianosm said:
1. The most condusive environment will be Ubuntu 8.04 (which I believe is referenced a couple of times on the SDK pages). Glad to have you here with us. : )
2. Here is a pdf on beginning with android, this is mainly geared toward application development though.
Have fun! : )
Click to expand...
Click to collapse
Wow, Ubuntu 8.04 Desktop is quite impressive.
Fedora 10 was difficult to install and configure on my laptop. Neither the touchpad nor the wireless driver worked properly out of the box. It reminded me of similar install experiences years ago when I more actively used Linux. I do enjoy a challenge, and I was able to get them set up after hours of research.
In contrast, Ubuntu 8.04 is running flawlessly on the exact same machine immediately after the install. I actually prefer the UI, and the lack of useless bloated apps immediately cluttering my system is refreshing.
Thanks for the recommendation
About the Beginning Android book. I notice it deals with Android 1.1 with Android 1.5 only being mentioned in the appendix. Would it still be worth reading to develop a solid foundation, or are do you know of any more current information available?
I'm getting my start over at developer.android.com, but I'm not sure if that's the right place to learn java from scratch. I guess i'll find out soon.

i got news for you, 1 solid app that works well, does what it says and markets to a large group of people will make up for your salary loss lol
good luck though, this whole app thing and moving to android has intrigued me to possibly get into some development as well, or with friends or something... if there is a new market where money is to be made, this is it... but i was curious if google takes a cut from apps like apple does?
personally i say organize something together and sticky it to help future devs...

Well I finally have my development environment after days of indecisiveness.
I did a fresh install of Ubuntu 8.04 on one laptop and an fresh install of Windows 7 on the other laptop, then setup JDK/AndroidSDK/Eclipse, etc on both. Then realized that Ubuntu 8.04 was installed on my slower laptop, and developing for an open source platform in a closed source operating system is a travesty. So I reformatted my quicker laptop, and setup a dual boot with Ubuntu on the inside of the drive so it gets the quicker data transfer rates. Then I had the pleasure of downloading and setting up JDK/AndroidSDK/Eclipse all over again.
Of course this was followed by hours of screwing around with different window managers and customizing things (and ending up sticking with gnome anyway)....finnnallly, days later, I'm ready to start writing some code

Related

Bodhi Linux for Gen 8?

Just started a thread with the developers over at http://www.bodhilinux.com/forums/ to try and get this awesome little distro of linux running on our tablets. What is Bodhi linux? Its a beautiful, fully functional, low resource hogging version of Ubuntu, basically. It uses the e17 desktop window manager (http://www.enlightenment.org/) which is better suited to tablet use than Gnome or KDE. It will run on machines with virtually no resources (http://www.bodhilinux.com/system.php) and run well. Last but not least, have a look at the software that it can run (http://www.bodhilinux.com/software/doku.php).
One of the developers on the forum thinks that they might try and push an Arm based version of Bodhi up their list of todo's if they could get the support for it So if anyones interested, and even if your not, please visit the links and don't be afraid to join the forums to show support for this. This could be amazing if it bears fruit.
Thanks for reading
The guys over at Bodhi need a test machine so if anyone can offer some info as how to attain one it'd be greatly appreciated.
Thanks again.
It looks like really nice dream. It is just awsome. I am waiting to authorization email from bodhilinux forum so I can post on it too. I am waiting for my Archos 101 to arrive. I wanted to start some work to get some linux distro with e17 on it. But Bodhilinux developed for it... I have no words. Just awsome.
Wouldn't it be brilliant! Not getting my hopes up yet but I can't help but get a little excited. Bodhi guys seem really supportive too, if they got this working it could really take off for them, every android tab owner would want it from galaxy tab to the nook and we might be the first.
edit:
Wow!! @ zindy. This man means buisness. Please anyone who reads this go over to the bodhi forum thread and check out what zindy offered. Dude , you're awesome.
Hmm, I never thought of using the E17 GUI for a tablet. I think where it shines is that the widgets are resizable! This means you can get them just right for your tablet's screen.
On the downside, it is amazing how many places on your tablet that you are reminded that a touch screen is NOT a mouse when you try to use a desktop environment that was designed to use a mouse. For a preview of what I am talking about simply use either an RDP or VNC client on your tablet to remote into one of your traditional computer's screen. Yes, this is solvable, but it means even MORE work.
All that said, if that guy gets it running on his Nokia N900, then getting it to work on our Archos shouldn't be all that much harder.
I think it would be easier to just do the Debian install on our tablets as found elsewhere on this forum and then E17 would just be an "apt-get" away. Next all you would do is import the wonderful customizations and artwork from Bodhi (not hard) and you are done!
I understand what your saying but the dev over at Bodhi seems really supportive so i,'d expect long term support for Arm based tablets in general. There maybe a tweaked GUI in the future ,who knows? But either way it'd be a really fun little distro to have on our device. I agree that Debian would probably be easier for us but that's a well established distro. Bodhi on the other hand is still in its infancy and they would really benefit from our support , as much as we could benefit from theirs.
Thanks for reading.
wartstew said:
Hmm, I never thought of using the E17 GUI for a tablet. I think where it shines is that the widgets are resizable! This means you can get them just right for your tablet's screen.
On the downside, it is amazing how many places on your tablet that you are reminded that a touch screen is NOT a mouse when you try to use a desktop environment that was designed to use a mouse. For a preview of what I am talking about simply use either an RDP or VNC client on your tablet to remote into one of your traditional computer's screen. Yes, this is solvable, but it means even MORE work.
All that said, if that guy gets it running on his Nokia N900, then getting it to work on our Archos shouldn't be all that much harder.
I think it would be easier to just do the Debian install on our tablets as found elsewhere on this forum and then E17 would just be an "apt-get" away. Next all you would do is import the wonderful customizations and artwork from Bodhi (not hard) and you are done!
Click to expand...
Click to collapse
I was thinking about installing Debian with E17 too. But then we got in touch with Bodhi developers. Try installing of E17 on any general distribution and then try installing last Bodhi version. I was using Bodhi in version 1.0 for some time, but some bugs in E17 environment forced me to get back to xfce. But now I tried to install 1.1 and I started thinking about installing it again as main OS to my work notebook. Main difference is Bodhi has many customizations and improvements made to E17 and updates are made from SVN sources. In Debian you get few months old version. In Bodhi you are more up to date. E17 is developing really fast. Those bugs are gone and it is only a few months. This is main reason why I am interested in Bodhi on Archos much more than trying to install it on top of Debian. I will send some money to donate dev tablet for Jeff on thursday so we will see what happens in near future. Still waiting for my Archos 101 to arrive. Another reason for me to make donation instead of trying to get it working on my own is that Jeff and his team will make all the hard work for all of us. I was playing with Debian on Eken M001 and it ate a lot of my time. I appreciate Jeff's interest in this so I can spent my time another way.
I have installed the Debian from this page:
w w w DOT debian-archos DOT c o m
After that an upgrade to KDE with apt-get was easy (I even tried
the netbook version).
I have testet wifi, video hardware acceleration and several applications like
OO.
The only thing I have to complain are the virtual keyboards. Something like
the maemo virtual keyboard would be nice. Currently I use an external usb-
keyboard. Its like a netbook .
- I read Bodhi-Linux has its own repository. Can I still use debian packages? For example if I like to install software which is not existing in the repository.
- Which virtual keyboard is used by Bodhi-Linux? Can it compete with the Maemo version (Screenshots?).
Bodhi has its own repositories, but only for customized contents. The rest is downloaded directly from Ubuntu repositories. I think Bodhi for Archos may be build on Debian, because it has arm packages ready to use. You will be able to install .deb packages surely.
Virtual keyboard looks really usable in Bodhi (E17). May be it is customizable, but I didn't try to change its skin. It has three different layouts (letters, numbers and symbols, customized notebook keyboard layout including cursor keys, home, end, etc.) and it is possible to use different languages. I don't have any screenshots, but you can try it yourself. Download Bodhi iso and run it in virtual machine. After boot choose tablet/netbook profile and you can make an image of how it would look like after successful port to Archos. The best thing is that it is optimized for finger scrolling and touch operation as well. I like its environment.
As of when i post this we currently have half of the target donated, a total of 108 dollars while we need 200. Jeff over at bodhi will stump up the last 100 dollars to make full price for the archos and then start testing on it. So anyone interested please help out, even a little would help http://www.bodhilinux.com/forums/index.php?/topic/1509-archos-tablet-fund-request-for-donations/ . Thanks.
If say we got bodhi on our archos, can u then install like say a latex editor (say kyle) and edit latex in proper syntax ? (as in the program helps and not just typing a plain text)
Planning on basing Bodhi for ARM on Debian. So once I get it up and rolling you will be able to install any of the 10,000+ packages in the debian repo on your ArchOS
~Jeff
I have good news. We are done. $200 donated for tablet right now.
Good luck Jeff
@ Zindy Good job. Thank you for donating so much and
@ Jeff thank you for taking on this project, I seriously cant wait.
My ArchOS device is ordered thanks to all the donations - for those that want to keep up with the progress follow the thread here
~Jeff
For those wondering I've gotten my hands on a little ArchOS70 and have started work on this.
Pic related - http://i.imgur.com/GF3vT.jpg
~Jeff
Seriously, how beautiful is that? Wow.
Wonderful, absolutely wonderful.
I can't wait till first releases
Dympy.
Found out about this today, had debian running on my archos but it just didn't feel right. This looks to be amazing and if it's anything like the reviews i have been reading it will replace android on my archos (Despite any beta bugs).
Ready and willing to test and help in any way possible, good going Jeff!
Hey guys, another quick update. This is a post from the bodhi forum,
.......
The general UI is working. The touch screen, wifi, and CPU manager all work. Been currently working on getting support for E's built in battery module working with the tablet hardware.
Once I get the battery rolling I'll post an image with instructions for installing the "alpha" quality image on your own ArchOS.
Then I need to start building some touch-friendly packages to upload to the repository
~Jeff
.......
So things are looking good for Bodhi on gen 8 devices.
Alpha release... come and get it !!!
http://downloads.bodhilinux.com/jeff91/rootfses/bodhi4gig.img.tar.gz
Pretty slick. Dont forget to thank Jeff for his work.

Support Further ARM Development Ubuntu Eclipse SDK etc

Hi guys I am buying a eee pad but currently I am emailing Eclipse Google and others to try and get support to make developing for Android on Android possible.
I wish to start a foundation or support group toward this end if you want to contribute or help in anyway it would be great I will also add a poll for comparison of votes so please vote it all helps.
As I understand it porting Ubuntu to different devices is well still in beta stages for the most part but we all know that personalized mobile computing is the future and tablets or tf style devices will eventually replace laptops netbooks and the like.
As I understand the biggest problem is new tech!! that fresh out the box smell is still lingering and leaves support and development slim in some more common place computing needs where x86 has rained supreme leaving others to wish for such a client base of great support and programs.
So all in all this is to try push things in the right direction. Who to talk to when to talk to them and how to help the eee pad and other similar devices become fully fledged dual boot Android Ubuntu platforms with the option to develop and do all the other great things Ubuntu can offer.
Please only positive criticism or feedback this is the tech community anything is possible so please no comments of OMG YOU CANT DO THAT!!!! etc etc
Currently, you can compile C program or whatever without problems, using a chroot ubuntu or debian.
But developing for android implies that the android sdk has to be ported on arm platform. This is a paradox, but most android and java tools are working only on x86 platform, probably because at this time, phones was not meant to be dev platforms considering their cpu power.
Openjdk seems to work on arm but the android sdk relies on javac from sun.
There are now powerful tablet devices on the market - including our beloved tf - where we could potentially develop android apps ; I think that google will sooner or later release an arm version of the android sdk. Since then, we are almost pretty stuck : I'm not sure that all the android tools are opensource, and even if it is the case, there is still the problem of javac from sun which does not work on arm platform. However, doing our own dev platform implies that we can port ourselves the sdk on arm, and use openjdk as a replacement of sun-java runtime. Not a piece of cake My advice is to wait several months google next move to see what's going to happen, now that there are more and more tablets on the market.
If we get enough support though maybe we can push for both to be ported and released
Sent from my GT540RR using XDA App
Omg this doesn"t belong in the development forum!!!!!!!
Would love to see more development done on this!
As time progresses, more will be done definitely this is more about making sure that it is pushed as i believe at the moment its being over looked. I think manufacturers and Google and eclipse etc all under estimate there own products possibilities and the abilities of the tech community and in particular the xda community. Even if we had beta releases only for xda devs it would be a step in the right direction for developing android on android.
OK I'm going to bite the bullet and ask why would this be considered a good idea? I write software for Android and using Eclipse on lower screen resolutions isn't that productive IMHO, throw in poor keyboards and miniscule touchpads and it makes little sense. Finally considering the performance differences between a tablet and development laptop (i7, 8 GB RAM, SSD, etc) I just can't see getting the development tools working on an Android device to be all that useful at this point in time.
Nvidia is claiming the T3 will be as powerful as a Core 2. Seems a little exaggerated, but in the near future, it may be possible to dev. on a tab. Eclipse (and real games) are the last things tying me to my PC. Now I would not want to run Eclipse on a T2, but a T4??? Now we are talking.
GeraldNunn said:
OK I'm going to bite the bullet and ask why would this be considered a good idea? I write software for Android and using Eclipse on lower screen resolutions isn't that productive IMHO, throw in poor keyboards and miniscule touchpads and it makes little sense. Finally considering the performance differences between a tablet and development laptop (i7, 8 GB RAM, SSD, etc) I just can't see getting the development tools working on an Android device to be all that useful at this point in time.
Click to expand...
Click to collapse
Sent from my Transformer TF101
I tend to agree. I find even a powerful laptop is pretty marginal. I prefer a desktop with at least 2 monitors, one for code and one for the emulator.
All valid points but if no one is looking forward at the glass half full it wont become a reality
What I'm saying is work needs to start now infrastructure then city not a repeat of Auckland central we need the ground work done then the devices can catch up
Sent from my GT540RR using XDA App
I support, its something i would use.
danielmtp.mg said:
I support, its something i would use.
Click to expand...
Click to collapse
Sent from my GT540RR using XDA App
I've a script pack for installing Java's JDK to ARM either hard float or soft float that can be found at the following link
https://github.com/S0AndS0/Debian-Kit-Mods
Check the readme for how to download and enjoy the work I've done to get us this far. Furthermore there are other installers available that may be of interest; such as jMonkey and node.js and NoFlo installers for debian based Linux OS's running on Android.
Sent from my SPH-D700 using xda app-developers app
Anyone alive on this thread?
I've some links to information and projects relating to developments on Android and Linux Android systems.
For running GNU software on Android (better than busybox perhaps)
http://forum.xda-developers.com/showthread.php?t=2613243
Some maybe slower than the busybox versions but its a small sacrifice for better compatibility.
For running SDR (software defined radio) with Android or Android Linux
http://forum.xda-developers.com/showthread.php?t=2108053
https://github.com/martinmarinov/rtl_tcp_andro-
This github is really cool because the drivers are for either.
For running OpenBTS on Android Linux (turn your cellphone into a cell tower)
https://github.com/martinmarinov/rtl_tcp_andro-
Do some digging on this Dev's work; its amazing
For Crypto Currency mining on Android Linux (why buy an app when you'll have more for free here?)
http://bitbiz.io/threads/linux-script-cpu-minerd-installer-android-rpi-vps-32-64bit-pc.138/
Be sure to check out the example scripts I posted too; especially the ones relating to temp. monitoring or ya may blow a battery.
For MPI (message passing interface) on Android Linux (just modify the RPi directions to have the right username and networking options)
http://www.tinkernut.com/2014/04/27/make-cluster-computer/
Be sure to check out TinkerNut's other videos and guides; nearly anything a Raspberry Pi can do we can do on our phones for cheaper and with better specs/built in hardware.
For running Maptools server on Android (software for running custom table top games over a network)
http://forums.rptools.net/viewtopic.php?f=12&t=24082
I play DnD and Pathfinder so having a way to go mobile with it was something I had to do for them
For building Android NDK on Android Linux (step one of writing apps for Android on Android)
http://www.timelesssky.com/blog/building-android-sdk-build-tools-aapt-for-debian-arm
For building Android SDK on Android Linux (step two for writing/modding you phone with your phone)
http://www.timelesssky.com/blog/develop-app-on-android-with-android-sdk
Above two links are fantastic when combined with rdp or vnc for a larger screen size when at home.
For running Linux on Android without root (hidden goodies on FUSE filesystem)
http://www.timelesssky.com/blog/debian-android-with-no-root
There's a narrow window of compatibility but if your apposed to root on Android and still want Linux theses steps might just let you pull it off too.
For modifying Debian Kits' source code so you can have loop files larger than 2 Gigs and install hard floating point instead of soft float
http://www.timelesssky.com/blog/running-debian-armhf-alongside-android#comment-1525580294
If you've not found this Dev's blog then do some digging as there is some really cool guides posted.
For installing GPU drivers to Android Linux (scroll down to Related Projects for the other brands)
http://freedreno.github.io/
The above link and related software should allow for OpenCL/GL support and the added bonus of being able to run Blender on your tablet.
The above links should prove that developments on Android and Android Linux systems is very active; just hard to find sometimes.
I'm currently working at http://bitbiz.io/rf/?c=IGQ3ZLRT with a few other team members to bring together the above subjects into a new mesh-networking crypto coin system that allows users and developers to buy or rent hardware time from networked devices; others have tried and failed to make a AndroidCoin but this one will not as much of the core features have already been tested or scripted up in my other github repo as installers. Feel free to post feature requests and concerns.
http://bitbiz.io/threads/altcoin-taucoin-new-arm-excusive-coin.142/
Sent from: SPH-D700 or myTouch3Gs or Sero 7 Pro
Linux Install guide for Android devices that I'm writing:
http://forum.xda-developers.com/showthread.php?t=2240397
Or
https://docs.google.com/document/d/1ssVeIhdBuuy8CtpBP1lWgUkG6fR6oHxP20ToYPPw6zI/edit?usp=drive_web
And my script pack for installing; Java's JDK, node.js and more to your Linux OS
https://github.com/S0AndS0/Debian-Kit-Mods
Note: if you're new to Linux/scripting/command line; check readme file for instructions.

IDE of choice for newcommers

Hello,
i have recently decided getting into android application development and now the first big question arises.
Which IDE should i start on if i have no previous experience ?
I m guessing that all of them are pretty much equal to what they are capable on and it mostly goes down to developers preference so i assume i will not find a definate answer here but perhaps an upside/downside comparison for some of them.
As i have found out as of Google I/O 2013 the Android team has moved to IntelliJ Idea with the new Android Studio IDE.
Even if its not superior to the IDEs currently available it might be in the future so my choice is swinging towards Android Studio with no valid arguments why.
I would like to hear some opinion about Android Studio if there are any major downsides compared to other IDEs available and if its a good idea to give it a shot without previous experience.
Thanks in advance,
D
Hmm. Nobody use Android Studio?
druvisk, I think Android Studio is a good choice for you.
Android Studio should be okay for beginners I suppose.
I looked at it a while ago, and as far as I could tell, there was no support for native code/the NDK, and I need that for my apps, so I'm just sticking with Eclipse.
I'm using eclipse i think it's not that hard for beginners (i am a beginner too)
I think you should seriously consider using a multi-platform development environment, so that your final product can work on both Android and iOS, hopefully also on Windows Phone (or maybe even desktop PC). There are tons of those - affordable and high quality. Use google to find those. From the top of my head: Cocos2d/3d, Moai, Marmolade, Corona, Unity, Gideros, GameMaker, and many more....
Hi, I think that you have to go ahead with Eclipse.
You only need to download it in the android developers main web and you can already follow some official tutorials without searching the options on the Android Studio IDE. (That can be different)
After you get some experience you can go with Netbeans or the Android Studio itself.
Only TRUE cross development tool
druvisk said:
Hello,
i have recently decided getting into android application development and now the first big question arises.
Which IDE should i start on if i have no previous experience ?
I m guessing that all of them are pretty much equal to what they are capable on and it mostly goes down to developers preference so i assume i will not find a definate answer here but perhaps an upside/downside comparison for some of them.
As i have found out as of Google I/O 2013 the Android team has moved to IntelliJ Idea with the new Android Studio IDE.
Even if its not superior to the IDEs currently available it might be in the future so my choice is swinging towards Android Studio with no valid arguments why.
I would like to hear some opinion about Android Studio if there are any major downsides compared to other IDEs available and if its a good idea to give it a shot without previous experience.
Thanks in advance,
D
Click to expand...
Click to collapse
I recommend Gingee IDE. Super easy to use, and most important - helps you to use one code to generate an app in any desired OS, with no extra optimization needed.
Let me know if you need to hear more details. Or just go to gingeegames dot com.
Android Studio is great for those who haven't really been into Android before
Sent from my SM-N9005 using XDA Premium 4 mobile app
I'm working with Eclipse since the beginning and I'm quite happy with it. You can install ADT plugin, control the SDK manager and even profile your app with DDMS view.
I'd vote for Eclipse ...best IDE for beginners..
Eclipse. Android Studio still needs improvements from what I hear. Stick with Eclipse and you'll have everything you need.
RED_ said:
Eclipse. Android Studio still needs improvements from what I hear. Stick with Eclipse and you'll have everything you need.
Click to expand...
Click to collapse
This is correct.
Eclipse is the best right now.
Android Studio may be the best but Google really isn't in a rush to help developers out.
adrian.adamiak said:
I think you should seriously consider using a multi-platform development environment, so that your final product can work on both Android and iOS, hopefully also on Windows Phone (or maybe even desktop PC). There are tons of those - affordable and high quality. Use google to find those. From the top of my head: Cocos2d/3d, Moai, Marmolade, Corona, Unity, Gideros, GameMaker, and many more....
Click to expand...
Click to collapse
Like the original poster I'm also a newcomer with only basic knowledge of coding. I'm looking for a multi-platform dev environment thats more a GUI possibly with drag and drop features so I don't have to code. I see there are plenty of app making websites available but rather than cloud based I'm wanting a programme I can download.
Gingee looks good and one of it's features they're marketing is that you can "build your app/game without writing one line of code". Would the options mentioned above be similar to Gingee or do you have any other recommendations to meets my criteria?
I would go with Android Studio, since it's under heavy development, and Google is replacing Eclipse with AS, so you won't have to switch to an other IDE in the future.
I think IntelliJ Idea is the best IDE for Java developers. I tried Eclipse several times, but still can't understand, why would anyone switch from IntelliJ Idea to anything else.
andras_k said:
I would go with Android Studio, since it's under heavy development, and Google is replacing Eclipse with AS, so you won't have to switch to an other IDE in the future.
Click to expand...
Click to collapse
AS replacing Eclipse, I dont see that happening ever. Google never dedicates time and effort into anything, and an IDE is a big project.
I use netbeans with ndk for android c++ development
http://forum.xda-developers.com/showpost.php?p=53586100&postcount=4
Stick with Eclipse
I would recommend sticking with Eclipse as there is not many examples on using Android Studio for the newbies ... Now this is if you are looking to build native android applications.
I would not recommend any IDE that states you can build a application without coding ... Learn to code would be my honest suggestion.
Livecode??
I am disappoint.
Not one mention of LiveCode!
For anyone who has EVER used HyperCard on an old school Mac, you'll know how to use LiveCode. And they have a community open source edition, and can deploy to pretty much any target, save for Windows Phone.
I've written all kinds of one off custom apps with it.
To code for Android I have only been using Eclipse until now, and it meets all my needs. I think it's a very good tool ... as long as it's working, and to be honest this is not always the case. There where some incompatibilities of the ADT some month ago with the current licensing library, so I downloaded the very new version of Eclipse and ADT this month. Eclipse found some weird errors in Google's very own appcompat library ... I guess this is not my fault at all. Frequently Eclipse simply gets stuck loading content, and the only way to get rid of this problem is rebooting Windows. I don't know if such weird stuff is also occurring on Android Studio.

Android on Intel chip hardware project

Ok, I want to start out by mentioning; some of you may or may not know about a project I've been working on since March 2013, the Android Desktop OS which is now in version 2.0.
Can test the interactive demo online here: http://invis.io/95IKINK4
I've been on this project by myself, putting together ideas and re-imagining how Android should be on a desktop. Now, I know that Android x86 does exist, so please don't announce that android on the pc has been done already, because it's not how I envision any of this.
I think also they have started this as a hobby with no real distinct intention, I started my idea to give Android a very bright future. I believe as well as many others who are excited for this project that Android could be massive on desktops.
Yes, I know that it is written with a Linux kernel and it is aimed for mobile, but my goal is to change that. I want it to be able to run all the apps from the Market Place in it's normal fashion without anything complicated, but I want the core of this, the heart of this to be written for Intel hardware for starters.
I know there are some guys wrote some Intel hardware code for android, but I don't think they did it to be anything major. I want to take this to a whole new level, I really want this project out there, I want it to stand out.
Why does Windows, Mac and Ubuntu get pc and mobile counterparts but not Android? I feel personally it isn't quite fair and that Android should have its potential shown.
For those of you who have never seen my project, you can check it here: http://forum.xda-developers.com/showthread.php?t=2214161
Everything is still subject to change, but overall I am happy with what I have. I want to advance on Android without steering away from the heart of it. There are more ideas I have, but have been short on time with doing what I want.
Now here comes the icing.
I am stuck at a crossroad; I need a team, I need to find those who are just as interested in this as I am, but I don't know where to find them. I've posted this in numerous places without much coming back as far as coders.
I've been told to do a kickstarter, but I don't know the first thing about it, how to find the people, manage the money, who to trust, bring this to completion etc... So this brings me back to square one, where I just continue to develop this idea in it's visual form, because I don't know what to do.
I have been dedicated to making this happen for a long time, this can and will be a long term career, but I need the man power, those who believe in this. But where to find it? I figured since the internet is vast people would come at least wanting to give it a crack, but it has been dry out here.
I am open to feedback and really hope this can get off the ground.

[Tool] Which IDE do you prefer? Eclipse, Android Studio or something else?

Hello,
I have built my first Android app using Eclipse and I think it was pretty quick and helpful in many ways.
After the first project, my colleague asked me to switch to Android Studio, but my question is: is it better than Eclipse? Which one do you prefer?
Thank you all in advance,
Andrea
Android Studio is "The Way Forward" but still has lots of problems, and runs slow for me.
I'm just trying Studio now with a new app I'm working on. NDK integration isn't good (but better than 2013).
I don't even use Eclipse anymore, just ant etc scripts on command line and default linux GUI editor (Pluma) for editing.
But I'm trying to learn Studio because I think Google will let Eclipse support rot once Studio is officially supported. AND I'm trying to find ways to make myself more efficient. I haven't used IDEs in over 25 years (Turbo C), LOL, but it was fun back then...
Here again, Google is moving from open source stuff (Eclipse) to proprietary Android specially designed and built stuff (Studio). That has good and bad, and I'll just "go with the flow"...
mikereidis said:
Android Studio is "The Way Forward" but still has lots of problems, and runs slow for me.
I'm just trying Studio now with a new app I'm working on. NDK integration isn't good (but better than 2013).
I don't even use Eclipse anymore, just ant etc scripts on command line and default linux GUI editor (Pluma) for editing.
But I'm trying to learn Studio because I think Google will let Eclipse support rot once Studio is officially supported. AND I'm trying to find ways to make myself more efficient. I haven't used IDEs in over 25 years (Turbo C), LOL, but it was fun back then...
Here again, Google is moving from open source stuff (Eclipse) to proprietary Android specially designed and built stuff (Studio). That has good and bad, and I'll just "go with the flow"...
Click to expand...
Click to collapse
Eclipse is the best right now.
Google Studio may be in the future.
I really hope Google starts stepping up and helping developers out. Xcode for iOS is really nice to work with when devloping for iOS. It would be nice if Google put that same effort into helping devs build for Android.
jbutewicz said:
I really hope Google starts stepping up and helping developers out. Xcode for iOS is really nice to work with when devloping for iOS. It would be nice if Google put that same effort into helping devs build for Android.
Click to expand...
Click to collapse
Why would they change to being more dev friendly ?
Why would they spend more money on "expenses" when Android is #1 in terms of penetration ?
I'd be happy to see it, but I don't see them changing, and I highly suspect their team of bean counter accountants continue to conclude their profits are best when their development teams are small.
I've been researching/learning everything I can about audio on Android. It's a big mess, though it works, more or less, as in "good enough". But high performance, low latency audio such as IOS has is extremely difficult, hardware/OEM HAL/kernel driver dependent, and effectively impossible to do without at least occasional glitches on many leading devices.
These audio issues have existed for years, along with MANY others. The Android issue tracker is full of such issues. Some improvements have been made, but it's never enough.
Low level stuff like audio is where Android really falls down. The Google perspective seems to be the user perspective, which is closer to higher level Java stuff and farther away from the nuts and bolts of kernels, HALs, C and assembly language. Most of this is left to the OEMs to figure out and many take major shortcuts to reduce time to market.
andreait15 said:
Hello,
I have built my first Android app using Eclipse and I think it was pretty quick and helpful in many ways.
After the first project, my colleague asked me to switch to Android Studio, but my question is: is it better than Eclipse? Which one do you prefer?
Thank you all in advance,
Andrea
Click to expand...
Click to collapse
I'm also interested in what folks are using. I whipped up a poll this morning and posted it on Reddit/r/Android but this seems much more appropriate.
Here is the Poll
And the results so far Results
matt68000 said:
I'm also interested in what folks are using. I whipped up a poll this morning and posted it on Reddit/r/Android but this seems much more appropriate.
Here is the Poll
And the results so far Results
Click to expand...
Click to collapse
wow, these results make me only more confused.
Right now I'm using Android Studio too, and in some ways is better, especially the design views on the right side of the code, but adding libraries was a slowly death inside!!!
IntelliJ is the best. After I first-time used it, I would never switch back to eclipse.
Eclipse as an IDE, Unity3D as an engine.
esoloyu nefs
As along time eclipse user (more then 10 years) I tried out intellij a few month ago and I will never go back. IntellliJ is just the better ide
Well and now since I am using gradle I switched to android studio. Its like intelliJ with more android power
matt68000 said:
I'm also interested in what folks are using. I whipped up a poll this morning and posted it on Reddit/r/Android but this seems much more appropriate.
Here is the Poll
And the results so far
Click to expand...
Click to collapse
Great idea! As of now, it looks like the distribution of Android Studio and Eclipse w/ ADT goes head-by-head.
As for me, I prefer Android Studio. The layout previews and the built-in gradle support are the most important advantages for me. And of course the Darcula theme is also a huge plus
Still sticking with Eclipse. Android Studio has more fancy features, but we're hand coding all the XML's or dynamically creating views anyway, so while a better UI editor works for smaller apps, it's not much help for a complex one.
That and redeploying / releasing is easier (for me anyway) with Eclipse, I've heard too many issues with Gradle to make the switch yet with commercial apps. People still complain about compile time, but with DexGuard packing stuff, it's < 10s between clicking "Run" and having it on the phone, not bad for an 6MB .apk full of code.
andreait15 said:
Hello,
I have built my first Android app using Eclipse and I think it was pretty quick and helpful in many ways.
After the first project, my colleague asked me to switch to Android Studio, but my question is: is it better than Eclipse? Which one do you prefer?
Thank you all in advance,
Andrea
Click to expand...
Click to collapse
Hi , I have been using eclipse IDE for long time.It is great software to do android development.But they say that Android Studio is more context aware that eclipse and you have to write very less code.Through predictions it guesses what you want to do.So I have decided to give it try and Will be posting my finding here.
Yes this is sure that Android studio is still buggy as my team mates using this software often say that.
Let me check and I will get back.
Any one else if find major differences b/w two please explain pros/cons here.
Thanks,
Eclipse
andreait15 said:
Hello,
I have built my first Android app using Eclipse and I think it was pretty quick and helpful in many ways.
After the first project, my colleague asked me to switch to Android Studio, but my question is: is it better than Eclipse? Which one do you prefer?
Thank you all in advance,
Andrea
Click to expand...
Click to collapse
Go With eclipse
Eclipse is stable and you will find lot of android video tutorials based on eclipse
Android Studio is still not fully stable ...
aditya.kamble said:
Go With eclipse
Eclipse is stable and you will find lot of android video tutorials based on eclipse
Android Studio is still not fully stable ...
Click to expand...
Click to collapse
Have you got examples of when Android Studio has not been stable?
Just because its still in "alpha" stage doesn't mean its not stable... I've never had any issues with it since switching from eclipse. Remember its based off IntelliJ which is stable.
It is stable enough to develop apps. But we should used to that sometimes studio freeze when we plug second device, or when we trying to do something sophisticated with Gradle. Recording video sometimes generate broken mp4 file.
Another thing is Gradle, which is great tool to simplify building app. Flavors and build types wasn't so easy never before.
Now with 0.5.8 version is almost complete code completion for Gradle files. In upcoming releases we will get proguard completion.
There is several crashes here and there, but it cannot be compared to eclipse. Not the same league.
Big problem is lacking support for native code so you do develop mostly on Visual Studio.
If spending couple minutes from time to time with IDE itself doesn't scare you much, the choice is simple.
Sent from my Nexus 4 using XDA Free mobile app
Hi,
Continuing with my previous post ,
I started using android studio a week ago and following are my findings till now.
Android studio is excellent tool for android I guess because it has so many shortcuts or features etc.Sure it has some learning involved because of gradle.But once you pass basics of setting up project using gradle it is most excellent tool.Following are features
1).It will auto import classes when you write code.
2).It is truely context aware tool becuase It will present you with options relevant to piece of code(function, expression,class etc) you are writing when alt+enter is pressed.Consider alt+enter as right click.eg.If you have written any regular expression in your code then it will automatically identify it as regular expression and present you with dialog to test you regular expression there only.Same goes with SQL,HTML,XML etc it presents option with these only.Means you do not have to tell ide that I have written some regular expression please evaluate.It knows what you want.
3).You can search file using ctrl+N by specifying name of file.You can also specify filename:<line> in search box it will go to that file and to that line.
4).Another cool feature is gui editor.When writing any layout then it shows preview side by side, so you dont have to switch.Cool thing is that you can preview multiple devices at the same time.And device skin is of real device.How cool is that.
5).Now coolest feature is that you can set up multiple versions of project at the same time using build flavours using gradle.It is coolest.Just learn this you will love it.
6).No need to install ADT separately and update it separately.Studio comes with everything preloaded , and if any update comes then it is update for Android studio.
7).Real trick of using Android studio is to learn as many shortcuts as possible , Under Help in android studio there is keymapping , it contains complete list of shorcuts.
8).Code navigation is awesome in android studio.
9).It is stable.
Now I am not saying eclipse is not good IDE, but simply android studio is better than it in every aspect.
I feel that if you are new to learning android then please start using Android Studio instead of eclipse.
Please follow this channel for video tutorials on Android Studio : https://www.youtube.com/channel/UC5fT02o8H1NnGfX7j1CmP6Q
Thanks,Hit thanks if it helped.:good:
I used Eclipse for about 1.5 year. I know almost evry bug there, so after that development was pretty starightforward. Recently, I had to use AS, because of commercial project. It looks great, it's fast and I love it. If you are starting, choose AS.
I got Studio working, but it's still all new to me (so much more in an APK, it seems).
I do like it though, it brings a fresh new UI to the table. Need to figure out how to import libraries in it, though...
bassie1995 said:
I got Studio working, but it's still all new to me (so much more in an APK, it seems).
I do like it though, it brings a fresh new UI to the table. Need to figure out how to import libraries in it, though...
Click to expand...
Click to collapse
New Module > Import JAR or AAR or Import Existing Project
For libraries that are in the maven repository you can simply add the project to the build.gradle file, for example add the following to import the Google Play Services library:
Code:
compile 'com.google.android.gms:play-services:+'
Jonny said:
New Module > Import JAR or AAR or Import Existing Project
For libraries that are in the maven repository you can simply add the project to the build.gradle file, for example add the following to import the Google Play Services library:
Code:
compile 'com.google.android.gms:play-services:+'
Click to expand...
Click to collapse
Ah cool, I'll try. Thanks!
Sent from my HTC One_M8 using Tapatalk

Categories

Resources