Diese Präsentation wurde erfolgreich gemeldet.
Wir verwenden Ihre LinkedIn Profilangaben und Informationen zu Ihren Aktivitäten, um Anzeigen zu personalisieren und Ihnen relevantere Inhalte anzuzeigen. Sie können Ihre Anzeigeneinstellungen jederzeit ändern.

J2ME GUI Programming

10.188 Aufrufe

Veröffentlicht am

Veröffentlicht in: Technologie, Business
  • DOWNLOAD THAT BOOKS INTO AVAILABLE FORMAT (2019 Update) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { http://bit.ly/2m6jJ5M } ......................................................................................................................... Download Full EPUB Ebook here { http://bit.ly/2m6jJ5M } ......................................................................................................................... Download Full doc Ebook here { http://bit.ly/2m6jJ5M } ......................................................................................................................... Download PDF EBOOK here { http://bit.ly/2m6jJ5M } ......................................................................................................................... Download EPUB Ebook here { http://bit.ly/2m6jJ5M } ......................................................................................................................... Download doc Ebook here { http://bit.ly/2m6jJ5M } ......................................................................................................................... ......................................................................................................................... ................................................................................................................................... eBook is an electronic version of a traditional print book that can be read by using a personal computer or by using an eBook reader. (An eBook reader can be a software application for use on a computer such as Microsoft's free Reader application, or a book-sized computer that is used solely as a reading device such as Nuvomedia's Rocket eBook.) Users can purchase an eBook on diskette or CD, but the most popular method of getting an eBook is to purchase a downloadable file of the eBook (or other reading material) from a Web site (such as Barnes and Noble) to be read from the user's computer or reading device. Generally, an eBook can be downloaded in five minutes or less ......................................................................................................................... .............. Browse by Genre Available eBooks .............................................................................................................................. Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, ......................................................................................................................... ......................................................................................................................... .....BEST SELLER FOR EBOOK RECOMMEND............................................................. ......................................................................................................................... Blowout: Corrupted Democracy, Rogue State Russia, and the Richest, Most Destructive Industry on Earth,-- The Ride of a Lifetime: Lessons Learned from 15 Years as CEO of the Walt Disney Company,-- Call Sign Chaos: Learning to Lead,-- StrengthsFinder 2.0,-- Stillness Is the Key,-- She Said: Breaking the Sexual Harassment Story That Helped Ignite a Movement,-- Atomic Habits: An Easy & Proven Way to Build Good Habits & Break Bad Ones,-- Everything Is Figureoutable,-- What It Takes: Lessons in the Pursuit of Excellence,-- Rich Dad Poor Dad: What the Rich Teach Their Kids About Money That the Poor and Middle Class Do Not!,-- The Total Money Makeover: Classic Edition: A Proven Plan for Financial Fitness,-- Shut Up and Listen!: Hard Business Truths that Will Help You Succeed, ......................................................................................................................... .........................................................................................................................
       Antworten 
    Sind Sie sicher, dass Sie …  Ja  Nein
    Ihre Nachricht erscheint hier

J2ME GUI Programming

  1. 1. J2ME : GUI Programming Rohan Chandane rohan.chandane@gmail.com These notes are created by me, Rohan Chandane as learning material while pursuing MSc(CA) from SICSR 2005-2007 (CC)
  2. 2. Use of Profile For GUI Programming we can use different Profiles Here, we will see Mobile Information Device Profile (MIDP)
  3. 3. 3 things in MIDP MIDlets High-Level API Low-Level API
  4. 4. MIDlets All application using MIDP, derived from package javax.microedition.midlet
  5. 5. Continued… A MIDlet can exist in four different states Loaded MIDlet is loaded into the device The constructor is called, This is called the loaded state Active After loaded state of MIDlet, it is in the active state Until its paused or destroyed
  6. 6. Continued… Paused Applications should stop animations Release resources that are not needed This state avoids Resource conflicts with the application running in the foreground Unnecessary battery consumption Destroyed MIDlet gets Terminated
  7. 7. MIDlet life cycle
  8. 8. Continued… startApp() The program manager starts the application by calling the startApp() method, then MIDlet get loaded pauseApp() Pauses the MIDlet
  9. 9. Continued… destroyApp() provides an unconditional parameter If false - MIDlet is allowed to refuse its termination & Throws MIDletStateChangeException resumeRequest() - If a MIDlet need to resume activity, this informs application manager
  10. 10. Continued… notifyPaused() - If a MIDlet need to go to the paused state, this informs application manager notifyDestroyed() – In order to terminate, this informs application manager
  11. 11. User Interface Architecture MIDP 2.0 has two UI Package javax.microedition.lcdui lcdui - Liquid Crystal Display User Interface javax.microedition.lcdui.game For development of a wireless game UI
  12. 12. Continued… javax.microedition.lcdui divided into two logical groups High Level Group Low Level Group
  13. 13. Continued… High Level Group Classes provided are Perfect for development of MIDlets that target the maximum number of devices Heavily abstracted to provide minimal control over their look and feel Classes do not provide exact control over their display
  14. 14. Continued… High Level MIDP 2.0 UI classes
  15. 15. Continued… Low Level Group Classes provided are Perfect for MIDlets where we want precise control over the location and display of the UI elements If more control there is comes less portability It may not be deployable on certain devices
  16. 16. Continued… Low Level MIDP 2.0 UI classes And GameCanvas
  17. 17. Displayable Interface To show a UI element on a device screen Displayable Interface must implemented in Midlet Whether high or low level APIs, it have to implement Displayable Interface The Graphics class does not implement this interface Because it deals with low-level 2D graphics that directly manipulate the device's screen
  18. 18. Continued… Canvas and Screen implement the Displayable interface
  19. 19. High-Level API Event handling Two Categories of Events Command events Command events are triggered by key presses on the device Item events Item events are the result of visual components changing on the display

×