Tag Archives: Tools

Creating a Clock Widget in Android with Custom Font.

By | September 10, 2013

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.… Read More »

How to copy a file to another saved in SDCARD in Android?

By | December 30, 2012

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… Read More »

How to store an Image from Android to a SQlite and retrieve it?

By | December 23, 2012

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… Read More »

How to load a spinner with values from SQlite Database in android?

By | November 18, 2012

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… Read More »

How to create a Scrolling Text (marquee) in android using TextView?

By | September 15, 2012

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.

How to sign Android project apk

By | April 1, 2011

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… Read More »