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: ...
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. ...
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...
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...
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...
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...
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...
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...
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...
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...
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....
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...