yashsingh1/xdaforums huggingface dataset:
[General Questions and Answers] speeed_demon47:
Ok,good,thanks.

So,I don't need EE or ME,right? But if I learn them later on (maybe next year or so),would they come in handy or would they be useless?

I've been developing in Eclipse and SDK with ADT plugin,it's very helpful and I've completed most of the tutorials so far (hello world,tom cat,......etc) and started building something of my own.I've been also using Titanium app accelerator,it's really good too (still mainly eclipse but the tutorials and help are better);but so far all i've done is just copy the code and that's all,I didn't write a single line of code (maybe a few lines,but that's it).

I also started a course a week ago (learning Linux kernel),so far so good,And I found a good site to teach me image files.

But a little hung up on the programming languages section,so,conclusion;I need to learn Java Standard,would enterprise or micro be any good?

And about the native source code,will java be enough? won't I need to learn C?

Thanks for the quick responses,it's a lot of help.
[General Questions and Answers] speeed_demon47:
I already know that,but that's not what i'm asking about.:rolleyes:
[General Questions and Answers] Dark3n:
The enterprise edition and what not just offer different sets of libary for other platforms, aslong as long as you program for android devices you will have little use for knowledge of the other editions.

Think of it as being a specialised technican for cars. They all have engines and 4 tires and a steering wheel and all technicans can work with that, but will you work in a VW repair shop or in the Mercedes repair shop?

In this case you will work on the android platform, as long as you don't want to switch to server programming in java (Java EE) or embedded systems (Java ME), there is no need to get familiar with that.

Java SE means standart edition and basicly already included in the android libaries.

If you don't want to keep copy pasting code, try something different that has not been done in a tutorial, or modifiy a tutorial to do something else.

But there is nothing wrong with copying code, if you have written a good piece of code there is no harm in reusing it elsewhere.

The android sourcecode is a mix of java and C, the lower layers are written in C the higher ones in java.

I don't know what you want to achieve with your knowledge? To write apps you don't need to learn C.

It is difficult to master all fields, easier if you choose one.
[General Questions and Answers] speeed_demon47:
So,learning java enterprise isn't really important;but is it important if I want to excel in the development process?

But what's the use of learning Micro edition AT ALL when it comes to android development???

Isn't it used to develop apps for feature phones and PDAs,not smartphones?

And after I learn Java standard will I need to learn any special libraries for android? I mean,will I be able to get to writing the code right away or do I need to learn about the android files and libraries? or are they java standard already? I know I need to learn to compile the packages,but is that it?

And what about XML files,I can do them with JDK or Apache Ant,right? so,I don't need to worry about them,do I?

I'm trying to learn as much I can from the dev guide and the tutorials on the developers site,but the dev guide is too long to both read and comprehend,and that's basically a huge problem,cuz I have a job and education and I can't find time to know everything in the dev guide.

I know it'll be difficult to master all fields,but the team I'm going to work with needs someone who's able to edit the deeper layers of the code and,so I think I'll need both java and C for that job,it don't matter anyways I have time to learn both.
[General Questions and Answers] RobZilla10001:
HackADay has an excellent 6 part article on getting your feet wet with Android development. It will guide you through what you need to know and software set up.

Sent from my Evo 4G, locked up like Akon, from the premium xda app.
[General Questions and Answers] spencer88:
And where do you find this article at?
[General Questions and Answers] gh123man:
thank you guys for the excellent read first off. i enjoyed reading this whole post start to finish. my little addition to this is if you want to learn the basics of java or c or c++ or mostly anything try looking here - http://ocw.mit.edu/index.htm

i took a pascal class in high school and was better then most in my class. gave me a really strong yet extremely basic understanding of programming. i have since been on ocw learning c++ and i got through 2 lectures in about 1 and a half hrs. its great. so easy to understand. learning your second language really is easier then your first. after 2 hrs i was writing the same basic code i was doing in the first 2 months of my pascal class. im moving really quickly. the best part about it is its structured like a class because it is a class, its not a thick book.

while android is my true drive for programming. my boss is pushing me to learn c++ as i enter college. my dad is pushing me to review python as it is my first college class. (its the end of summer for me im starting college soon). and i wanna learn java. but thats taking the back seat for now.

my view on all of this is "it will come with time" i understand now i cant rush things. i have to sit back and learn. and build understandings. it just gets easier as you understand more. :) hope i can help in some way.
[General Questions and Answers] speeed_demon47:
First off,thanks for the site,really good that MIT gives courses for free,no certifications though and they're not even actual education or anything but it provides a great deal of help and info.

And I think u should learn java cuz python is open source and that's not very good for business, don't get me wrong;please, I encourage open source development and all and I think it's better for corporations,developers and users,open source also provides better market competition (except for when apple steals android's notification bar and then sues google for patent infringement).

