Posts

Showing posts from 2017

Difference between Activity and AppCompatActivity

Image
A ctivity is the fundamental block of creating Android Application.  Activity is the base Class of all other Activities. Activity - fragmentactivity - AppCompatActivity - ActionBarActivity means, AppCompatActivity inherits FragmentActivity and FragmentActivity inherent Activity. in the Android Developer Documentation : For more read from Android developer Documentation : Activity | Android Developer A ppCompatActivity If you want to add ActionBar in the Activity when Android Application running API Level 7 or Higher by extending the class of the Activity. AppCompatActivity hierarchy : To use the AppCompatActivity, make sure you have the Google Support Library downloaded (you can check this in your Tools -> Android -> SDK manager). Then just include the gradle dependency in your app's gradle.build file : compile 'com.android.support:appcompat-v7:26.0.0-alpha1' For More read from Android Developer Documentation :   AppCompat...

AutoCompleteTextView

AutoCompleteTextView Widget “An editable text view that shows completion suggestions automatically while the user is typing. The list of suggestions is displayed in a drop down menu from which the user can choose an item to replace the content of the edit box with. ” There is the Link for the Full Documentation of AutoComplete TextView by Android Developers :         https://developer.android.com/reference/android/widget/AutoCompleteTextView.html In AutoCompleteTextView, first Create a Project named  AutoCompleteTextView .   Then we give the project file Details we have done in this project : activity_main.xml : <Relativelayout android:id="@+id/activity_main" android:layout_height="match_parent" android:layout_width="match_parent" tools:context="com.pathantalabs.autocompletetextviewapp.MainActivity" xmlns:android="http://schemas.android.com/apk/res/android" ...

HIstory of Android

Image
Android(Operating System ) was Developed by Android Inc.  Android Inc. Was founded by : 1.  Andy Rubin(also Co-founded Danger) 2.  Rich Miner(also Co-founded Wildfire Communication Inc.) 3.  Nick Sears 4.  Chris White Android Logo Rubin's words, "smarter mobile devices that are more aware of its owner's location and preferences".   Google can be acquired Android at Price $50 Million and All the Main employee of Android Inc. Including Andy Rubin, Rich Miner and Chris White in July 2005. In 2007, Google provides the Android Operating System for Free under the ...

Total Pageviews