Banding, 291 Blender 2.69, 22

Size: px
Start display at page:

Download "Banding, 291 Blender 2.69, 22"

Transcription

1 Index A ActionBar, 153. See also Menu class AnalogClock Tab Fragment, 234, 235 analogclockwidget4pencil.png, 230 Android ActionBar class, 155 blue resizing handles, 233 centered horizontal, 231 centering, 230 clocktablistener, 165 constructor method, 167 custom methods, 167 launchfragment, 169 private class, 166 components, 154 font setting, 229 FragmentTransaction class, 170.add( ) method, 172.addTab( ) method, 181, 185 analogclockfragment.java class, 182 clocktablistener( ) constructor, 180, 184.getActionBar( ) method, 175 keystroke combination, 188 launchfragment object, 174 MainActivity.java tab, 175.newTab( ) method, 177 oncreateview( ) method, 183 ontabselected( ) method, 171 ontabunselected( ) method, 173.replace( ) method, 188.setNavigationMode( ) method, 176.setTabListener( ) method, 180.setText( ) method, 178 testing, 187 transform constants, 170 Java Foundation Add return statement option, 163 class creation, 160 digclocklayout ViewGroup object, 163 digitalclockfragment.java class, 161 import statements, 162 naming, 161 oncreateview( ) method, 162 LayoutInflater class, 164 getlayoutinflater( ) method, 164 getsystemservice( ) method, 164 hierarchy, 164.inflate( ) method, 165 masked image, 233 NAVIGATION_MODE_LIST, 154 NAVIGATION_MODE_STANDARD, 154 NAVIGATION_MODE_TABS, 154 photo-realistic prototype, 235 plain Text Properties, 230, 234 positioning, 230, 231 scaling operation, 232 sizing policy, 228, 231, 233 tedious position, 235 workstation s clipboard, 232 XML layout, 155 AdapterView class, 447 ADT Bundle ZIP file download and install, 7 IDE installation, 9 launch IDE and update ADT Android SDK Manager, 14 Eclipse software repository, 14 functional panes, 13 Google USB Driver, 16 New Android Application creation, 13 Workspace Launcher,

2 542 Index Alignment constants, 417 AMR (Adaptive Multi-Rate) audio codecs, 198 AnalogClock widget, 51 graphical layout editor, layout_below parameter, TextView tag, 53 widget and relative layout parameter, 56 widget child tag, 52 Android Application Development workstation, 3 ADT Bundle ZIP file (see ADT Bundle ZIP file) digital audio editing, 23 digital image editing, 20 digital video editing, 26 3D modelling and animation, 22 Java 4, 6 wireframing tool, 17 Android s Developer Tools (ADT), 3 Android s DrawerLayout Class, 445 AbsListView class, 445 activity creation auto-drawer retraction, 464 drawerlayout refining (see DrawerLayout Refining) imageview, backgrounds changing (see Imageview, backgrounds changing) Java activity subclass (see Java Activity Subclass) ListView Event Handling, 459 <string> constants, 462 UI drawer xml creation (see UI Drawer Xml creation) Android ActionBar, 446 android.support.v4.widget, 446 ListView UI class, 445 MATCH_PARENT constant, 446 RTL user mode, 446 usage AbsListView class, 448 AdapterView class, 449 Android Adapter Interface, 450 listview class, 447 Android s GridLayout Class, 411 cells, 412 flexibility, 413 gravity, 413 grid indices, 412 Java Object master class, 412 layout parameters,nested class alignment Constants, 417 class parameters, 418 horizontal or vertical spec, 418 nested class (see GridLayout. LayoutParams Nested Class) locations, 413 rowspec, columnspec parameters, 412 shortcomings CENTER alignment, 414 GUI layout containers, 415 top left parameter, 415 space, 413 visibility, using GONE GONE behavior, 414 zero height, 414 zero width, 414 Android Virtual Device (AVD), 84 Anti-aliasing, 289 API Levels, 239 Audacity 2.0.5, 24 B Banding, 291 Blender 2.69, 22 C Cascading Style Sheet (CSS), 274 codec (COderDECoder), 196 Color banding, 196 CompuServe s GIF, 284 ContextMenu, 99, 131 Android XML File menu sequence, 135 API support level AndroidManifest.xml file, 148 android:minsdkversion, <application> child tag, 149 <intent-filter> tag, 149 AVD Nexus One Emulator, 151 main_context.xml menu resource, 135 android:id parameter, 136 <item> child tags, 136 parent <menu> tag, 136 method implementation, 133 getmenuinflater( ) method, 134 inflate( ) method, 134 oncreatecontextmenu( ) method, 133 registerforcontextmenu( ) method, 133

3 Index 543 oncontextitemselected( ) method, 134, , 142 oncreatecontextmenu( ) method, 138 overview, 132 registerforcontextmenu( ) method, setonclicklistener( ) method, setonmenuitemclicklistener( ) method, 150 show( ) method, 150 <string> Tag, 137 TextView installation, 146 findviewbyid( ) method, 147 oncreate( ) method, 146 D Design Patterns, 225 backward compatibility, 248 actionbar tabs, 249 virtual navigation key, 249 Branding, 245 complexity, 238 android environment, 239 API levels, 239 backward compatibility, 239 fourth dimensionis time, 239 design principles, 249 grouping devices, 246 intra-application navigation, 243 layouts, 247 landscape screen declination, 247 pixel densities, 248 portrait screen declination, 247 navigation class, 242 navigation drawer, 242 sliding drawer, 242 swipe view, 242 rules, 240 Intent class and API, 240 standard back button, 240 standard icons, 240 top-mounted actionbar, 240 use chrome, 240 screen navigation double touch gesture, 241 Pinch Closed gesture, 242 primary gestures, 241 swipe gesture, 241 touch gesture, 241 UI design feedback Disabled state, 245 focused and disabled state, 245 Focused state, 245 Normal state, 245 Pressed state, 245 toast class, 245 user configuration, 244 Digital image and digital video alpha channels android:background parameter, 211 image compositing operation, 212 in PNG32 images, 209 Refresh command, 210 using GIMP , 214 checkerboard pattern, 214 clockhoop480 layer, 216 hour markers, 217 Direct subclasses, 63 SurfaceView class, 63 TextureView class, 63 utilities KeyboardView, 63 ProgressBar, 63 utility subclasses, 63 widgets AnalogClock, 63 imageview widget, 63 TextView, 63 Dithering, 291 Drag-and-drop tools (GLE), 369 DrawerLayout Refining contentdescription tag, 467 divider parameter, 466 global padding values, 468 image divider,ui element setting, 466 listviewdiv.png asset, 467 localized padding parameters, 468 shadowcolor parameter, 469 shadowradius parameter, 469 E ELD (Enhanced Low Delay), 198 End user licensing agreement (EULA), 8 Event handling. See onoptionsitemselected( ) method extensible Markup Language (XML). See XML mark-up

