newbieee - Android Q&A, Help & Troubleshooting

hey im new here....can anyone tell me which linux is best for android development and how to configure it........

ci9her said:
hey im new here....can anyone tell me which linux is best for android development and how to configure it........
Click to expand...
Click to collapse
Hi there. Depends on how familiar you are with Linux. If you are just beginning, then I suggest Ubuntu as it is the most popular distro and the one that most of the How-To Build Guides are written for. If you plan on developing anything newer than GB, then it's recommended to install the 64 bit version. You CAN build some ICS and JB versions on 32, but more of a pain than it's worth since the compiler is written in 64 bit.
There are tons of guides for beginners here - including Stickies at the top of this particular forum. If you search, you'll even find semi-automated scripts and such to set up the build environment for you.

Related

[Q] How to write drivers for Android?

Hi guys i have been trying to know about android driver development.. i know driver development is not an easy job but i'd like to learn.. Is there any tutorials for that or any simple examples??
[Q] How to write drivers for Android
Ashok,
Writing android drivers is no different then writing drivers for linux. In fact many linux drivers would simply just work on the android.
Here is a little reading list for you if you want to find out more about linux driver development:
http://kernelnewbies.org/New_Kernel_Hacking_HOWTO
http://www.ibm.com/developerworks/linux/library/l-linux-kernel/?
http://www.amazon.com/gp/product/0596100795
http://www.amazon.com/Linux-Device-Drivers-Jonathan-Corbet/dp/0596005903
Hope this helps
thanks for the tutorials and the book suggestions I appreciate the help.
If you are familiar with Linux kernel and Linux based development then it will not that tough for you since Android uses modified version of Linux kernel. For tutorial source for Android kernel go to:
http://android.git.kernel.org/
Please use the Q&A Forum for questions Thanks
Moving to Q&A
Memsgr religious
Mr.Wrong said:
If you are familiar with Linux kernel and Linux based development then it will not that tough for you since Android uses modified version of Linux kernel. For tutorial source for Android kernel go to:
Hello, sorry for raising the dead, but this topic is rare.
I have a project where I basically need to write a mouse cursor driver. Would you have any specific information on how the mouse is actually drawn on the system level, as in between activities/programs/windows/etc. ? And would it be possible to include this as part of an app, so that it can be downloaded by an average user? (not as vital)
Click to expand...
Click to collapse

Android development environment

