Want to learn android app development - General Questions and Answers

I am so much interested in Android and app development but the problem is i dont know any of the languages ? is it necessary to learn Java for Android app development ??

kanishk8 said:
I am so much interested in Android and app development but the problem is i dont know any of the languages ? is it necessary to learn Java for Android app development ??
Click to expand...
Click to collapse
In reality learning Java is essential for Android development, as Android apps are primarily written in Java. Alternatively you could look at the Android NDK which allows you to use C/C++ code in your apps. Other possibilities that aren't as straightforward include Python, with PySide or certain HTML5 frameworks that promise cross platform support. Let me know if you still have questions.
Sent from my SCH-I535 using XDA Premium 4 mobile app

Related

[Q] how to convert .java and .class to apk

I have some java projects that i have created and i was wondering how to (if its possible) to create them to apk's and upload them to the market
Help will be appreciated thanks
http://developer.android.com may be helpful to you.
HTC Glacier running CM7 #33
thanks for the link, it is great!
jggimi said:
http://developer.android.com may be helpful to you.
HTC Glacier running CM7 #33
Click to expand...
Click to collapse
thanks but that still doesnt give me an answer lol
thanks for trying tho
What, you mean installing the SDK and importing your classes and whatnot into an Android project, then working up a framework for Activities and Intents -- in other words, creating an Android application -- isn't helpful?
There's a bazillion books and websites and such for Java developers who want to write Android apps.
jggimi said:
What, you mean installing the SDK and importing your classes and whatnot into an Android project, then working up a framework for Activities and Intents -- in other words, creating an Android application -- isn't helpful?
There's a bazillion books and websites and such for Java developers who want to write Android apps.
Click to expand...
Click to collapse
I understand that but I already have written programs in java, but i was just wondering is there a simple way to changing it to apk
ukrainehigh said:
I understand that but I already have written programs in java, but i was just wondering is there a simple way to changing it to apk
Click to expand...
Click to collapse
Hi there! As far as I know, there is no easy our direct easy to port applications from java to android.at least, you must rebuild all the user interface, and you also must add methods to deal with android's applications lifecycle...
Sent from my GT-P1000 using XDA App

Programming & learning on Android.