But as someone who is still 15 years old,I need to provide myself with something that's gonna help me find a job easily or work from home,so,personally I really wanna learn Python because I believe that it is truly the future of programming (along with java too) but I think that java will be easier and faster to learn and u can easily make money if u know java (websites,android apps,...etc).

So,learn java this summer and python next summer (actually i'm going to learn java,Linux & GNU this summer,Python next summer,but that's just me)and I don't think u need to learn C++ at all if u are going to learn Python.

Hope it helps u make a decision,and thanks for the site,again.:):):)
[General Questions and Answers] speeed_demon47:
Can u provide a link?

It'd really come in handy,u know!!!:rolleyes:
[General Questions and Answers] Maximilian Mary:
http://hackaday.com/2010/07/12/android-development-101-–-a-tutorial-series/
[General Questions and Answers] chase89:
i admit.

i would love to be a developer, although i feel i might not be cut out for it..
[General Questions and Answers] droid_does:
just found this via googling

this guy on youtube has some pretty good step to step tutorial videos for using the SDK and deving apps for a first time user (aka me the noob ;))

http://www.youtube.com/user/CornboyzAndroid
[General Questions and Answers] myphoneisbroken:
I didn't want to start a new thread for this. Can anyone give any insight as to where I can find information about porting sense 3.0, or some pointers on how to do it? Additionally where do I find the sense program itself to build off of? Thanks
[General Questions and Answers] droid_does:
nada

can't be done

or its very hard as Sense is HTC propriety software aka closed source
[General Questions and Answers] speeed_demon47:
HTC is going to launch Sense SDK,it's going to be exclusive to HTC phones only.

I think it's yet to be launched,check the HTC developers site:

http://developer.htc.com/
[General Questions and Answers] speeed_demon47:
Where did Dark3n go,anyways???

And why am I getting the feeling that the thread is slowly starting to turn into some sort of open discussion kinda thread??

Please keep this focused on the main subject,if u have any useful info,then please provide it,if not,then don't turn the forum into some open discussion for everyone to say whatever they wanna say!!!!!

So,please,let's keep this professional.
[General Questions and Answers] droid_does:
did you check the youtube link?
[General Questions and Answers] Dark3n:
I'm here, what questions do you still have?
[General Questions and Answers] speeed_demon47:
After I learn java standard,will I need to learn about any special libraries or code for android? or does android already use java libraries?

