Showing posts with label custom progress dialog. Show all posts
Showing posts with label custom progress dialog. Show all posts

Thursday, March 5, 2015

Convert date in hours ago or days ago in android

When you see a post it always shows time posted in hours ago or days ago. If you are also kooing to implement the same functionality using Android than use the below method that convert date or time in " hours or days".

//firstly find out difference between current time and other time
 long diff = currentdate.getTime() - temp_date.getTime();


Thursday, February 19, 2015

Custom progress dialog with animation in android

Loading images looks boring in "Android" with same arrangement of circle with Loading image. So here we run with some custom process dialog that will show some cool things. For doing or implementing the same you can use the below code.

public class TransparentProgressDialog extends Dialog {

Don't lose faith when you see others receive answers to their prayers

An elephant and a dog became pregnant at same time. Three months down the line the dog gave birth to six puppies . Six months later the ...

 

G-Expo Template by Ipietoon Cute Blog Design