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.
Just Simple Info
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.
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.
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.
Android Send Email
CakePhp Pagination Issue with Group by Solution
It is easy to use in Cakephp it built in pagination in a simple way. But if you will try to use Group By keyword in querying your data. The pagination will return unexpected result. I have notice that the total number of data count is not correct. I Google about this issue, read a blogs and try to run all recommended solution and luckily I found a working one.
Android Upload File To Server With Data
![]() |
| Upload file to server with data and progress bar |
Uploading file to server is one of my worst task. Searching, testing and searching, testing and again and again. I spent a lot of time just to upload the image to server. After a day, lucky I uploaded my first file to server. What I done is, I convert bitmap to byte[] then convert to Base64String then send to server as POST. But the size of original size increase which is not good. It consume extra bandwidth and time of uploading.
Android Use Sqlite Database Example
Almost all android application need database for storing data like username, password and other. Now we are going to write simple code on how to INSERT, UPDATE, DELETE and RETRIEVE data from database. The most popular database on mobile is the SqliteDatabase. So, this database we will going to used in this example.
Subscribe to:
Posts (Atom)

