Upload Failed : You uploaded a debuggable APK

It was quite late in theĀ evening and I was about to wrap up my work. Suddenly I got a call form my client in Skype and he shared his concerns of uploading the build to production. Although it was late, I thought to help him before I close the day, since that guy is in the middle of his day time (in US). Now mind set is to spend time on the issue. I started looking into the issue.

The issue is, while he (my client) started uploading the APK file into the Android store, he is receiving the below rejection message from the store.

Upload Failed

Continue reading

Integrating iAd in a PhoneGap Project

Introduction:
As the name suggests iAd is a mobile advertising platform provided by Apple to embed advertisements into the app. The new feature of iAd makes the content of the app more lively and dynamic, since clicking on an advertisement unlike the previous one it does not navigate away to Safari but opens a new Pop-up Window for the Ad inside the app.

Description:
To integrate an Ad using the iAd framework we need to mainly modify the MainViewController.h and MainViewController.m files by adding some additional code to it.

Below is the integration guide as follows.

We need to open project navigator, then click on the Build Phases tab.

Here we will find the row Link Binary With Libraries. We need to add iAd.framework to the project by clicking on the Add(+) button( at lower left end). Continue reading

Customizing Build-in Binding in KnockoutJs using PhoneGap

Introduction:
Knockout.Js not only gives us the ability to use build-in bindings but also allows us to use our own custom bindings. In this blog, we will basically look into creating the custom bindings for Knockout.Js using PhoneGap.

Description:
Creating custom binding is much easier than ever. Before moving forward, we need to get into the basic structure to register our custom binding. To register a custom binding, we need to add it as a sub-property to ko.bindingHandlers. Continue reading

Disable scrollview bounce effect with Titanium

Introduction :
When we scroll down and scroll up, at top end and bottom end respectively, we can see bounce effect at those positions. Titanium provides property to the scrollview, using which we can resctrict that effect.

Summary :
With the above video I have described the way to block the bounce effect on scrollview in an app built with titanium.

THAT’S IT

Presented By: Raju Mahato, Software Developer, Mindfire Solutions

Conversion of speech to text in Android devices using PhoneGap

Introduction:
Speech to text conversion is the mechanism to translate the spoken words into text. It is also known as automatic speech recognition. Whereas Android provides the native functionality to recognize the speech and convert the same to text. We just need to invoke the native module to fulfill our task.

Description:
While working with voice to text conversion in Android using PhoneGap I came across SpeechRecognizer plugin.It is very easy to integrate in PhoneGap application and also helps us to recognize the speech and convert the same to text in json array. So bellow are the steps to integrate this plugin with Android using PhoneGap. Continue reading

Get page tile that loaded on webview in Titanium

Introduction :
Sometime we need to know the page title of the currently loaded page in webview.
Using Titanium evalJS() method we can get the specific DOM element of the page loaded in webview. Using the same we can get the page title too.

Summary :
Above screen cast demonstrates the way to get page title i.e. currently loaded on the webview using Alloy in Titanium

THAT’S IT

Presented By: Raju Mahato, Software Developer, Mindfire Solutions

Webview loaded with local html file in Titanium

Introduction :
Webview is generally used to view external website or its content at any instance of our application. Addition to this functionality we can also load html file content resides to our app directory on webview.

Summary :
Here we have seen the way to load any html file content to any webview using its ‘url’ property provided by Titanium.

THAT’S IT

Presented By: Raju Mahato, Software Developer, Mindfire Solutions

Webview to load local html content in Titanium

Introduction :
Using webview API in Titanium we can load external web link, we can load html file contain addition to that locally we can prepare variable holding html data and using one of the property of webview called ‘html’ we able load html string to it.

Summary :
So on runtime we are able to load any html string content to any webview by assigning the same to its very own property ‘html’.

THAT’S IT

Presented By: Raju Mahato, Software Developer, Mindfire Solutions

Webview to load external web link in Titanium

Introduction :
Webview API in Titanium is used to view/load external website or its content at any instance of our application. It can also load local html file content.

Summary :

So with above video, I have demonstrated you the way to load/view any external website with webview at any instance of our app.

THAT’S IT

Presented By: Raju Mahato, Software Developer, Mindfire Solutions

Searching on Table with Titanium on CrossPlatfrom App

Introduction
Generally we use table-view to display data in different rows with table format in an application and adding search functionality on those table data is very common. So let me demonstrate the ways to search data among the table rows.

Description
To display data in row format Titanium provides API called Table-View. So lets use table-view to display data on screen and then will add search functionality. Suppose we have a window called home where we will have our table.

Continue reading