Professional Documents
Culture Documents
Sevya It. Pvt. Ltd., Hyderabad Duration : 5 Months 14 Days Presentation By Akash Khaitan Id: 08DDCS547 FST,ICFAI University
Project Goals
Android Application development using Android SDK & Java Platform
Understanding the lifecycle of Application Development Getting full control over User Interface, Navigation, Multimedia Game Development & Web App Development in Android
Introduction
Android is a software stack for mobile devices that includes an operating system. The Android SDK provides the tools and APIs necessary for developing applications using Java
Contents
Architecture
Activity & Services
Architecture
Android architecture consists of
Kernal
Libraries
Runtime
FrameWork
Application
User Interface
The User Interface design is one of the most important component in Android Application Development. It consists Of : Layout Managers TextView, EditText
Buttons, RadioButton
ImageView, Bitmap
WebView
Layout Managers
Linear Layout
Relative Layout
Frame Layout
Table layout
Menus
Navigation
Provides a better user experience
Makes the app more user intuitive The Navigation components consists of
Tabs
Lists
Tabs
Presenting different Screens in a single page using tabs
Lists
A user can create a simple list and custom list in android
Adapters are used here to bind the data with the layout
Notification
Several types of situations may arise that require you to notify the user about an event that occurs in application. Some events require the user to respond and others do not.
Types of Notification in android are :
Toast Notification
StatusBar Notification Dialogs
Toast Notification
Toast.makeText(context,string,duration). show();
The upper line creates a Toast which takes context,desired string , time and displays the toast
StatusBar Notification
A status bar notification should be used for any case in which a background service needs to alert the user about an event that requires a response.
Notification Manger is used for status bar notification
Dialogs
Alert Dialog
Is used
Network Connection
Shared Preferences
Writing to Shared Preferences
SharedPreferences settings = getSharedPreferences("Mypref", 0); SharedPreferences.Editor editor = settings.edit(); editor.putString("text", text.getText().toString()); editor.commit();
Internal Storage
Writing to Internal Storage openFileOutput() returns FileOutputStream object Write to the file with write() Close the stream with close() Retrieving from Internal Storage Call openFileInput() returns a FileInputStream. Read bytes from the file with read().
External Storage
Get the External storage
File sdCard = Environment.getExternalStorageDirectory (); Write to External Storage Retrieve from External Storage This are available to all the application as they act as global data
SQLite Database
Create a class which extends SQLiteOpenHelper
Create the database and define its schema in the class Get the writable database by calling getWritableDatabase(); Get the readable database getWritableDatabase();
Multimedia
The Android multimedia framework includes support for capturing and playing audio, video and images in a variety of common media types
Audio Playback
MediaPlayer mediaPlayer = MediaPlayer.create(context, R.raw.sound_file_1); mediaPlayer.start(); // no need to call prepare(); create() does that for you
Tone Generator
tone = new ToneGenerator(AudioManager.STREAM_DTMF, 100); Tone Generator Object tone.startTone(int tonetype,int duration in Ms); type value and duration //Start tone with tone //Create
Game Development
Android supports game development, as a result of this several games can be found in android Play. Some types of games in the android are:
Accelerometer Based Games
Conclusion
My 5 and half months of training at Sevya provided me thorough knowledge of Mobile Application Development including Blackberry, Android and J2ME. It helped me in understanding the complete life cycle of application development which starts from analytical phase followed by documentation phase and on verification goes to implementation phase. In my internship I worked in a team with Mr. Vineet Agarwal and Mr. Kumar Raja Donthamsetti and developed some applications with reach controls and also some Gaming applications which I always dreamed off. I got an opportunity to work as a graphic designer for which I used Open Source Gimp. I also got an opportunity to prepare some documentation and user manuals for the ongoing projects of Sevya.
References
Android Developers: (http://developer.android.com)
Google: (http://google.co.in) Wikipedia: (http://www.wikipedia.org/)