Hi friends,
I assume that on XDA there are some very talented programmers and might be able to guide me with my queries.
So heres the deal. I'm planning to get my hands on learning c#. But the the catch is I want to learn it on my android tablet. The reason why I want to learn it on an Android tablet? Well I am a Computer graphics artist and want to get into apps and game development for android and ubuntu. AND I have time to learn programming only after my working hrs i.e at home. So I want put my galaxy tab10.1 to a better more productive use. Obviously I will not be developing apps on my tab because I have xeon and i7 systems at my office to do that.
So I did some Google and found this webpage very usefull for all the programming tools on android.
http://android.appstorm.net/roundups/developer/15-apps-for-programming-on-android/
So can anybody recommend or suggest me on how to start with learning programming on Android?
I think this maybe useful to many other new aspiring programmers.
sent from my Xperia S
let me knw if u get anyhting about this programming
:laugh::laugh::laugh::laugh::laugh::laugh::laugh::laugh::good::good::good::good::good::good::good::good::good::good:
let me knw if u get anyhting about this programming
I am not 100% sure but I believe you need to learn Java to make apps for android.
unoo said:
I am not 100% sure but I believe you need to learn Java to make apps for android.
Click to expand...
Click to collapse
The point of this thread is "how one can learn and practice various programming languages on the android device itself"
EDIT: I YouTubed for learning c# and found that to begin with c#, if we are Windows OS then .NET visual studio is required and if we are in Ubuntu OS Google mono is required.
I don't if we may need Google mono in android.
sent from my Xperia S
nostard19 said:
The point of this thread is "how one can learn and practice various programming languages on the android device itself"
EDIT: I YouTubed for learning c# and found that to begin with c#, if we are Windows OS then .NET visual studio is required and if we are in Ubuntu OS Google mono is required.
I don't if we may need Google mono in android.
sent from my Xperia S
Click to expand...
Click to collapse
C# is not a language you can easily code on android, or code android apps in.
If your looking to make programs for ubuntu and android java really is the best way forward, alot of game engines let you build a game in pure java and then easily convert it to a android game
zacthespack said:
C# is not a language you can easily code on android, or code android apps in.
If your looking to make programs for ubuntu and android java really is the best way forward, alot of game engines let you build a game in pure java and then easily convert it to a android game
Click to expand...
Click to collapse
Hey, did you checked out the link in the first post? It has many usefull code editor and tools that can be used on android for programming.
sent from my Xperia S
nostard19 said:
Hey, did you checked out the link in the first post? It has many usefull code editor and tools that can be used on android for programming.
sent from my Xperia S
Click to expand...
Click to collapse
I was under the impression that while you can get IDE's for a range of languages to do coding etc, if you want to actually make android apps Java really is your best bet
General browsing of XDA would have given you this thread - Android Chef Central
zacthespack said:
I was under the impression that while you can get IDE's for a range of languages to do coding etc, if you want to actually make android apps Java really is your best bet
Click to expand...
Click to collapse
Wow man! Just saw your Linux installer.. Killer app. And hats off sir! Im gonna try this on my g tab 10.1. This maybe the ultimate productive tool for me.. Thanks again. Will definitely get the key version.
sent from my Xperia S
nostard19 said:
Wow man! Just saw your Linux installer.. Killer app. And hats off sir! Im gonna try this on my g tab 10.1. This maybe the ultimate productive tool for me.. Thanks again. Will definitely get the key version.
sent from my Xperia S
Click to expand...
Click to collapse
Your welcome yes thats another way round it use my app and program from linux!
XperienceD said:
General browsing of XDA would have given you this thread - Android Chef Central
Click to expand...
Click to collapse
It sounds like he wants to do Android app development/Game development, not ROM development.
For general-purpose app development I would suggest learning Java and the Android SDK. There are numerous books available to help you, for example The Busy Coder's Guide to Android Development. Older editions are free but I would recommend getting the newest one since Android is a fast-developing platform. The Android SDK site is also a good place to start.
For game development you have more options. Corona and Cocos2d-x are both cross platform (can deploy to Android and iOS). Corona code is written in Lua, and Cocos2d-x can be written in C++ or Lua. There are also a lot of other options available if you look around.
I'd still recommend learning some basic Android apps before tackling game development, though.

I want to learn a programming code/language.

