Related
Hey Folks,
I was wondering if anyone knew if it was possible to use Jython instead of plane Java for android development? I don't know much about Java development but I'm with Python. I was figuring that this might ease me into it better. Any thoughts?
Thanks,
-=GB=-
Have you had a look at the Android scripting environment?
http://code.google.com/p/android-scripting/
http://google-opensource.blogspot.com/2009/06/introducing-android-scripting.html
http://code.google.com/p/android-scripting/wiki/PythonAndroidAPI
Regards,
Akshay
Thanks aksd,
I don't know how I didn't find that before. Perhaps I should have just searched for Python and Android as opposed to just Jython and androind.
Anyway, this is very cool for prototyping and simple scripting. However, the main thing I was hoping for was writing apps in Python (via Jython) that could then be distributed on the Marketplace. It's kind of to bad. It doesn't look like anyone is really trying to port Jython to Android because ASE is sort of Google's official response to the whole thing. On the whole, a really great thing for people who just want to script Android but not really for App development.
In all of this searching I did find some interesting information about how to link in C libs so you could code some of the hardcore speed sucking elements in C (like a game engine) and then make calls into it via Java. I didn't know that was even possible so... Pretty cool stuff.
Hey ngrava,
I'm not much into scripts, so dont really follow whats happening with scripting and Android.
If you wanted a bit of a performance gain you can use the NDK and call the JNI to execute native libraries or code. been there for awhile but few use them. Java is just so much easier than C .
Theres a lot of interesting stuff going on on the Android platform, Mono being ported to Android, Scala being ported to Android, I'm actually currently working on profiling the performance of scala code on android.
Regards,
Akshay
On the Google DevFest on Argentina, Google´s ingeneers afirmed that they are working to make more languages availeable on Gingerbread, they specifically mentioned Ruby. We just have to wait to see if this is true and if we are going to be able to ship apps of other languages to the market, and I´m not sure if they will be backwards compatible with earlier versions of android as well.
PD: Oops, sorry for reviving this old post, I just realised i clicked last page instead of next
I'm looking to start my first Android but I'm not sure where to start. I want to make a launcher app. Is that a little over the top for someone who has never written in this language before?
Have you done any programming before?
A little bit of Java not much though and some Python but that doesn't seem to matter much.
Check out this thread I just made:
http://forum.xda-developers.com/showthread.php?t=814908
It could be a valuable experience for you. If we find the right people, you could learn a lot AND still work on a Homescreen-app. I don't now about your current ideas, but I'd be excited to hear them.
Check out Resources in Android Developer website.
You can start with a simple Hello World app, and move on from there.
Hello Android!
There are more examples in the left navigation.
Have fun
Actually Python helps a lot. Try to learn C#, it's structure is very similar to Java but easier to learn.
I am not to sure if this is the correct area for this. But I am wondering how hard it is to make a Android game? This isn't something I want to just jump into, but learn while I am doing it and take my time.
So how challenging is it to someone who has no experience?
Thank You
Do you have any programming experience at all?
If you know languages like C++ or Java you're pretty close already. Android is programmed in Java, and you need to be familiar with Java's memory management to understand what happens behind the scenes since memory is critical on a mobile device. Also you should get some experience with multithreaded programming, since most times you'll need threads to complete tasks without getting the UI stuck.
Android uses a component based architecture that might be a bit unfamiliar in the beginning, since there's no 'main' entrypoint and you have to split your app into 'activities' that talk to each other through 'intents'.
Games present additional challenges, since they often require you to take care of several things involved with graphics and audio, so maybe they're not the ideal first step into programming.
I started programming for my phone on my Touch HD (windows mobile 6.5, using c#). I'd done some java (not a lot, really, and I hated it), some c (a bit, liked it much more) and quite a few script languages.
I have to say, I got into c# with the compact .NET framework VERY easily. It was very straightforwards, nicely syntaxed ... it was just programming as I'd known it. I've made some office apps, one or two games (just for fun, although the apps were meant to be sold ... **** MS for going wp7 and incompatible!; they were solid pieces of software engineering, if I say so myself)
Two weeks ago I got my Desire HD and a few books on programming Android ( O'Reilly, Sam's) and went looking through developer.android.com .
And I have to say, I find it hard! The concepts and how they work together are a bit ... uhm ... distributed. Good software design, but hard on the programmer (and ****ing verbose to actually type in the porgamming! Sheesh!). It took me a while to grok how all these systems are fitting together: to be honest, I'm still trying to make it all jell. All these intents, services, activities, broadcast receivers ... very interesting, but just thinking of the best (or even correct!) way of setting up your porgram is kinda difficult.
But, that's just me, in two weeks time in my spare time. I am getting it now and it is interesting (and, actually, very well set up for what they want android to do/be). c# was just easier, friendlier and faster to get into.
Sorry if this sounds negative: learning a new language isn't EASY, but it is FUN And very informative. If you have a few hours to start off with and then an hour a day, go for it ... but keep in mind there are easier/more straightforwards programming languages/environments than android (or so I think).
I would like to know this too because I got my HTC Wildfire for a few months now and I just rooted my phone yesterday to get into the whole development and modding.
I would like to learn how to make a widget first and then move onto a app/game. My goal would be to know how to create a 2D based side scroller, I would like to recreate "Bio Menace" for the Android. (I have the sprites and maps, now I only need to learn to make it into a game). (Bio Menace was my all-time favorite game when I was a child and I sometimes still play it on dosbox, but I would like to take it with me on transits to work)
I have no experience in Programming at all, I only did graphical stuff (Photoshop, 3DS Max) I know a little html for basic websites, but this was also more in Dreamweaver with the layout to designer.
So I found these books on android, but before I begin to read any of them. Can somebody tell me which book is best to start on first or which book to skip? I also like a video tutorial, but has anybody seen it? Is it any good?
Ebooks
Apress: Beginning Android 2 http://apress.com/book/view/9781430226291
Apress: Pro Android Games http://apress.com/book/view/9781430226475
Apress: Pro Android 2 http://apress.com/book/view/9781430226598
CommonsWare LLC The Busy Coders Guide to Android Development http://commonsware.com/Android/
Sam's Sams Teach Yourself Android Application Development in 24 Hours http://www.amazon.com/Teach-Yourself-Android-Application-Development/dp/0321673352
O'Reilly Media: Building Android Apps with HTML CSS and JavaScript http://oreilly.com/catalog/0636920010067
O'Reilly Media: Hello Android 3rd Edition http://oreilly.com/catalog/9781934356562
Video tutorial
O'Reilly Media: Developing Android Applications with Java, Part 1 http://oreilly.com/catalog/0636920001690
Sorry to threadjack you, but it made no sense to me to start a new thread on the same topic. There really should be an own section for noobs or a good sticky with this kind of information for noobs.
lol Im in the process of learning java right now, basic java though.
Mathods
Interfaces
Static Methods
Im pretty interested in what I need to know for development on the andriod platform. By mid/late spring I should know quite a bit more. Taking an Advanced java course. Current I only know C#, C++, and Visual Basics.
Never worked on a GUI before =(.
Hi guys. I want to develop applications for mobile devices (mostly android). I have several ideas for useful apps. But I know little about programming. In what language do I start? I need tips, please.
AnyoneBR said:
Hi guys. I want to develop applications for mobile devices (mostly android). I have several ideas for useful apps. But I know little about programming. In what language do I start? I need tips, please.
Click to expand...
Click to collapse
It doesn't really matter what approach you take if you're new to programming, as there is no easy method. It will all take time and learning on your part, but can be a great journey if you're truly interested in it.
Since you're starting from scratch, I'd say learn Java as that's the language used for native Android apps. There are alternatives, but that will always be the most sensible approach.
Here's a good place to start, and great for valuable resources further down the line...
http://developer.android.com/training/index.html
Good luck, and have fun
Learning Android
AnyoneBR said:
Hi guys. I want to develop applications for mobile devices (mostly android). I have several ideas for useful apps. But I know little about programming. In what language do I start? I need tips, please.
Click to expand...
Click to collapse
Hi,
Since you are preferring android development, start up with learning Java. There are tons of good books and tutorials available to learn Java.
Learn those concepts and then head over to developers.android.com to start up with android. You might be able to start with it instantly without learning much in Java but you might have a hard time understanding the workaround. So I suggest you learn Java then android development.
For Java:
Books: The complete Reference Java 2 by Herbert Schildt.
Tutorials: You can try , docs.oracle.com/javase/tutorial/java
For Android:
Tutorials and reference: developers.android.com
For books I mainly followed books from wrox publication. But developers.android.com is a great start
Do I need to learn Java to program in Android Studio? Or I can just jump straight into it? If I must learn it, can u guys show me a great way of learning Java? (I have a Pascal basic BTW).
You definitely must. Java is the main language for android development and without knowing it you can't do anything advanced.
To start learning you can use docs.oracle.com/javase/tutorial/. But learning is nothing without practice so start your own project and use Java in it. It's relatively easy language so you can start quickly.
s0nicyouth said:
You definitely must. Java is the main language for android development and without knowing it you can't do anything advanced.
To start learning you can use docs.oracle.com/javase/tutorial/. But learning is nothing without practice so start your own project and use Java in it. It's relatively easy language so you can start quickly.
Click to expand...
Click to collapse
Thanks Brother i was also looking for some tutoral sites....and found nothing for my choice...i have basic knowledge in Java and Codes 2apps also..check my threads but can u plz send me some Video tutoral video for android app development i want to add advanced Features & libraries
ARGHA_DAS said:
Thanks Brother i was also looking for some tutoral sites....and found nothing for my choice...i have basic knowledge in Java and Codes 2apps also..check my threads but can u plz send me some Video tutoral video for android app development i want to add advanced Features & libraries
Click to expand...
Click to collapse
You are welcome. To be honest I don't know any video tutorial and personally I think the best way to learn programming is practice. So just use any Vogella's tutors and code your apps but always try to make them more complex.
Java is important for Android studio
Yes, you need to learn Java properly before visiting android studio.
Because Java is key to do programming in android studio for Android developers.
appninjaz.co.uk/services.html
I learned from a YouTube series called "mybringback" 5 years ago. It's still a good place to start. Also, a great website that interactively teaches you to code is Codecademy.com. They are mainly a web-development website, but recently added java to their courses. It may be worth trying as well.
Root it and boot it!
Current device: Asus ZenFone 2 (Z00AD/ZE551ML)
ROM: Resurrection Remix
Kernel: FlareM
Service: Straight Talk
Check out my apps on Google Play
I have collected many good tutorials for Java and Android here.
Hope it helps
It best to learn Java, but today you can also use Xamarin to develop cross platform apps using .net (Visual Studio 2015).
java is main language to android studio
if you are using android studio, Java is a must. But you don't have to learn core java, you can just jump in to android programming, coz there are lots of different library there.
i would suggest using android studio instead of others, beside they are free, they are directly from google
Yes, java is must in order to develop android apps. Android virtual machine runs java codes. So android apps needs to be in java.
Now a days, there are so many frameworks and tools available which allow you to develop android apps in other languages and convert the apps developed in other languages to java code to deploy and run on android.
I think it is a good idea to directly code in java as you can easily understand concepts involved in android os and develop apps that perform well proving best user experience.. It is not difficult to learn java and android framework to develop android apps.
As others have pointed out, yes you must. However, if you have Pascal/Delphi background, that helps a lot! So loops/ifs/functions are no stranger to you. You "only" need to learn about classes, interfaces and such stuff, not very hard.
Luckily for you, there's literally thousands of Java tutorials, books, videos, anything you can think of. I always like to stick with books from respected authors and/or the language authors. So for Java, I'd go with https://docs.oracle.com/javase/tutorial/java/nutsandbolts/index.html (just an example, there's tens of other valuable books/tutorials).