4 544 Index F findviewbyid( ) method, 490 FLAC (Free Lossless Audio Codec), 197 FrameLayout class, android, layout_gravity parameter, 312 definition, 312 direct subclass, 313 FrameLayout.LayoutParams class, android, 314 layout_gravity parameter, 313 ViewGroup.LayoutParams, 313 FrameLayout UI design, 313 gravity UI design, 312 indirect subclass, 313 MediaController class (see MediaController class) MediaPlayer class, 317 android.media package, 317 data buffering status, 318 playback engine, 317 transport controls, 318 VideoView class, 315 android.widget package, 315 life cycle, 316 VideoView method calls, 316 G, H getmenuinflater( ) method, 134.getPageTitle( ) method, 520 GIMP , 22 GIMP digital imaging software linearlayout UI design AVD, 375 contentdescription parameter, 371 drag-and-drop tools (GLE), 369 graphical layout, , Java code, left-chevron, 369 linearactivity class, 374 manifest application, 374 src parameter, 370 nesting UI layout containers for advanced design (see Nesting UI layout containers for advanced design) GIMP digital imaging software for UI design multi-state imagebutton assets algorithm, 366 button_styling.png layer, 364 HDPI image, 366 hue-saturation, ib_earth_hover.png, 362 Image Scale, 365 layers-brushes pane, 364 <LinearLayout> parent tag, 368 linearlayout UI design, 368 red ring, 362 resolution, 368 <selector> root element, 367 <selector> tag, 366 states, 361 XML markup, 367 Google chromebook, 354 Graphics Information Format (GIF), 194 Grid alignment engine, 416 GridLayout implementation column span feature, 430 background color parameters, 432 columncount and rowcount parameter, 431 layout_marginbottom parameter, 432 layout_margin parameters, 430 tv4_earth TextView, 434 Venus ImageButton, 434 defining the gridlayout alignmargins constant, 423 eclipse ADT gridlayout, 422 global configuration parameters, 422 ImageButton UI element, 424 Row Zero Column One, 425 XML ImageButton, 424 XML markup, 423 gravity parameters usage fourth planet ImageButton, grid cell structure, 430 GridLayout UI container, 429 layout_gravity parameter, 429 positioning control, 428 java Activity interactions final ImageButton, 427 GONE visibility parameter, 427 layout_gravity parameter, 428

5 Index 545 Java Code, addition argb( ) method, 436 earthtext1 object, 437 four TextView instantiation, parameter, 438 OnClickListener( ) methods, 435, 438 R.string resource path, 437 settext( ) method, 436 new media elements, grid UI compositing android shadow parameters, XML parameter, mygridlayout object, 441 One emulator s resolution density, 441 pretty darned cool, 441 setbackgroundresource( ) method, 441 upgrading strings.xml, 425 userinterface menu structure gridlayout activity_grid.xml, 420 GridLayout UI design, 420 minimum API level, 420 parent tag, child tag parameters, 421 SDK version, 421 GridLayout.LayoutParams Nested Class grid alignment engine, 416 gridlayout attributes, 416 public static class, 415 rowcount, columncount parameters, 416 static XML parameters, 416 XML UI definition file, 415 I Imageview, backgrounds changing closedrawer( ) method, 470 DrawerActivity class, 472 planetimageview, 470 setbackgroundresource( ) method, 469, 471 Import OnItemClickListener, 459.inflate( ) method, 150 Inflation, 164 J, K Java, 359 Java Activity Subclass drawerlayoutlistview, 457 findviewbyid( ), 455 Import ListView, 453 layout_gravity parameter, 458 listview_planet_textview, 456 New Java Class dialog, 453 parent container, 454 R.layout.activity_drawer, 454 setcontentview( ), 454 String[ ] Array, 453 string-array option, 454 Java 6 JDK environment, 4 download link, 5 installation, 6 Joint Photographic Experts Group (JPEG) format, 194, 284 L LayoutAnimationController, 35 Layout containers, 29. See also ViewGroup class parameters, 31 parent and child tags, 30 widgets, 30 XML mark-up, 30 Layout conventions, 251 compound view types, DIP rule, 252 gravity, 254 match_parent constant, 253 relativelayout container, 254 resource qualifiers, 255 abstract size, 255 alias, 255 definition, 255 DIP dimension, DPI low resolution assets, 256 imagery/drawable assets, 256 morphable creation (see Morphable creation) proper pixel resolutions, 259 Pseudo HD resolution, 259 small, large and xlarge screen, Pre-Android 3.2, 256 <supports-screens> tag, 259 -sw#dp,-w#dp and-h#dp screen size, 257 XML markup, 255 single pane vs. multi-pane, 252 variable positioning, 254 wrap_content constant, 254 LayoutParams nested classes, 33 Lightworks 11.5, 26

6 546 Index LinearLayout Class, 350 horizontal/vertical UI design, 350 feature, 351 scale up/scale down, 350 setorientation( ) method, 350 weight, 351 XML parameter, 350 zero weight, 351 imagebutton class, 352 ActionBar, 353 advantage, 353 definition, 353 digital images, 353 google chromebook, 354 multi-state features, 353 multi-state images, 353 setimageresource( ) method, 353 src XML parameter, 353 structure, 352 usage, 354 XML drawable, 354 XML markup, 354 LinearLayout.LayoutParams Class, 352 user Interface (UI), 350 userinterface menu structure (see UserInterface menu structure) M MarginLayoutParams, 34 Masking, 288 MediaController class, 318 android.widget package, 318 digital video, 324 frames per second, 325 MPEG-4 H.264 AVC (Advanced Video Coding), 325, 326 raw data footprint, 325 standard definition (SD), 325 WebM, 326 digital video compression, 326 captive video assets, 327 codecs, 327 data pipe size, 327 frame rate, 328 manual setting, 328 raw data resource folder, 326 sharpness setting, 328 Sorenson Squeeze, 327 video data packets, 327 MediaController.MediaPlayerControl, 319.setAnchorView( ) method, 319.setPrevNextListeners( ) method, 320 Sorenson Squeeze, 334 codec settings, 337 FrameLayout UI container, 341 import intro.avi file, 335 MPEG4 file compressed, 338 OnPreparedListener( ) method, 344 preset option, 338 stream digital video, 345 Terragen3 project directory, 336 Terragen3 software, 329 UItransport, 346, 348 setanchorview( ) method, 347 setmediacontroller( ) method, 347 URI class, 322 android.net.uri class, 322 data path reference, 323 data path validation, 323 Uri.parse( ) method, 323 UserInterface app, 320 android :id parameter, 321 digital video asset, 322 Import VideoView, 322 MainActivity.java code, 320 oncreate( ) method, 320 setcontentview( ) method, 320 splashscreen, 321 video playback, 340 VirtualDub, 331 Media formats digital audio codecs and formats, 197 sampling, 200 terminology, 199 digital image and digital video alpha channels, 209 codec, 196 supporting formats, 194 terminology, 195 digital video compression, 201

7 Index 547 Menu class, 97 attributes (child tag parameters), 102 icons, 111 Colors Hue-Saturation menu sequence, Edit Undo Hue-Saturation menu sequence, 115 export button, File Export menu sequence, 114 File Open Image dialog, 112 Hue-Saturation tool, Hue slider, 113 public interface, 98 run configurations dialog, 117 user interface design Context Menu, 99 Options Menu, 99 overview, 98 Popup Menu, 100 XML format (<menu> and <item> tags), 100 Morphable creation analogclock graphics activity_analog.xml file, 261 centerhorizontal parameter, 260 editor tab, Eclipse, 262 margintop parameter, 260 <string> constants, 263 relativelayout <Button> tag, 264 margintop parameters, 264 Nexus One emulator, 265 testing, landscape mode, 266 worldclock and happyclock button, 264 XML markup, 264 resource qualifier activity_analog XML tab, Android XML File dialog, 268 below and margintop parameters, 270 folder dialog, layout-land, 267 marginleft parameter, 269 Nexus One emulator, 271 torightof parameter, 269 XML markup, 270 MPEG-4 (Motion Picture Experts Group), 195 N Nesting UI layout containers for advanced design complex linearlayouts, 376 layout_gravity, 377 layout_marginright, 378 structure, 376 deeplinearlayouts, 378 design, 378 <string> constants, 381 tricky parameter usage, 379 two levels, 378 vertical orientation, 379 visibility parameters, java event handling application, 385 methods, 382 onclick( ) event handler, 383 onclick( ) methods, 382 OS code, setonclicklistener( ) method, 382 visibility constants, 383 Nexus 7 AVD emulator, O Ogg Vorbis digital audio format, 198 oncontextitemselected( ) method, , 142 oncreatecontextmenu( ) method, 133, 138 onoptionsitemselected( ) method, 120 case statements, 127 color option, 122 color.xml file, custom color constants, 128.getItemId( ) method, 121 getresources( ).getcolor( ) method, 125, 127 switch and case statements, 121 testing, 129 XML file dialog, 123 OptionsMenu class editing parameters selected icon, 109 showasaction, 110 tags and parameters, 108 main.xml menu definition oncreateoptionsmenu( ) method, resource, screenshot,

