6 Months industrial training Android App Development DAY 1 JAVA Language: the method of human communication, either spoken or written, consisting of the use of words in a structured and conventional way. Programming Language: A programming language is a formal language that specifies a set of instructions that can be used to produce various kinds of output. Programming languages generally consist of instructions for a computer . JAVA : Java is a general-purpose computer-programming language that is concurrent , class-based , object-oriented , and specifically designed to have as few implementation dependencies as possible. JAVA is a pure object oriented programming language. FEATURES OF OOPS The Objects Oriented programming language supports all the features of normal programming languages. In addition it supports some important concepts and terminology w...
JAVA COLLECTION FRAMEWORK Collections in java is a framework that provides an architecture to store and manipulate the group of objects. All the operations that you perform on a data such as searching, sorting, insertion, manipulation, deletion etc. can be performed by Java Collections. Java Collection simply means a single unit of objects. Java Collection framework provides many interfaces (Set, List, Queue, Deque etc.) and classes (ArrayList, Vector, LinkedList, PriorityQueue, HashSet, LinkedHashSet, TreeSet etc). Collection represents a single unit of objects i.e. a group. Hierarchy of Collection Framework: Let us see the hierarchy of collection framework.The java.util package contains all the classes and interfaces for Collection framework. Methods of Collection interface There are many methods declared in the Collection interface. They are as follows: No. Method Description 1 public boolean add(Object element) is used to insert an element ...
ANDROID GOOGLE MAPS Android allows us to integrate google maps in our application. You can show any location on the map , or can show different routes on the map e.t.c. You can also customize the map according to your choices. Google Map - Layout file Now you have to add the map fragment into xml layout file. Its syntax is given below − <fragment android:id = "@+id/map" android:name = "com.google.android.gms.maps.MapFragment" android:layout_width = "match_parent" android:layout_height = "match_parent" /> Google Map - AndroidManifest file The next thing you need to do is to add some permissions along with the Google Map API key in the AndroidManifest.XML file. Its syntax is given below − <!--Permissions--> <uses-permission android:name = "android.permission.ACCESS_NETWORK_STATE" /> <uses-permission android:name = "android.permission.INTERNET" /> <uses-permissio...
Comments
Post a Comment