Android Design Support Library : Basics

1 Welcome To The AppCompat Activity This Material Design Tutorial shows an example of AppCompatActivity which was introduced in API v22.0, Use the AppCompatActivity or AppCompatDelegate with a normal Activity to mirror the different Activity methods to add a Toolbar to it. Use tinted versions of widgets like AppCompatButton, AppCompatAutoCompleteTextView and so on along with a custom AlertDialog that looks …

Intent Filter And Intent Resolution

What is an IntentFilter? An IntentFilter is a component that specifies the type of intents that the component would like to receive. For example, by declaring an intent filter for an activity, you make it possible for other apps to directly start your activity with a certain kind of intent. If you do not declare any intent filters for an …

android intent communication

Android Intents: Explicit and Implicit Intents

What are Intents In Android? An intent is an abstract description of an operation to be performed. It is a passive data structure holding an abstract description of an action to be performed. It can be used with startActivity() to launch an Activity, sendBroadcast() to send it to any interested BroadcastReceiver components, and startService(Intent) or bindService(Intent, ServiceConnection, int) to communicate with a background …

#5 JavaScript String

What do we discuss in this article? The String Type Character Literals String Conversions The String() Function A] The String Type A sequence of characters [16 bit Unicode characters to be precise] is called a String in JavaScript. Strings can be enclosed within double quotes or single quotes in JavaScript.

 Both the strings declared above are perfectly valid despite the fact …

Tut#4 JavaScript Numbers, Range, NaN, Floating Point Values, and Conversions

What is the maximum and minimum number you can work with in JavaScript? What is NaN and Infinity in JavaScript? How to convert Strings to a numeric format using the Number(), parseInt() , parseFloat() functions. What are the rules for conversion of a datatype to a numeric value using the Number function? What are the rules for converting a String to a number using the parseInt() or parseFloat() function. How can you check if a given value is a number or not in JavaScript?

javascript undefined typeof null boolean

Tut#3 JavaScript Data Types Part 1: Undefined, Null, Boolean and TypeOf

When does a variable get the value of undefined? How and when to use the special value ‘null’ in JavaScript? Why null==undefined in JavaScript? How to use a variable with only 2 values: true and false termed as a boolean in JavaScript? How to use the typeof operator to determine the data type of a given variable? What are the different rules of conversion of a variable to a boolean in JS? What values does the typeof operator return for each data type in JS?

js syntax keywords, statements, comments, identifiers

Tut#1 JavaScript Syntax: Identifiers, Comments, Statements and Keywords

How does case sensitivity affect your JavaScript code? Why True is not equal to true in JavaScript? How can you use single-line or multi-line comments in JavaScript to make notes of your code for your reference in the future? What are identifiers in JavaScript? What are the naming rules for identifiers in JS? What are statements in JS? What are keywords in JavaScript?

active android select example

Android Database Without SQLite Part 4: Select, Delete and Update Queries

How to perform select, update, delete queries on Android database without writing SQLite code using the ActiveAndroid library? How to specify conditions in the where clause for performing the above queries? How to use the Select() and Delete() classes from the ActiveAndroid library? How to design a flexible UI that lets us perform the above queries?