And what on the developers site do I need to fully understand? the site is too big to read all of the guidelines.:(

And will I learn to do xml files along with java,I know that u can edit them through java or apache ant,but is it a part of java SE?:(
[General Questions and Answers] speeed_demon47:
So,I find myself today with 5 hours to kill,and to me that's a lot of time,cuz I'm always busy with something.:D

Anyways,so I spend the first hour or so on the android developers site reading guides,tutorials and stuff.

After that I go to elinux.org to check something out,I go to tool box,so I'm moving the cursor to the link and I notice a small android logo,and I'm all like WTH!!!!

I mean,I've known this site for over two years now since I started using GNU\Linux,and this's the first time I've ever noticed this.

So I go check it out and I find complete tutorials,help,guides,the works,RVERYTHING U NEED TO LEARN.

I've been reading stuff on this portal for over two hours now and I've learned about the kernel,the packages,the original android native build,the stucture of android,....etc

So,most of u might know it (or not),I just wanted to share it with you,so if u haven't checked this out yet,head on to it and see for yourself,cuz trust it when I say u are missing something here.

Here's the site's main pag: http://elinux.org/Main_Page

And the android portal: http://elinux.org/Android_Portal

Thumbs up if u think it's cool.:cool:
[General Questions and Answers] Captainfuzzyface:
I too wish to join the ranks of the android developers. I'm an old VB / C developer so making the switch to Java seems do-able. I'm starting with Eclipse tutorials for now, but more ideas alsways welcome.

Hardest thing so far seems to be the idea for an app... ;)
[General Questions and Answers] droid_does:
check the youtube link I linked in my last 2 posts IIRC

the tutorials by the person are quite good
[General Questions and Answers] Dark3n:
Why do you say that you want to learn java SE? You don't seem to have read or understood all previous posts.

Lets try it with an analogy.

You are the craftsman, you have one bag thats labeled "android sdk" and another bag labeled "java SE". Both bags contain standart tools like a screwdriver or hammer. But they also have tools the other bag doesn't contain.

So why would a craftsman, having the option between those two bags, choose the java SE bag when he wants to go on the job at an android construction site?

Yes it is certainly possible to work with the java SE platform first, but that will loose you time, 6 month is not that much.

The only difference between java SE and android, are function offered by the libraries. Most of the function in the java SE library are included in the android libraries.

You wan't to work on android don't you? So start developing with the android library.

Yes android uses java libraries, but also has it's own functions that are not available in java SE.

As you have been still vague on what you want to do with you knowledge how would i know what you need to learn?

The more the better.

You can skip parts, but then it could happen that you don't know about some concepts or options that are available, start implementing something in a program, only to learn later that there would have been a better solution for the problem.

Yes you should learn how xml works and how it is used by android.

Spend time writting apps and understanding them, not just copy pasting code from google.

This will yield expierence, knowledge of the android libaries and possibly a nice app you can put on the market.

Which could yield some money and is also nice to show if you apply for an android related job.
[General Questions and Answers] speeed_demon47:
Ok,then what do u suggest I do??:(:confused:

I mean,I can't skip learning java,can I?

Just give me a starting point and tell me what I need to do,and just the first three steps or so!!

What do I start with and where to take it from there,u know,steps!!

like:

1-..............

2-..............

3-..............

That would truly make things go a lot faster and easier for both of us,and thanks for baring with me.
[General Questions and Answers] Dark3n:
You still don't grasp the concept of libraries.

It is java, all is java, android,java SE,java ME and so on!

But depending on which platform you are going to work with java,

ANDROID in your case, you will work with the functions and routines available in android.

JAVA is a programming language with a defined syntax how it is used, libraries are tools. Contain already written code, which you can use to more efficiently write your applications because you don't have to write subroutine yourself.

There are some function that the android and java SE library have in common, but the android library has functions that you will never come in contact with if you only learn and work with java SE.

If you want to take courses and no android specific courses are available, java SE courses are the closest you can do.

But just get into, open google, type "android tutorial" and do all tutorials you can find, not just copy paste code, but understand what is happening. If you don't understand something consult google or #android-dev @ irc.freenode.net .

Once you feel comfortable writing something yourself, think of something, like a calculator or a small mp3 player or what ever else and just get into it.

Sooner or later you will learn new techniques and gain expierence as you will have to over come obstacles you might not have faced in tutorials yet.

Thats the way i went.
[General Questions and Answers] speeed_demon47:
Ok,and that's what I'm already doing,I'm using sites like:

http://developer.android.com/index.html

http://elinux.org/Android_Portal

The developers site already has tooooooo many tutorials I haven't finished them all yet,and the elinux.org portal teaches me the basics about the framework and stuff.

And I'm using this site too (found it this morning):

http://www.abelski.com/moodle/

It offers full free courses about android development and software stack.

I still can't find a site to teach me about dalvik VM though I googled,posted on forums,still can't get any help,I already know what it is and what it does,but I don't know how it works.

The problem is the process takes tooooo damn long,and I really barely have enough time to do the tutorials on eclipse and SDK.

So,some questions I hope u answer:

1-How can I learn about the additional function and libraries on android? on the developers site? (There's a whole section for it on the site but I don't know where to start!!:confused:)

2-I'm learning Linux kernel now and I'm making a lot of progress,what else besides java and kernel?

I will follow your advice and try to do as many tutorials as I can,I just want this process to go a bit faster than this,as I've mentioned before I only have 6 months (about 5 months now) to learn all this stuff.
[General Questions and Answers] speeed_demon47:
I forgot to ask,is it better if I learned python first?

It's easy enough and I've read topics say that it's better to start with python if u're new to programming languages.

Is it true?:confused:

And why is it command line only? No GUI or what?
[General Questions and Answers] Dark3n:
You are very confusing.

Why should you learn python if you want to learn java?

What is command line only?
[General Questions and Answers] battila:
If you want to learn C, you can start this:

The C Programming Language

For apps:

Learn Java for Android Development

After that:

Tutorials

And after all, come back and we will give you more. But these are enough for the next 2-4 weeks at least.
[General Questions and Answers] speeed_demon47:
LOL

I bored you,didn't I?

It's because everyone tells me that I should learn python first if I'm new to programming languages.

Being the easiest language to learn.

And command line is the terminal.

like when in windows u run "command" or "cmd",u get the terminal.

I think python is not GUI because when I open it (on ubuntu 11.04),it starts a terminal session "python 2.7".

I guess u use windows,don't you? Try ubuntu or fedora sometime,GNU is much better than windows.

Anyways,I took your advice and I'm doing all tutorial I can,sometimes I have trouble understanding the code and what everything is for,but most of the time it's in the resources section on the developers site

Any other advices,maybe?
[General Questions and Answers] speeed_demon47:
T

Thanks 4 the books,just downloaded both but didn't read them yet.

Just a question,u didn'y buy those books from amazon,did you?

U know that there are thousands of sites where u can just download the books as pdf and read them on ur pc,smartphone or u can even print them and read them.

I think it's stupid to pay 40 dollars for them when u can get them for free.

And I did all those tutorials on the developers site.
[General Questions and Answers] Dark3n:
Yes iam a bit bored, you keep asking the same questions.

If you have 6 month to learn, why would you learn python if you want to learn java? Especially if you have a time limit.

Python is a cool language but you write android apps in java... Which i'm kind of saying for the 10th time now...

I'm telling you android apps are in java and you need to learn java, then you come back and ask: "Can't i learn C# or C++ or Python?"

I know what a command line is, but what you are talking about is the python compiler/interpreter where you would run the python scripts.

You can do the same with java run "javac blub.java" or something like that.

No programming language "is GUI" you have to write a GUI if you want to have one.

Ive got Win7 on my Desktop and Ubuntu11 on my home server.

Each one has its advantages :-).

Thats the right way, when you have some basic knowledge you will learn the most by doing something on your own. As i already said just think of some app and write it. Pick something easy to start with, then make it more complex :-).
[General Questions and Answers] speeed_demon47:
Sorry,man.

