1 / 70

Points of discussion

Developing android application by pankaj sarangi 11mtesd01 guide- mahendra k.r . choudhury SUIIT EMBEDDED SYSTEM DESIGN. About Android Development Environment Concepts for android development Design of the project Conclusion Future scope References. Points of discussion.

Télécharger la présentation

Points of discussion

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Developing android application bypankaj sarangi11mtesd01guide-mahendrak.r. choudhurySUIITEMBEDDED SYSTEM DESIGN

  2. About Android Development Environment Concepts for android development Design of the project Conclusion Future scope References Points of discussion

  3. About android

  4. The aim of this project is to design an application named as “Traveler Assistant” which helps user to keep a track of the expenses made during their travel and do a little other stuff. Before going to develop the actual development we should know what are the prerequsitefor developing the application

  5. Different operating system

  6. Andy Rubbin Co-founder of Android INC SVP, Mobile and Digital Content Google INC Android is a open software platform for mobile application development. Android is a complete stack which includes operating system, middleware and application. The operating system is powered by Linux and the application development is done using java

  7. Ecosystem of android

  8. Android versions

  9. 1.What are various building blocks of android app? 2. What is the life cycle of android app? 3. How does a app handles hardware events? 4. How does an app runs background jobs? 5. How to access the database? Basic questions on android

  10. Building blocks of android

  11. What is activity

  12. A description on what is to be done What is intent

  13. Back ground job that has no pause or stopped stage what is service

  14. A barrier between the application and the database so that the data base is not in inconsistent state Content provider

  15. Alert messages like battery low etc What is broadcast receiver

  16. • Applications - google applications -widgets -Android Market  • Multitasking • SDK • Modifiability: Why Android is better ?

  17. Development environment

  18. Software necessary for Android development are Java runtime environment(JRE) Eclipse IDE Android Software Development Kit(SDK) Android development plug-in tools(ADT) Android Virtual Device(AVD) or Emulator

  19. eclipse C

  20. DDMS

  21. ANDROID EMULATOR

  22. Concept for android development

  23. Src Gen Res drawable layout values string menifest Files that makes an android app

  24. layout

  25. MENIFEST FILE

  26. <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android=http://schemas.android.com/apk/res/android //start package="com.pankaj.pankajdrawables“ //package //android name space decoration android:versionCode="1“ //used by the store android:versionName="1.0" > <uses-sdk android:minSdkVersion="14" android:targetSdkVersion="14" /> <application android:allowBackup="true" android:icon="@drawable/ic_launcher" android:label="@string/app_name“ //nmame android:theme="@style/AppTheme" > <activity //activity android:name="com.pankaj.pankajdrawables.MainActivity" android:label="@string/app_name" > <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> </activity> </application> </manifest> //end

  27. VALUES

  28. DRAWABLES

  29. SUPPORTING DIFFERENT SCREEN

  30. LAYOUTS

  31. LINEAR LAYOUT (Vertical)

  32. Linear layout (Horizontal)

  33. RELATIVE LAYOUT

  34. Intent

  35. notification

  36. media player

  37. Video player

  38. Behind the screen

  39. Design of project

  40. Traveler Assistant main screen Expense activity Face book and dial Expense item activity Alert dialogue Audio video The blue print of my project is given below Notification Broadcast receiver

  41. MainActivity.java, ExpenseActivity.java, ExpenseItemActivity.java, ExpenseBR.java, TimeZoneChangeBR.java, IntentActivity.java Media.java, Video.java, Notifications.java, NotificationClickedActivity.java Java files

  42. activity_main.xml expenselayout.xml addexpenselayout.xml intent_activity.xml audioplayer.xml video.xml activity_notifications.xml after_notification_is_clicked.xml strings.xml AndroidManifest.xml Xml files

  43. A xml layout file activity_main.xml was created where there are two buttons named as login button and cancel button, two text views named as user id and password and two edit text where we can write into. Then a class is to be declared as MainActivity.java with an interface onClickwhere we can write the code. The xml file is linked to the code by R.layout.xml The reference to the objects on the UI are created by findViewById. Then we have to set the listener by the method setOnClickListener After this we have to implement the interface .inside interface implementation we have to display some message by the method Toast.makeText After running this application in eclipse we can see some text are displayed when the button is clicked Designing the main screen

More Related