First of all I am very new to Android development so bear with me here. I was wondering if it is possible to access an outside MS Sql Database from an app. I basicly want to pass a value to the database and have it return info. I am very good at the Sql side but i have no idea what i am doing when it comes to Android, so any help would be appreciated.
Related
Hi. I'm currently taking a degree in Computing, and one of the courses is visual programming. Now the lecturer is the person to make me buy my first Android phone (Hero) and from that, I've become hooked, purchasing the Desire and Desire HD. Seeing as we are both large Android nuts, and have managed to convert all par one person in the class to Android, he has chosen for us to program a simple currency converter for Android 2.1-2.2. I have some knowledge of Rom editing etc, but non of programming...
With this, I have searched about, but can only find programs/guides to help with pre-eclair Android, so if any help pointing me into the right direction? I plan to try make the app with eclipse unless I find an easier alternative.
Android developer site has tutorials for 2.2.
You can post your questions either here or stackoverflow later
Yea the android developer site is the first port of call.
Also check out the examples in the SDK - will get you started.
its deadline day coming up, and with all the help with google.developers resources, I have sort of made a program, but cannot finish it off.
A basic currency converter, with 2 activites (main) and (admin - allows changing of rates)
I for some reason cannot implement data storage.
Using the guide here, http://www.vogella.de/articles/Android/article.html, I built my currency converter roughly upon this, but haven't been able to link changes in my currency rates to my formula (USD * 0.64) instead of (USD * inputed currency rate)
Anyone able to point me in the correct way? As i've had several errors with float and read from/write to issues.
This is only for coursework, and will not be put onto the market at all.
And before anyone mentions, this isn't the primary subject on the course...it's an annoying subject needed for the pass.
You need post the code and the actual errors you're getting, otherwise we are just having to guess what your problem is.
Yeah, not sure what you're doing. Sounds like you need an internal database that stores your conversion rates.
Sorry if this is the wrong place to post, but this is my first jump into android app development-
I'm *trying* to develop a cross platform gis data entry solution for editing shapefile/ geo-database polygon (or point) attributes in the field. Network connectivity can only be relied upon before going to, or upon returning from, the field. Is there an android friendly method for using a (any) type of geo-database file? Right now, I'm planning on exporting polygons to a kml/kmz or similar, and separately export the attributes to sqlite for editing. Upon return from the field, the edited sqlite rows can be used to update the (server-side) geo-database attributes.
However, I would eventually like to be able to directly edit the geometry, but am not sure if this means having to write something from scratch to read from a local geodatabase file, or if some sort of *local* android geodatabase solution already exists.
Just trying to get an idea of the initial direction I should be taking, as I have gis programing and database experience, but haven't ever done any native android development.
Any suggestions or links to related references would be appreciated!
Thanks!
-B
QGIS
You may want to check out this link - http://www.qgis.org/wiki/QGIS_Mobile_GSoC_2011
I don't have any connection to that project.
I'll check it out- thanks. I also spoke with esri, and they will be releasing some android products soon, complete with apis. Certainly not ideal or open source, but probably cheaper than developing my own. Gonna keep trying to develop a simple solution for managing and edditing attributes on my own till then.
Sent from my GT-I9000 using XDA Premium App
Hello! overflowers? I'm a beginner android developer and I have developed several apps that use the "basics" of android and java (for college requirements)
Now, I need to develop a new project that consists of making a web app which stores the records of all students from my college and the students will be able to check their records and other information from the college from their android phones.
I have done a lot of stuff with Android but I haven't done anything incluiding web queries, pulling info from a website to display into the device, etc etc.
So I want some advice here and/or tutorials that focus on this.
also, I have some important questions: 1. Can I pull information from the actual website from my college? If so, do I need to recieve some sort of permissions?
2. In case of not being able to pull information from the actual website from my college (for any reason whatsoever, like them not giving me permissions to do this), I could create a website that imitates its behavior, I would appreciate some tutorial or guide which could help me to achieve this.
Your help is very appreciated.
Btw, excuse if I'm breaking a rule here but something is not making sense to me.. the forum title says Q&A but when I mark this as a question it says this is not Q&A. I am aware this might be moved somewhere else but I dont know where.
Granolaa said:
Hello! overflowers? I'm a beginner android developer and I have developed several apps that use the "basics" of android and java (for college requirements)
Now, I need to develop a new project that consists of making a web app which stores the records of all students from my college and the students will be able to check their records and other information from the college from their android phones.
I have done a lot of stuff with Android but I haven't done anything incluiding web queries, pulling info from a website to display into the device, etc etc.
So I want some advice here and/or tutorials that focus on this.
also, I have some important questions: 1. Can I pull information from the actual website from my college? If so, do I need to recieve some sort of permissions?
2. In case of not being able to pull information from the actual website from my college (for any reason whatsoever, like them not giving me permissions to do this), I could create a website that imitates its behavior, I would appreciate some tutorial or guide which could help me to achieve this.
Your help is very appreciated.
Btw, excuse if I'm breaking a rule here but something is not making sense to me.. the forum title says Q&A but when I mark this as a question it says this is not Q&A. I am aware this might be moved somewhere else but I dont know where.
Click to expand...
Click to collapse
I would look into hosting an sqlite3 database on a server, and access it to retrieve the data from within your app.
But the problem is, by default you cannot access an online database on Android, so you'll need to add some kind of RESTful interface, the easiest way probably being a php script which will retrieve the data from the database and return it into a JSON object for example, that you can then pull from within your app.
You'll need to expose some kind of syntax from your php script so that your app can request the data for a specific user (ie row X / column Y).
There's probably a better approach, but this is what comes to my mind.
Hi,
I'm new in Android environment, but I have some experience with Java programming. I want to try some mobile apps, so i started to writing my first game. Everything is ok, but I don't know how to create mechanism like in "maze" Android unlock screen (can't put any link with photo ). I have list of points on screen and I want to give user ability to draw a path between these points. I've heard that there is special listener for this, but I can't find that.
Thanks for your help and sorry for my English
chris_black
chris_black said:
Hi,
I'm new in Android environment, but I have some experience with Java programming. I want to try some mobile apps, so i started to writing my first game. Everything is ok, but I don't know how to create mechanism like in "maze" Android unlock screen (can't put any link with photo ). I have list of points on screen and I want to give user ability to draw a path between these points. I've heard that there is special listener for this, but I can't find that.
Thanks for your help and sorry for my English
chris_black
Click to expand...
Click to collapse
Don't know it at the top of my head either, but checkout the source of this lockpattern library, I'm sure you can find out how they did it
I want to use the screen of android phone/tablet as a remote input device.
I want to get the position of the finger(s) and send that using udp socket to a pc/laptop.
Later I'd also like to add more input possibilities and add the option to send data (text/images) to the phone and displaying that.
I've already created a simple server that receives messages in C++ but my knowledge about java/android development revolves around the hello world program, so I'd need a lot of tips and pointers for this one.
Anyone knows about a good(detailed) tutorial about this?
Perhaps try reposting this in C++ forum? I don't know much about it and I'm sure other may be the same way, especially since we're in the Java section. Although i really like this idea!
Sent from SPH-L710 (using XDA app)