Android Example : Writing text/pasting Image on Bitmap image programatically

In this example we will learn how to programatically write text/paste image on an Image in Android . Before beginning with the example lets clear some basics

What is Bitmap Image in Android ?

A Bitmap image is a series of tiny dots(called pixels) which are arranged in a pattern to form an Image. Each pixel is a small square assigned with a color. You can actually see this square pixel when you extra zoom into a image. The whole image can be edited by erasing or changing colors of individual pixels using different software tools. Android also allows us to work on Bitmaps with the help of various APIs.

bitmap_image.jpg

Continue reading

[Android Example] Writing text/pasting Image on Bitmap image programatically

In this example we will learn how to programatically write text/paste image on an Image in Android . Before beginning with the example lets clear some basics

What is Bitmap Image in Android ?

A Bitmap image is a series of tiny dots(called pixels) which are arranged in a pattern to form an Image. Each pixel is a small square assigned with a color. You can actually see this square pixel when you extra zoom into a image. The whole image can be edited by erasing or changing colors of individual pixels using different software tools. Android also allows us to work on Bitmaps with the help of various APIs.

bitmap_image.jpg

Continue reading

Android Example : Fetching Current Location with FusedLocationProviderAPI

marker

 

Fetching Location is one of the most useful features on mobile devices. In fact lot of apps completely rely on user’s location for their business, take Uber for example. This implies that it is very important to fetch user’s location accurately and seamlessly on mobile devices. In Android there are basically two methods to fetch user location

Android framework location APIs were the most reliable way of fetching location up until FusedLocationProviderApi was released. Fused location provider is found to be more accurate, fast and easy to implement. Above all Android doc itself encourages developers to migrate to Fused Location provider.

Continue reading

Android Example: Display Current Location on Google Map with FusedLocationProviderAPI

Maps in applications have taken customer experience to a whole new level. Whether its showing the current user location or showing the direction to your business office maps have always been very useful. The good news here is even though displaying the complete world map inside your app might sound a very complex task thanks to Google its ridiculously easy

Photo_1501961386074

In this tutorial we will deal with the basics of  Google Location and Map Android Integration, we will register our project in Google Developer Console and obtain the API key . Using the API key we will show the Map in our app and with the help of FusedLocationProvider API mark the current location on the map.

Continue reading

Android Example: Display Current Location on Google Map with FusedLocationProviderClient

This article is updated and uses the latest FusedLocationProviderClient API to fetch current location

Maps in mobile applications have taken customer experience to a whole new level. Whether its displaying the current location or showing directions to your business office, maps have always been very useful. The good news here is even though displaying the complete world map inside your app might sound a very complex task thanks to Google its ridiculously easy

In this tutorial we will deal with the basics of Google Location and Map APIs. We will register our project in Google Developer Console and obtain the API key . Using the API key we will show the Map in our app and with the help of FusedLocationProvider API mark the current location on the map.

Continue reading