Android Training-Basics

50 %
50 %
Information about Android Training-Basics
Entertainment

Published on July 13, 2016

Author: lathareddy428942

Source: authorstream.com

Other UI Components: Other UI Components Android Training By Manikanta Reddy ScrollView: ScrollView Layout container for a view hierarchy that can be scrolled by the user , Allowing it to be larger than the physical display . A ScrollView is a FrameLayout , meaning you should place one child in it containing the entire contents to scroll; this child may itself be a layout manager with a complex hierarchy of objects. A child that is often used is a LinearLayout in a vertical orientation , presenting a vertical array of top-level items that the user can scroll through. Continued…: Continued… You should never use a ScrollView with a ListView,because ListView takes care of its own vertical scrolling . Most importantly, doing this defeats all of the important optimizations in ListView for dealing with large lists, since it effectively forces the ListView to display its entire list of items to fill up the infinite container supplied by ScrollView . Continued…: Continued… ScrollView only supports vertical scrolling. For horizontal scrolling, use HorizontalScrollView . Task: Task Two Scrollview Vertical Horizontal Rounded Corners Borders Transparent Colors WebView: WebView A View that displays web pages . This class is the basis upon which you can roll your own web browser or simply display some online content within your Activity. It uses the WebKit rendering engine to display web pages. you must add the INTERNET permissions to your Android Manifest file : <uses-permission android:name =" android.permission.INTERNET " /> Usage: Usage webview.loadUrl ("http:// slashdot.org /"); // OR, you can also load from an HTML string: String summary = "<html><body>You scored <b>192</b> points.</body></html>"; webview.loadData (summary, "text/html", null); Continued…: Continued… By default, a WebView provides no browser-like widgets. does not enable JavaScript and web page errors are ignored . If your goal is only to display some HTML as a part of your UI, this is probably fine. If you actually want a full-blown web browser, then you probably want to invoke the Browser application with a URL Intent rather than show it with a WebView . Basic usage: Basic usage Uri uri = Uri.parse ("http:// www.google.com "); Intent intent = new Intent( Intent.ACTION_VIEW , uri ); startActivity (intent) ; Building Web Apps in WebView?: Building Web Apps in WebView ? A common scenario in which using WebView is helpful is when you want to provide information in your application that you might need to update, such as an end-user agreement or a user guide . Within your Android application, you can create an Activity that contains a WebView , then use that to display your document that's hosted online. Slide 11: Android online trainings 4 U is one of the top online training institutions in India we are providing online trainings according to the student convenient time and requirements by +5 real time experienced faculty who are working in top MNC’s and also providing 24*7 technical support.   Contact us: India:+91 9948382584 E-mail: info@androidtrainings4u.com

Add a comment

Related presentations

Related pages

Create an Android Project | Android Developers

This lesson shows you how to create a new Android project with Android Studio and describes some of the files in the project. Android Studio fills in the package name ...
Read more

Interacting with Other Apps | Android Developers

An Android app typically has several activities . Each activity displays a user interface that allows the user to perform a specific task (such as view a map or take ...
Read more

Dog Training Basics - Android Apps on Google Play

DogSocial® is launching a range of next-generation professional dog training apps – from the professionals for ALL dog lovers and owners. In the first ...
Read more

Stuck with @SuppressLint("NewApi") (developer.android.com ...

I'm a begginer with Android and currently stuck with the lession: http://developer.android.com/training/basics/firstapp/starting-activity.html In the part Create the ...
Read more

Android Programming Basics - Core Servlets

Java, JSF 2, PrimeFaces, Servlets, JSP, Ajax, jQuery, Spring, Hibernate, RESTful Web Services, Hadoop, Android. ... Android Programming Basics
Read more

Android app(made by following tutorial on http://developer ...

as the link in the title( http://developer.android.com/training/basics/firstapp/starting-activity.html ) is shown , i follow the tutorial , bit...
Read more

Android developer training basics , text wont show - Stack ...

I just started studying android app development from developer.android.com/training/basics, and I have built the app as said , but when I click the Send button , the ...
Read more

Dog Training Basics FREE - Android Apps on Google Play

+++FREE VERSION+++ This is the FREE version with limitations. The limitations of the FREE version are: - Only 2 trainings ("sit" and "down") with a total ...
Read more

Article1- Introduction to Android OS - CodeProject

This article gives you information about the history and architecture design of Android ... Article1- Introduction to Android OS. ... android.com/training/basics ...
Read more

Android Tutorial T3.docx - AndroidTutorial https/developer ...

Android Tutorial This is an abbreviated tutorial based almost exclusively on the official Android Developers tutorial: https://developer.android.com/training/basics ...
Read more