Showing posts with label tutorial. Show all posts
Showing posts with label tutorial. Show all posts




Seekbar:



The SeekBar is an interactive slider widget that allows the user to select one value from a range of values (from 0-max). As the user moves the slider left or right, the value of the SeekBar will change.


OR

A SeekBar is an extension of ProgressBar that adds a draggable thumb. The user can touch the thumb and drag left or right to set the current progress level or use the arrow






This post will describe how to set the change the properties of ringer mode using Audio manager class which help to access the ringer mode properties and allows to set the ringer mode properties i.e: (silent,vibrate,normal e.t.c). 

Ringer Mode:

Ringer mode is the property of android used to control ringer volume and ringer profile i-e: (silent,vibrate,Normal e.t.c) in android.

Android





2005:

Android is an operating system based on the Linux kernel, and designed primarily for touchscreen mobile devices such as smartphones and tablet computers. Initially developed by Android,  Inc., which Google backed financially and later bought in 2005.

2007:


Android was unveiled in 2007 along with the founding of the Open Handset Alliance: a consortium of hardware, software, and










About Text To speech:
 A text-to-speech (TTS) system converts normal language text into speech; other systems render symbolic linguistic representations like phonetic transcriptions into speech.And Android uses Text to speech engine to read text and convert into speech using downloaded language data.And i have noticed that no one tells about what are the parts of Text to speech so here




Why should you know these?


Everyone wants to be an expert in Android development, and to be the expert in any development language you should know what kind of errors could arise and what are the reasons of errors/exceptions to solve them quickly.Also best developer is not that who has 3 to 5 years experience, but the best is that who knows what will happen if I use my logic in this way or





I am writing this tutorial as lot of people are asking me about how to get System properties like what is the version,Model,Hardware Manufacturer,Serial and FingerPrint of a device.As well as many of the visitors also request me to post on how to get ip4/ip6 and MAC Address of Device.

    So Today I am creating a simple ListView to show all the list of system properties i mentioned above




Smartphones allows to access to lots of different activities as well as sending text and calling some one. These include the ability to surf the web from your handset and even sync your device with an email account to read and send messages from your mobile phone. Smartphones running Google Android are no exception. You can easily configure your smartphone to access your primary email account




Bluetooth:

      Bluetooth connectivity is a common way to share data from one device to another.Normally Bluetooth is used to share Media files like mp3 songs images or videos or files. 

Bluetooth Device Class:

       Bluetooth class, which describes general characteristics and capabilities of a device. For example, Generally when we connect to a Bluetooth Device like Computer, Laptop,






What is ListView?

     A child control of View class that shows items in a vertically scrolling list. The items come from the adapter (ListAdapter, ArrayAdapter or CursorAdapter) associated with this view shows in a Listview.

       ListView is a control that can be used to show bulk of data in a form of list.the data can be items of String Array, number of records from Database ( SQLite












Gravity Sensor:



Gravity Sensor is a unique feature that allows applications to take advantage of the phone's real-world physical position in your hand.Also the Gravity sensor is the ability to play games without using your fingers and u can also move it side to side and it fit to the screen.And programmatically The gravity sensor provides a three dimensional vector indicating the






Auto Complete TextView :


AutoCompleteTextView is View/control that gives multiple suggestions when user types text in AutoCompleteTextView, it generates the matches related to entered text from its data source to help users to select the text that user wants to enter.This functionality is really help full And you can use this control for to help your app users to avoid Typing complete






Speech Recognition:

 In this world of smartphones, you can write text message, can search content on internet without writing anything, Speech Recognition will do that for you, you just need to say it.

 Speech recognition is the translation of spoken words into text.So Speak instead of type, using your voice to control your phone or tablet. Search the web and your phone, call your




Compas






Create new Android ProjectProject Name: Compas//tested from 2.3.3 to current android sdk Build Target: Android 2.3.3 //or greater than thatApplication Name: CompasPackage Name: com.shaikhhamadali.blogspot.compasCreate activity file: Compas



1.code of activity:

package com.shaikhhamadali.blogspot.compass;
import android.app.Activity;
import android.content.Context;
import




Basics about Intents:

Intent an "intention" to do an action. Intents are asynchronous messages which allow application components to request functionality from other Android components. They allow you to interact with components from own and other applications. For example an activity can start an external activity for taking a picture.See here.

In this post I'll tell you, about how to use


No object Near







Near Object (near Ear while calling)








Create new Android Project
Project Name: ProximitySensor
//tested from 2.3.3 to current android sdk 
Build Target: Android 2.3.3   //or greater than that
Application Name: Proximity Sensor
Package Name: com.shaikhhamadali.blogspot.proximitysensor
Create layout file: activity_proximity_sensor



1.create layout:





In Room With No Light






In Room With Dim Light







In Room With Normal Light







Create new Android Project
Project Name: LightSensor
//tested from 2.3.3 to current android sdk 
Build Target: Android 2.3.3   //or greater than that
Application Name: LightSensor
Package Name: com.shaikhhamadali.blogspot.lightsensor
Create layout file: activity_light_sensor

1.create layout:

<


On Launch







On Take Snap







Create new Android Project
Project Name: SnapApplication
//tested from 2.3.3 to current android sdk 
Build Target: Android 2.3.3   //or greater than that
Application Name: SnapApplication
Package Name: com.shaikhhamadali.blogspot.snapapplication
Create layout file: activity_take_snap


  1. create layout:




Barometer using Type.Pressure Sensor



Create new Android Project
Project Name: Barometer
//tested from 2.3.3 to current android sdk 
Build Target: Android 2.3.3   //or greater than that
Application Name: Barometer
Package Name: com.shaikhhamadali.blogspot.barometer
Create layout file: activity_barometer





1.create layout:







Create new Android Project



Project Name: SensorsList
//tested from 2.3.3 to current android sdk 

Build Target: Android 2.3.3   //or greater than that

Application Name: SensorsList

Package Name: com.shaikhhamadali.blogspot.sensorslist

Create layout file: activity_sensors_list


1.create layout:




On Launch





On Shake changes Background






Create new Android Project

Project Name: Accelerometer

//tested from 2.3.3 to current android sdk 

Build Target: Android 2.3.3   //or greater than that

Application Name: Accelerometer

Package Name: com.shaikhhamadali.blogspot.accelerometer

Create layout file: activity_accelerometer



  1. create layout: 

 
 
Copyright © 2014 All About Android Template Design By | Pathmo