I'm fairly new to Appcelerator and Titanium and I want to start with developing Android modules but I have no clue where to start to be honest. I know there is a guide within the documentation of Appcelerator but that is not as detailed as I'd liked it to be and it feels somewhat out dated. I've struggled for days trying to get through the quick start without ever succeeding as a error occurred which I wasn't able to solve. There is another question just like this from 2011 where someone said it was best to just learn by reading code, but I don't understand the code at all or at least not the Kroll part of it. I've also read several blogs and tutorials but none give me any form of progress whatsoever.
So to keep it short, I'll get straight to the point.
Is there anyone who has any extra information or a detailed guide on how to start developing Android modules with Appcelerator and Titanium?
You have my thanks!
Take a look at this: http://docs.appcelerator.com/platform/latest/#!/guide/Android_Module_Development_Guide
The online docs are really the best source.
Related
I'd like to have advertisements in an android App I've written and built using PGS4A. I've done my research and all, but there doesn't seem to be any online resources that explains how to do that just yet. I haven't much knowledge on Java either, which is clearly why I've written that in Python. Has anyone found a way to achieve that? If not, how difficult would it be to convert the project files into an Android Studio (or even an Eclipse) project? (so then one can just implement the ads following the Java Admob documentation found everywhere)
Thank you in advance.
To access Java already implemented version you can use pyjnius. I tried to use it for something else and I didn't succeed. Well, I yielded pretty quickly because it wasn't necessary for my project.
Otherwise, I am afraid, you will have to implement it yourself from scratch.
I never heard about a finished solution for your problem.
If you succeeded to use PGU, it wouldn't be so hard.
If not, well, I wish you luck, and put your solution online for others.
There is an Eclipse plug-in for Python. I think that Android studio does not support PGS4A. Never needed it. Console is the queen.
Recently I have started playing with google app engine and eclipse trying to create a simple java app. The problem is that the "guestbook" example given today in the official GAE website is is slightly different, more complicated and I struggle to remake the example on this video which you most probably already have seen:
http://www.youtube.com/watch?v=P3GT4-m_6RQ
If anyone have seen this code on some other website or know any other resources such as books, journals, articles, etc. that will help me to recreate the example on my own, this would be much appreciated.
This is the best for any beginner.
https://developers.google.com/appengine/docs/java/gettingstarted/
I know similar questions have been asked before but i think this is slightly different. for about a year Ive been learning Java. I have been building a few applications on the desktop using my-eclipse and swing GUI. Now i want to start programming for the android. I understand how to do what i want in Java but it all seems very different on android. Does anyone know of any good tutorials or videos out there with step by step instructions showing examples of android applications so that i can learn and build off of them? Most of my programs are simple and for the most part i just need to understand how to interact with the interface (IE the buttons, label or text views i think they call them and so on). I've searched all day and I cant find anything good.
I found this quite use full apart from the tutorials from the developers site.
If you are looking for advanced tutorials , you can try here.
for the most part , once you are trying a specific application , a google search could get you a relevant tutorial.
goodluck.
ps. It helps to read dev guide before you begin to write programs for android.
You should have a look at the Android API demos. They include a lot of simple examples which access special problems/tasks.
A more complex 'productive' application is the Android app for the I/O conference. It's Open Source - so you can have a look 'inside'.
the Android developers site has a great dev guide and tutorials to try out. the dev guide can be found here. The tutorials can be found here.
I highly recommend "Android Programming Tutorials" by Mark Murphy - http://commonsware.com/AndTutorials/. I found the step-by-step tutorials to be very helpful, and it does focus on teaching Android development rather than Java.
I have a general old-fashioned phone that has no special app system and uses Java (I assume ME) for the few applications you can use on it.
This is still a decent userbase and I'd like to start programming for this type of phone. I already know basic Java theory and syntax, so.. where do I get started for programming for non-smartphones?
Best programming environment for Java ME IMO is Eclipse with EclipseME. Includes lots of built-in stuff about packaging your midlets etc. The SonyEricsson wireless toolkit is great for PC-based testing and debugging, but don't forget on-device testing!
If you don't know much about Java ME's lifecycle, then get reading as widely as you can, and try lots and lots of examples. Start with the JSR-118 (MIDP2) javadocs; you'll want these open on your desktop at all times while coding.
Don't waste too much time with the form-based user-interface; I recommend either rolling your own using Canvas, or read about LWUIT.
You can do all sorts in Java ME and target a very broad range of handsets. HTTP capability is guaranteed, so you can hook up to a public web service, or create your own using something like Google Appengine.
Finally, you can release your app very easily on somewhere like Get Jar. Don't be put off by those who say "no owners of Java ME handsets want apps", you'll find the most popular user bases on this site will be users in countries such as India and Indonesia.
Good luck!
I would start with a book on J2ME and work from there.
Try Beginning J2ME: From Novice to Professional.
You could also download the J2ME SDK and play around with the example they give.
For tutorials have a look at the stackoverflow question https://stackoverflow.com/questions/584923/do-you-know-a-good-j2me-tutorial as mention in my comment.
I started with writing simple Flashlight application (choose how much seconds screen will remain lit) in NetBeans ME. And other app which I mange was Countdown with some graphics and sound. After that I found limitations too much annoying and now I'm waiting for my Android phone.
in short:
If you want to try it out - you don't need to buy books. There are plenty of tutorials around.
But, if you want to start deep development - don't waste time.
I've got one of those newfangled Android phones and want to do some app development for it and am looking for guides. I haven't really found anything that looks promising for both an Android newbie and a Java newbie though. I know PHP and code in it professionally as well as a basic smattering of some other languages so any 'for dummies' resource is probably not for me.
Are there any advisable books, resource sites or tutorials that focus on both these aspects (rather than one or the other) that assume you know nothing but not treat you like an idiot?
Thanks.
First of all, start with Google's own documentation. Its basic but a good start.
http://developer.android.com/guide/topics/fundamentals.html
Then you may wish to progress via various books.
I would recommend the set of books written by a Mark Murphy who is a regular on stack overflow. They are digital downloads and are kept up to date. Checkout http://commonsware.com/
For Java, since you already understand programming, I would recommend Sun's tutorial
http://java.sun.com/docs/books/tutorial/
For Android I agree with Tom but also recommend the notepad tutorial:
http://developer.android.com/guide/tutorials/notepad/index.html
I'm also in the same boat, except I'm a .net developer trying to pick up Android. The best place to start seems to be the Google getting started. I've not found any other large resources for Android, but IBM have a couple of good articles, particularly this run-down on working with XML with Android.
http://www.ibm.com/developerworks/opensource/library/x-android/index.html#download
Also, here's an excellent book with some great examples:
http://www.amazon.com/Android-Wireless-Application-Development-Conder/dp/0321627091