What is Gradle and how to use it in android studio !

Whenever you create a project in Android Studio, the build system automatically generates all the necessary Gradle build files. Gradle Build Files Gradle build files use a Domain Specific Language or DSL to define custom build logic and to interact…

The best Android apps for boosting battery life

1. DU Battery Saver DU Battery Saver is a free app that can be used to increase the battery life of your device by up to 50%. It provides pre-set power management modes such as Long Standby, General Mode and…

Tips to Boost Your Android Phone’s Battery Life

1. Keep an eye on signal strength. 2. Reduce email, Twitter, and Facebook polling 3. Turn unnecessary hardware radios off 4. Use the extra power saving mode if you have it. 5. Trim apps running in the background 6. Dump…

How to Display Listview using CursorAdapter and Sqlite Database in Android

How to Display Listview using CursorAdapter and Sqlite Database in Android The objective of this article is to get data from SQLite database and then attach that to the Listview. Source for Activity - AndroidListViewCursorAdaptorActivity.java package com.mycodetipsandroid; import android.app.Activity; import…

Simple Sliding Menu Example in Android

Simple Sliding Menu Example in Android As of now we know that sliding menu is a simple dragging menu from any one side. Complete code: MainActivity.java package com.android.slidingmenuexample; import android.os.Bundle; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentActivity; import android.support.v4.app.FragmentManager; import android.support.v4.app.FragmentTransaction; import android.view.Menu;…

Android Apps For Meetings & Presentations

Android Apps For Meetings & Presentations

Android Apps For Meetings & Presentations:We have for you today 5 great Android apps that can help with collaboration, keeping everyone on the same page, sharing files and important documents as well as web conferencing. Best of all, these apps…

Tips on Android ListView and custom adapter

Tips on Android ListView and custom adapter

Tips on Android ListView and custom adapter What is a ListView? What’s the difference between a TableLayout and a ListView? Items in a TableLayout are not ‘selectable’ (unless they are buttons or text areas that support keyboard focus), however, each…

Tips for create your first android application

Tips for create your first android application

Before you start this creating your first android app, please ready with below details… Download the Android SDK. Install the ADT plugin for Eclipse (if you’ll use the Eclipse IDE). Download the latest SDK tools and platforms using the SDK…

Installing Android Studio

Download the Android Studio package from below link. http://developer.android.com/sdk/installing/studio.html Install Android Studio and the SDK tools: Windows: Launch the downloaded EXE file, android-studio-bundle-<version>.exe. Follow the setup wizard to install Android Studio. Known issue: On some Windows systems, the launcher script…

Top 5 free mobile device emulators for testing your site

A mobile phone emulator lets you check the responsiveness and functionality of the website across different mobile platforms, such as iPhone, iPad, Android and BlackBerry, without actually having the devices in hand. Mobile emulators can help you pinpoint problems and…

Method for Email validation in Android application

The Android developer must check if the email address entered by the user is valid or not, as the email address is stored on server and we may need the email address to send some information like password or any…

Getting Unique Device ID of an Android Smartphone

Sometimes it is required during Android application development to get the unique id of the Android based smartphone device. This is necessary in cases when the user wants to track the unique device installations of the application. This is also…

Why my Android emulator is very slow

Try Android x86. It's much faster than the Google Android emulator. Follow these steps: 1-Install VirtualBox. 2-Download the ISO file that you need. 3-Create a virtual machine as Linux 2.6/Other Linux, 512 Mb RAM, HD 2 GB. Network: PCnet-Fast III,…

How to Backup Contacts and SMS Messages using command line in Android

The messages are available via the Telephony and contacts via the Contacts provider. The data is stored in SQLite databases in the following locations: /data/data/com.android.providers.telephony/databases/mmssms.db /data/data/com.android.providers.contacts/databases/contacts2.db If you have the Android SDK installed and the phone connected to you computer,…

What is activity life cycle in Android,Explain

onCreate() : Called when the activity is first created. This is where you should do all of your normal static set up: create views, bind data to lists, etc. This method also provides you with a Bundle containing the activity's…

How to use git command line mac using command line

cat ~/.gitconfig git clone git fetch git branch -all git branch -r git branch git status git pull origin BRANCH_NAME git add . git commit -m"message" git push origin BRANCH_NAME git log -7 --oneline git checkout BRANCH_NAME git log ls…

Using the Kindle App for iPhone and iPod Touch

Using the Kindle App for iPhone and iPod Touch A number of e-reader applications are available for the iPhone and iPod Touch, but the big advantage of the Kindle application is its ability to synchronize your Kindle with the iPhone…