How to bind Javascript code to Android code?

In this post, I will walk you through an interesting topic on how to bind Javascript code to Android code that means you can call Android code from inside Javascript function.

Sounds interesting??

Prerequisite:

You must have the knowledge of Android Webview to understand Android Javascript binding. If you are new to Android Webview I would recommend you to take a look at Android WebView Layout

When developing a web application that’s designed specifically for the WebView in your Android application, you can create interfaces between your JavaScript code and client-side Android code. For example, your JavaScript code can call a method in your Android code to display a Dialog, instead of using JavaScript’s alert() function.

Read More

Binding JavaScript and Android Code – Example

When developing a web application that’s designed specifically for the WebView in your Android application, you can create interfaces between your JavaScript code and client-side Android code. For example, your JavaScript code can call a method in your Android code to display a Dialog, instead of using JavaScript’s alert() function.

In this post we are going to develop simple Android application to demonstrate how to bridge Javascript and Android code.

Prerequisite

You must have the knowledge of binding Android and Javascript code before you proceed with developing application. If you are new to Android and Javascript code binding, take a look at How to bind Javascript code to Android code?.

Read More

Android JSON Parsing Tutorial – Using AQuery

I hope you folks understood how easy it is to develop Android application with AQuery library in handling image loading, making asynchronous call and lot more from my previous posts. If not take a look at the below posts and they are prerequisite to develop the Application which I am going to teach you in this post.

Introduction to AQuery – Android Query
AQuery Button Listener
AQuery AJAX Callback
AQuery Image Loading

It’s time to explore the other most wonderful feature of AQuery and that is ‘Asynchronous Network Calls’ to download JSON from remote server. In this post we will be developing simple application to demonstrate how to download JSON from Internet and render it over UI after parsing it. I already wrote a separate article – Android JSON Web Service Tutorial on how to make Asynchronous call to download JSON from Network using Android Dot Net Webservice combo.

Read More

Multi-platform mobile app development

Multi-platform mobile app development: The need of an hour for developers

multi_platform_mobile_app_development1
Multi-platform mobile app development is worth bothersome. In contrast to this, it is also well-known fact that each mobile app development platform bequeaths unique and ultimate features, behavior as well as capabilities. However, the latest and very popular thing is the multi-platform apps, so being a developer; you have to discover the various solutions in order to craft the best and outstanding cross-formatted apps without making all the resources void for developing the very few platforms at a time.

Read More

How to Prolong the Life of Your Smartphone Battery

Smartphones are getting more versatile and amazing as each day goes by, but with the increase in their capabilities also came an increase in the amount of energy that they need to operate.

Seeing how battery size is quite limited if you want to have a reasonably small phone, most people have simply accepted the fact that they need to recharge their phone every two days, but if you are tired of this routine, there are a number of things that you can do in order to make sure that you get some extra juice out of your battery.

Some of these solutions will only work on older Android phones, as they have already been addressed in newer ones, but some will be able to benefit you regardless of the age of your device and the version of Android that it is running.

Read More
Page 10 of 22« First...89101112...20...Last »

Pin It on Pinterest