I am new to developing anything and want to make an Iphone like spinner that pulls information from database and return info contained in database
I have checked all the spinners out on How can we create iPhone-like spinners in android? and like the I phone one it is based of off javascript and html
want my database to be similar to this
http://www.portlandbolt.com/technicalinformation/bolt-torque-chart.html
any ideas on how to accomplish this or code snippets that would help.
I am also having problems setting up a database I am using Eclipse Helios and have been unable to install dbEdit and jdbc drivers tried many tutorials but no luck, would it be better to try a different IDE like netbeans?
Forget about JDBC when programming for Android. Take a look at the notepad tutorial, for a decent introduction to using a database from an Android app.
For a good looking spinner, take a look at http://code.google.com/p/android-wheel/
I recommend that you use the standard Eclipse tooling, as it works well (in my experience), and it has a lot of community support.
Related
i'm beginner in xamarin projects. I want to get data from my sql database and show them in a listview or gridview. First of all will i use sqlLite for doing this. And second is there any easy tutorial which expains how will i do this?
The best way to learn Xamarin is running samples (and deploy them to devices or simulator) from Github in Xamarin Studio or Visual Studio. Given that it's not recommended to paste Github links, you can visit Github and search form Xamarin. I don't know what platform you want to develop for. I recommend Xamarin-forms. And there's a sample for SQLite (a to-do app).
check this out.this may help you
http://www.codeproject.com/Articles/1090451/Xamarin-Android-App-Using-SQLite-and-Custom-List
I want to make a dictionary app in android. What would be the preferred and efficient database for storing word-meanings list ? I am a novice programmer, any help would be great.
Thanks.
Android has builtin SQLite support that you can use in your application. I see that there is a sample project called Searchable Dictionary that looks quite similar to what you are trying to achieve, so maybe you can use that as guide.
Since it is a mobile environment something quite small seems to be a better option.
use sqlite3 or xmlsimple java library.
http://simple.sourceforge.net/
http://www.sqlite.org/
I am going to make my first app for android (no fear it's just a school project and won't be another useless app in the market :>).
So, before starting this task I did some tutorials, one of these (and which I thought would be very useful, because of the sqlite part) was the Notepad Tutorial. While working through it I saw it was originally designed for Android 1.8 or something (certainly it still worked on my android 4.1).
What I'm really wondering now is:
Is this code still "state of the art" in android programming (especially sqlite, but also the rest :) or is it "deprecated"? If so, can you point me to something newer and better?
Thank you.
SQLite is definitely still the database available by default on every Android device. Also, the basics covered in this tutorial still apply to any Android version. Of course, every new version of the OS also provides new possibilities as to which controls you can use or other new APIs, but for very simple applications, this tutorial is still valid.
I skimmed the article; most of its content seem to be valid for Android 4.x.
Although I don't think the tutorial mention fragments anywhere : they were introduced with Android 3.0.
I think that an important exercise after this tutorial is to read the fragment documentation; have a look at some samples (like the gallery app) and rewrite the notepad in order to use fragments.
You will have to use the Support Library in order to use fragments if the minimum version of Android supported by your app is inferior to Android 3.0 but I think it is also an interesting exercise.
A little tip : many beginners (and experienced devs also :) ) mistakes come from adding a new element in an app but forgetting to declare it in the manifest.xml.
I am new to Android but not to programming. I have taken C++ in school and we have been taught how to create objects, but not how to build robust programs using multiple objects. So you can see that using java to build Android apps leaves me with questions.....
thinking like an object oriented programmer, do i just shop through a list of classes until i find ones that i think would suite my app
is there a definite method of choosing the best classes for your project
do i find an app similar to the one i am trying to create and try to find what classes they used
any thoughts appreciated!!!!!!
The best way to learn (for me, at least) is by making small incremental changes to an example so I can how all the various elements of it work.
Download the examples (listed here) - but accessible from your AVD and SDK manager tool from within Eclipse (Window -> Android SDK and AVD Manager).
Start by modifying those examples. They are the best possible examples you can get for much of what you will want to do.
I'd recommend you start with Tutorials and also read about Application Fundamentals - they should get you started. Also browsing Classes is useful if you like wading through lots of technical docs (I do). Those three links are definitely worth looking at.
Well first when building Android applications you need to:
Figure out what your application will be, and how it would work.
Next you would need to find out how you will implement the android classes.
i would recommend first reading a book on Android development. One that really helped me and made me an advance developer was CommonsWare
You should really get these books. When you finish you will be well on your way.
I am currently starting to create an app for a small charity company. But I'm not entirely sure how to properly learn how to code for the Android OS. I have searched online for tutorials, but most stop at the same stage and only show you how to launch the "helloWorld" app.
My question is this:
1) Will using solely XML be sufficient to code an app? Does it require working in partnership with Java?
2) Does anyone know of any books, recommended books of course, that break everything down for you step-by-step?
Android Developer site very good to give you all ideas. Start from Hello, World
1.) Not at all. XML is ONLY used for the layouts.
2.) There are a few books out there that I'm sure someone will come along and recommend, but I've found the tutorials here to be the best start.
In your case, I'd look at AppInventor which allows you to create small Apps without coding (at least that's what it says, haven't used it yet myself)
1) No, you can use XML for interface, but you can't write an Android app in XML :) You are not required to work with Java, but Android language is based on Java, so knowing Java is an advantage while learning to code.
2) Did you installed Eclipse and the plugin for Android?
The Android Training is pretty useful, and I've learnt a lot from the tutorials and the sample code provided there. (The Notepad app is way more complex than the Hello World tutorial ;)!).
Also, take a look at the answers on that question: How can I learn Android?