8 548 Index OptionsMenu class (cont.) MenuItems, onoptionsitemselected () (see onoptionsitemselected( ) method) Options Menu, 99 string constants, 107 switch orientation mode action bar, landscape mode, 119 menu button, 118 OptionsMenu class. See Menu class Oracle Java software development kit (SDK), 3 P, Q Padding parameters, 34 PagerTabStrip class, 529.getPageTitle( ) method, 529 hierarchy, 529 image composition, 537 import statement, 529 method calls, 530 morph a PagerTitleStrip UI custom digital images, 536 Java UI Definition, 531.setBackgroundColor( ) method, 532.setbackgroundResource( ) method, 537.setPadding( ) method, 538.setTabIndicatorColor( ) method, 534 XML UI Definition, 530 PagerTitleStrip class, 518 findviewbyid( ) method, 524.getPageTitle( ) method, 518, 520 hierarchy, 518 implementation, 518 import statement, 518 method calls, 519 protected methods, 519.setTextColor( ) method, 526.setTextSize( ) method, 525.setTextSpacing( ) method, SP TextSize and CYAN TextColor, 527 String[ ] Array, 519 ViewPagingActivity class, 523 XML coding, 522 PCM (Pulse Code Modulated) audio, 199 Pencil 2.0.5, 17 Pencil 2.0.5, Wire-framing, 225 actionbar (see ActionBar) landscape prototyping, 236 actionbar application icon, 237 Pencil file format, 236 pencil programming logic, 236 UI design rescaling, 237 properety set up, 226 sizing policy settings, 237 Pixel, 195 PNG (pronounced PING), 194 Popup Menu, 100, 131 Android XML File dialog, 144 using XML markup android:id parameter, 145 <item> child tags, 144 main_popup.xml tab, widget localized menu, 143 Portable Network Graphics (PNG), 284 pro.android.ui Package. See UserInterface project R RelativeLayout class, 387 alignment parameters, 401 android:layout_alignleft parameters, 402 android:layout_aligntop parameter, 401 android:layout_below parameters, 401 android:layout_torightof parameter, 401 ImageButton UI elements, 398 android:aligntop parameter, 400 android:layout_below parameter, 399 android:layout_torightof parameter, 399 LinearLayout design, 395 android:id parameter, 396 android:layout_gravity parameter, 396 android:layout_marginright parameters, 395 ported UI elements, 398 ViewGroup.MarginLayoutParams superclass, 397 margin alignment, 403 balancing parameters, graphical layout editor, 403 layout_margintop parameter, 404

9 Index 549 memory efficient, 387 RelativeLayout.LayoutParams class, 389 align parent layout parameters, 391 layout_alignbaseline parameter, 390 layout_alignwithparentifmissing, 391 positional alignment parameters, 390 positioning parameters, 389 UI design, 388 android:gravity settings, 388 parameters alignment, 388 TwoLineListItem class, 388 UI menu structure, 391 class RelativeActivity option, 393 flat layout design, 395 RelativeLayout UI design, 392 setcontentview( ) method, 394 setcurrentview( ) method, 394 Superclass Selection dialog, 393 RelativeLayout (XML attributes) graphical layout editor, 43 parameter helper dialog, 46 TextView widget, 44 Resolution-density, 219 downsampling, 221 naming convention, 222 S Sampling, 200 settext( ) method, 436 SlidingPaneLayout class, 473 contacts/favorites database, 474 dual-pane, 474 hierarchy, 474 horizontal pane, 474 nested classes, 476 optimal usage, 474 simple listener, 476 UserInterface App (see UserInterface App) weight parameter, 475 String constants, 107 Styles description, 202 UserInterface application, 203 android:layout_margintop parameter, 208 <item> child tags, 206 style definition XML file, 203 style reference parameter, 206 testing, 208 Text View styling parameters, 205 txtclock.xml style definition, 205 T Tagged Image File Format (TIFF), 286 TextView UI widget (XML attributes) background parameter, 47 hexadecimal string, 47 UI layout container, 48 U UI Drawer Xml creation Android XML File work process, 451 Eclipse ADT, 450 nested ListView, 451 padding parameters, 452 singlechoice constant, 451 TextView UI elements, 452 UI themes, 273 <activity> tags, 283 <application> tag, 275 Holo Dark Theme, 278 <resource> parent tag, 275 <style> tag definition, 275 XML definition, 276 digital image alpha channels, 286, 292 anti-aliasing, 289 aspect ratios, 285 blending modes, 287 color channel, 285 color depth, 286, 290 dithering, 291 GIF, 284 GIMP compositing, 293 hexadecimal notation, 287 JPEG, 284 masking, 288 pixel arrays, 284 PNG, 284 resolution, 290 truecolor depth image, 286 WebP, 284

10 550 Index UI themes (cont.) golden hoop clock, 295 Holo Dark Theme, 274, 279 AppBaseTheme.ActionBar style, 279 keystroke combination, 280 testing, 281 Holo Light Theme, 274 myanalogclock event handling code, 298.findViewById() method, 298 return analogclock.inflate( ), 298 setbackgroundresource( ) method, 297 size-based resource qualifiers, 301 testing, 300 red title text AppBaseStyle.ActionBar.TitleTextStyle, 282 testing, 282 TextAppearance style, 281 styling, 274 Uniform Resource Identifier (URI), 322 UserInterface App ADT problems, 71 AndroidManifest.xml file, 483 Android Virtual Device (AVD), 84 background image installation, 487 background parameter, 486 design stimulation, 88 GONE visibility constants, 93 INVISIBLE constants, 88 VISIBLE constants, 88 direct subclasses, 63 event handling, 77 findviewbyid( ) method, 78 OnCLickListerner( ) method, 77 setonclicklistener( ) method, 79 unimplemented methods, 81 image compositing, 485 <item> tag, 483 layout_marginleft parameter, 487 layout_width parameter, 485 MainActivity.java, relativelayout container, 69 relative layout hierarchy, 74 setcontentview( ) Method, 68 setvisibility( ) method, 82 starstrip.png image asset, 487 string constants, 76 testing, , 493 using java, 488 code, 490 ib_venus_normal.png, 491 layout_marginleft parameter, 488 Nexus One emulator, 492 oncreate( ) method, 490 setonclicklistener( ) structure, 491 view class (see View class) view widgets (see View widgets) XML, 476 <ImageButton> child tag, 477 <LinearLayout> child tag, 477 Mars ImageButton creation, 477 MATCH_PARENT constant, 481 strings.xml file, 480 <TextView> child tags, 480 using GIMP, 477 WRAP_CONTENT constant, 481 User interface design Context Menu, 99 Options Menu, 99 overview, 98 Popup Menu, 100 UserInterface menu structure application, 355 characters, 359 finish button, 360 getmenuinflater( ) method, 355 GIMP digital imaging software for UI design (see GIMP digital imaging software for UI design) intent class, 358 intent object, 360 linearactivity.class, 359 oncreateoptionsmenu( ) method, 355 onoptionsitemselected( ) method, 357 package name, 359 startactivity( ) method, 361 switch case, 356 testing, 356 uses, 357 UserInterface project activity dialog, 41 application dialog, 37 blank activity dialog, 42 configure project dialog, 39 pro android graphics, 36

