user535335
user535335

Reputation:

How easy/difficult it is to create app to send text field to sql for Android?

I have basic knowledge of Java but have never developed for Android. A friend asked me for an app that seems easy enough to develop but I would need some help for Android. All the app needs to do is send a text field (for example license plate number) to a predetermined SQL Server database. Is this easy in Android as it sounds?

Thanks in advance. Cheers. Darko.

Upvotes: 1

Views: 193

Answers (3)

jbranchaud
jbranchaud

Reputation: 6087

It sounds like you want the license plate information stored in a separate server, but if you also wanted to store some information on the device itself there is a simple Notepad tutorial provided by the Android Developers site that explains how to setup and utilize an SQLite database on the device. This by no means would replace the functionality of a server, but is another Android feature that is at your disposal.

Upvotes: 0

Kallja
Kallja

Reputation: 5472

If you're familiar with using databases from Java the task is very simple. Just write the code that sends a string to a database. The exact same code you would use on a desktop Java application will do.

The rest is a matter of defining your user interface and obtaining the string. There is a good basic tutorial you can use on the Android developers web site: http://developer.android.com/guide/tutorials/notepad/index.html.

The number of code lines in the whole application will be in the range of a couple of dozens.

Upvotes: 1

jsadfeew
jsadfeew

Reputation: 2297

That should be easy, but does it need to be a full-blown Android application for that? Sounds like a simple webpage with an input-field and a submit button would do the job as well.

Upvotes: 1

Related Questions