Monday, April 20, 2015
Thursday, April 16, 2015
Set more than one animation on a view programatically in android
For this you can use AnimatorSet class of android
This class plays a set of Animator objects in the specified order. Animations can be set up to play together, in sequence, or after a specified delay.
Tuesday, April 14, 2015
Open facebook with intent in android
Android: Open Facebook official app from your own app with different intents
Opening Facebook's official android app from your own app is really easy. You just need to create an intent with correct uri and start and activity with that intent. The app will open with the right page, group, picture, video or etc.
Opening Facebook's official android app from your own app is really easy. You just need to create an intent with correct uri and start and activity with that intent. The app will open with the right page, group, picture, video or etc.
Monday, April 13, 2015
Drag a view with finger in android
Here is a example of Dragging or moving a view in android,this example will also detect left or right movement of your view and you can perform any thing you want.... on drag left or right..
class MyDragListener implements OnDragListener {
Wednesday, April 8, 2015
Android Studio vs Eclipse Differences
Most of Google’s 2013 I/O event was about Android. One specific announcement managed to attract a lot of hype and that was no other than Google’s own Android IDE, Android Studio. It has been just over a year now since the first public release and Android Studio has come a long way, despite still being in beta. The IDE itself is based off the very popular IntelliJ IDEA from JetBrains and is being offered by Google for free.
Monday, April 6, 2015
Difference b/w interface and a class
The key technical differences between an abstract class and an interface are:
- Abstract classes can have constants, members, method stubs and defined methods, whereas interfaces can only have consts and methods stubs.
- Methods and members of an abstract class can be defined with any visibility, whereas all methods of an interface must be defined as public.
Subscribe to:
Posts (Atom)
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 dog...