11 Index 551 V VideoView class, 315 android.widget package, 315 definition, 315 life cycle digital video asset, 316 MediaPlayer.OnPreparedListener, 317 pause( ) method, 317 release( ) method, 317 reset( ) method, 317 start( ) method, 317 stop( ) method, 317 Uri.parse( ) method, 317 video playback states, 316 VideoView method calls, 315 View class, 61 listener interfaces, 66 OnAttachStateChangeListener( ), 68 OnClickListener( ), 66 OnDragListener( ), 67 OnGenericMotionListener( ), 67 OnHoverListener( ), 67 OnKeyListener( ), 67 pointers, 68 View.OnClickListener( ), 66 parameters, 64 Superclass, android view package, 62 ViewGroup class, 29. See also Layout containers AnalogClock widget (see AnalogClock widget) LayoutAnimationController, 35 layout containers, 32 margins and padding parameters, 34 RelativeLayout (XML attributes) graphical layout editor, 43 parameter helper dialog, 46 TextView widget, 44 TextView UI widget (XML attributes) background parameter, 47 hexadecimal string, 47 UI layout container, 48 UserInterface project activity dialog, 41 application dialog, 37 blank activity dialog, 42 configure project dialog, 39 pro android graphics, 36 values folder dimens.xml file, 58 graphical llayout editor tab, 57 hello_world tag, 56 ViewGroup.LayoutParams, 33 ViewGroup.MarginLayoutParams, 33 view padding parameter graphical layout editor tab, 51 TextView widget, 49 view container, 50 ViewPagerAdapter class destroyitem( ) method, 513 getcount( ) method, 511 instantiateitem( ) method, isviewfromobject( ) method, 514 public Parcelable.saveState( ) method, 515 restorestate( ), startupdate( ), and finishupdate( ), 515 ViewPager class, 497. See also ViewPagingActivity Class add ImageButtons, 507, 509 horizontal scrolling multi-pane constants, 499 Decoration Views, 499 definition, 498 PagerAdapter, 498 support.v4.view package, 499 LayoutParams Nested class definition, 499 gravity parameter, 500 isdecor parameter, 500 multi-pane UIs, XML, 504 PagerAdapter, 497, 500, 503 destroyitem( ), 502 FragmentPagerAdapter and FragmentStatePagerAdapter, 503 isviewfromobject( ), 502 method overriding, 501 notifydatasetchanged( ), 502 removeview( ) method, 502 startupdate( ), 502 ViewPager UI designs, 517 PagerTabStrip (see PagerTabStrip class) PagerTitleStrip (see PagerTitleStrip class) ViewPagingActivity Class AndroidManifest.xml, 507 creation, 505

12 552 Index ViewPagingActivity Class (cont.) intent_vpl, 505 Java Class dialog, 506 swipe space images error-free code, 511 java code, 509 oncreate( ) method, 510 public void oncreate( ) method, 510 setadapter( ) method, 511 testing, 516 ViewPagerAdapter class (see ViewPagerAdapter class) View widgets, 61 android widget package, 62 View.OnFocusChangeListener( )method, 65 W WebP (Web Photo), 284 X, Y, Z XML mark-up, 30 XML menu (<menu> and <item> tags), 100

CS 528 Mobile and Ubiquitous Computing Lecture 2a: Android UI Design in XML + Examples. Emmanuel Agu

CS 528 Mobile and Ubiquitous Computing Lecture 2a: Android UI Design in XML + Examples. Emmanuel Agu CS 528 Mobile and Ubiquitous Computing Lecture 2a: Android UI Design in XML + Examples Emmanuel Agu Android UI Design in XML Recall: Files Hello World Android Project XML file used to design Android UI

More information

CS 4518 Mobile and Ubiquitous Computing Lecture 2: Introduction to Android Programming. Emmanuel Agu

CS 4518 Mobile and Ubiquitous Computing Lecture 2: Introduction to Android Programming. Emmanuel Agu CS 4518 Mobile and Ubiquitous Computing Lecture 2: Introduction to Android Programming Emmanuel Agu Android Apps: Big Picture UI Design using XML UI design code (XML) separate from the program (Java) Why?

More information

Chapter 2 Welcome App

Chapter 2 Welcome App 2.8 Internationalizing Your App 1 Chapter 2 Welcome App 2.1 Introduction a. Android Studio s layout editor enables you to build GUIs using drag-and-drop techniques. b. You can edit the GUI s XML directly.

More information

CS 528 Mobile and Ubiquitous Computing Lecture 2a: Introduction to Android Programming. Emmanuel Agu

CS 528 Mobile and Ubiquitous Computing Lecture 2a: Introduction to Android Programming. Emmanuel Agu CS 528 Mobile and Ubiquitous Computing Lecture 2a: Introduction to Android Programming Emmanuel Agu Editting in Android Studio Recall: Editting Android Can edit apps in: Text View: edit XML directly Design

More information

CS371m - Mobile Computing. User Interface Basics

CS371m - Mobile Computing. User Interface Basics CS371m - Mobile Computing User Interface Basics Clicker Question Have you ever implemented a Graphical User Interface (GUI) as part of a program? A. Yes, in another class. B. Yes, at a job or internship.

More information

CS 403X Mobile and Ubiquitous Computing Lecture 3: Introduction to Android Programming Emmanuel Agu

CS 403X Mobile and Ubiquitous Computing Lecture 3: Introduction to Android Programming Emmanuel Agu CS 403X Mobile and Ubiquitous Computing Lecture 3: Introduction to Android Programming Emmanuel Agu Android UI Tour Home Screen First screen, includes favorites tray (e.g phone, mail, messaging, web, etc)

More information

Fig. 2.2 New Android Application dialog. 2.3 Creating an App 41

Fig. 2.2 New Android Application dialog. 2.3 Creating an App 41 AndroidHTP_02.fm Page 41 Wednesday, April 30, 2014 3:00 PM 2.3 Creating an App 41 the Welcome app s TextView and the ImageViews accessibility strings, then shows how to test the app on an AVD configured

More information

CS 528 Mobile and Ubiquitous Computing Lecture 2: Intro to Android Programming Emmanuel Agu

CS 528 Mobile and Ubiquitous Computing Lecture 2: Intro to Android Programming Emmanuel Agu CS 528 Mobile and Ubiquitous Computing Lecture 2: Intro to Android Programming Emmanuel Agu Android UI Tour Home Screen First screen after unlocking phone or hitting home button Includes favorites tray

More information

User Interface: Layout. Asst. Prof. Dr. Kanda Runapongsa Saikaew Computer Engineering Khon Kaen University

User Interface: Layout. Asst. Prof. Dr. Kanda Runapongsa Saikaew Computer Engineering Khon Kaen University User Interface: Layout Asst. Prof. Dr. Kanda Runapongsa Saikaew Computer Engineering Khon Kaen University http://twitter.com/krunapon Agenda User Interface Declaring Layout Common Layouts User Interface

More information

ES E 3 3 L a L b 5 Android development

ES E 3 3 L a L b 5 Android development ES3 Lab 5 Android development This Lab Create a simple Android interface Use XML interface layouts Access the filesystem Play media files Info about Android development can be found at http://developer.android.com/index.html

More information

Action Bar. Action bar: Top navigation bar at each screen The action bar is split into four different functional areas that apply to most apps.

