Check Wi-Fi state in android

Check Wi-Fi state in android

This example explains how to check Wi-Fi state from your application in android. Algorithm: 1.) Create a new project by File-> New -> Android Project name it CheckWiFiState. 2.) Write following into main.xml: <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" ...
0
Turn On/Off Wi-Fi from your application

Turn On/Off Wi-Fi from your application

This example explains how to turn on/off Wi-Fi from your application in android. Algorithm: 1.) Create a new project by File-> New -> Android Project name it WiFiOnOffExample. 2.) Write following into main.xml: <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" ...
0
Removing Title Bar from Activity

Removing Title Bar from Activity

This example explains how you can remove title bar from your activity. Algorithm: 1.) Create a new project by File-> New -> Android Project name it RemoveTitleBar. 2.) Write following into main.xml: <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" ...
0
Send SMS by starting your activity

Send SMS by starting your activity

This example explains how you can send sms by starting your activity. Algorithm: 1.) Create a new project by File-> New -> Android Project name it SendSMSExample. 2.) Write following into main.xml: <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" ...
0
Send Email on startActivity

Send Email on startActivity

This example explains how you can send email by using ACTION_SEND on start activity. Algorithm: 1.) Create a new project by File-> New -> Android Project name it SendEmailExample. 2.) Write following into main.xml: <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" ...
0
Set Transparent Background

Set Transparent Background

This example explains how to set background of your app transparent in android. Algorithm: 1.) Create a new project by File-> New -> Android Project name it SetTransparentBackground. 2.) Write following into main.xml: <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" ...
0
DialogAppExample in Android

DialogAppExample in Android

This example shows how you can launch your app as a dialog in android. Algorithm: 1.) Create a new project by File-> New -> Android Project name it DialogAppExample. 2.) Write following into main.xml: <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" ...
0
Http methods in Android

Http methods in Android

This example shows how you can use HttpClient and HttpGet methods in android. Algorithm: 1.) Create a new project by File-> New -> Android Project name it HTTPMethods. 2.) Write following into main.xml: <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" ...
0
Enabling JavaScript and Zoom Control of WebView

Enabling JavaScript and Zoom Control of WebView

This example shows how to enable JavaScript and built-in zoom control of WebView. To do this we can call setJavaScriptEnabled(true) and setBuiltInZoomControls(true) functions of WebSettings class. Algorithm: 1.) Create a new project by File-> New -> Android Project name it JavaScriptAndZoomControl. 2.) Write...
0
Single line Scrolling text in any view

Single line Scrolling text in any view

This example explains how to write single line horizontal scrolling text in android. Algorithm: 1.) Create a new project by File-> New -> Android Project name it SingleLineScrollingText. 2.) Write following into main.xml: <?xml version="1.0" encoding="utf-8"?> <LinearLayout...
0
Proudly designed by Theme Junkie.