Just Simple Info

Pages

Speed up Large Data Insertion in Sqlite Database in Android Application


Speed up large data insertion in sqlite database in android application

In my android project I need to insert large data in sqlite database. Inserting 20000 lines of data using ContentValues is not a good idea in term of speed of insertion. It's take more than a minute.

Android Calling Javascript function from Java function and Javascript function to Java function in Webview.

Good day coders..

I will share a simple code snippet on how to call Javascript function from android Java function and
Javascript function to android Java function in webview.

Actually it is easy to implement this such function. I think the hardest thing in this is, It's hard to debug. If you have error in javascript the logcat will not show any error it will not just worked.
So, you have to guess what is/are the possible error in the code.

Android Scrolling Table with Fixed Header Column, Fixed Row , Header Spans and Pagination

Hello coders, I will share another android code.

Sometimes programmer need to customize the layout of application they are developing.
Like what I have experienced a couple month in developing android application.

I need to develop android table with fixed header column and fixed row.
Android has Table kind of element but it just a table like in Html, no fixed header and row.
Search... search... search and search, but there is nothing such table with fixed header column and fixed row.

I figured out that, that I have to do it by my self.


Watch the actual result.


Android get Latitude, Longitude and Location Accuracy using Gps and Network.

Hello Friends, every android phone has ability to get your current location via Gps or Network.
This post is simple yet effective to get your current location using Gps and Network.

Gps provide the most accurate coordinates not like network but sometimes network does.
By the way, android also give as  how possible far we are in given position.
It's called the Accuracy. The smallest number of accuracy the most accurate location.