Author Archives: s.saurel - Page 21

Android

How to use Cryptography in Android applications ?

When you made an Android applications, you must very often store data in file to persist applications state or games state. For example, you can store some data of a game that lets users to restart game to the same state. Major concern comes from advanced that would change these data to cheat in your game ! To avoid this…
Continue Reading
Android

Backup and Restore data from the Cloud thanks to Android Backup API

When Android’s user installs your app on a particular device and start to use it, you can store some data letting him to use easily the application. You can also store high score or other data for a game. If user must make a restore of his system or if user changes his device, it’s great to let him to…
Continue Reading
Articles

Top 7 Reasons to root your Android device

You probably have heard about iPhone jailbreak. To be simple, Rooting is jailbreaking for Android devices. It lets users to dive deeper into phone’s sub-system and gain greater control by avoiding security barriers. Rooting an Android device is not as hard as you may think and you can find a lot of tutorials on Internet to achieve that. Keep in…
Continue Reading
Non classé

6 Best Tools every Android developers must know

Develop an Android application is like a war. You must make battles after battles. Best way to win a battle ? Have good weapons with you ! For a developer, a good weapon is a tool that makes his life easier and increase his productivity. Thanks to large Android’s community, there are a lot of tools dedicated to developers. The…
Continue Reading
Android

Getting started with Google Maps Android API V2 – Part 1

Google Maps provides to Android developers a powerful API to display maps in applications. Google Maps API V2 is now part of Google Play Services. 1. Get Google Play Services First, you need to get Google Play Services to use in your Android application. If you use Android Studio, you must simply add the following dependency to your Gradle build…
Continue Reading
Android

How to get user current location with GPS or Network in Android?

Thanks to smartphones, modern mobile applications can benefit from GPS installed to get user current location. This information adds a lot of value to an application. Web’s giants have understood this since long time. So, in your next application, you could use GPS or Network to get user current location and add value to your application. For example, if you…
Continue Reading
Android

How to check if internet connection is enabled in Android ?

Today, a simple article exposing a snippet code lets you to know if user’s internet connection is enabled in Android. It can be very important to know if user is connected before to send internet requests that are useless. First, you must add following permissions to your Android Manifest : <uses-permission android:name="; /> <uses-permission android:name="; /> I presume that you…
Continue Reading
Android

Learn how to parse JSON in Android with Gson

Previously you had learnt to consume a REST Web Service in JSON and parse result to display data in an Android application. To start from basics, I show you raw method that uses only standard SDK and no third-party libraries. I think it's better when you begin to understand how things work. Now, you know raw method so we can…
Continue Reading
Java

How to generate a Random alpha-numeric String ?

When you develop some applications in Java or on Android platform, you can sometimes need to generate a random alpha-numeric String to generate a session id, a unique temporary id or simply to generate sample string data. Use cases are multiples and to make that there are a lot of possibilities. In the following of this tutorial, we’re going to…
Continue Reading
Android

Create an Android Weather app step by step – Part 1

In this tutorial serie, you're going to learn how to create an Android Weather app step by step. You could already see the final result of the tutorial :  Current Weather Forecasts The goal is to show you the following steps for the creation of our Android Weather app : Step 1 : Design Step 2 : Architecture Step 3…
Continue Reading