im starting in a second level of android programation and i want to get some advice and answer about first steps to do my applicaction.
My application needs to put some information in DB (mysql) from the terminal and any other terminal can get these consulting the DB... so i understand i need a BD (mysql) and a webservice to offer the procedures to insert and get data from BD.
I already code the android program and now i need only to upload the information to the BD.
There are my questions for anyone who have some experience and maybe can advice me.
i need a BD like mysql (it's ok??)
to test i installed tomcat 7.0 (it's ok??)
what more i need to do this? i want to do in java, so i need some libraries? other programas? im really lost
I know i ask for alotof things... but if someone know about some tutorial that i can follow to learn, i apreciate it
thank so much!
In java you can find a lot of libraries which can give a solution.I also tried this by using libraries "Ksop" and "json"
You can check Here and Here.Think this will help you.
Related
I'm a liferay beginner and I've been at it for weeks now, but still I'm finding liferay a little hard to use...... especially because of the constraints I'm faced with,, If it's possible can you lend me some of your opinion on my situation?,,,,, to make the story short here it is
I need to make forms using dynamic data list(DDL) first....
After I made the whole site, I'd need to import data into it.. of course those data would have to be viewed using the pre-made DDLs.... this is my problem...
I mean it's really easy to make forms using DDL,,, but after that I need to still make the migrated information viewable and editable in those DDL's
What do you think the right steps should be,, please enlighten me... :(
oh aside from that, I made the DDLs in WCM,,,, how do I approach this problem of mine,, please help
PS the migration I did in eclipse using service builder,,, but the DDLs on the WCM.....
I was searching through internet but I didn't get complete answer, so i'm asking here. What ways can we use to store data in the internet and get it to Android application? I know about JSON, XML Parsing or frameworks like Parse.com etc. but are there any other ways?
Thanks in advance, it would help me a lot.
It's hard to see which option is best since the requirement is not clear.
For instance, how big is the data you want to access? How frequently?
If you just want to make it works now. An easy way I know is to integrate with AmazonS3 server who also provides a lib for client to integration.
You don't need know the detail of the transition, just put the path.
http://aws.amazon.com/s3/
By the way, for personal user, it's free.
I am trying to create my own authentication system that connects from a Java program to MySQL database or to a PHP page that accesses the MySQL page. The Java program would check to see if the user is in the database and if it is, it would determine the list of features to display. I am currently trying to work on something simple, then work my way up.
I have searched on Google, but there are quite a few things out there; I wasn't sure which was the best way to go about doing this and what technologies to use from what I saw. I was wondering if anyone had any recommendations on how I should go about doing this or if they had an document, article, blog, etc that I could use to learn more about this.
Try Apache Shiro, its well documented and you can configure it with mysql(jdbc) database http://shiro.apache.org/
By any chance, is there anyone who can help me? As currently I am doing my major project, and also a beginner in android and java. I am doing the login function for my project. I took
reference from here. However, one problem that I am facing now is I do not know how to grab the details (name and email column) from the database and display out these two information. Is there any guide on how to grab the information and display it out after the user have log in? Thank you very much.
1. Try using SQLite DataBase, which ships with Android.
2. Its simply a file with NO DATABASE SERVER.
3. This DB can be as small in size as 250KB.
For a quick and easy example see here:
http://android-er.blogspot.in/2011/06/simple-example-using-androids-sqlite_02.html
For understanding the queries look here:
http://mobile.tutsplus.com/tutorials/android/android-sqlite/
http://www.vogella.com/articles/AndroidSQLite/article.html
I just started learning Java, and I have no idea how it works. The programming language I learned before this was PHP.
My question is, how do I use Java on my website? I created a .java file and it showed up like this (it showed the script): http://cpcheats.co/java/learning/index.java
I'm guessing I need to upload java onto my web server. If I do, can you please tell me where to download it, and where to upload it? If I don't need to download Java, can you please tell me how to use it on my website? Thanks.
I'm guessing I need to upload java onto my web server.
Ok....
Go to a bookstore/library and buy/borrow a book on Java. Spend a weekend on it and when you have a programming question, please post it here and many of us here will try to help you.
Well, what you need first is to understand the basic concept of java, and of a java web application (java on the server). You need to follow a course and this is not the place to write a java getting started, because this already exist.
I suggest that you read this:
http://docs.oracle.com/javase/tutorial/getStarted/
http://docs.oracle.com/javaee/1.4/tutorial/doc/WebApp.html
After a couple of hours you should have a better understanding of what java is and what you can do with it.