Android Studio - Simple app template connecting to SQL database - java

I am currently in the early stages of learning Java and have written a simple app, however I would like a login/register activity via a database but I just can't figure it out. I have followed some tutorials but have not got one to work yet.
Does anyone know of a good working tutorial or downloadable project or even have a template they have written or used before?
Would really appreciate some help
Many thanks
Adrian

Related

Where to start with Android module development with Appcelerator and Titanium

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.

How to put Unity webapp on Google app engine

I have completed an mini game by unity, named "penguins_test".
I have exported 2 files:
penguins_test.html
penguins_test.unity3d
And now, I want to use Google App Engine service to host as a server.
So user can go to website like, "http://penguins_test.appspot.com", to play the game.
However, I am new with the service and the user interface look very complicated.
Can anyone help me to achieve the goal?
Or any online tutorial can teach me to do this?
I prefer to use php or python as the web programming language, or java can be an alternative if it can help to solve the problem.
Please help! Thanks
To run your application on App Engine,first you have to download the Google AppEngine SDK to your local machine and before that to need to register your self with App Engine. Go through to the link [1]. You can create your application in Python, Java, Php and GO. But I prefer to go through Python or Java. You can find the tutorials on links [2][3].
You just follow the docs, and I hope you will be able to deploy you application on appspot.com. Also refer to the pricing of the Instances you will run on Google Cloud [4].
[1] https://cloud.google.com/appengine/docs
[2] Python: https://cloud.google.com/appengine/docs/python/gettingstartedpython27/introduction
[3] Java: https://cloud.google.com/appengine/docs/java/gettingstarted/introduction
[4] Google Pricing: https://cloud.google.com/pricing/
There was a very similar question asked on the unity forums (link attached ) . Hope it answers your question!

Google App Engine - Early Look at Java Language Support tutorial

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/

Google charts and database - what to learn in java for this?

recently i discovered Google Charts and it will be very good tool for me. I'd like to create web application, so i started learning java and java servlets (JSP), and also start reading about Spring. But.. this variety of frameworks, servlets and all stuff related to creating web app is difficult to understand for me..
My goal is web application with charts with values from my Firebird's database.
I'm programming in Eclipse.
I've noticed that on stackoverflow are few topics about database and google charts, but i'd like that somebody could show me way of achieving my goal, without learning everything about java.
If you are using Google Chart, its just a URL you are generating for your JSP. You don't have to learn anything special, other than how Google charts works. If you are using a database you may need to learn JDBC or a database framework.

Going from Java desktop programming to Android Application Developement

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.

Categories

Resources