Action Bar. Action bar: Top navigation bar at each screen The action bar is split into four different functional areas that apply to most apps. 1 Action Bar Action bar: Top navigation bar at each screen The action bar is split into four different functional areas that apply to most apps. 1) App Icon 3) Action Buttons 2)View Control 4) Action Overflows

More information

04. Learn the basic widget. DKU-MUST Mobile ICT Education Center

04. Learn the basic widget. DKU-MUST Mobile ICT Education Center 04. Learn the basic widget DKU-MUST Mobile ICT Education Center Goal Understanding of the View and Inheritance of View. Learn how to use the default widget. Learn basic programming of the Android App.

More information

Using Eclipse for Android Development

Using Eclipse for Android Development 3 Using Eclipse for Android Development This chapter is an introduction to building a complete Android app. The chapter includes creating a new app project, exploring the components of an Android app,

More information

Hello World. Lesson 1. Android Developer Fundamentals. Android Developer Fundamentals. Layouts, and. NonCommercial

Hello World. Lesson 1. Android Developer Fundamentals. Android Developer Fundamentals. Layouts, and. NonCommercial Hello World Lesson 1 This work is licensed This under work a Creative is is licensed Commons under a a Attribution-NonCommercial Creative 4.0 Commons International Attribution- License 1 NonCommercial

More information

CS 528 Mobile and Ubiquitous Computing Lecture 2: Intro to Android Programming Emmanuel Agu

CS 528 Mobile and Ubiquitous Computing Lecture 2: Intro to Android Programming Emmanuel Agu CS 528 Mobile and Ubiquitous Computing Lecture 2: Intro to Android Programming Emmanuel Agu Students: Please Introduce Yourselves! Name Status: grad/undergrad, year Relevant background: e.g. coal miner

More information

Produced by. Mobile Application Development. David Drohan Department of Computing & Mathematics Waterford Institute of Technology

Produced by. Mobile Application Development. David Drohan Department of Computing & Mathematics Waterford Institute of Technology Mobile Application Development Produced by David Drohan (ddrohan@wit.ie) Department of Computing & Mathematics Waterford Institute of Technology http://www.wit.ie User Interface Design" & Development -

More information

O X X X O O X O X. Tic-Tac-Toe. 5COSC005W MOBILE APPLICATION DEVELOPMENT Lecture 2: The Ultimate Tic-Tac-Toe Game

O X X X O O X O X. Tic-Tac-Toe. 5COSC005W MOBILE APPLICATION DEVELOPMENT Lecture 2: The Ultimate Tic-Tac-Toe Game Tic-Tac-Toe 5COSC005W MOBILE APPLICATION DEVELOPMENT Lecture 2: The Ultimate Tic-Tac-Toe Game Dr Dimitris C. Dracopoulos O X X X O O X O X The Ultimate Tic-Tac-Toe: Rules of the Game Dimitris C. Dracopoulos

More information

Android UI: Overview

Android UI: Overview 1 Android UI: Overview An Activity is the front end component and it can contain screens. Android screens are composed of components or screen containers and components within the containers Screen containers

More information

ANDROID USER INTERFACE

ANDROID USER INTERFACE 1 ANDROID USER INTERFACE Views FUNDAMENTAL UI DESIGN Visual interface element (controls or widgets) ViewGroup Contains multiple widgets. Layouts inherit the ViewGroup class Activities Screen being displayed

More information

EMBEDDED SYSTEMS PROGRAMMING UI and Android

EMBEDDED SYSTEMS PROGRAMMING UI and Android EMBEDDED SYSTEMS PROGRAMMING 2016-17 UI and Android STANDARD GESTURES (1/2) UI classes inheriting from View allow to set listeners that respond to basic gestures. Listeners are defined by suitable interfaces.

More information

CS371m - Mobile Computing. More UI Action Bar, Navigation, and Fragments

CS371m - Mobile Computing. More UI Action Bar, Navigation, and Fragments CS371m - Mobile Computing More UI Action Bar, Navigation, and Fragments ACTION BAR 2 Options Menu and Action Bar prior to Android 3.0 / API level 11 Android devices required a dedicated menu button Pressing

More information

CS371m - Mobile Computing. More UI Navigation, Fragments, and App / Action Bars

CS371m - Mobile Computing. More UI Navigation, Fragments, and App / Action Bars CS371m - Mobile Computing More UI Navigation, Fragments, and App / Action Bars EFFECTIVE ANDROID NAVIGATION 2 Clicker Question Have you heard of the terms Back and Up in the context of Android Navigation?

More information

Praktikum Entwicklung Mediensysteme. Implementing a User Interface

Praktikum Entwicklung Mediensysteme. Implementing a User Interface Praktikum Entwicklung Mediensysteme Implementing a User Interface Outline Introduction Programmatic vs. XML Layout Common Layout Objects Hooking into a Screen Element Listening for UI Notifications Applying

More information

The drawable/tile empty.xml file

The drawable/tile empty.xml file The X and O Symbols 5COSC005W MOBILE APPLICATION DEVELOPMENT Lecture 3: Ultimate Tic-Tac-Toe Game: The Interface Dr Dimitris C. Dracopoulos Create them with the filenames x blue.png and o red.png in an

More information

Introductory Android Development

Introductory Android Development Introductory Android Development 152-163 Notes Quick Links & Text References Introduction Pages Layout Concepts Pages Layout Types Pages 35 37 XML Overview Pages Common Attributes Layout Height & Width

More information

MC Android Programming

MC Android Programming MC1921 - Android Programming Duration: 5 days Course Price: $3,395 Course Description Android is an open source platform for mobile computing. Applications are developed using familiar Java and Eclipse

More information

User Interface Development. CSE 5236: Mobile Application Development Instructor: Adam C. Champion Course Coordinator: Dr.

User Interface Development. CSE 5236: Mobile Application Development Instructor: Adam C. Champion Course Coordinator: Dr. User Interface Development CSE 5236: Mobile Application Development Instructor: Adam C. Champion Course Coordinator: Dr. Rajiv Ramnath 1 Outline UI Support in Android Fragments 2 UI Support in the Android

More information

Androidfp_printOnly.book Page vii Tuesday, October 4, :15 AM. Contents. Before You Begin

Androidfp_printOnly.book Page vii Tuesday, October 4, :15 AM. Contents. Before You Begin Androidfp_printOnly.book Page vii Tuesday, October 4, 2011 9:15 AM Preface Before You Begin xiv xxii 1 Introduction to Android 1 1.1 Introduction 2 1.2 Android Overview 4 1.3 Android 2.2 (Froyo) 7 1.4

More information

Beginning Android 4 Application Development

Beginning Android 4 Application Development Beginning Android 4 Application Development Lee, Wei-Meng ISBN-13: 9781118199541 Table of Contents INTRODUCTION xxi CHAPTER 1: GETTING STARTED WITH ANDROID PROGRAMMING 1 What Is Android? 2 Android Versions

More information

Index. B Billboard mapping mode (billboard projection), 112 Blender, 8

Index. B Billboard mapping mode (billboard projection), 112 Blender, 8 Index A Adaptive Multi-Rate (AMR) audio codecs, 40 Adaptive Multi-Rate Narrow-Band (AMR-NB), 40 Adaptive Multi-Rate Wide-Band (AMR-WB), 40 Advanced Audio Coding (AAC), 40 Algorithmic blending mode, 21

More information

Lab 3. Accessing GSM Functions on an Android Smartphone

Lab 3. Accessing GSM Functions on an Android Smartphone Lab 3 Accessing GSM Functions on an Android Smartphone 1 Lab Overview 1.1 Goals The objective of this practical exercise is to create an application for a smartphone with the Android mobile operating system,

More information

Android Basics. Android UI Architecture. Android UI 1

