Wrapper class in java
Java is an object-oriented language and can view everything as an object. A simple file can be treated as an object , an address of a system can be seen as an object ,...
Java is an object-oriented language and can view everything as an object. A simple file can be treated as an object , an address of a system can be seen as an object ,...
PopupWindow is used to show floating view on display at specified position. It’s a floating container that appears on top of current activity. PopupWindow can have their own layout and can be set after inflating...
WeakReference is related to garbage collection. Normally, object having one or more reference will not be eligible for garbage collection. Then above rule is not applicable when it is WeakReference. Weak references allow you...
Android looper is very good concept for handling various task on same thread. Whole android UI runs on single thread. So how this looper works and what are entities involved in this process. Four...
With Object Oriented Programming, we aim for better and easy representation of real world objects. Above oops concepts define relationship between two objects. These relationship define basic functionality which constitutes to OOPS. Association It defines...
IntentService handles asynchronous requests sent as Intents on demand basis. Request is made via startService(Intent) call. Service is started if needed and it will handled all the requests in turn using a background thread. It will stop...
Fragment is a UI entity attached to Activity. Fragments can be reused by attaching in different activities. Activity can have multiple fragments attached to it. Fragment must be attached to an activity and its...
Web Crawler program automates task of indexing website pages. It is also referred as Web Spidering and used extensively by Search Engines to provide effective and updated results for user search query. Typical usage of...
In our last post we tried to understood the concept of Looper and Handler. Now let us implement these in this tutorial. We will be creating a download manager which download files(we are using delay for...
Live Wallpapers are animated , interactive backgrounds for the Android home screen. A live wallpaper is similar to other Android applications and can use most of the same functionality. How to create a live wallpaper...