How to sync Remote MySQL DB to SQLite on Android?
Jul13

How to sync Remote MySQL DB to SQLite on Android?

In this post, I am going to explain how to sync data present in remote MySQL DB to Android SQLite database. The data present in the remote MySQL DB (or any Database) needs to be synced with SQLite DB in Android in order to maintain the data integrity.

If there is change in remote DB data, it can be synced with Android SQLite DB when User explicitly hits ‘Sync’ button or asynchronously by the application itself (in particular interval) when Internet connectivity is available.

Prerequisite:

You must have knowledge of SQLite before you start creating the application. Have a glance at the below articles which will make you understand much about SQLite

What is SQLite?

Android SQLite CRUD example

Read More
Android Restful Webservice Tutorial – How to call RESTful webservice in Android – Part 3
May27

Android Restful Webservice Tutorial – How to call RESTful webservice in Android – Part 3

In the Android RESTful tutorial series , I am discussing about creating and invoking RESTful webservice in Android applications.

If you are new to RESTful webservice, I would recommend you to take a look at Introduction to RESTful webservice

Read More
How to create android app with movable to sd card feature?
May25

How to create android app with movable to sd card feature?

In this post, I will be discussing how to create Android application that comes with a feature to move it to SD card.

Most Android applications enable the ability for users to choose the application install location (Internal memory or SD card). However, for some applications, this feature doesn’t make as much sense. For example, if you have an app widget, live wallpaper, or other sort of service or utility application (such as a file manager), your application won’t be of any use if the SD card is removed.

Read More
Android Restful Webservice Tutorial – How to create RESTful webservice in Java – Part 2
May11

Android Restful Webservice Tutorial – How to create RESTful webservice in Java – Part 2

In the Android RESTFul tutorial series , I am discussing about creating and invoking RESTful webservice in Android applications.

If you are new to RESTful webservice, I would recommend you to take a look at Introduction to RESTful webservice

Read More
Android Restful Webservice Tutorial – Introduction to RESTful webservice – Part 1
May01

Android Restful Webservice Tutorial – Introduction to RESTful webservice – Part 1

The most buzzing questions among Android developers are:

  1. How to call webservice in Android applications that has been created using Java or Dot Net?
  2. How to invoke RESTful webservice in Android applications?
  3. How to call SOAP webservice in Android applications?

Here in Android Tutorial Blog, we have already discussed lot about using Webservice in Android applications. Take a look at Android Webservice Tutorial to know list of articles we wrote on webservice.

Integrating Android application and Webservice is not that much difficult. We can make it work if we know basics of webservice and the procedure to make webservice call from inside Android applications.

In this post, I will be discussing about creating and invoking RESTful webservice in Android applications.

Read More
How to sync SQLite on Android to MySQL DB?
Apr06

How to sync SQLite on Android to MySQL DB?

In this post, I am going to explain how to sync data present in Android SQLite database to remote MySQL DB. In most of the Android applications, the data present in the local SQLite database will be synced with remote DB in order to perform statistical operations at the server end, maintain backup of the offline data etc.

In such cases, offline data will be synced with remote DB when User explicitly hits ‘Sync’ button or asynchronously by the application itself (in particular interval) when Internet connectivity is available.

Prerequisite:

You must have knowledge of SQLite before you start creating the application. Have a glance at the below articles which will make you understand much about SQLite

What is SQLite?

Android SQLite CRUD example

Read More
How to hide and show Action Bar?
Mar30

How to hide and show Action Bar?

In the previous posts, we discussed how to add Action Bar, handle action items clicks and add Up button. In this post, I will teach you now how to hide and show Action Bar.

In some scenario we need to hide Action Bar to provide more space for User to work on the applications.

Read More
How to add Up button on Action Bar?
Mar30

How to add Up button on Action Bar?

In the previous posts, we discussed how to add Action Bar and handle action items clicks. In this post, I will teach you how to add ‘Up’ or Navigation button on Action Bar.

Navigation button appears along with the icon in the action bar with the caret symbol.

For Ex: GMail Application with ‘Up’ button

Action Bar Up Button

Read More
Page 1 of 1012345678910
x
Subscribe and stay in touch!!

Enter your email and stay on top of things:

Your email address will not be published