Android Basics. Android UI Architecture. Android UI 1 Android Basics Android UI Architecture Android UI 1 Android Design Constraints Limited resources like memory, processing, battery à Android stops your app when not in use Primarily touch interaction à

More information

A view is a widget that has an appearance on screen. A view derives from the base class android.view.view.

A view is a widget that has an appearance on screen. A view derives from the base class android.view.view. LAYOUTS Views and ViewGroups An activity contains Views and ViewGroups. A view is a widget that has an appearance on screen. A view derives from the base class android.view.view. One or more views can

More information

CS378 -Mobile Computing. User Interface Basics

CS378 -Mobile Computing. User Interface Basics CS378 -Mobile Computing User Interface Basics User Interface Elements View Control ViewGroup Layout Widget (Compound Control) Many pre built Views Button, CheckBox, RadioButton TextView, EditText, ListView

More information

Eventually, you'll be returned to the AVD Manager. From there, you'll see your new device.

Eventually, you'll be returned to the AVD Manager. From there, you'll see your new device. Let's get started! Start Studio We might have a bit of work to do here Create new project Let's give it a useful name Note the traditional convention for company/package names We don't need C++ support

More information

AND-401 Android Certification. The exam is excluded, but we cover and support you in full if you want to sit for the international exam.

AND-401 Android Certification. The exam is excluded, but we cover and support you in full if you want to sit for the international exam. Android Programming This Android Training Course will help you build your first working application quick-quick. You ll learn hands-on how to structure your app, design interfaces, create a database, make

More information

Building User Interface for Android Mobile Applications II

Building User Interface for Android Mobile Applications II Building User Interface for Android Mobile Applications II Mobile App Development 1 MVC 2 MVC 1 MVC 2 MVC Android redraw View invalidate Controller tap, key pressed update Model MVC MVC in Android View

More information

Mobile Application Development Android

Mobile Application Development Android Mobile Application Development Android Lecture 2 MTAT.03.262 Satish Srirama satish.srirama@ut.ee Android Lecture 1 -recap What is Android How to develop Android applications Run & debug the applications

More information

Fragments were added to the Android API in Honeycomb, API 11. The primary classes related to fragments are: android.app.fragment

Fragments were added to the Android API in Honeycomb, API 11. The primary classes related to fragments are: android.app.fragment FRAGMENTS Fragments An activity is a container for views When you have a larger screen device than a phone like a tablet it can look too simple to use phone interface here. Fragments Mini-activities, each

More information

EECS 4443 Mobile User Interfaces. More About Layouts. Scott MacKenzie. York University. Overview (Review)

EECS 4443 Mobile User Interfaces. More About Layouts. Scott MacKenzie. York University. Overview (Review) EECS 4443 Mobile User Interfaces More About Layouts Scott MacKenzie York University Overview (Review) A layout defines the visual structure for a user interface, such as the UI for an activity or app widget

More information

Developing Android Applications

Developing Android Applications Developing Android Applications SEG2105 - Introduction to Software Engineering Fall 2016 Presented by: Felipe M. Modesto TA & PhD Candidate Faculty of Engineering Faculté de Génie uottawa.ca Additional

More information

ANDROID APPS DEVELOPMENT FOR MOBILE GAME

ANDROID APPS DEVELOPMENT FOR MOBILE GAME ANDROID APPS DEVELOPMENT FOR MOBILE GAME Application Components Hold the content of a message (E.g. convey a request for an activity to present an image) Lecture 2: Android Layout and Permission Present

More information

ConstraintLayouts in Android

ConstraintLayouts in Android B ConstraintLayouts in Android Constrained Layouts are a new addition to Android. These layouts are similar to Relative Layouts, in that all widgets are positioned with respect to other UI elements. However,

More information

Android for Ubiquitous Computing Researchers. Andrew Rice University of Cambridge 17-Sep-2011

Android for Ubiquitous Computing Researchers. Andrew Rice University of Cambridge 17-Sep-2011 Android for Ubiquitous Computing Researchers Andrew Rice University of Cambridge 17-Sep-2011 Getting started Website for the tutorial: http://www.cl.cam.ac.uk/~acr31/ubicomp/ Contains links to downloads

More information

(c) Dr Sonia Sail LAJMI College of Computer Sciences & IT (girl Section) 1

(c) Dr Sonia Sail LAJMI College of Computer Sciences & IT (girl Section) 1 Level 5: Baccalaureus in Computer Sciences CHAPTER 4: LAYOUTS AND VIEWS Dr. Sonia Saïd LAJMI PhD in Computer Sciences 1 Layout.xml 2 Computer Sciences & IT (girl Section) 1 Layout Requirements android:layout_width:

More information

UI, Continued. CS 2046 Mobile Application Development Fall Jeff Davidson CS 2046

UI, Continued. CS 2046 Mobile Application Development Fall Jeff Davidson CS 2046 UI, Continued CS 2046 Mobile Application Development Fall 2010 Announcements Office hours have started HW1 is out, due Monday, 11/1, at 11:59 pm Clarifications on HW1: To move where the text appears in

More information

07. Menu and Dialog Box. DKU-MUST Mobile ICT Education Center

07. Menu and Dialog Box. DKU-MUST Mobile ICT Education Center 07. Menu and Dialog Box DKU-MUST Mobile ICT Education Center Goal Learn how to create and use the Menu. Learn how to use Toast. Learn how to use the dialog box. Page 2 1. Menu Menu Overview Menu provides

More information

Programming Concepts and Skills. Creating an Android Project

Programming Concepts and Skills. Creating an Android Project Programming Concepts and Skills Creating an Android Project Getting Started An Android project contains all the files that comprise the source code for your Android app. The Android SDK tools make it easy

More information

EECS 4443 Mobile User Interfaces. More About Layouts. Scott MacKenzie. York University

EECS 4443 Mobile User Interfaces. More About Layouts. Scott MacKenzie. York University EECS 4443 Mobile User Interfaces More About Layouts Scott MacKenzie York University Overview (Review) A layout defines the visual structure for a user interface, such as the UI for an activity or app widget

More information

CS260 Intro to Java & Android 05.Android UI(Part I)

CS260 Intro to Java & Android 05.Android UI(Part I) CS260 Intro to Java & Android 05.Android UI(Part I) Winter 2015 Winter 2015 CS250 - Intro to Java & Android 1 User Interface UIs in Android are built using View and ViewGroup objects A View is the base

More information

CS378 -Mobile Computing. More UI -Part 2

CS378 -Mobile Computing. More UI -Part 2 CS378 -Mobile Computing More UI -Part 2 Special Menus Two special application menus options menu context menu Options menu replaced by action bar (API 11) menu action bar 2 OptionsMenu User presses Menu

More information

Required Core Java for Android application development

Required Core Java for Android application development Required Core Java for Android application development Introduction to Java Datatypes primitive data types non-primitive data types Variable declaration Operators Control flow statements Arrays and Enhanced

More information

Multiple devices. Use wrap_content and match_parent Use RelativeLayout/ConstraintLayout Use configuration qualifiers

Multiple devices. Use wrap_content and match_parent Use RelativeLayout/ConstraintLayout Use configuration qualifiers Multiple devices Multiple devices Use wrap_content and match_parent Use RelativeLayout/ConstraintLayout Use configuration qualifiers Create a new directory in your project's res/ and name it using the

More information

CS 4330/5390: Mobile Application Development Exam 1

CS 4330/5390: Mobile Application Development Exam 1 1 Spring 2017 (Thursday, March 9) Name: CS 4330/5390: Mobile Application Development Exam 1 This test has 8 questions and pages numbered 1 through 7. Reminders This test is closed-notes and closed-book.

More information

University of Stirling Computing Science Telecommunications Systems and Services CSCU9YH: Android Practical 1 Hello World