I was asking cuz I'm going to learn C after I finish java.

And I meant IDE by saying GUI.

I know I ask stupid questions,but I'm clueless here!!:D

I really appreciate the help u've given so far!

But I'm hung up on something now.

I've started an app of my own and what it does is it controls the broadcasting services for each app (individually or system-wide).

Now,I've created everything the services,the activities,and the works.

But I still can't do the manifest file,I know what everything is for and how to do each syntax,like,I know what <uses-sdk> is for and how to do the syntax for it and I know what <uses-permissions> is for and how to do the syntax for it.

But I don't know which goes first in the manifest file,I searched the developer guide and there's no guide about ordering except for the tree view on the left,I tried but the file debugging resulted errors.

Can u tell me how to put them in order.
[General Questions and Answers] Dark3n:
What IDE do you use?
[General Questions and Answers] XXCoder:
When I coded in java or android, I used eclipse. Dunno if theres any better.
[General Questions and Answers] speeed_demon47:
I use Eclipse,it's the one that the android developers site focuses on the most (as a video on the site suggests)

I don't know if Netbeans is better,but I've never tried it and eclipse is easy and good enough.
[General Questions and Answers] XXCoder:
Yeah I tried netbeans before. Eclipse is quite a bit better.
[General Questions and Answers] speeed_demon47:
I really don't know the difference,I don't have time to try.

Maybe after I get the hang of the is whole thing.
[General Questions and Answers] speeed_demon47:
What's the permission for receiving feedback from the phone's accelerometer (or is it an intent),and if I want to reroute all broadcasts to a certain service is it doable?

What's the code and where to put it (if possible)?

Trying to create an app to control broadcast receivers.

Oh,and can I write apps with the java code only?

I mean,can I do all the work with project-name.java inside src folder?

Can I just skip all the xml files in res\layout and res\values and all other directories?

I've noticed that some tutorials (like the hello tutorials on the developers site) do it both ways and the result is the same.

I know that using the xml files is easier because of the graphical layout,but it's just a question!!
[General Questions and Answers] Dark3n:
Im using eclipse too.

If you open the androidmanifest in eclipse you can pick all permissions out of a list and eclipse will put it in the right position for you.

I don't think you need an extra permission for the accelometer, if it crashes because of missing permission it will that that in the error printed in the log.

I'm not sure about the broadcast receivers, i can look at it later a bit more intensive, but i just googled this.

Yes i think you can create the UI all dynamicly without using xml layout files.
[General Questions and Answers] speeed_demon47:
Ok,but what are the up and down buttons for??

Anyways I'll try to debug without setting anything for the accelerometer (the accelerometer is for a dice game),but so far I've been debugging using AVD,how can I debug using the phone??

I can't fully test the broadcast control app with AVD so far cuz there aren't many apps,and not much broadcast either.

And how can I use openGL ES for 3d acceleration while creating the game UI and activity? Or should I keep that one for later after I get more familiar with the whole process?

Edit: I stopped the development on the broadcast control app,obviously you can get broadcast receiving to be redirected to your apps,but only if other apps allow it.

And the other problem is that after your app receives the broadcast it has to reroute it to all other apps on the system (apparently apps synchronize with each other using content providers and broadcast receivers,and apparently broadcast receivers are more important) so,it's doable but just too much code for me right now.

Still trying to find a way to make use of the 3D acceleration,any advices?
[General Questions and Answers] speeed_demon47:
Dak3n,where are you?

I have just one more question.

In the android architecture showcase (the image that demonstrates the architecture of the platform),the one here: http://developer.android.com/guide/basics/what-is-android.html

The system libraries (the ones in green) are written in C and C++.

So,what if learn C++ only and not C,will I still be able to deal with the source?
[General Questions and Answers] Dark3n:
You should be able to read and understand libraries in C if you learn C++.

But with some experience you should be able to deal with the libraries too if you just learn java and invest some time and brain.

It's not so much the syntax of the written code that differs, but rather some concepts.