This document contains code for a movie ticket booking application called Book My Show. It declares various objects like forms, lists, images that are used in the application. It also contains code to display the splash screen, home screen, movie list screen, select date/time/venue screen, ticket details screen, customer details screen and review details screen. The document has code organized in different tasks to handle various screens and functionality of the application.
The Ring programming language version 1.4.1 book - Part 19 of 31Mahmoud Samir Fayed
The document provides documentation on RingQt classes and their methods for handling events. It includes:
1. A table listing common RingQt classes and their methods for using default events, such as setClickEvent() for QPushButton.
2. Details on the QAllEvents class for handling events filtering, including its methods for getting event parameters.
3. A comparison of some differences between Qt and RingQt methods and class names to avoid conflicts with Ring keywords.
4. A note that the RingQt Classes and Methods Reference chapter provides more details on supported classes and methods.
5. An explanation that new classes were added where indexes start from 1 when dealing with GUI controls, for consistency with Ring.
This document is the final report for a Java term project that created a sketch quiz game. It includes:
1. An overview of the game description and flow.
2. Screenshots of the server and client executions.
3. The development schedule and role assignments for the 3 person team.
4. Reflections on what was learned and challenges faced during the project.
5. The code for the client and core game logic is summarized, showing how it uses sockets for communication between the client and server.
The Ring programming language version 1.7 book - Part 74 of 196Mahmoud Samir Fayed
The document discusses using events in RingQt applications. It provides tables listing Qt classes and their methods for using default events, as well as methods for using event filters. The tables show class names, supported events, and the corresponding methods to set event handlers for each event.
The document describes a project that provides online quizzes to test knowledge on various topics using database connectivity. It includes source code for login, registration, menu selection, quiz questions, and results display screens. The project uses Java Swing for the front-end and MySQL database to store user details, questions, answers, and test performance. It allows users to register, select a subject to test, attempt questions, view results, and retake tests.
Field work project report- A study of brand development of Book my show throu...MarketerBoard
This document summarizes the field work report of Shikha Nagar studying the brand development of Book My Show (BMS) through social media. It provides background on BMS, including its history starting in 2007 in South Africa and growing to become India's largest entertainment ticketing portal. It reviews literature on developing successful brands and maintaining brands through social media. The objective is to study how BMS uses social media like Facebook to engage customers, provide content, run contests and improve their brand. The methodology adopted is quantitative research through an online survey.
My Project Report Documentation with Abstract & SnapshotsUsman Sait
This document describes a restaurant finder application developed for Android phones. It includes snapshots and discussions of the application's key activities. The application allows users to search for restaurants by location and cuisine type. It then displays lists of matching restaurants along with ratings and reviews. Users can view more details about a selected restaurant, including getting directions, viewing the full review online, and calling the restaurant directly from the application.
This document presents a case study on an online movie ticket booking system developed by Vikram Yadav, Rushikesh Pathak, and Manthan Pathak. The system allows customers to book tickets for cinema halls online at any time. It aims to provide a convenient service for customers and increase profits. The document outlines the objectives, problem statement, system analysis, modules, data structures, testing approach, and future enhancements of the project. It presents diagrams of the data flow and system design.
The Ring programming language version 1.4.1 book - Part 19 of 31Mahmoud Samir Fayed
The document provides documentation on RingQt classes and their methods for handling events. It includes:
1. A table listing common RingQt classes and their methods for using default events, such as setClickEvent() for QPushButton.
2. Details on the QAllEvents class for handling events filtering, including its methods for getting event parameters.
3. A comparison of some differences between Qt and RingQt methods and class names to avoid conflicts with Ring keywords.
4. A note that the RingQt Classes and Methods Reference chapter provides more details on supported classes and methods.
5. An explanation that new classes were added where indexes start from 1 when dealing with GUI controls, for consistency with Ring.
This document is the final report for a Java term project that created a sketch quiz game. It includes:
1. An overview of the game description and flow.
2. Screenshots of the server and client executions.
3. The development schedule and role assignments for the 3 person team.
4. Reflections on what was learned and challenges faced during the project.
5. The code for the client and core game logic is summarized, showing how it uses sockets for communication between the client and server.
The Ring programming language version 1.7 book - Part 74 of 196Mahmoud Samir Fayed
The document discusses using events in RingQt applications. It provides tables listing Qt classes and their methods for using default events, as well as methods for using event filters. The tables show class names, supported events, and the corresponding methods to set event handlers for each event.
The document describes a project that provides online quizzes to test knowledge on various topics using database connectivity. It includes source code for login, registration, menu selection, quiz questions, and results display screens. The project uses Java Swing for the front-end and MySQL database to store user details, questions, answers, and test performance. It allows users to register, select a subject to test, attempt questions, view results, and retake tests.
Field work project report- A study of brand development of Book my show throu...MarketerBoard
This document summarizes the field work report of Shikha Nagar studying the brand development of Book My Show (BMS) through social media. It provides background on BMS, including its history starting in 2007 in South Africa and growing to become India's largest entertainment ticketing portal. It reviews literature on developing successful brands and maintaining brands through social media. The objective is to study how BMS uses social media like Facebook to engage customers, provide content, run contests and improve their brand. The methodology adopted is quantitative research through an online survey.
My Project Report Documentation with Abstract & SnapshotsUsman Sait
This document describes a restaurant finder application developed for Android phones. It includes snapshots and discussions of the application's key activities. The application allows users to search for restaurants by location and cuisine type. It then displays lists of matching restaurants along with ratings and reviews. Users can view more details about a selected restaurant, including getting directions, viewing the full review online, and calling the restaurant directly from the application.
This document presents a case study on an online movie ticket booking system developed by Vikram Yadav, Rushikesh Pathak, and Manthan Pathak. The system allows customers to book tickets for cinema halls online at any time. It aims to provide a convenient service for customers and increase profits. The document outlines the objectives, problem statement, system analysis, modules, data structures, testing approach, and future enhancements of the project. It presents diagrams of the data flow and system design.
The practicum experience at De La Salle Health Sciences Institute provided the trainee opportunities to assist in the College of Medical Radiation Technology department and multimedia room. Over the course of 200 training hours, the trainee learned to repair computers, assist students and visitors, and enhance her knowledge of computer-related tasks. She developed skills like self-confidence, communication, and responsibility. The employees ensured the trainee was oriented and treated respectfully. Overall, the experience allowed the trainee to gain work experience and expertise that would help her succeed in future computer science career goals.
This document provides an overview of several key economic concepts related to government and private sectors, public goods, natural monopolies, externalities, and fiscal policy. It discusses the differences between the private and public sectors. It describes public goods, natural monopolies, and how they relate to utilities and require regulation. It also covers externalities, using examples of negative externalities from nuclear power plants. Additionally, it summarizes concepts around government budgets, expenditures, receipts, deficits, taxes, and the Laffer curve.
GOOGLE GLΛSS By Google X and Google.inc (PowerPoint Presentation)Mujeeb Rehman
Google Glass (styled "GLΛSS") is a wearable computer with an optical head-mounted display (OHMD) that is being developed by Google in the Project Glass research and development project, with a mission of producing a mass-market ubiquitous computer. Google Glass displays information in a smartphone-like hands-free format,[8] that can communicate with the Internet via natural language voice commands.
Glass is being developed by Google X, which has worked on other futuristic technologies such as driverless cars. The project was announced on Google+ by Project Glass lead Babak Parviz, an electrical engineer who has also worked on putting displays into contact lenses; Steve Lee, a product manager and "geolocation specialist"; and Sebastian Thrun, who developed Udacity as well as worked on the autonomous car project. Google has patented the design of Project Glass.
This document summarizes the ticketing and event management services provided by BookMyShow, India's largest entertainment ticketing portal. It offers online and mobile ticketing for movies, sports, concerts, comedy, and other events. Services include dedicated event microsites, a mobile app, a 24/7 call center, ticket printing with security features, turnstiles, wristbands, LED displays, and camping/food and beverage solutions using RFID technology. Marketing initiatives include email campaigns, push notifications, radio promotions, and offline promotions through retail outlets.
The document provides details about a project report on book store management submitted by Ms. Amrita Singh to S.K. College of Science and Commerce. The 3-page report includes an introduction, acknowledgements, index, and the start of the preliminary investigation section. It describes the objectives of developing a computerized management system for the book store to help with effective management of purchases and sales.
The document provides information on the vision, mission, goals, and objectives of the Information Technology program at Laguna State Polytechnic University. The vision is for the university to be a premier institution offering programs to meet the needs of the Philippines and global economies, especially in Asia. The mission is to provide advanced education in fields including IT, agriculture, science, and engineering. The goals of the College of Arts and Sciences are to develop students' skills and knowledge for global competitiveness. The objectives of the IT program are to develop intellectual and skills competencies to prepare students for IT careers and meet industry demands through instruction, research, extension work, and production activities.
Types of Layouts by ADMEC Multimedia InstituteRavi Bhadauria
ADMEC Multimedia Institute is growing institute that is providing industry oriented training to the world at large. Being a multimedia institute we offers training for creating or designing content for information technology mainly.
Introduction for Narrative Report at GPICathy Roque
This document provides information about an internship course for industrial psychology students at Eulogio "Amang" Rodriguez Institute of Science and Technology. The course objectives are to expose students to personnel work, office procedures, and psychological testing through a 500-hour on-the-job internship. Students will complete the internship at the school or a company, with the goal of gaining practical experience relevant to becoming an industrial psychologist. Requirements include submitting paperwork from the internship site and a narrative report on experiences and lessons learned.
This summary provides an overview of Jomel R. Bulilis' narrative report on his on-the-job training experience at Abacus Distribution System Philippines Inc. in Cebu City. In 3 sentences:
Bulilis conducted his on-the-job training as a trainee in the Technical Support department, where he learned skills related to his computer science degree as well as gaining experience working in a professional environment. The training helped him develop both technical and soft skills, and reinforced the importance of what he learned academically. Bulilis found the experience very valuable for his future career goals of becoming a Technical Support Manager.
The document provides information about the Associate in Information Technology program at Laguna State Polytechnic University, including its vision, mission, goals, and objectives. The program aims to develop students' intellectual, emotional, and skills competencies to prepare them for careers in information technology. It seeks to provide theoretical and technical training to produce globally competitive IT graduates through instruction, research and development, extension activities, and hands-on production experiences.
Reflection on my observations at schoolCamila Roldán
During two months of observations at School N° 4, the document reflects on the English teacher, Romina Cheme, and her teaching style. Romina is described as confident, assertive, and able to control her classes. She uses a loud voice without shouting and insists that students make eye contact when being disciplined. Romina also emphasizes appropriate student behavior and puts students in groups for hands-on projects. Both the teacher and students created a welcoming environment for the observers.
Dr. Jose Rizal wrote two famous novels - Noli Me Tangere and El Filibusterismo. Noli Me Tangere was published first in 1884 and focuses on the romance of Crisostomo Ibarra and Maria Clara. El Filibusterismo was published in 1887 and has a darker, more political tone depicting the oppression of the Spanish government. Both novels satirize the abuses of Spanish officials and friars in the Philippines and aimed to incite the Filipino people to rise up against their oppressors. Rizal was also working on a third novel called Makisama but did not complete it before his execution in 1896.
This narrative report summarizes activities related to a reading program implemented at Pablo M. Piatos Sr. Elementary School over several months. Various assessments were conducted to evaluate students' reading levels. Teachers also participated in training workshops to develop their skills for teaching reading. While progress was made, many students remained at frustration or independent reading levels. The report concludes with recommendations to continue supporting reading teachers and encouraging parental involvement to further improve the program.
The author expresses deep gratitude to several mentors and colleagues who supported the completion of their research. Specifically, the author thanks Dr. Fr. S. JOHN BRITTO, their mentor and guide, for his dedication and advice which helped the author accomplish their task. The author also thanks Dr. S. SENTHIL KUMAR for their interest, inspiration, and timely suggestions. Finally, the author expresses gratitude to friends, family members, and staff who provided encouragement and assistance throughout the research period.
The document describes an Online Bus Ticket Reservation System (OBTRS) created by Ashwin Sharma, Nikhil Vyas, and Nilesh Soni. The system allows users to reserve seats, cancel reservations, and access various inquiries. It maintains user, bus, reservation, booking, and customer details. The system was designed to computerize the traditional paper-based process and make ticket booking and tracking easier online.
The document provides an overview of on-the-job training (OJT). It defines OJT as job training that occurs in the workplace while the new employee learns and earns a paycheck. OJT has advantages like being cost-effective, but can be challenging to implement if not properly planned. The document also discusses the history, vision, mission and organizational structure of Mabitac, a municipality in Laguna, Philippines that supports OJT programs to develop its employees.
Writing an acknowledgement is an important part of project report. Acknowledgement in project reports is used to thank all those people who have helped you directly or indirectly in preparing your project or thanking people for extending time, effort, money or trust. So, here is a sample acknowledgement which you use in your projects.
The document expresses gratitude to several people who provided guidance and encouragement during the author's training period at the State Remote Sensing Application Centre in Jodhpur, India. The author thanks Kabul Chand for encouraging them to participate in the training, as well as Dr. T.S. Sharma, Rajeev Jain, Dr. Ashok Gehlot, Rameshwar Dadhich, Gajendra Choudhary, Suresh Mathur, and Anil Purohit for their guidance, support, and constructive feedback during the project.
On the-job-trainee (NARRATiVE REPORT) Sheenbie PaladoSheenbie Palado
This document is a narrative report submitted by Sheenbie Miana Palado detailing their 11-week industry practicum at Uomini Language Institute Inc. Over the course of the practicum, Palado held the role of admin secretary and performed various administrative tasks like encoding student profiles, organizing files, assisting clients, and assisting with German language classes. The report provides a weekly breakdown of Palado's duties and experiences during the practicum placement.
The document acknowledges and thanks several individuals for their support during the completion of the nursing case study. It dedicates the case study to enhancing nursing education for students and providing a reference for future researchers. Finally, it includes a nursing student's prayer thanking God for helping with the challenges of nursing school and asking for guidance in developing compassion and serving others through nursing.
Matteo Vaccari - TDD per Android | Codemotion Milan 2015Codemotion
This document discusses test-driven development (TDD) for Android applications. It begins by explaining the benefits of testing such as helping design code, checking code works, and delivering software faster. It then discusses different types of tests and how to structure tests for Android applications using techniques like model-view separation, presenter-first, and mocking Android APIs. The document provides examples of unit tests, acceptance tests, and how to separate an Android app from core logic. It emphasizes programming skill over libraries and delivering valuable software sustainably through TDD.
The document provides an agenda and overview for an introduction to computer vision in .NET. The agenda includes discussing what digital images and computer vision are, demonstrating Hello OpenCV in .NET, covering convolution and edge detection, facial detection, facial detection with the Vonage Video API, and feature tracking and image projection. The document shares code examples and resources for working with computer vision libraries like OpenCV and Emgu CV in .NET.
The practicum experience at De La Salle Health Sciences Institute provided the trainee opportunities to assist in the College of Medical Radiation Technology department and multimedia room. Over the course of 200 training hours, the trainee learned to repair computers, assist students and visitors, and enhance her knowledge of computer-related tasks. She developed skills like self-confidence, communication, and responsibility. The employees ensured the trainee was oriented and treated respectfully. Overall, the experience allowed the trainee to gain work experience and expertise that would help her succeed in future computer science career goals.
This document provides an overview of several key economic concepts related to government and private sectors, public goods, natural monopolies, externalities, and fiscal policy. It discusses the differences between the private and public sectors. It describes public goods, natural monopolies, and how they relate to utilities and require regulation. It also covers externalities, using examples of negative externalities from nuclear power plants. Additionally, it summarizes concepts around government budgets, expenditures, receipts, deficits, taxes, and the Laffer curve.
GOOGLE GLΛSS By Google X and Google.inc (PowerPoint Presentation)Mujeeb Rehman
Google Glass (styled "GLΛSS") is a wearable computer with an optical head-mounted display (OHMD) that is being developed by Google in the Project Glass research and development project, with a mission of producing a mass-market ubiquitous computer. Google Glass displays information in a smartphone-like hands-free format,[8] that can communicate with the Internet via natural language voice commands.
Glass is being developed by Google X, which has worked on other futuristic technologies such as driverless cars. The project was announced on Google+ by Project Glass lead Babak Parviz, an electrical engineer who has also worked on putting displays into contact lenses; Steve Lee, a product manager and "geolocation specialist"; and Sebastian Thrun, who developed Udacity as well as worked on the autonomous car project. Google has patented the design of Project Glass.
This document summarizes the ticketing and event management services provided by BookMyShow, India's largest entertainment ticketing portal. It offers online and mobile ticketing for movies, sports, concerts, comedy, and other events. Services include dedicated event microsites, a mobile app, a 24/7 call center, ticket printing with security features, turnstiles, wristbands, LED displays, and camping/food and beverage solutions using RFID technology. Marketing initiatives include email campaigns, push notifications, radio promotions, and offline promotions through retail outlets.
The document provides details about a project report on book store management submitted by Ms. Amrita Singh to S.K. College of Science and Commerce. The 3-page report includes an introduction, acknowledgements, index, and the start of the preliminary investigation section. It describes the objectives of developing a computerized management system for the book store to help with effective management of purchases and sales.
The document provides information on the vision, mission, goals, and objectives of the Information Technology program at Laguna State Polytechnic University. The vision is for the university to be a premier institution offering programs to meet the needs of the Philippines and global economies, especially in Asia. The mission is to provide advanced education in fields including IT, agriculture, science, and engineering. The goals of the College of Arts and Sciences are to develop students' skills and knowledge for global competitiveness. The objectives of the IT program are to develop intellectual and skills competencies to prepare students for IT careers and meet industry demands through instruction, research, extension work, and production activities.
Types of Layouts by ADMEC Multimedia InstituteRavi Bhadauria
ADMEC Multimedia Institute is growing institute that is providing industry oriented training to the world at large. Being a multimedia institute we offers training for creating or designing content for information technology mainly.
Introduction for Narrative Report at GPICathy Roque
This document provides information about an internship course for industrial psychology students at Eulogio "Amang" Rodriguez Institute of Science and Technology. The course objectives are to expose students to personnel work, office procedures, and psychological testing through a 500-hour on-the-job internship. Students will complete the internship at the school or a company, with the goal of gaining practical experience relevant to becoming an industrial psychologist. Requirements include submitting paperwork from the internship site and a narrative report on experiences and lessons learned.
This summary provides an overview of Jomel R. Bulilis' narrative report on his on-the-job training experience at Abacus Distribution System Philippines Inc. in Cebu City. In 3 sentences:
Bulilis conducted his on-the-job training as a trainee in the Technical Support department, where he learned skills related to his computer science degree as well as gaining experience working in a professional environment. The training helped him develop both technical and soft skills, and reinforced the importance of what he learned academically. Bulilis found the experience very valuable for his future career goals of becoming a Technical Support Manager.
The document provides information about the Associate in Information Technology program at Laguna State Polytechnic University, including its vision, mission, goals, and objectives. The program aims to develop students' intellectual, emotional, and skills competencies to prepare them for careers in information technology. It seeks to provide theoretical and technical training to produce globally competitive IT graduates through instruction, research and development, extension activities, and hands-on production experiences.
Reflection on my observations at schoolCamila Roldán
During two months of observations at School N° 4, the document reflects on the English teacher, Romina Cheme, and her teaching style. Romina is described as confident, assertive, and able to control her classes. She uses a loud voice without shouting and insists that students make eye contact when being disciplined. Romina also emphasizes appropriate student behavior and puts students in groups for hands-on projects. Both the teacher and students created a welcoming environment for the observers.
Dr. Jose Rizal wrote two famous novels - Noli Me Tangere and El Filibusterismo. Noli Me Tangere was published first in 1884 and focuses on the romance of Crisostomo Ibarra and Maria Clara. El Filibusterismo was published in 1887 and has a darker, more political tone depicting the oppression of the Spanish government. Both novels satirize the abuses of Spanish officials and friars in the Philippines and aimed to incite the Filipino people to rise up against their oppressors. Rizal was also working on a third novel called Makisama but did not complete it before his execution in 1896.
This narrative report summarizes activities related to a reading program implemented at Pablo M. Piatos Sr. Elementary School over several months. Various assessments were conducted to evaluate students' reading levels. Teachers also participated in training workshops to develop their skills for teaching reading. While progress was made, many students remained at frustration or independent reading levels. The report concludes with recommendations to continue supporting reading teachers and encouraging parental involvement to further improve the program.
The author expresses deep gratitude to several mentors and colleagues who supported the completion of their research. Specifically, the author thanks Dr. Fr. S. JOHN BRITTO, their mentor and guide, for his dedication and advice which helped the author accomplish their task. The author also thanks Dr. S. SENTHIL KUMAR for their interest, inspiration, and timely suggestions. Finally, the author expresses gratitude to friends, family members, and staff who provided encouragement and assistance throughout the research period.
The document describes an Online Bus Ticket Reservation System (OBTRS) created by Ashwin Sharma, Nikhil Vyas, and Nilesh Soni. The system allows users to reserve seats, cancel reservations, and access various inquiries. It maintains user, bus, reservation, booking, and customer details. The system was designed to computerize the traditional paper-based process and make ticket booking and tracking easier online.
The document provides an overview of on-the-job training (OJT). It defines OJT as job training that occurs in the workplace while the new employee learns and earns a paycheck. OJT has advantages like being cost-effective, but can be challenging to implement if not properly planned. The document also discusses the history, vision, mission and organizational structure of Mabitac, a municipality in Laguna, Philippines that supports OJT programs to develop its employees.
Writing an acknowledgement is an important part of project report. Acknowledgement in project reports is used to thank all those people who have helped you directly or indirectly in preparing your project or thanking people for extending time, effort, money or trust. So, here is a sample acknowledgement which you use in your projects.
The document expresses gratitude to several people who provided guidance and encouragement during the author's training period at the State Remote Sensing Application Centre in Jodhpur, India. The author thanks Kabul Chand for encouraging them to participate in the training, as well as Dr. T.S. Sharma, Rajeev Jain, Dr. Ashok Gehlot, Rameshwar Dadhich, Gajendra Choudhary, Suresh Mathur, and Anil Purohit for their guidance, support, and constructive feedback during the project.
On the-job-trainee (NARRATiVE REPORT) Sheenbie PaladoSheenbie Palado
This document is a narrative report submitted by Sheenbie Miana Palado detailing their 11-week industry practicum at Uomini Language Institute Inc. Over the course of the practicum, Palado held the role of admin secretary and performed various administrative tasks like encoding student profiles, organizing files, assisting clients, and assisting with German language classes. The report provides a weekly breakdown of Palado's duties and experiences during the practicum placement.
The document acknowledges and thanks several individuals for their support during the completion of the nursing case study. It dedicates the case study to enhancing nursing education for students and providing a reference for future researchers. Finally, it includes a nursing student's prayer thanking God for helping with the challenges of nursing school and asking for guidance in developing compassion and serving others through nursing.
Matteo Vaccari - TDD per Android | Codemotion Milan 2015Codemotion
This document discusses test-driven development (TDD) for Android applications. It begins by explaining the benefits of testing such as helping design code, checking code works, and delivering software faster. It then discusses different types of tests and how to structure tests for Android applications using techniques like model-view separation, presenter-first, and mocking Android APIs. The document provides examples of unit tests, acceptance tests, and how to separate an Android app from core logic. It emphasizes programming skill over libraries and delivering valuable software sustainably through TDD.
The document provides an agenda and overview for an introduction to computer vision in .NET. The agenda includes discussing what digital images and computer vision are, demonstrating Hello OpenCV in .NET, covering convolution and edge detection, facial detection, facial detection with the Vonage Video API, and feature tracking and image projection. The document shares code examples and resources for working with computer vision libraries like OpenCV and Emgu CV in .NET.
TDD and mobile development: some forgotten techniques, illustrated with AndroidCodemotion
"TDD and mobile development: some forgotten techniques, illustrated with Android" by Matteo Vaccari
Delivering updates with confidence; shortening time to market; writing clean and correct code every day: this is the promise of Test-Driven Development. But, it’s not easy to do TDD in Android. You have to run the tests on the device, or install a complex framework that mimics the Android APIs. Both options slow you down. In this session we’ll get back to the roots of TDD and show how to deal with this problem. We’ll learn time-tested techniques that reduce the need to run tests on the device. The good side-effect is that our code becomes simpler and better.
This document discusses using ScriptableObjects in Unity to enable rapid prototyping. It begins by explaining what ScriptableObjects are and how they can be created and used. It then discusses how ScriptableObjects can make game development easier by allowing designers to configure variables and events without code changes. Several examples are provided, such as pluggable enums, variables, and events. The document concludes by discussing how ScriptableObjects enable better organization, reuse, testing, and collaboration compared to traditional MonoBehaviour approaches.
This document discusses two approaches to automating tests for Unity games: the Puppetry driver framework and image recognition using OpenCV.
The Puppetry driver allows writing tests by finding and interacting with game objects, but requires knowledge of Unity-specific concepts. Image recognition finds elements by screenshotting and template matching, handling different resolutions and states, but lacks capabilities to directly check game state.
Both approaches are debated in a fictional debate format comparing their speed, stability, maintenance, entry threshold, and abilities for new tests, layout testing, and more. While the Puppetry driver is faster to set up initially, image recognition requires learning appium but may scale better for complex games.
This document provides information about a project to solve the eight queens puzzle using backtracking algorithms. It includes an introduction describing the puzzle, intended audience, and project scope. It also includes sections on the project overview describing the algorithm and operating environment, as well as modules, source code, and conclusions.
Jak vyvinout úspěšnou aplikaci pro Google Glass (Martin Pelant, eMan)eMan s.r.o.
Přednáška Martina Pelanta o vývoji mobilních aplikacích pro Google Glass se uskutečnila 19.8.2014 ve spolupráci s IDE Prague. Odkaz na FB událost: https://www.facebook.com/events/912995792048693/
Developing natural user interface applications with real sense devicespeteohanlon
The document discusses developing natural user interface applications using Intel RealSense depth cameras. It provides an overview of the RealSense SDK capabilities like emotion detection, face tracking, and hand tracking. The SDK supports C++, C#, Java, JavaScript and can integrate with game engines like Unity. The document also includes code examples for initializing the camera, processing frames for tasks like emotion detection and segmentation, and integrating features like touchless control, speech synthesis and face tracking.
Javascript unit testing with QUnit and SinonLars Thorup
This document discusses JavaScript unit testing with QUnit and Sinon. It introduces Lars Thorup and his background in software development, testing, and coaching. It then provides an overview of unit testing, explaining why it is beneficial and how to implement it. Finally, it demonstrates various QUnit and Sinon techniques for writing tests, including assertions, spies, stubs, mocks, asynchronous code, the DOM, and advanced mocking.
Leaving Flatland: getting started with WebGLgerbille
WebGL is a JavaScript API for rendering interactive 3D graphics within any compatible web browser without the use of plug-ins. It can be used for data visualization, creative coding, 3D modeling, games, and more. WebGL works by using JavaScript to interface with the GPU through WebGL APIs to run GLSL shaders that render 3D scenes. To get started, one needs to choose a WebGL library like Three.js, add a <canvas> element, and get the WebGL context. Sample code is provided to render a 3D model by loading geometry, adding lights and materials, and animating the scene render.
Oxygine 2 d objects,events,debug and resourcescorehard_by
Доклад будет посвящен созданию/удалению и взаимодействию игровых объектах, о стандартных и кастомизированных смартпоинтерах. Какими вещами пользоваться чтобы получить debug информацию о том что происходит в игре. Будут приведены примеры шаблонов игрового проектирования. Несколько слов о интересных редакторах игровых ресурсов: MapEditor.com, Astralax.ru
This document discusses teaching game development using mini-games to teach programming and design concepts. It provides an overview of setting up the development environment and tools, basic game programming concepts like cameras and matrices, and approaches for simple games like Pong to teach core mechanics.
This document provides information about developing applications for Google Glass. It begins with Johnny Sung's contact information and some questions asked in Chinese about Glass. It then discusses various aspects of Glass development including the Mirror API, Live Cards, gestures, layout, and voice triggers. Code examples are provided for different types of Live Cards (periodic notifications, ongoing tasks, hybrid model) and handling input events from Glass. Links are included to documentation and resources for further reference.
Windows 8 Pure Imagination - 2012-11-25 - Extending Your Game with Windows 8 ...Frédéric Harper
This document discusses extending games for Windows 8 and includes demos of various features. It covers designing for touch, using the accelerometer sensor, snapped views, user profile data, contacts, sharing, settings, live tiles, monetization through in-app purchases, and advertising. It provides code examples and resources for creating Windows 8 games.
The document contains a list of 40 Java interview questions related to core Java, servlets, and JSP. The questions cover topics such as default array values, declaring and initializing arrays, Java keywords, if/else conditions, switch statements, loops, strings, wrappers, methods, threads, JDBC, servlet scopes, servlet lifecycle methods, differences between servlets and JSPs, implicit objects in JSP, and JSP directives.
What Web Developers Need to Know to Develop Native HTML5/JS AppsDoris Chen
This document provides biographical information about Doris Chen in 3 paragraphs. It states that she is a Developer Evangelist at Microsoft based in Silicon Valley, California. It lists her blog, Twitter, email, and details about her office hours. It notes that she has over 15 years of experience in the software industry focusing on web technologies. It also shares that she has spoken and published widely at several conferences and meetings. It concludes by mentioning that Doris received her Ph.D. from UCLA.
JavaScript Advanced - Useful methods to power up your codeLaurence Svekis ✔
Get this Course
https://www.udemy.com/javascript-course-plus/?couponCode=SLIDESHARE
Useful methods and JavaScript code snippets power up your code and make even more happen with it.
This course is perfect for anyone who has fundamental JavaScript experience and wants to move to the next level. Use and apply more advanced code, and do more with JavaScript.
Everything you need to learn more about JavaScript
Source code is included
60+ page Downloadable PDF guide with resources and code snippets
3 Challenges to get you coding try the code
demonstrating useful JavaScript methods that can power up your code and make even more happen with it.
Course lessons will cover
JavaScript Number Methods
JavaScript String Methods
JavaScript Math - including math random
DOMContentLoaded - DOM ready when the document has loaded.
JavaScript Date - Date methods and how to get set and use date.
JavaScript parse and stringify - strings to objects back to strings
JavaScript LocalStorage - store variables in the user browser
JavaScript getBoundingClientRect() - get the dimensions of an element
JavaScript Timers setTimeout() setInterval() requestAnimationFrame() - Run code when you want too
encodeURIComponent - encoding made easy
Regex - so powerful use it to get values from your string
prototype - extend JavaScript objects with customized powers
Try and catch - perfect for error and testing
Fetch xHR requests - bring content in from servers
and more
No libraries, no shortcuts just learning JavaScript making it DYNAMIC and INTERACTIVE web application.
Step by step learning with all steps included.
This document discusses ways to increase testability through code seams. It recommends separating code into functional and non-functional pieces, and extracting the functional pieces. This allows the functional code to be tested in isolation without external dependencies. Specific techniques mentioned include peeling away non-functional layers and slicing functional logic from surrounding code. Examples show how to make code more deterministic and remove reliance on global state, dates, and other uncontrollable variables to improve testability.
The document discusses the mobl programming language for building mobile web applications. Mobl is a statically-typed language that compiles to HTML and JavaScript. It aims to provide features for building reactive user interfaces and uses techniques like continuation-passing style and observables to support asynchronous programming in a synchronous-looking way. The document provides examples of coding common mobile app patterns like data binding, network requests, and user input handling in mobl.
Semelhante a J2ME Application on Book My Show (20)
GOOGLE GLΛSS By Google X and Google.incMujeeb Rehman
Google Glass (styled "GLΛSS") is a wearable computer with an optical head-mounted display (OHMD) that is being developed by Google in the Project Glass research and development project, with a mission of producing a mass-market ubiquitous computer. Google Glass displays information in a smartphone-like hands-free format,[8] that can communicate with the Internet via natural language voice commands.
Glass is being developed by Google X, which has worked on other futuristic technologies such as driverless cars. The project was announced on Google+ by Project Glass lead Babak Parviz, an electrical engineer who has also worked on putting displays into contact lenses; Steve Lee, a product manager and "geolocation specialist"; and Sebastian Thrun, who developed Udacity as well as worked on the autonomous car project. Google has patented the design of Project Glass.
JSP Web Technology Application on Road Transport ServicesMujeeb Rehman
The document is about a project for the National Transport Company. It includes a certificate signed by the director, head of center, and GL tech of NIIT Jodhpur certifying the project work. It also includes an acknowledgement, system requirements, contents, and the beginning of the home and network sections which provide an overview of the company's network capabilities and allows the user to view network details by state.
One of the most recognized brand names in the world today, Sony Corporation, Japan, established its India operations in November 1994, focusing on the sales and marketing of Sony products in the country. In a span of 19 years, Sony India has exemplified the quest for excellence in the world of digital lifestyle becoming the country’s foremost consumer electronics brand. With relentless commitment to quality, consistent dedication to customer satisfaction and unparalleled standards of service, Sony India is recognized as a benchmark for new age technology, superior quality, digital concepts and personalized service that has ensured loyal customers and nationwide acclaim in the industry.
Sony India is one of the most recognized consumer electronics brand in the country, with a reputation for new age technology, digital concepts and excellent after sales service. In India, Sony has its footprint across all major towns and cities in the country through a distribution network comprising of over 20,000 dealers and distributors, more than 300 exclusive Sony outlets and 25 branch locations. Sony India also has a strong service presence across the country with 365 service outlets. Manned by customer friendly and informed sales persons, Sony’s exclusive stores ‘Sony Canter’ are fast becoming the most visible face of the company in India. A distinctive feature of Sony’s service is their highly motivated and well-trained staffs that provide the kind of attentive and sensitive service that is rare today.
Sony is committed to ensuring that both the products and the marketing activities employed truly make a difference to people’s lifestyles and offer them new dimensions of enjoyment. Relentless commitment to quality, continuous dedication to customer satisfaction and unparalleled standards of service is what differentiates us from countless competitors and reflects a true image of all that is Sony.
The BlackBerry is a line of wireless handheld devices and services designed and marketed by BlackBerry Limited, formerly known as Research in Motion Limited (RIM).BlackBerry devices can shoot video, take photos and play music; these devices also provide essentials such as web-browsing, email messaging, instant messaging, and the proprietary BlackBerry Messenger.
Essar Steel is a global integrated steel producer with an annual capacity of 14 million tones with a strong presence in intensive steel consuming markets of Asia and North America.
This is the brief document about Birla Sun Life Group..which include almost all its insurance plans, and policies. This documents also help those students and people how are seeking to get to know about BSLI. I provide all the detailed history about birla group in this documents..:)
Apple Inc. is a multinational technology company that designs and sells consumer electronics, computer software, and personal computers. Some of Apple's most popular products include the Macintosh line of computers, the iPod, iPhone, and iPad. Over the past few decades, Apple has experienced both success and struggles but is now the largest technology company in the world by revenue. The presentation provides a history of Apple's innovations from 1976 to the present day under the leadership of Steve Jobs and Tim Cook.
Apple Inc. started in a garage in 1976 and has since revolutionized personal computing and consumer electronics. It produces the iPhone, iPad, Mac computers and iPod. Its stores and online store sell hardware, software and services. Key milestones include the Apple I and II computers, the 1984 Macintosh launch, iPod in 2001, iPhone in 2007 and iPad in 2010. Under Steve Jobs, Apple focused on innovative design and user experience. It faces competition from Android but continues to see strong growth in smartphones and tablets.
A workshop hosted by the South African Journal of Science aimed at postgraduate students and early career researchers with little or no experience in writing and publishing journal articles.
How to Make a Field Mandatory in Odoo 17Celine George
In Odoo, making a field required can be done through both Python code and XML views. When you set the required attribute to True in Python code, it makes the field required across all views where it's used. Conversely, when you set the required attribute in XML views, it makes the field required only in the context of that particular view.
हिंदी वर्णमाला पीपीटी, hindi alphabet PPT presentation, hindi varnamala PPT, Hindi Varnamala pdf, हिंदी स्वर, हिंदी व्यंजन, sikhiye hindi varnmala, dr. mulla adam ali, hindi language and literature, hindi alphabet with drawing, hindi alphabet pdf, hindi varnamala for childrens, hindi language, hindi varnamala practice for kids, https://www.drmullaadamali.com
Reimagining Your Library Space: How to Increase the Vibes in Your Library No ...Diana Rendina
Librarians are leading the way in creating future-ready citizens – now we need to update our spaces to match. In this session, attendees will get inspiration for transforming their library spaces. You’ll learn how to survey students and patrons, create a focus group, and use design thinking to brainstorm ideas for your space. We’ll discuss budget friendly ways to change your space as well as how to find funding. No matter where you’re at, you’ll find ideas for reimagining your space in this session.
This presentation was provided by Steph Pollock of The American Psychological Association’s Journals Program, and Damita Snow, of The American Society of Civil Engineers (ASCE), for the initial session of NISO's 2024 Training Series "DEIA in the Scholarly Landscape." Session One: 'Setting Expectations: a DEIA Primer,' was held June 6, 2024.
Beyond Degrees - Empowering the Workforce in the Context of Skills-First.pptxEduSkills OECD
Iván Bornacelly, Policy Analyst at the OECD Centre for Skills, OECD, presents at the webinar 'Tackling job market gaps with a skills-first approach' on 12 June 2024
2. 2
Book My Show
Batch Code: B140109
Sem Code: T1E1D
Start Date: 21st
Feb 2013
End Date: 16th
April 2014
Name of the Coordinator: Vinod Chauhan
Name of the Creator: Mujeeb Rehman,
Khushal Singh and
Akash Singha
Date of Submission: Friday, 18th
April 2014
3. 3
Certificate
This is certifying that thesis work on, “Book My Show”
is a bonfire work has been successfully carried out
and submitted in the fulfillment of the requirement for
the Semester – C Elective-1 (T1E1D) of GNIIT
(Software Engineering) from NIIT. It is certified that
all correction /suggestion indicated for the internal
assessment have been incorporated in the thesis.
The thesis has been approved as it satisfied the
academic requirement in respect of minor work
prescribed for the software engineering (GNIIT). This
thesis is done under the guidance of “Vinod
Chauhan” (Faculty for Semester C, Elective-1 of
GNIIT) by “Mujeeb Rehman, Khushal Singh and
Akash Singha” of Semester “C - T1E1D” GNIIT
(Software Engineering).
Mr. Mukesh Bansal Mr. Kuldeep Singh Ms. Ritika Maheshwari
(Director) (Head of Center) (GL Tech.)
4. 4
Acknowledgement
We are very thankful to everyone who supported us
for this project and gives their guidance to complete
our thesis work effectively and moreover on time.
We are equally grateful to our faculty Mr Vinod
Chauhan, who gave us moral support and guided us
in different matters and solutions regarding the topic.
We feel immensely proud in extending our heartiest
thanks to Mr Mukesh Bansal, Director of NIIT
(Jodhpur), Ms Ritika Maheshwari (GL Tech.), for
providing us a platform to improve in various fields.
They went out of their way and provide us with
openhearted help and counsel. They have been a
source of inspiration for us and their experience and
knowledge have helped us in learning and giving this
project the shape it has assumed.
Mujeeb Rehman
Khushal Singh &
Akash Singha
5. 5
System Requirements
•CPU
•Monitor
•Keyboard
•Mouse
•2GB RAM (Minimum)
•100 GB HDD (Minimum)
Hardware Requirement
•Net Beans IDE 7.4 or higher
•Java Development Kit (JDK) 7.0 or higher
•Java ME SDK 3.4 or higher.
•Java ME SDK 3.4 Plugins
Software Requirement
•Microsoft Windows 7/8
Operating System
6. 6
Contents
1. Declaring Objects 7
2. Splash Screen 9
3. Home Screen 10
4. Ticket Type Screen 12
5. Movie List Screen 13
6. Movie List Action Screen 14
7. Date, Time and Venue Screen 17
8. Ticket Screen 19
9. Customer Contact Detail Screen 21
10.Review Details Screen 21
11.Payment Option Screen 22
12.Pick Your Card Screen 24
13.State Bank of India Screen 25
14.Confirm Transaction Alert Screen 26
15.Booking Done Screen 27
16.Start App, Pause App, Destroy App Code 28
17.Command Action Method Code 29
18.Bibliography 34
7. 7
Task 1 Declaring Object
package book_my_show;
import javax.microedition.midlet.*;
import javax.microedition.lcdui.*;
import org.netbeans.microedition.lcdui.SplashScreen;
public class BookMyShow extends MIDlet implements CommandListener {
private boolean midletPaused = false;
private final int rateP = 100;
private final int rateC = 150;
private final int rateL = 400;
private SplashScreen splashScreen;
private List list1, listHome, listMovies, listBankCards;
private Form formVenuDateTime;
private Form formTicketType;
private Form form2States;
private Form formExpandables3;
private Form formPickSeats;
private Form formReviewDetails;
private Form formCardSelect;
private DateField dateField;
private ChoiceGroup choiceGroup;
private ChoiceGroup choiceGroup2;
private ChoiceGroup chTheater;
private ChoiceGroup chTicketType;
private TextField textField;
private TextField textField1;
9. 9
Task 2 Splash Screen
public void startMIDlet() {
public SplashScreen getSplashScreen() {
if (splashScreen == null)
splashScreen = new SplashScreen(getDisplay());
splashScreen.setTitle("Book My Show");
splashScreen.setCommandListener(this);
splashScreen.setFullScreenMode(true);
splashScreen.setImage(getImage1());
splashScreen.setText("Loading...");
} return splashScreen; }
switchDisplayable(null, getSplashScreen());
} public void switchDisplayable(Alert alert,
Displayable nextDisplayable) {
Display display = getDisplay();
if (alert == null) {
display.setCurrent(nextDisplayable);
} else { display.setCurrent(alert,
nextDisplayable); } }
public Image getImage1() {
if (image1 == null) {
try {
image1 =
Image.createImage("/book_my_show/Splash
Screen.png");
} catch (java.io.IOException e) { }
}return image1; }
10. 10
Task 3 Home Screen
Screenpublic List getListHome() {
if (listHome == null) {
listHome = new List("What You Want To Do ?", Choice.IMPLICIT);
listHome.append("Tickets", null);
listHome.append("Near Me", null);
listHome.append("Search By City", null);
listHome.addCommand(getExitCommand());
listHome.setCommandListener(this);
listHome.setSelectedFlags(new
boolean[]{false, false, false});
}
return listHome;
}
public void listHomeAction() {
String __selectedString =
getListHome().getString(getListHome().getSelec
tedIndex());
if (__selectedString != null) {
if (__selectedString.equals("Tickets")) {
switchDisplayable(null, getList1());
} else if (__selectedString.equals("Near Me")) {
switchDisplayable(getAlert(), getListHome());
} else if (__selectedString.equals("Search By
City")) {
switchDisplayable(getAlert1(), getListHome());
11. 11
} } }
public Alert getAlert() {
if (alert == null) {
alert = new Alert("GPS", "This Feature Require GPS !", null, AlertType.ERROR);
alert.setTimeout(Alert.FOREVER);
} return alert}
public Alert getAlert1() {
if (alert1 == null) {
alert1 = new Alert("GPRS", "Internet Connection Error !", null, AlertType.ERROR);
alert1.setTimeout(Alert.FOREVER);
} return alert1;}
12. 12
Task 4 Ticket Type Screen
public List getList1() {
if (list1 == null) {
list1 = new List("Ticket Type", Choice.IMPLICIT);
list1.append("Movies", null);
list1.append("Events", null);
list1.addCommand(getBackCommand());
list1.setCommandListener(this);
list1.setSelectedFlags(new boolean[]{false, false});
} return list1;
}
public Alert getAlert2() {
if (alert2 == null) {
alert2 = new Alert("Information", "No events In
Your City", null, AlertType.INFO);
alert2.setTimeout(Alert.FOREVER);
}
return alert2;
}
13. 13
Task 5 Movie List Screen
public void list1Action() {
String __selectedString = getList1().getString(getList1().getSelectedIndex());
if (__selectedString != null) {
if (__selectedString.equals("Movies")) {
switchDisplayable(null, getListMovies());
} else if (__selectedString.equals("Events")) {
switchDisplayable(getAlert2(), getList1());
public List getListMovies() {
if (listMovies == null) {
listMovies = new List("Movies Currently In
Your City", Choice.IMPLICIT);
listMovies.append("2 States", null);
listMovies.append("Mai Tera Hero", null);
listMovies.append("The Expandables 3", null);
listMovies.append("Youngistaan", null);
listMovies.append("Captain America", null);
listMovies.setTicker(getTicker1());
listMovies.addCommand(getBackCommand());
listMovies.addCommand(getOkCommand());
listMovies.setCommandListener(this);
listMovies.setSelectedFlags(new boolean[]{false, false, false, false, false});
} return listMovies; }
public Ticker getTicker1() {
if (ticker1 == null) {
ticker1 = new Ticker("CLICK THE MOVIE NAME FOR ITS DETAILS"); } return ticker1; }
14. 14
Task 6 Movie List Action Screen
public void listMoviesAction() {
String __selectedString = getListMovies().getString(getListMovies().getSelectedIndex());
if (__selectedString != null) {
if (__selectedString.equals("2 States")) {
switchDisplayable(null, getForm2States());
} else if (__selectedString.equals("Mai Tera Hero")) {
switchDisplayable(null, getFormMaiTeraHero());
} else if (__selectedString.equals("The Expandables 3")) {
switchDisplayable(null, getFormExpandables3());
} else if (__selectedString.equals("Youngistaan")) {
switchDisplayable(null, getFormYoungistaan());
} else if (__selectedString.equals("Captain America")) {
switchDisplayable(null, getFormCaptainAmerica());
} } }
public Form getForm2States() {
if (form2States == null) {
15. 15
form2States = new Form("Movie Details of 2 States", new Item[]{getImageItem(), getStringItem4(),
getStringItem5(), getStringItem6(), getStringItem7(), getStringItem8()});
form2States.addCommand(getBackCommand2());
form2States.setCommandListener(this);
} return form2States; }
public ImageItem getImageItem() {
if (imageItem == null) {
imageItem = new ImageItem("2 States", getImage2(), ImageItem.LAYOUT_DEFAULT, "<Missing
Image>");
imageItem.setPreferredSize(-1, -1);
}return imageItem; }
public StringItem getStringItem4() {
if (stringItem4 == null) {
stringItem4 = new StringItem("Starring:", "Arjun Kapoor, Alia Bhatt, Ronit Roy, Amrita Singh,
Revathy.");
} return stringItem4; }
public StringItem getStringItem5() {
if (stringItem5 == null) {
stringItem5 = new StringItem("Music By:", "Shankar-Ehsaan-Loy");
} return stringItem5; }
public StringItem getStringItem6() {
if (stringItem6 == null) {
stringItem6 = new StringItem("Writen By:", "Chetan bhagat");
} return stringItem6;}
public StringItem getStringItem7() {
if (stringItem7 == null) {
stringItem7 = new StringItem("Directer By:", "Abhishek Varman");
} return stringItem7;}
public StringItem getStringItem8() {
16. 16
if (stringItem8 == null) { stringItem8 = new StringItem("Produced By:", "Sajid Nadiadwala and
Karan Johar"); } return stringItem8; }
public Image getImage2() {
if (image2 == null) {
try { image2 = Image.createImage("/book_my_show/2states.png");
} catch (java.io.IOException e) { }
} return image2;}
17. 17
Task 7 Date, Time & Venue Screen
public Form getFormVenuDateTime() {
if (formVenuDateTime == null) {
formVenuDateTime = new Form("Date |
Time | Venu", new Item[]{getDateField(),
getChTheater()});
formVenuDateTime.setTicker(getTicker());
formVenuDateTime.addCommand(getBackComman
d());
formVenuDateTime.addCommand(getOkCommand
3());
formVenuDateTime.setCommandListener(this);
formVenuDateTime.append("Movie Name: " +
listMovies.getString(listMovies.getSelectedIndex()));
} return formVenuDateTime; }
public Ticker getTicker() {
if (ticker == null) {
ticker = new Ticker("New Releses >> Youngistaan |
2 States | Expandables 3 | Tera Hero Idhar Hai");
} return ticker; }
public DateField getDateField() {
if (dateField == null) {
dateField = new DateField("Enter Date:",
DateField.DATE);
dateField.setDate(new
java.util.Date(System.currentTimeMillis()));
} return dateField; }
public ChoiceGroup getChTheater() {
if (chTheater == null) {
chTheater = new ChoiceGroup("Select Theater:", Choice.POPUP);
23. 23
Task 11 Payment Option Screen
public Form getFormCardSelect() {
if (formCardSelect == null) {
formCardSelect = new Form("Pay Via Bank Cards", new Item[]{getChoiceGroup()});
formCardSelect.addCommand(getBackCommand6());
formCardSelect.addCommand(getOkCommand7());
formCardSelect.setCommandListener(this);
}
return formCardSelect;
}
public ChoiceGroup getChoiceGroup() {
if (choiceGroup == null) {
choiceGroup = new ChoiceGroup("Select Your
Payement Option", Choice.EXCLUSIVE);
choiceGroup.append("Debit / Credit Card",
null);
choiceGroup.append("Net Banking", null);
choiceGroup.append("Mobile", null);
choiceGroup.setSelectedFlags(new
boolean[]{false, false, false});
}
return choiceGroup;
}
24. 24
Task 12 Pick Your Card Screen
public List getListBankCards() {
if (listBankCards == null) {
listBankCards = new List("Pick Your Card", Choice.IMPLICIT);
listBankCards.append("SBI", null);
listBankCards.append("ICICI", null);
listBankCards.append("HDFC", null);
listBankCards.append("AXIS", null);
listBankCards.addCommand(getBackCommand7());
listBankCards.setCommandListener(this);
listBankCards.setSelectedFlags(new boolean[]{false,
false, false, false});
}
return listBankCards;
}
public void listBankCardsAction() {
String __selectedString =
getListBankCards().getString(getListBankCards().getSelect
edIndex());
if (__selectedString != null) {
if (__selectedString.equals("SBI")) {
switchDisplayable(null, getFormSBICardDetails());
} else if (__selectedString.equals("ICICI")) {
} else if (__selectedString.equals("HDFC")) {
} else if (__selectedString.equals("AXIS")) {
} } }
25. 25
Task 13 State Bank of India Bank Screen
public Form getFormSBICardDetails() {
if (formSBICardDetails == null) {
formSBICardDetails = new Form("State Bank of India", new Item[]{getImageItem2(), getTextField(),
getStringItem()});
formSBICardDetails.addCommand(getBackCommand8());
formSBICardDetails.addCommand(getOkCommand8());
formSBICardDetails.setCommandListener(this);
} return formSBICardDetails; }
public TextField getTextField() {
if (textField == null) {
textField = new TextField("Enter Your DEBIT / CREDIT Card
Number", null, 16, TextField.ANY | TextField.PASSWORD);
} return textField; }
public StringItem getStringItem() {
if (stringItem == null) {
stringItem = new StringItem("SBI Terms & Conditions*",
"Additionally a processing fee will be charged on the
credit or debit transactions amount at the rate of 2%
subject to a minimum on the given amount will be
applied.");
} return stringItem; }
public Image getImage4() {
if (image4 == null) {
try { image4 = Image.createImage("/book_my_show/Sbi.PNG");
} catch (java.io.IOException e) {
} } return image4; }
26. 26
Task 14 Confirm Transaction Alert
Screen
public Alert getAlert3() {
if (alert3 == null) {
alert3 = new Alert("Confirmation", "Are you sure u
want to proceed with transaction ?", null,
AlertType.CONFIRMATION);
alert3.addCommand(getBackCommand9());
alert3.addCommand(getOkCommand10());
alert3.setCommandListener(this);
alert3.setIndicator(getIndicator());
alert3.setTimeout(Alert.FOREVER);
} return alert3; }
27. 27
Task 15 Booking Done Screen
public Form getFormCongratz() {
if (formCongratz == null) {
formCongratz = new Form("Booking Done", new Item[]{getImageItem3()});
formCongratz.addCommand(getExitCommand2());
formCongratz.setCommandListener(this);
} return formCongratz; }
public Image getImage5() {
if (image5 == null) {
try {
image5 = Image.createImage("/book_my_show/congratulations.png");
} catch (java.io.IOException e) { }
} return image5; }
28. 28
Task 16 Start App, Pause App, Destroy App Code
public Display getDisplay() {
return Display.getDisplay(this);
}
public void exitMIDlet() {
switchDisplayable(null, null);
destroyApp(true);
notifyDestroyed();
}
public void startApp() {
if (midletPaused) {
resumeMIDlet();
} else {
initialize();
startMIDlet();
}
midletPaused = false;
}
public void pauseApp() {
midletPaused = true;
}
public void destroyApp(boolean unconditional) {
}
}
29. 29
Task 17 Command Action Method Code
public void commandAction(Command command, Displayable displayable) {
public Command getExitCommand() {
if (exitCommand == null) {
exitCommand = new Command("EXIT", Command.EXIT, 0);
}
return exitCommand;
}
public Command getScreenCommand() {
if (screenCommand == null) {
screenCommand = new Command("BookScreen", Command.SCREEN, 0);
}
return screenCommand;
}}
public Command getOkCommand() {
if (okCommand == null) {
okCommand = new Command("SELECT", Command.OK, 0);
}
return okCommand;
}
}}}
public Command getBackCommand() {
if (backCommand == null) {
backCommand = new Command("BACK", Command.BACK, 0);
}
return backCommand; }
30. 30
public Command getOkCommand2() {
if (okCommand2 == null) {
okCommand2 = new Command("PICK SEATS", Command.OK, 0);
}
return okCommand2;
}
if (displayable == alert3) {
if (command == backCommand9) {
switchDisplayable(null, getFormSBICardDetails());
} else if (command == okCommand10) {
switchDisplayable(null, getFormCongratz());
}
} else if (displayable == form2States) {
if (command == backCommand2) {
switchDisplayable(null, getListMovies());
}
} else if (displayable == formCaptainAmerica) {
if (command == backCommand12) {
switchDisplayable(null, getListMovies());
}
} else if (displayable == formCardSelect) {
if (command == backCommand6) {
switchDisplayable(null, getFormReviewDetails());
} else if (command == okCommand7) {
switchDisplayable(null, getListBankCards());
}
} else if (displayable == formCongratz) {
31. 31
if (command == exitCommand2) {
exitMIDlet();
}
} else if (displayable == formExpandables3) {
if (command == backCommand) {
switchDisplayable(null, getListMovies());
}
} else if (displayable == formMaiTeraHero) {
if (command == backCommand10) {
switchDisplayable(null, getListMovies());
}
} else if (displayable == formPickSeats) {
if (command == backCommand3) {
switchDisplayable(null, getFormTicketType());
} else if (command == okCommand4) {
switchDisplayable(null, getFormProvideUrDetails());
}
} else if (displayable == formProvideUrDetails) {
if (command == backCommand4) {
switchDisplayable(null, getFormPickSeats());
} else if (command == okCommand5) {
switchDisplayable(null, getFormReviewDetails());
}
} else if (displayable == formReviewDetails) {
if (command == backCommand5) {
switchDisplayable(null, getFormProvideUrDetails());
} else if (command == okCommand6) {
32. 32
switchDisplayable(null, getFormCardSelect());
}
} else if (displayable == formSBICardDetails) {
if (command == backCommand8) {
switchDisplayable(null, getListBankCards());
} else if (command == okCommand8) {
switchDisplayable(null, getAlert3());
}
} else if (displayable == formTicketType) {
if (command == backCommand) {
switchDisplayable(null, getFormVenuDateTime());
} else if (command == okCommand2) {
switchDisplayable(null, getFormPickSeats());
}
} else if (displayable == formVenuDateTime) {
if (command == backCommand) {
switchDisplayable(null, getListMovies());
} else if (command == okCommand3) {
switchDisplayable(null, getFormTicketType());
}
} else if (displayable == formYoungistaan) {
if (command == backCommand11) {
switchDisplayable(null, getListMovies());
}
} else if (displayable == list1) {
if (command == List.SELECT_COMMAND) {
list1Action();
33. 33
} else if (command == backCommand) {
switchDisplayable(null, getListHome());
}
} else if (displayable == listBankCards) {
if (command == List.SELECT_COMMAND) {
listBankCardsAction();
} else if (command == backCommand7) {
switchDisplayable(null, getFormCardSelect());
}
} else if (displayable == listHome) {
if (command == List.SELECT_COMMAND) {
listHomeAction();
} else if (command == exitCommand) {
exitMIDlet();
}
} else if (displayable == listMovies) {
if (command == List.SELECT_COMMAND) {
listMoviesAction();
} else if (command == backCommand) {
switchDisplayable(null, getList1());
} else if (command == okCommand) {
switchDisplayable(null, getFormVenuDateTime()); }
} else if (displayable == splashScreen) {
if (command == SplashScreen.DISMISS_COMMAND) {
switchDisplayable(null, getListHome());
} } }