Android, Mobility

Creating Android Application with Groovy

Groovy 2.4 was released in January 2015, with native support for Android development. It allows to write Android applications fully using Groovy. Running Groovy on Android Step 1: Create a new Android project in Android Studio Step 2: Open this build.gradle (Module: app) file: Insert the following code before the first line: ...

by Simranjit Kour
Tag: Android
23-Jul-2015

AWS, Technology

AWS Device Farm: A service to test mobile apps on real devices

AWS Device Farms Device Farms is a recently introduced service that can test mobile apps on real devices in the AWS Cloud. Currently, it supports Android and Fire OS apps. This service can be used to improve the quality of testing by running the test on real smartphones and tablets with different hardware, OS versions and form factors. ...

by Ankit Giri
Tag: Android
10-Jul-2015

Grails

Day 2 @GR8Conf EU 2015

Day 2 at GR8Conf EU June 2015 Copenhagen, Denmark continued to beintriguing and fun filled. The Day started with the keynote from Jeff Scott Brown on Grails and its future plan. He shed light on Grails 3.0 features and its releases plans. He also asked for contribution to migrating plugins from Grails 2.x to Grails 3.0.  In his...

by Sachin Verma
Tag: Android
05-Jun-2015

Android

Updating ViewPager With New Data Dynamically

ViewPager is a layout manager that allows users to flip and view pages left and right. It is used in conjunction with PagerAdapter,  FragmentPagerAdapter or FragmentStatePagerAdapter. We attach adapter consisting of either Fragment objects or simple View objects. Note: You can download source code of a sample application from...

by Noor Alam
Tag: Android
24-Apr-2015

Android

SQLite Locking and Transaction Handling in Android

SQLite locking concept comes when we access database from multiple threads. What things should we keep in our mind while designing the database in android, let's see. firstly we create a helper class which extends SQLiteHelper class: [code language="java"] public class DatabaseHelper extends SQLiteOpenHelper { ... } [/code] Now...

by Akhilesh Dubey
Tag: Android
19-Apr-2015

Android

Android APK Expansion files

Google Play allows max 50 MB of APK size for any android application. But in many cases in projects where we use large number of images and media files such as sound and videos, the APK size grows beyond 50 MB limit. Google play now provide facility of uploading two more files called "APK Expansion Files". Each of these two files...

by Noor Alam
Tag: Android
11-Jan-2015

Android

Debugging Javascript on Android using Chrome

Nowadays almost all applications that we develop are made mobile friendly and a lot of times, everything works perfectly on desktop browsers but not on mobile. Even if we know it is some javascript that is not working as expected, it becomes quite difficult to narrow down on what is causing problem. As we cannot check console there, I...

by Vivek Sachdeva
Tag: Android
30-Nov-2014

Android, Grails

Day 4 at SpringOne 2GX 2014 | The Finale

The final day of SpirngOne 2GX went just like a Mega Finale where they kept best for the last. There were only 3 sessions today, but each one was like one of the best. Here the few highlights of the sessions #  Micro Service Architecture with Spring Boot and Groovy : Marco Vermeulen Beautifully explained the concept of micro...

by Uday Pratap Singh
Tag: Android
12-Sep-2014

Android

Building Android Application with different productFlavors

Applications are developed using some arbitrary values for development and QA. But, when it comes to production or releasing a new update for app, we need to change those arbitrary values to actual values. For instance, take an application using web services, which requires some input from user and store it in database. During...

by Navkrishna
Tag: Android
02-Sep-2014

Android

Background Location Updates on Android

In my previous blog, I mentioned my first task about removing the AlarmManager/LocationManager approach we were using and replace it with new Location APIs that were announced at Google I/O last year. Note: If you are unaware about using Google location api in the foreground, Please firstly read the previous blog. This method was...

by Himanshu Kumar Singh
Tag: Android
24-Jul-2014

Technology

Implementing facebook login with childbrowser in a phonegap app

Recently in one of my phonegap apps, I had to implement login with facebook functionality. Because the app was targeted towards multiple platforms (ios and android), so for this we needed a javascript based solution that can work on multiple platform. We used the childbrowser plugin to handle this situation in following manner – 1....

by Prakash Balodi
Tag: Android
20-Aug-2013

Android

Install RhoSync on ubuntu 11.10 (with fix)

Recently, I was trying to install RhoMobile suite on my ubuntu11.10 machine. And faced some issues for installing 'rhosync' package. This blog tells how to fix these issues (as they worked for me).   I am assuming ruby and gem are already installed on your machine. Note: if you are on older version of ruby please upgrade to...

by Salil
Tag: Android
18-Sep-2012