How to pick image from gallery?

In this post, I will be discussing about how to open Gallery application, pick an image from it and set it in Imageview.

What is Android Gallery?

Android device has Gallery application installed by default which contains images and videos. It is the place where the images and videos you download from internet or upload from your computer can be viewed.

What are we going to develop?

The application which we are going to develop will allow you to select an Image from Gallery application and display it inside app. This application supports image selection from Gallery application and it may not work as expected if you pick Image from other image applications (like Google Photos application present in higher version of Android). I will write separate post later on how to pick Images from sources other than Gallery app.

Read More

How to create and remove shortcut for Android application?

In this post, I will be discussing about how to create and remove shortcut for Android applications programmatically.

What is Android Shortcut?

When an application is installed in Android device, shortcut will be created on the home screen which facilitates the Users to open the App just by clicking on it.

How to enable/disable shortcut creation when new app is installed?

You can control the shortcut creation by enabling/disabling this option in Google Play Store application’s settings, see below.

Read More

Android Color Generator – Free Online Tool

I am glad to inform you folks that http://programmerguru.com has created online tool to generate Colors.xml for Android applications. As always we are here to help Android community with our tutorials and tools and we are very much happy to serve you. :)

Coming to tool, Android Color Generator is a free online tool with which you can pick favorite colors you wish to use in your Android application and generate colors.xml instantly.

It is always bit difficult in finding colors online that suit Android applications (I had felt it many times), so I decided to put all those interesting colors together in a website so that Android developers can make use of it. In addition to just colors, this tool will help you in generating colors.xml for the colors you selected (looks interesting right?).

Read More

Android MultiCast Push Notifications using GCM [Greeting App]

In the previous posts, I discussed What is GCM and how to send Push notifications using GCM service. In this post, I am going to develop simple Android application called Greeting App to demonstrate how to send Push notifications to multiple devices.

I would recommend you to quickly take a look at the previous posts (Read: Introduction to GCM | How to send push notifications using GCM service?) so that you will get to know about basics of GCM.

What is GCM?

Google Cloud Messaging is a free service from Google which helps us to send messages (Push notifications) to Users’ device. It can also be used to send message from Users’ device to GCM server.

Read More

How to send push notifications using GCM service?

In the previous post, I discussed What is GCM? and How it is used in Android applications?. In this post, I am going to develop simple Android application to demonstrate how it can be used to send Push notifications to User device.

I would recommend you to quickly take a look at the previous post (Read: Introduction to GCM) so that you will get to know about Google Cloud Messaging service and its usage.

What is GCM?

Google Cloud Messaging is a free service from Google which helps us to send messages (Push notifications) to Users’ device. It can also be used to send message from Users’ device to GCM server.

Read More
Page 5 of 22« First...34567...1020...Last »

Pin It on Pinterest