I want to learn a programming code/language but I don't know where to start. I know about a code to start learning called lolcode but I don't know if you recommend me to learn it, if it is too easy, or just, stupid.
Maybe html?
I don't know
Learning a fake or un-useful "code" language might not be a great idea.
There are TONS of web-sites and even more books and classes that will teach you things like Java or C++ - start with one of those. I'm assuming you're interested in Android development - but if you're not, you might want to check out what you need to know for what you want to do.
HTML is still useful, and so is CSS - but they're for web development. Great to learn if that's what you want to do - but very different from Java, C++, Python, et cetera.
I recommend u C or C+ as it is the starting point for programming. And if u want t be android dev, a programmer told me to do this:C+ -> Java -> and then android app programming....
Sent from my GT-I9001 using xda app-developers app
kagouro said:
I recommend u C or C+ as it is the starting point for programming. And if u want t be android dev, a programmer told me to do this:C+ -> Java -> and then android app programming....
Sent from my GT-I9001 using xda app-developers app
Click to expand...
Click to collapse
I'd recommend the sane to anyone interested in Android app dev
C++, then Java.
Should be over-kill for your first app.
HTML is a markup language, not a programming language.
C/C++ might be a bad place to start if you have no prior programming experience. Python is a good language for beginners. Once you understand one high-level language, it becomes much easier to pick up on others.
i think it is very hard to learn....
Sent from my Galaxy Nexus using xda premium
pageniao said:
i think it is very hard to learn....
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
It can be hard if the learn technique is not the best.
I would recommend you to start with c then c++ (especially the object oriented part) and then java.
And make little steps, not the whole thing in one part, try to reach after each part a 'successful done' feeling. Sounds probably weird, but I know a lot of people that stopped it because they thought that they can't reach the project target.
I'd start with java, then go on to c or c++.
Also an easy way to start is by learning the syntax and then retype other peoples codes while trying to understand it.
Can't submit links yet, so you'll have to google 'thenewboston'. Check out the tutorials section.
Development
Pennycake said:
Learning a fake or un-useful "code" language might not be a great idea.
There are TONS of web-sites and even more books and classes that will teach you things like Java or C++ - start with one of those. I'm assuming you're interested in Android development - but if you're not, you might want to check out what you need to know for what you want to do.
HTML is still useful, and so is CSS - but they're for web development. Great to learn if that's what you want to do - but very different from Java, C++, Python, et cetera.
Click to expand...
Click to collapse
Is it good to learn those although I'm a beginner? I haven't tried any language yet.
I'm getting interested in the developer's world, so I'm interested in that.
What do you recommend?
Java and C/C++ are definitely coding languages that you will use.
speakerstick said:
Is it good to learn those although I'm a beginner? I haven't tried any language yet.
I'm getting interested in the developer's world, so I'm interested in that.
What do you recommend?
Click to expand...
Click to collapse
The biggest question is "what do you want to do?" . That will determine what you should set about learning. "Developing" is still a pretty big and diverse thing, even if just Android. You can work on Android projects without coding too - someone has to make the websites and do the artwork, et cetera.
Being a beginner isn't a big deal - everyone has to start somewhere. Think about human languages - if your goal is it go to France, speak to French people in their native language, would you start accomplishing that by learning Spanish or Esparanto?
If you want to work on apps on your own, C/++ and Java are what you need to know. Python is good to learn, and useful for non-Android applications, but it's up to you if you want to learn an extra programming language before you can start doing what you want. Personally, I don't think C is any harder - but that's what I started with. It's going to take time, you'll learn how to use the tools you have to solve problems and create new things.
Sent from my SGH-T999 using xda app-developers app
Nope just give it a go. C is a good way to start. Good luck!
pageniao said:
i think it is very hard to learn....
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
Definitely go with Java or C++. You'll be in shape within 3 weeks of good practice.
speakerstick said:
I want to learn a programming code/language but I don't know where to start. I know about a code to start learning called lolcode but I don't know if you recommend me to learn it, if it is too easy, or just, stupid.
Maybe html?
I don't know
Click to expand...
Click to collapse
well if u want a start just for the sake of it den
- BASIC /QBASIC
you wanna be a programmer den
start with
-C /C++/ J2SE
advance with
-VB, .NET, C#
going into web designing and dev
- HTML / PHP/ CSS
advance with
- JSP, Java Flex
Database
- start with MySQL
and den my personal Fav. ORACLE
any versions 10g/11g and upcoming 12c are quite awesome!!
:fingers-crossed::highfive:
You have to start somewhere - so any modern language would be good (though I have to say that personally I'd rather start with something like ruby). The first one is by far the most difficult - after you have that one - adding others is relatively easy.
If you're totally new to programming, I would recommend Scratch it's not exactly a programming language - it's roughly a programming platform to teach programming through fun. After having fun and learning some programming concepts, I would suggest start Java with Android app development. Java is relatively easy to start, and Android app development is very simple to try basic things. You would also be happy to see your code running directly on your phone
http://scratch.mit.edu/
swiserest said:
Can't submit links yet, so you'll have to google 'thenewboston'. Check out the tutorials section.
Click to expand...
Click to collapse
I second this. I'm currently learning how to code Java through this guy's video tutorials. He explains it very well and he has guides for multiple languages.
If you want to do Android Development, you should go ahead with C++ >> JAVA >> Android Programming (Using Eclipse)
It's quite easy. If you want to do web development, you should go ahead with HTML >> XML >> CSS and start building websites using Adobe CS
Like a lot of people have said C is a good starter language
Sent from my SCH-I605 using xda app-developers app

What are the programming languages needed to develop android apps?

What are the programming languages needed to develop android apps and what are the best places to learn them from? I already know I need to know XML and Java but I can't seem to find a Java tutorial and would like to find a source for XML tutorials because I'm not sure if w3 schools will be teaching me the right criteria.
Bump
Bump
Bump
Bump
Bump
Looking for the exact same info. I think the base is Java. But what after that? Is it in any way related to J2ee?
prithvirao17 said:
Looking for the exact same info. I think the base is Java. But what after that? Is it in any way related to J2ee?
Click to expand...
Click to collapse
Hope we get a reply.
Android uses a implemetation of java, running on the Dalvik virtual machine. So, short answer is java. You can use android SDK+Eclipse+ADT (Android SDK bundle you can get on http://developer.android.com/sdk/index.html) or other tools to start from the basics. Some other IDEs are widespread, including some well known, like Embarcadero RAD Studio, InteliJ (which google now uses as base to Android Studio), etc. You can also develop an app with HTML5, and it'll also be suitable, with some minor changes, to run on iOS.
android langs
As mentioned I think Java is primary language.
Xamarin I think lets you build using c#.
Probably a few scripting languages can be used like python and lua.
Can someone please provide a link to the Java tutorial?
Python can be used for all kinds of Android software development. There are UI wrappers that allow XML formatting to run along with Python for events. Of course, it's not the native langauge but it does allow for expansion to utilize Java, C, C++ etc
Check out this site for more info
https://groups.google.com/forum/m/?fromgroups#!forum/android-scripting
Guitarman said:
Python can be used for all kinds of Android software development. There are UI wrappers that allow XML formatting to run along with Python for events. Of course, it's not the native langauge but it does allow for expansion to utilize Java, C, C++ etc
Check out this site for more info
https://groups.google.com/forum/m/?fromgroups#!forum/android-scripting
Click to expand...
Click to collapse
Is there a Java tutorial in that forum?
TimeAndroid said:
Can someone please provide a link to the Java tutorial?
Click to expand...
Click to collapse
Here are the Java Tutorials, which helps you hook up to the language:
http://docs.oracle.com/javase/tutorial/
Also, refer the App Development forums here on XDA, where you can find many other resources based on Android app development. Cheers !!
coolsandie said:
Here are the Java Tutorials, which helps you hook up to the language:
http://docs.oracle.com/javase/tutorial/
Also, refer the App Development forums here on XDA, where you can find many other resources based on Android app development. Cheers !!
Click to expand...
Click to collapse
Thank you. I'll thank you as soon as I am allowed.
Hmm.. Is there a more simple Java tutorial? I don't understand the vocabulary used in it. I'm sorry. :/
Try this one. He's pretty thourough in what is covered.
http://www.youtube.com/watch?v=fEApt1B8ycs
Sent from my YP-G1 using xda app-developers app
---------- Post added at 02:51 AM ---------- Previous post was at 02:51 AM ----------
L
Sent from my YP-G1 using xda app-developers app
obscuresword said:
Try this one. He's pretty thourough in what is covered.
http://www.youtube.com/watch?v=fEApt1B8ycs
Sent from my YP-G1 using xda app-developers app
---------- Post added at 02:51 AM ---------- Previous post was at 02:51 AM ----------
L
Sent from my YP-G1 using xda app-developers app
Click to expand...
Click to collapse
Thanks, I'll thank after it lets me.
If you don't know how to write source code I strongly suggest you to learn the inner logics first. Structured programming and object oriented programming to learn how software is written and after that deepen into the programming language you like most. Java is pretty useful and powerful, even outside android. Ruby and python are awesomely easy, lightweight, fast (in my tests both had loading/running times comparable to compiled C code) and dynamic, specially if you're developing for the Web, but I never used in quite that context.
Enviado de meu GT-I9300 usando o Tapatalk 2
cinzacm said:
If you don't know how to write source code I strongly suggest you to learn the inner logics first. Structured programming and object oriented programming to learn how software is written and after that deepen into the programming language you like most. Java is pretty useful and powerful, even outside android. Ruby and python are awesomely easy, lightweight, fast (in my tests both had loading/running times comparable to compiled C code) and dynamic, specially if you're developing for the Web, but I never used in quite that context.
Enviado de meu GT-I9300 usando o Tapatalk 2
Click to expand...
Click to collapse
Where do I learn the "inner logics"?

How to become a developer?

I would like to become a developer. Obviously, that means learning code, but which one? Also, I don't have a PC with Linux OS, so will that be any problem? What tutorials or ebooks or stuff like that do you recommend to start me learning?
King-V said:
I would like to become a developer. Obviously, that means learning code, but which one? Also, I don't have a PC with Linux OS, so will that be any problem? What tutorials or ebooks or stuff like that do you recommend to start me learning?
Click to expand...
Click to collapse
Yes, that's right. To become a developer means learning to write code and apply those while creating a software.
Question on which one? is completely upto you because you need to know what are you aiming for. If you're looking for web application development, you may have to study any languages like PHP, DotNet, Java - J2EE/EJB etc.
If you're looking for Android application development, first step is to study Java, because its the main language used for programming apps. Then you can move over to Tutorials on Android development, and it will be easy. If its iOS app/ Mac specific app development, Objective C it is.
Not having PC with Linux OS won't be any problem, because you can do these in Windows platforms or in a Mac.
Tutorials = Google my friend. It has almost everything in the universe. Also in Youtube, you get the video tutorials.
Some which I could recommend is, for Java Oracle docs is good and "Java - The Complete reference" by Herbert Schildt is a good book too. For Android, you can find all resources in the App development forums.
You can try out the freepascal with a good IDE (codetyphoon), simple to make windows or linux graphical apps, or the visual studio express with c#.
coolsandie said:
Yes, that's right. To become a developer means learning to write code and apply those while creating a software.
Question on which one? is completely upto you because you need to know what are you aiming for. If you're looking for web application development, you may have to study any languages like PHP, DotNet, Java - J2EE/EJB etc.
If you're looking for Android application development, first step is to study Java, because its the main language used for programming apps. Then you can move over to Tutorials on Android development, and it will be easy. If its iOS app/ Mac specific app development, Objective C it is.
Not having PC with Linux OS won't be any problem, because you can do these in Windows platforms or in a Mac.
Tutorials = Google my friend. It has almost everything in the universe. Also in Youtube, you get the video tutorials.
Some which I could recommend is, for Java Oracle docs is good and "Java - The Complete reference" by Herbert Schildt is a good book too. For Android, you can find all resources in the App development forums.
Click to expand...
Click to collapse
Thanks a lot. That surely will get me started.
Also, if you wouldn't mind, I'd add that green glowing gif of your signature to mine.
King-V said:
Thanks a lot. That surely will get me started.
Also, if you wouldn't mind, I'd add that green glowing gif of your signature to mine.
Click to expand...
Click to collapse
Sure, I wouldn't mind. :good:
Start Android Application Development
Hii..
If You Want to become android Developer best video tutorial series on Internet Is
Link
http://youtube.com/playlist?list=SP2F07DBCDCC01493A&hl=en-GB&gl=IN&client=mv-google&guid=
And Android ADT is ready made available on their website just download and start developing android apps.
Link: Android ADT
http://developer.android.com/tools/index.html
Best Of Luck....
Press Thanks Button ( Left corner of this post ) if I helped You
Sent from my GT-S6102 using xda app-developers app

Categories

Resources