Author: proxyadmin

0

activity-alias : Manage app upgrades, Two Launcher Icons

Alias for an activity which is specified with targetActivity attribute. Target activity should be in same application to that of alias. Target activity has to be declared before alias in manifest file. activity-alias can have...

KMP: Pattern search algorithm in JAVA 0

KMP: Pattern search algorithm in JAVA

For text of length N and pattern of length M, naive algorithm will match text string with pattern by incrementing index 1 by 1. Whenever a mismatch occurs after K matches, we will discard...

Producer Consumer Problem Java : Detailed Explaination 0

Producer Consumer Problem Java : Detailed Explaination

Producer Consumer Problem is well-known example of multi-process synchronization problem. It is described as synchronization problem over a fixed size data buffer implemented as queue being modified by two or more different processes referred as...

Android PopupMenu : Show floating menu anchored to a view 0

Android PopupMenu : Show floating menu anchored to a view

PopupMenu shows floating Menu in a popup window anchored to a view. PopupMenu was added with API level 11. PopupMenu itself decides its position on screen around anchor view based upon available space. If there is...

Android PopupWindow : Show Tooltip Help Text 0

Android PopupWindow : Show Tooltip Help Text

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...

OOPS Concepts: Association, Aggregation and Composition 0

OOPS Concepts: Association, Aggregation and Composition

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...

0

Android IntentService: Working and advantages of using them

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...