Is there a "total package".exe.? I've been trying to set up my environment but gotten all kinda errors. Just looking for a solution to get up n running. Does anyone have a tutorial with the latest updates? Thanks in advance.
Sent from 3D A.W.E.S.O.M-O
The android development website has a great tutorial to set it all up.
motoelliot said:
Is there a "total package".exe.? I've been trying to set up my environment but gotten all kinda errors. Just looking for a solution to get up n running. Does anyone have a tutorial with the latest updates? Thanks in advance.
Sent from 3D A.W.E.S.O.M-O
Click to expand...
Click to collapse
there are essentially two ways to interrept your question as there are two main development environments:
1) android application development environment (using eclipse, android plugin, etc) will run on both windows, linux, mac, etc.
2) android operating system development (actually android linux based OS, kernel, etc)
both of these development environments have very good documentation on the official google android development site. i would follow all their guides there and then ask any questions which their guides maybe lacking (shouldn't be lacking very much).
as a starting point, they seem to suggesting setting up the sdk and then under the next steps section they link to a ton of their guides depending on what type of goals you have next.
Official Android guide for setting up SDK
hope that helps!
OK.... FINALLY. Got it all set up. (Had to reformat windows) fuggin Microsoft! So not sure where to go from here. Have multiple goals, wanna start small with a lil themeing, then cook my own rom. Been doin alotta reading, figured its time to get wet.... Gotta learn somehow. ;p
Sent from 3D A.W.E.S.O.M-O
did you get a linux environment running in a VM yet? that seems to be the way to go for the "easy" building. There's a thread started by "dsixda" you should go find. Also, for fun easy mod stuff you can use the UOT kitchen.

[Q] How to begin developing android ROM

I am new in XDA developer forum. I knew java and android at the immediate level. Now I'm interested in creating my own Android smartphone ROM. After searching in google, I see that there are a thing which is called "Default ROM" released by google. Base on this ROM, different companies created different ROM in their own style such as Sense, Motoblur, TouchWiz, etc.
So where could I download such a default ROM, and how could I begin with ROM developer. It is kind from my if anybody could give me a tutorial.
(Sorry if the question is exist in the forum, because I could not find it)
Thanks a lot.
Best regards,
me too, i have the same question, can someone help? thx
Your best bet is to have a look at compiling the aosp from source which you will need a Linux os for. The android sdk is a good place to start.
zelendel said:
Your best bet is to have a look at compiling the aosp from source which you will need a Linux os for. The android sdk is a good place to start.
Click to expand...
Click to collapse
Also are there no different way but Linux OS?
I still have the Android SDK, but do not know how to begin to custom a ROM via code.
Regards,
detno29 said:
Also are there no different way but Linux OS?
I still have the Android SDK, but do not know how to begin to custom a ROM via code.
Regards,
Click to expand...
Click to collapse
Yes to build android from Google's source you will have to have a Linux os. Either stand alone Linux or a version like ubuntu
zelendel said:
Yes to build android from Google's source you will have to have a Linux os. Either stand alone Linux or a version like ubuntu
Click to expand...
Click to collapse
In your experience, which linux os should i used. I m also a bit confuse because i did not have to much experience with linux...
detno29 said:
In your experience, which linux os should i used. I m also a bit confuse because i did not have to much experience with linux...
Click to expand...
Click to collapse
Me too, trying to learn. Just installed dual boot Ubuntu 10.1 to my comp and trying to figure it out. Big change coming from win7. Ubuntu 11 I couldn't figure out
Sent from my Desire HD using xda premium
One place you can start by checking and has a lot of good info is http://freeyourandroid.com/
I learned how to port from them although I still need to ask questions but it can get you started.
If you just want to get Ubunto going in a virtual machine for now and have NO IDEA take a look at this: http://theunlockr.com/2010/03/26/ho...om-for-android-part-1-setting-up-the-kitchen/
Old release links but Ubunto will update itself

[Q] Why Linux?!

I'm trying to get into development of custom ROM's and whatnot and am following CM's build guide, however I've read numerous people attest to using a distribution of Linux for all development.
I do a little Java and c++ development as I study Software Engineering and to be honest considering Mac is UNIX also, I've never found any difference between me using my MBP or running one of the many linux distro's i've experimented with.
I was just wondering if anyone can actually give some valid reasons and justifications for all the people who state that it's almost a -must- to develop on 64-bit linux installation.
I know this question has probably been asked before but I've been searching and can't find any non-flamey posts.
Cheers!
Developing on Linux isn't a MUST, but I highly recommend it. With Linux you can set up servers to test connectivity with ease, and there is a plethora of built in support for Linux on distributions like Ubuntu. Different distributions, such as Kali (formerly BackTrack) are good for hacking and stuff. Simply using 'sudo apt-get install' you can get amazing tools to help you out.
Blog: http//konvey.blogspot.com | Sent from the Nokia 3310
vyper91 said:
I'm trying to get into development of custom ROM's and whatnot and am following CM's build guide, however I've read numerous people attest to using a distribution of Linux for all development.
I do a little Java and c++ development as I study Software Engineering and to be honest considering Mac is UNIX also, I've never found any difference between me using my MBP or running one of the many linux distro's i've experimented with.
I was just wondering if anyone can actually give some valid reasons and justifications for all the people who state that it's almost a -must- to develop on 64-bit linux installation.
I know this question has probably been asked before but I've been searching and can't find any non-flamey posts.
Cheers!
Click to expand...
Click to collapse
the only reason is that as most android developers work from linux so they have built most tools for that platform, on other platforms you'll find only the most rudimentary tools.
so you can do the same on mac or windows or beos if you want but you'll have to create all the missing tools by yourself probably.

Where to find a not so beginners guide to creating custom roms

Hi guys,
I'm currently a university student with some decent Java skills, I want to start some android rom development mostly for the Nexus 7 2013 but I'm not sure where to start. I have googled and all I have found are guides on using kitchens, I'm looking for something more advanced, where I could learn to create a rom like SmoothRom for the Nexus 7 2012 with performance tweaks to make it super smooth and stable.
Any help would be apreciated. Sorry if there is an answer to this somewhere, like I said so far I've only found kitchens and I don't think that's the type of development I need to be doing.
Thanks
Http://source.android.com
Try building cyanogen mod first
GO TO THIS SITE
http://wiki.cyanogenmod.org/w/Devices#vendor="Google";
THIS SITE OFFERS YOU TO BUILD ROM FOR YOUR DEVICES AS WELL AS OTHER DEVICES
Thanks, will try building some source code first
Also could someone maybe provide some info on where to learn about implementing linaro and what it is? It sounds very interesting but not much info on it.

Categories

Resources