Profile cover photo
Profile photo
Dhina cool
167 followers
167 followers
About
Dhina cool's posts

Post has attachment
Resize Android image without losing quality
   Here I am going to explain how to convert image into scaled bitmap without losing quality  public Bitmap resizeBitmap(String  photoPath , int targetW , int targetH )  {         BitmapFactory.Options bmOptions = new BitmapFactory.Options();         bmOpti...

Post has attachment
Pass LinkedHashMap between activities
                   Here I am going to explain how to pass LikedHashMap data between activity.Before that we need to know GSON .Google Gson is a simple Java-based library to serialize Java objects to JSON and vice versa. Add dependencies to gradle    compile...

Post has attachment
Android Image Preview Activity
                       Here I am going to explain how to show image preview in android using  Dialog Fragment                             To pass image string to dailog fragment use bundle                 Bundle bundle = new Bundle();                 bundle...

Post has attachment
TreeMap vs LinkedHashMap
Here I am going to explain difference between HashMap vs TreeMap   vs LinkedHashMap HashMap        HashMap accepts key-value pair,It allows null value for both key and Value and HashMap is Unsynchronized.   HashMap<String,String> hashmap =new HashMap<String...

Post has attachment
HashMap vs Hashtable vs HashSet
  Here I am going to explain difference between HashMap vs HasTable vs HashSet  HashMap        HashMap  accepts key-value pair,It allows null value for both key and Value and  HashMap  is Unsynchronized.   HashMap<String,String> hashmap =new HashMap<String,...

Post has attachment
Otto Event Bus library on Android
Otto             Otto is an Open Source project designed to provide an event bus implementation so that components can publish and subscribe to events. PUBLISHING                Event publishing is the most important part of the bus as it allows you to tell...

Post has attachment
How to make our application Device administrator in Android
                Here I am going to explain Device Administration in Android     Device Administration API provides device administration features at the system level. These APIs allow you to create security-aware applications that are useful in enterprise s...

Post has attachment
Android MQTT Client example Part-2
  In last post we have discuss about ,What is Mqtt and how to publish message using MQTT .Here I am going to explain how to receive message using Mqtt MQTTService.class import android.content.BroadcastReceiver; import  android.content.Context; import  andro...

Post has attachment
Android MQTT Client example Part-1
               Mqtt is lightweight messaging protocol,  GCM replacement for android push notification. Mqtt        MQTT stands for  MQ Telemetry Transport . It is a publish/subscribe, extremely simple and lightweight messaging protocol, designed for constra...

Post has attachment
Change android label color ,size and style
     Here I am going to explain how to change android label size,color and style Step 1) Add Below code in your Activity             Toolbar toolbar = (Toolbar) findViewById(R.id. toolbar );               toolbar .setTitleTextColor(Color.BLACK);            ...
Wait while more posts are being loaded