University of Stirling Computing Science Telecommunications Systems and Services CSCU9YH: Android Practical 1 Hello World University of Stirling Computing Science Telecommunications Systems and Services CSCU9YH: Android Practical 1 Hello World Before you do anything read all of the following red paragraph! For this lab you

More information

Mobile App Design Project Doodle App. Description:

Mobile App Design Project Doodle App. Description: Mobile App Design Project Doodle App Description: This App takes user touch input and allows the user to draw colored lines on the screen with touch gestures. There will be a menu to allow the user to

More information

Android Programming (5 Days)

Android Programming (5 Days) www.peaklearningllc.com Android Programming (5 Days) Course Description Android is an open source platform for mobile computing. Applications are developed using familiar Java and Eclipse tools. This Android

More information

Android App Development. Mr. Michaud ICE Programs Georgia Institute of Technology

Android App Development. Mr. Michaud ICE Programs Georgia Institute of Technology Android App Development Mr. Michaud ICE Programs Georgia Institute of Technology Android Operating System Created by Android, Inc. Bought by Google in 2005. First Android Device released in 2008 Based

More information

ANDROID APPS DEVELOPMENT FOR MOBILE AND TABLET DEVICE (LEVEL I)

ANDROID APPS DEVELOPMENT FOR MOBILE AND TABLET DEVICE (LEVEL I) ANDROID APPS DEVELOPMENT FOR MOBILE AND TABLET DEVICE (LEVEL I) Application Components Hold the content of a message (E.g. convey a request for an activity to present an image) Lecture 2: Android Programming

More information

Designing and Implementing Android UIs for Phones and Tablets

Designing and Implementing Android UIs for Phones and Tablets Designing and Implementing Android UIs for Phones and Tablets Matias Duarte Rich Fulcher Roman Nurik Adam Powell Christian Robertson #io2011 #Android 2 Ask questions Give feedback http://goo.gl/mod/zdyr

More information

Creating a User Interface

Creating a User Interface Creating a User Interface Developing for Android devices is a complicated process that requires precision to work with. Android runs on numerous devices from smart-phones to tablets. Instead of using a

More information

Developing Android Applications Introduction to Software Engineering Fall Updated 1st November 2015

Developing Android Applications Introduction to Software Engineering Fall Updated 1st November 2015 Developing Android Applications Introduction to Software Engineering Fall 2015 Updated 1st November 2015 Android Lab 3 & Midterm Additional Concepts No Class Assignment 2 Class Plan Android : Additional

More information

ANDROID APPS (NOW WITH JELLY BEANS!) Jordan Jozwiak November 11, 2012

ANDROID APPS (NOW WITH JELLY BEANS!) Jordan Jozwiak November 11, 2012 ANDROID APPS (NOW WITH JELLY BEANS!) Jordan Jozwiak November 11, 2012 AGENDA Android v. ios Design Paradigms Setup Application Framework Demo Libraries Distribution ANDROID V. IOS Android $25 one-time

More information

INTRODUCTION TO ANDROID

INTRODUCTION TO ANDROID INTRODUCTION TO ANDROID 1 Niv Voskoboynik Ben-Gurion University Electrical and Computer Engineering Advanced computer lab 2015 2 Contents Introduction Prior learning Download and install Thread Android

More information

CS 4518 Mobile and Ubiquitous Computing Lecture 2: Introduction to Android. Emmanuel Agu

CS 4518 Mobile and Ubiquitous Computing Lecture 2: Introduction to Android. Emmanuel Agu CS 4518 Mobile and Ubiquitous Computing Lecture 2: Introduction to Android Emmanuel Agu What is Android? Android is world s leading mobile operating system Open source Google: Owns Android, maintains it,

More information

STUDYHIVE ANDROID APPLICATION. A Project. Presented to the faculty of the Department of Computer Engineering. California State University, Sacramento

STUDYHIVE ANDROID APPLICATION. A Project. Presented to the faculty of the Department of Computer Engineering. California State University, Sacramento STUDYHIVE ANDROID APPLICATION A Project Presented to the faculty of the Department of Computer Engineering California State University, Sacramento Submitted in partial satisfaction of the requirements

More information

ListView Containers. Resources. Creating a ListView

ListView Containers. Resources. Creating a ListView ListView Containers Resources https://developer.android.com/guide/topics/ui/layout/listview.html https://developer.android.com/reference/android/widget/listview.html Creating a ListView A ListView is a

More information

Mobile User Interfaces

Mobile User Interfaces Mobile User Interfaces CS 2046 Mobile Application Development Fall 2010 Announcements Next class = Lab session: Upson B7 Office Hours (starting 10/25): Me: MW 1:15-2:15 PM, Upson 360 Jae (TA): F 11:00

More information

Android Programming - Jelly Bean

Android Programming - Jelly Bean 1800 ULEARN (853 276) www.ddls.com.au Android Programming - Jelly Bean Length 5 days Price $4235.00 (inc GST) Overview This intensive, hands-on five-day course teaches programmers how to develop activities,

More information

CS 234/334 Lab 1: Android Jump Start

CS 234/334 Lab 1: Android Jump Start CS 234/334 Lab 1: Android Jump Start Distributed: January 7, 2014 Due: Friday, January 10 or Monday, January 13 (in-person check off in Mobile Lab, Ry 167). No late assignments. Introduction The goal of

More information

Android Development Crash Course

Android Development Crash Course Android Development Crash Course Campus Sundsvall, 2015 Stefan Forsström Department of Information and Communication Systems Mid Sweden University, Sundsvall, Sweden OVERVIEW The Android Platform Start

More information

Android UI Development

