Hi all if you have been a regular visitor of this website you have seen that I have shown you how to create a simple widget, adding controls to it, adding event handlers in the views etc… Do check this website for more tutorials on widgets. You can find other tutorials by following this LINK. This tutorial is… Read More »
Hello all… This tutorial explains how to copy a file contents to another in Android. The file to copy is saved in SDCARD, however you can change the path to save it in your application sandbox. if you want to save it in your sandbox, change the path to /data/data/your_packagename/your_file.extension Now we will see the layout for the… Read More »
Hello all… In today’s post I will show you how to store an image in an SQLite database and retrieve it. First I will just create a Database Helper Class for adding and reading from the Database. Our Database contains only one table “Images” with two columns “id” and “image”. Note : If you want to see the… Read More »
Here is a simple example showing how to load a database values in a spinner in android. OK we will start. This is the layout for the spinner row. spinner_row.xml This is the layout for the interface. activity_main.xml Now this is the MainActivity.java file that uses the spinner and the database. Join the Forum discussion on this post… Read More »
We will go straight to the code. This is the layout containing the EditText and the Button.
OK At first we will create the XML that contains a TextView. marqueetext.xml Now the java code Note : The XMl alone will not create the marquee. For that the most important thing is to do this in java code. Now run the project and see the result.
Here are the simple steps to sign an android apk and publish it to the android market if you have an android developer account. Follow these steps exactly 1. Right click your project in eclipse and Click Android tools – > export unsigned apk. Give it a name and save it in a directory. 2. Go to command… Read More »
This is a very tricky part and initially i was also ran in to strange problems . Before uploading to android market you must do the following steps. Create a Certificate Signing your application apk Finally Zip align the signed apk First the application you created should be converted to apk format. For this if you are using… Read More »