Tag Archives: gradle

How to Connect Android Studio With Testdroid Cloud Devices

via Android Studio Connection with Real Devices.

As it seems that Google is officially ending the support of Eclipse-based Android Development Toolkit (ADT), we’ve prepared everything for you in Android Studio and our Gradle-based plugin is readily available to get your tests seamlessly running from Android Studio (instead of using our old Eclipse-plugin) to Testdroid Cloud.

According to that blog, Google will end their development and official support for ADT at the end of this year and both Eclipse ADT and Android Ant build system are affected.

Tutorial: Create Server with CenturyLink Cloud Java SDK

via Tutorial: Create Server with CenturyLink Cloud Java SDK – CenturyLink Cloud Developer Center.

At CenturyLink Cloud, our culture incorporates a DevOps mindset where each team owns the services they develop from implementation to production. In order to apply the DevOps mindset we adhere to these enabling principles: Automate, Self-Service, and Programmable. As an extension of these principles, we also provide public APIs and SDKs for multiple programming languages to enable our customers to also automate, self-serve and program infrastructure and service interactions.

In this tutorial we’ll take a look at the CenturyLink Cloud Java SDK and how we can use it to create a server using a CentOS 6 operating system template in a specific server group in a US East data center. For scripting in the Java Runtime Environment I tend towards using the Groovy programming language and Gradle for build automation. In order to execute the build commands later in this tutorial you must install Gradle so it can be used from your terminal.

Building JAX-RS REST api using Spring 4, Jersey and Gradle. Part 1: Setting up the project and dependencies in Gradle

In this series of blog post I would be demonstrating developing REST api using Spring 4 and Jersey. With Gradle for build and dependency management.Also, we would be using Spring Java configuration for all the spring bean dependency injection. We would be using the following: Spring 4, configuration using Spring Java configuration(@Configuration) Jersey 2.19 Gradle […]


Building JAX-RS REST api using Spring 4, Jersey and Gradle. Part 2: Setting up Spring and Jersey.

In this part we will focus on configuring Jersey and Spring 4 in the web application, remember we are going to configure Spring in java classes. The previous part is available here. And you could get the code for these two parts from git repo Add the following to deployment descriptor(web.xml). We will take a […]


Some Gradle tricks for Android

via Android Dev Bits : Some Gradle tricks for Android.

Gabriele Mariotti wrote an excellent two part article:
Common tips about Gradle (part 1part 2).

Using an Artefact Repository

Many development teams still use a network drive to store artefacts. This method of transferring artefacts can be unstructured and differ between teams. Thus, it is better to use the advantages of an Artefact Repository.


Facebook Android SDK 4.0 Login Manager without button

via Facebook Android SDK 4.0 Login Manager without button | Spiritfire’s realm of programming.

As an Android programmer, I’ve found it frustrating at times to find help on the web when I need to figure out something that I’ve never done before.  A little while back, Facebook updated their Android SDK to 4.x (as of this writing it is at 4.5.1).  This update made major changes to the way to login to Facebook through your app.  At first, it seems a little overwhelming and complicated, but after a while it actually makes more sense and is easier than past versions.

The problem is, I don’t like to use the Facebook Login button they provide in my apps, because it does not match the theme or style of the apps I make, so I need to use the login manager.

The login manager handles the login sequence to Facebook, asks permissions such as read and publish, and logs out.

The following code examples are not complete 100% apps.  Instead I’ll show the code required to put into your own app.  Also, I use Android Studio for all of my app development, so the examples will be using that with Gradle.