Android UI Development Android UI Development Android UI Studio Widget Layout Android UI 1 Building Applications A typical application will include: Activities - MainActivity as your entry point - Possibly other activities (corresponding

More information

CS260 Intro to Java & Android 05.Android UI(Part I)

CS260 Intro to Java & Android 05.Android UI(Part I) CS260 Intro to Java & Android 05.Android UI(Part I) Winter 2018 Winter 2018 CS250 - Intro to Java & Android 1 User Interface UIs in Android are built using View and ViewGroup objects A View is the base

More information

ECOM 5341 Mobile Computing(Android) Eng.Ruba A. Salamah

ECOM 5341 Mobile Computing(Android) Eng.Ruba A. Salamah ECOM 5341 Mobile Computing(Android) 1 Eng.Ruba A. Salamah Lecture # 2 Android Tools Objectives Understand Android Tools Setup Android Development Environment Create HelloWorld Application Understand HelloWorld

More information

COMP4521 EMBEDDED SYSTEMS SOFTWARE

COMP4521 EMBEDDED SYSTEMS SOFTWARE COMP4521 EMBEDDED SYSTEMS SOFTWARE LAB 1: DEVELOPING SIMPLE APPLICATIONS FOR ANDROID INTRODUCTION Android is a mobile platform/os that uses a modified version of the Linux kernel. It was initially developed

More information

ORACLE UNIVERSITY AUTHORISED EDUCATION PARTNER (WDP)

ORACLE UNIVERSITY AUTHORISED EDUCATION PARTNER (WDP) Android Syllabus Pre-requisite: C, C++, Java Programming SQL & PL SQL Chapter 1: Introduction to Android Introduction to android operating system History of android operating system Features of Android

More information

Sizing and Positioning

Sizing and Positioning CS 193A Layout This document is copyright (C) Marty Stepp and Stanford Computer Science. Licensed under Creative Commons Attribution 2.5 License. All rights reserved. Sizing and Positioning How does the

More information

Diving into Android. By Jeroen Tietema. Jeroen Tietema,

Diving into Android. By Jeroen Tietema. Jeroen Tietema, Diving into Android By Jeroen Tietema Jeroen Tietema, 2015 1 Requirements 4 Android SDK 1 4 Android Studio (or your IDE / editor of choice) 4 Emulator (Genymotion) or a real device. 1 See https://developer.android.com

More information

CS 528 Mobile and Ubiquitous Computing Lecture 1b: Introduction to Android. Emmanuel Agu

CS 528 Mobile and Ubiquitous Computing Lecture 1b: Introduction to Android. Emmanuel Agu CS 528 Mobile and Ubiquitous Computing Lecture 1b: Introduction to Android Emmanuel Agu What is Android? Android is world s leading mobile operating system Open source (https://source.android.com/setup/)

More information

CS 4518 Mobile and Ubiquitous Computing Lecture 3: Android UI Design in XML + Examples. Emmanuel Agu

CS 4518 Mobile and Ubiquitous Computing Lecture 3: Android UI Design in XML + Examples. Emmanuel Agu CS 4518 Mobile and Ubiquitous Computing Lecture 3: Android UI Design in XML + Examples Emmanuel Agu Resources Android Resources Resources? Images, strings, dimensions, layout files, menus, etc that your

More information

BCA 6. Question Bank

BCA 6. Question Bank BCA 6 030010601 : Introduction to Mobile Application Development Question Bank Unit 1: Introduction to Android and Development tools Short questions 1. What kind of tool is used to simulate Android application?

More information

GUI Design for Android Applications

GUI Design for Android Applications GUI Design for Android Applications SE3A04 Tutorial Jason Jaskolka Department of Computing and Software Faculty of Engineering McMaster University Hamilton, Ontario, Canada jaskolj@mcmaster.ca November

More information

Android Programming Lecture 2 9/7/2011

Android Programming Lecture 2 9/7/2011 Android Programming Lecture 2 9/7/2011 Creating a first app 1. Create a new Android project (a collection of source code and resources for the app) from the Eclipse file menu 2. Choose a project name (can

More information

Mobile Programming Lecture 2. Layouts, Widgets, Toasts, and Event Handling

Mobile Programming Lecture 2. Layouts, Widgets, Toasts, and Event Handling Mobile Programming Lecture 2 Layouts, Widgets, Toasts, and Event Handling Lecture 1 Review How to edit XML files in Android Studio? What holds all elements (Views) that appear to the user in an Activity?

More information

Syllabus- Java + Android. Java Fundamentals

Syllabus- Java + Android. Java Fundamentals Introducing the Java Technology Syllabus- Java + Android Java Fundamentals Key features of the technology and the advantages of using Java Using an Integrated Development Environment (IDE) Introducing

More information

CPET 565 Mobile Computing Systems CPET/ITC 499 Mobile Computing. Lab & Demo 2 (1 &2 of 3) Hello-Goodbye App Tutorial

CPET 565 Mobile Computing Systems CPET/ITC 499 Mobile Computing. Lab & Demo 2 (1 &2 of 3) Hello-Goodbye App Tutorial CPET 565 Mobile Computing Systems CPET/ITC 499 Mobile Computing Reference Lab & Demo 2 (1 &2 of 3) Tutorial Android Programming Concepts, by Trish Cornez and Richard Cornez, pubslihed by Jones & Barlett

More information

Chapter 8 Positioning with Layouts

Chapter 8 Positioning with Layouts Introduction to Android Application Development, Android Essentials, Fifth Edition Chapter 8 Positioning with Layouts Chapter 8 Overview Create user interfaces in Android by defining resource files or

More information

Mobile Programming Lecture 1. Getting Started

Mobile Programming Lecture 1. Getting Started Mobile Programming Lecture 1 Getting Started Today's Agenda About the Android Studio IDE Hello, World! Project Android Project Structure Introduction to Activities, Layouts, and Widgets Editing Files in

More information

<uses-permission android:name="android.permission.internet"/>

<uses-permission android:name=android.permission.internet/> Chapter 11 Playing Video 11.1 Introduction We have discussed how to play audio in Chapter 9 using the class MediaPlayer. This class can also play video clips. In fact, the Android multimedia framework

More information

Android UI DateBasics

Android UI DateBasics Android UI DateBasics Why split the UI and programing tasks for a Android AP The most convenient and maintainable way to design application user interfaces is by creating XML layout resources. This method

More information

Chapter 7: Reveal! Displaying Pictures in a Gallery

Chapter 7: Reveal! Displaying Pictures in a Gallery Chapter 7: Reveal! Displaying Pictures in a Gallery Objectives In this chapter, you learn to: Create an Android project using a Gallery control Add a Gallery to display a horizontal list of images Reference

More information

CS 4518 Mobile and Ubiquitous Computing Lecture 4: Data-Driven Views, Android Components & Android Activity Lifecycle Emmanuel Agu

CS 4518 Mobile and Ubiquitous Computing Lecture 4: Data-Driven Views, Android Components & Android Activity Lifecycle Emmanuel Agu CS 4518 Mobile and Ubiquitous Computing Lecture 4: Data-Driven Views, Android Components & Android Activity Lifecycle Emmanuel Agu Announcements Group formation: Projects 2, 3 and final project will be

More information

getcount getitem getitemid getview com.taxi Class MainActivity drawerlayout drawerleft drawerright...

getcount getitem getitemid getview com.taxi Class MainActivity drawerlayout drawerleft drawerright... Contents com.taxi.ui Class CallDialog... 3 CallDialog... 4 show... 4 build... 5 com.taxi.custom Class CustomActivity... 5 TOUCH... 6 CustomActivity... 6 onoptionsitemselected... 6 onclick... 6 com.taxi.model

More information

Android User Interface

Android User Interface Android Smartphone Programming Matthias Keil Institute for Computer Science Faculty of Engineering 20. Oktober 2014 Outline 1 Android User Interface 2 Multi-Language Support 3 Summary Matthias Keil Android

More information

Programming Android UI. J. Serrat Software Design December 2017

Programming Android UI. J. Serrat Software Design December 2017 Programming Android UI J. Serrat Software Design December 2017 Preliminaries : Goals Introduce basic programming Android concepts Examine code for some simple examples Limited to those relevant for the

More information

LECTURE 08 UI AND EVENT HANDLING

LECTURE 08 UI AND EVENT HANDLING MOBILE APPLICATION DEVELOPMENT LECTURE 08 UI AND EVENT HANDLING IMRAN IHSAN ASSISTANT PROFESSOR WWW.IMRANIHSAN.COM User Interface User Interface The Android Widget Toolbox 1. TextView 2. EditText 3. Spinner

More information

Lab 1 - Setting up the User s Profile UI

Lab 1 - Setting up the User s Profile UI Lab 1 - Setting up the User s Profile UI Getting started This is the first in a series of labs that allow you to develop the MyRuns App. The goal of the app is to capture and display (using maps) walks

More information

Fragments and the Maps API

Fragments and the Maps API Fragments and the Maps API Alexander Nelson October 6, 2017 University of Arkansas - Department of Computer Science and Computer Engineering Fragments Fragments Fragment A behavior or a portion of a user

More information

BroadcastReceiver interface, 209 Bundled notifications, 398, 400

BroadcastReceiver interface, 209 Bundled notifications, 398, 400 A Accessory button, 133 Action bar ActionBarActivity, 162 ActionBar.OnNavigation Listener interface, 167 android:minsdkversion, 156 android.support.v7.app. ActionBarActivity, 157 android versions, 156

More information

Introduction To Android

Introduction To Android Introduction To Android Mobile Technologies Symbian OS ios BlackBerry OS Windows Android Introduction to Android Android is an operating system for mobile devices such as smart phones and tablet computers.

More information