Android Programming编程(36P)(1).ppt
Android Programming,Android Programming,The Android operating system is widely used in:Cell phonesTabletsOther mobile devicesDeveloped by GoogleA subset of the Linux operating system.,Android Programming,Capabilities of Android powered devices(varies by device):GPSInternet(wi-fi&cell)CameraVoice/SoundMovement/OrientationTouch Screen,Traditionally to program Android powered devices you would use such tools as“Eclipse”,a Java IDE or“App Inventor”a web based development tool.“App inventor”has been dropped by GoogleEach of these tools are“free”and use“open the open source”licensing,Android Programming,Android Programming,Problem is five fold:Learning new development toolsLearning new paradigms&vocabularyDeveloping user interface without visual toolsLearning new programming languagePain getting developed software to actual device,Android Programming,An easy to learn,and easy to use“new”programming tool for Android powered devices is“Basic4Android”Uses a Visual Basic(Microsoft)like language IDE with visual design of GUI in both virtual device,emulator&actual deviceCosts$49 USD(Standard),$99 USD for Enterprise version,Android Programming Basic4Android,Free evaluation version can be used for 30 daysVery robust downloadable manual&user support forumRAD tool of choice,Android Programming-,General Features:Simple and powerful toolIDE and programming language 100%focused on Android developmentCompiles to native byte-code.No runtime libraries are required.Created APK files are exactly the same as APK files created with Java/EclipsePerformance is similar to applications written with JavaEvent driven programming language similar to Visual Basic with support for objects and code modules,Android Programming-,General Features:Event driven programming language similar to Visual Basic with support for objects and code modulesNo need to write any XML filesHighly extensible with support for custom Java librariesLarge,active and friendly community of developers.Over 18,000 registered developers!The only available true WYSIWYG visual editor for Android.The visual editor supports multiple screens and resolutions,Android Programming-,General Features:All Android phones and tablets starting with Android 1.6 and up to 4.0 are supportedModern IDE with auto-complete,built-in documentation,internal index New!and other advanced featuresPowerful step-by-step debuggerScreen Capture Tool,Supports all Android core features including:SQL databasesGPSHome screen widgets and live wallpapersBackground services and broadcast listenersBluetooth(serial ports)Phone features:phone calls,sms,contacts,call logs and othersUSB host and accessory modesWeb servicesCameraXML,JSON and CSV,Android Programming-,Supports all Android core features including:Views animationsMulti-touch gesturesNetworking(TCP,UDP,FTP,SMTP and POP3)Push notifications(C2DM)New!Text to speech and voice recognitionAdMob ads and other ads platformsOpenGLGraphics and charts,Android Programming-,Supports all Android core features including:SensorsFiles I/OIntegrate with services such as:Parse,Google services,Twitter,Facebook and othersObjects serializationSip/Voip,Android Programming-,View of the Basic4Android Tools,Note:Developing applications and using the emulator to test is fine,but you must have access to a real Android device(s)and test.You should always test against the type of devices that your software is targeted.,Android Tablet,USB Cable,Micro SD memory Card,7”Tablet,Phone,Android Programming,Challenges(to name a few):Orientation Landscape vs.PortraitScreen Size Various sizesDevice Capabilities GPS and camera,PUBLISHING Your Android App,Icon Image,Screen Shot(s),Also Required:APK fileXML manifest file,PUBLISHING Your Android App,Market Places:MGAndAppOMABarnes&NobleKindle/Amazon,Additional Resources:,Android Application Development for Dummies;Donn FelkerApp Inventor for Android:Build Your Own Apps No Experience Required;Jason TylerBeginning Android;Mark L.Murphy,Additional Resources:,Android Application Development;Rick Rogers,John Lombardo,Zigurd Mednieks Mark L.Murphy,