The document provides an overview of J2ME (Java 2 Micro Edition), which is a version of Java designed for small, resource-constrained devices. It discusses what J2ME is, the motivations for its creation, its core concepts including configurations, profiles, and optional packages, and how to get started developing applications using J2ME. The document serves as an introduction to the J2ME platform for developing applications on devices such as mobile phones, PDAs, and other small computing devices.
1.ANDROID
2.INTRODUCTION
Android is a Linux-based operating system designed primarily for touchscreen mobile devices such as smartphones and tablet computers.
Initially developed by Android, Inc., which Google backed financially and later bought in 2005, Android was unveiled in 2007 along with the founding of the Open Handset Alliance: a consortium of hardware, software, and telecommunication companies devoted to advancing open standards for mobile devices. The first Android-powered phone was sold in October 2008.
3.ARCHITECTURE
4.Android consists of a kernel based on Linux kernel version 2.6 and, from Android 4.0 Ice Cream Sandwich onwards, version 3.x, with middleware, libraries and APIs written in C, and application software running on an application framework which includes Java-compatible libraries based on Apache Harmony.
Android uses the Dalvik virtual machine with just-in-time compilation to run Dalvik 'dex-code' (Dalvik Executable), which is usually translated from Java bytecode.The main hardware platform for Android is the ARM architecture.
5.APPLICATIONS
Android has a growing selection of third party applications, which can be acquired by users either through an app store such as Google Play or the Amazon Appstore, or by downloading and installing the application's APK file from a third-party site.
The Play Store application allows users to browse, download and update apps published by Google and third-party developers, and is pre-installed on devices that comply with Google's compatibility requirements.
6.APPLICATIONS
The app filters the list of available applications to those that are compatible with the user's device, and developers may restrict their applications to particular carriers or countries for business reasons. Purchases of unwanted applications can be refunded within 15 minutes of the time of download, and some carriers offer direct carrier billing for Google Play application purchases, where the cost of the application is added to the user's monthly bill.
As of September 2012, there were more than 675,000 apps available for Android, and the estimated number of applications downloaded from the Play Store was 25 billion.
7.SECURITY & PRIVACY
Android applications run in a sandbox, an isolated area of the system that does not have access to the rest of the system's resources, unless access permissions are explicitly granted by the user when the application is installed. Before installing an application, the Play Store displays all required permissions: a game may need to enable vibration or save data to an SD card, for example, but should not need to read SMS messages or access the phonebook. After reviewing these permissions, the user can choose to accept or refuse them, installing the application only if they accept.
Event management by using cloud computingLogesh Waran
Cloud Computing is the distribution of shared resources over the internet. The way of using cloud computing is to subscribe it, or to be install on a computer directly which makes the user to easily access the software remotely, through a web browser.
1.ANDROID
2.INTRODUCTION
Android is a Linux-based operating system designed primarily for touchscreen mobile devices such as smartphones and tablet computers.
Initially developed by Android, Inc., which Google backed financially and later bought in 2005, Android was unveiled in 2007 along with the founding of the Open Handset Alliance: a consortium of hardware, software, and telecommunication companies devoted to advancing open standards for mobile devices. The first Android-powered phone was sold in October 2008.
3.ARCHITECTURE
4.Android consists of a kernel based on Linux kernel version 2.6 and, from Android 4.0 Ice Cream Sandwich onwards, version 3.x, with middleware, libraries and APIs written in C, and application software running on an application framework which includes Java-compatible libraries based on Apache Harmony.
Android uses the Dalvik virtual machine with just-in-time compilation to run Dalvik 'dex-code' (Dalvik Executable), which is usually translated from Java bytecode.The main hardware platform for Android is the ARM architecture.
5.APPLICATIONS
Android has a growing selection of third party applications, which can be acquired by users either through an app store such as Google Play or the Amazon Appstore, or by downloading and installing the application's APK file from a third-party site.
The Play Store application allows users to browse, download and update apps published by Google and third-party developers, and is pre-installed on devices that comply with Google's compatibility requirements.
6.APPLICATIONS
The app filters the list of available applications to those that are compatible with the user's device, and developers may restrict their applications to particular carriers or countries for business reasons. Purchases of unwanted applications can be refunded within 15 minutes of the time of download, and some carriers offer direct carrier billing for Google Play application purchases, where the cost of the application is added to the user's monthly bill.
As of September 2012, there were more than 675,000 apps available for Android, and the estimated number of applications downloaded from the Play Store was 25 billion.
7.SECURITY & PRIVACY
Android applications run in a sandbox, an isolated area of the system that does not have access to the rest of the system's resources, unless access permissions are explicitly granted by the user when the application is installed. Before installing an application, the Play Store displays all required permissions: a game may need to enable vibration or save data to an SD card, for example, but should not need to read SMS messages or access the phonebook. After reviewing these permissions, the user can choose to accept or refuse them, installing the application only if they accept.
Event management by using cloud computingLogesh Waran
Cloud Computing is the distribution of shared resources over the internet. The way of using cloud computing is to subscribe it, or to be install on a computer directly which makes the user to easily access the software remotely, through a web browser.
Presentation copy of Google App Engine with hands-on presented at Cloud Computing Workshop at VTU,2014. Explored the fundamentals of Google App Engine and its features.
Also covers the instructions to set GAE locally and later to deploy on appengine.
Challenges faced during embedded system design:
The challenges in design of embedded systems have always been in the same limiting requirements for decades: Small form factor; Low energy; Long-term stable performance without maintenance.
Introduction to Android and Android StudioSuyash Srijan
This is a presentation that I gave at Google Developer Group Oxford to introduce people to Android development and Android Studio IDE, which is used to build Android apps. This presentation gives a brief overview of the platform and fundamentals of the app and what developer tools are available.
PS: Some slides do not have any text accompanying it. That is either because it wasn't relevant or because the text would've been too long to put on the corresponding slide.
Presentation copy of Google App Engine with hands-on presented at Cloud Computing Workshop at VTU,2014. Explored the fundamentals of Google App Engine and its features.
Also covers the instructions to set GAE locally and later to deploy on appengine.
Challenges faced during embedded system design:
The challenges in design of embedded systems have always been in the same limiting requirements for decades: Small form factor; Low energy; Long-term stable performance without maintenance.
Introduction to Android and Android StudioSuyash Srijan
This is a presentation that I gave at Google Developer Group Oxford to introduce people to Android development and Android Studio IDE, which is used to build Android apps. This presentation gives a brief overview of the platform and fundamentals of the app and what developer tools are available.
PS: Some slides do not have any text accompanying it. That is either because it wasn't relevant or because the text would've been too long to put on the corresponding slide.
If you want the full transcipt then send me email: solidus.asadov@gmail.com
In 90s we needed an environment which is adapted for
constrained devices – devices that had limitations on what they
can do when compared to standard desktop or server
computers. The constrained devices had such limitations as
extremely limited memory, small screen sizes, alternative input
methods, slow processors etc. In 1999 Sun Microsystems
Company has decided to develop a special edition of Java
called Java 2 Micro Edition.
Chapter 11:Understanding Client-Side TechnologiesIt Academy
Exam Objective 7.1 Describe at a high level the basic characteristics, benefits, and drawbacks of creating thin-clients using HTML and JavaScript and the related deployment issues and solutions.
Download Complete Material - https://www.instamojo.com/prashanth_ns/
This Java Mobile Application Development Using J2ME (Java 2 Micro Edition) contains 12 Units and each unit contains 50 to 60 slides in it.
Contents…
• Identify the types of wireless technologies
• Identify the need for J2ME
• Identify the goals and characteristics of JTWI specification
• Identify the MIDlet development lifecycle
• Execute a MIDlet by using NetBeans
• Explain the profiles and configurations in J2ME technology
• Manage MIDlet suite and its packaging
• Develop, package, and run MIDlet suites by using NetBeans
• Describe MIDP User Interface components and their hierarchy
• Work with Screen and its elements
• Create UI using high-level UI APIs
• Create a mail application UI that implements high-level APIs
• Create User Interfaces (UIs) using low-level UI APIs
• Manage a wallpaper from a mobile device
• Implement persistent storage in MIDlets
• Develop a personal expense manager application
• Establish network connection by using the GCF
• Implement classes and interfaces in javax.microedition.io package
• Develop a new application that displayed on the mobile device as a ticker
• Implement MIDlet security
• Develop a banking application
• Identify MMAPI packages and its components
• Play sounds and videos by using the MMAPI package
• Develop a jukebox application
• Identify the basics of WMA
• Create, send, and receive SMS messages by using WMA
• Demonstrate the use of SMS in NetBeans
• Analyze and implement classes in the MIDP Game API
• Develop a Tic Tac Toe game by using the Game API
• Deploy MIDlets through the local machine and Web server
• Explore the push registry
An embedded operating system is an operating system for embedded computer systems.
These operating systems are designed to be compact, efficient, and reliable.
E-OS are frequently also real-time operating systems, and the term RTOS is often used as a synonym for embedded operating system.
Chapter 10:Understanding Java Related Platforms and Integration TechnologiesIt Academy
Exam Objective 6.1 Distinguish the basic characteristics of the three Java platforms: J2SE, J2ME, and J2EE, and given a high-level architectural goal, select the appropriate Java platform or platforms.
Synthetic Fiber Construction in lab .pptxPavel ( NSTU)
Synthetic fiber production is a fascinating and complex field that blends chemistry, engineering, and environmental science. By understanding these aspects, students can gain a comprehensive view of synthetic fiber production, its impact on society and the environment, and the potential for future innovations. Synthetic fibers play a crucial role in modern society, impacting various aspects of daily life, industry, and the environment. ynthetic fibers are integral to modern life, offering a range of benefits from cost-effectiveness and versatility to innovative applications and performance characteristics. While they pose environmental challenges, ongoing research and development aim to create more sustainable and eco-friendly alternatives. Understanding the importance of synthetic fibers helps in appreciating their role in the economy, industry, and daily life, while also emphasizing the need for sustainable practices and innovation.
The French Revolution, which began in 1789, was a period of radical social and political upheaval in France. It marked the decline of absolute monarchies, the rise of secular and democratic republics, and the eventual rise of Napoleon Bonaparte. This revolutionary period is crucial in understanding the transition from feudalism to modernity in Europe.
For more information, visit-www.vavaclasses.com
Unit 8 - Information and Communication Technology (Paper I).pdfThiyagu K
This slides describes the basic concepts of ICT, basics of Email, Emerging Technology and Digital Initiatives in Education. This presentations aligns with the UGC Paper I syllabus.
Instructions for Submissions thorugh G- Classroom.pptxJheel Barad
This presentation provides a briefing on how to upload submissions and documents in Google Classroom. It was prepared as part of an orientation for new Sainik School in-service teacher trainees. As a training officer, my goal is to ensure that you are comfortable and proficient with this essential tool for managing assignments and fostering student engagement.
Francesca Gottschalk - How can education support child empowerment.pptxEduSkills OECD
Francesca Gottschalk from the OECD’s Centre for Educational Research and Innovation presents at the Ask an Expert Webinar: How can education support child empowerment?
Introduction to AI for Nonprofits with Tapp NetworkTechSoup
Dive into the world of AI! Experts Jon Hill and Tareq Monaur will guide you through AI's role in enhancing nonprofit websites and basic marketing strategies, making it easy to understand and apply.
Palestine last event orientationfvgnh .pptxRaedMohamed3
An EFL lesson about the current events in Palestine. It is intended to be for intermediate students who wish to increase their listening skills through a short lesson in power point.
How to Make a Field invisible in Odoo 17Celine George
It is possible to hide or invisible some fields in odoo. Commonly using “invisible” attribute in the field definition to invisible the fields. This slide will show how to make a field invisible in odoo 17.
Digital Tools and AI for Teaching Learning and Research
J2ME
1. Introduction
of
J2ME !
Guided By :- Submitted By:-
Prof. S C Himbade Kumar Gaurav
Roll no :- 26
2. Research work At a Glance
1. What is J2ME.
2. Introduction to Java
3. Why J2ME
4. Evolution of J2me
5. Overview
6. MIDP
7. CLDC
8. CDC
9. J2ME Vs. J2EE
10. Limitation
3. What is J2ME
J2ME is a family of specifications that defines various
downsized versions of the standard Java 2 platform;
these downsized versions can be used to program
consumer electronic devices ranging from cell phones
to highly capable Personal Data Assistants (PDAs),
smart phones, and set-top boxes.
J2ME is a reduced version of Java for small devices
”write once, run anywhere”
4. J2ME Overview
• Java
– A programming language
developed by Sun Microsystems
– Required a Virtual machine to
interpret the source codes and
generate bytecode
– Syntax is similar to C++
– Platform independent feature
4
5. J2ME Overview
• Java2 is divided into three platforms
– J2EE (Java2 Enterprise Edition)
• Business applications.
– J2SE (Java2 Standard Edition)
• General applications
– J2ME (Java2 Micro Edition)
• Small devices such as mobile phone, PDA, car
navigation.
The above three editions target for different devices or
systems
8. Environment requirements
• We need an environment which is adapted for
constrained devices - devices that have limitations on
what they can do when compared to standard desktop
or server computers.
• The constraints are:
– extremely limited memory
– small screen sizes
– alternative input methods
– slow processors
J2ME
9. So – what’s the solution?
• Because of the vast
need, Sun has decided
to develop a special
edition of Java -
J2ME (Java 2 Micro
Edition).
J2ME
10. Let’s us try to answer it ?
J2ME is targeted to developers of intelligent wireless devices
and small computing devices who need to incorporate cross-
platform functionality in their products.
J2ME is used on the devices with limited resources (Resource
constraint devices) like Mobile phone, PDAs, Set top
box, screenphone, wireless, car, and digital assistant
11. Contd..
The J2ME platform maintains the qualities that Java
technology has become famous for:
• Built-in consistency across products in terms of
running anywhere, anytime, over any device
• Portability of the code
• Leveraging of the same Java programming
language
• Safe network delivery
• Applications written with J2ME technology are
upwardly scalable to work with the J2SE and
J2EE platforms
13. Java Editions
• Different devices have different requirements
and different expectations of Java.
• One platform (solution) cannot address all the
market segments (web server, video games
etc.)
• Users/developers want flexibility. They want
to choose what they want to use and what they
do not.
J2ME
14. Java Editions
• The Java 2 Platform is split into three editions.
• Each edition provides a complete environment
for running Java-based applications, including
the Java virtual machine (VM) and runtime
classes.
• The three editions target different kinds of
applications running on different kinds of
devices.
J2ME
15. Java Editions
Java 2 Platform
Java2 Java2 Java2
Standard Edition Enterprise Edition Micro Edition
(J2SE™) (J2EE™) (J2ME™)
Standard desktop & Heavy duty server Small & memory
workstation applications systems constrained devices
J2ME
16. Java Editions
• Each edition defines different sets of class
libraries.
• There are thousands of core J2SE runtime
classes, taking up to 10-20 megabytes
of space.
• J2ME-based devices have J2EE
fewer classes. J2SE
J2ME
J2ME
17. Contd.
• Announced in June 1999 at the JavaOne Developer
Conference, J2ME brings the cross-platform
functionality of the Java language to smaller devices.
• In 2000 Sun extended Personal Java for handsets with
a JavaPhone API which found its way into several
SymbianOS 6 implementations. It was to target PDAs
and SmartPhones. Several of these extensions became
new classes in the J2ME via the Personal Profile and
the Personal Basis Profile
19. J2ME Core Concepts
• Configuration
J2ME
– Minimum platform Profile
required for a
group of devices
J2ME
• Profile Libraries
– Addresses specific Java Language
needs of a certain
device family Java Virtual Machine
• Optional Packages
Host Operating System
J2ME
20. J2ME Core Concepts
J2ME is based on 3 core concepts:
• Configuration
• Profiles
• Optional packages
J2ME
21. Configurations
• A configuration is a complete Java runtime
environment, consisting of:
– Java virtual machine (VM) to execute Java
bytecode
– Native code to interface to the underlying system
– Set of core Java runtime classes
• To use a configuration, a device must meet
certain minimum requirements.
J2ME
22. Configurations
• The set of core classes is normally quite small
and must be enhanced with additional classes
supplied by J2ME profiles or by configuration
implementor.
• Configurations do not define any user
interface classes.
J2ME
24. Connected Limited Device Configuration (CLDC)
CLDC is aimed at the low end of the consumer electronics range.
• 16-bit or 32-bit small computing devices with
limited memory.
• These devices usually have between 160KB and
512KB of available memory.
• Usually these are powered by battery.
• They use small-bandwidth network wireless
connection.
• These devices include pagers, personal digital
assistants, cell phones, dedicated terminals, and
handheld consumer device.
25. Connected Device Configuration (CDC)
CDC for plug-in devices:CDC(Connected Device
Configuration) devices use a
• 32-bit architecture, have at least 2 MB of memory
available, and
• Implement a complete functional JVM. CDC devices
include digital set-top boxes, home appliances, navigation
systems, point-of-sale terminals, and smart phones.
26. CLDC vs. CDC
• CLDC • CDC
– For very constrained – 2 MB or more memory
devices for Java platform
– 160 - 512 KB of total – 32-bit processor
memory – High bandwidth
– 16-bit or 32-bit network connection,
processor most often using
– Low power TCP/IP
consumption and
often operating with
battery power
– Connectivity with
limited bandwidth
J2ME
27. J2ME Core Concepts
J2ME is based on 3 core concepts:
• Configurations
• Profiles
• Optional packages
J2ME
28. Profiles
• Adds domain-specific classes to a configuration:
– To fill in missing functionality
– To support specific uses of a device
• Most profiles define user interface classes for
building interactive applications.
• To use a profile, the device must meet the minimum
requirements of the underlying configuration and of
the profile.
J2ME
29. The Mobile Information Device Profile
and MIDlets
• The Mobile Information Device Profile, or MIDP
for short, is one such profile, intended for use on
small footprint devices with a limited user
interface in the form of a small screen with some
kind of input capability.
• Java applications that run on MIDP devices are
known as MIDlets. A MIDlet consists of atleast
one Java class
30. MIDP Hardware Requirements
Hardware Minimum Requirement
Display 96 X 54 Pixels 65,536 colors
Memory 32 KB workspace
128KB MIDP Implementation
8KB for MIDlets run
the device has the equivalent of a keypad that
Input Device allows the user to type the numbers 0 through
9,together with the equivalent of arrow keys and a
select button
Connectivity HTTP 1.1; TCP/IP
31. MIDP vs J2SE
• No floating point (CLDC 1.0)
• No Object Finalization
• No Reflection
• No Native Methods
• Threading, but no use of interrupt()
• No file-based I/O
• Many classes with fewer methods
• Collections (Vector, Hashtable & Stack)
32. J2ME Core Concepts
J2ME is based on 3 core concepts:
• Configurations
• Profiles
• Optional packages
J2ME
33. Optional Packages
• Set of APIs in support of additional, common
behaviors.
• Have specific dependencies on a particular
configuration and/or one or more profiles.
• Examples of optional packages :
– RMI Optional Package
– Bluetooth Optional Package
– JDBC Optional Package
J2ME
38. Creating a new Application
• Press “New Project”.
• Enter the project’s name and the MIDlet’s class
name.
• New directories will automatically be created.
J2ME
39. Where to place your files?
J2ME/apps/{proj} source, resource, and binary
files
J2ME/apps/{proj}/bin JAR, JAD, unpacked manifest
files.
J2ME/apps/{proj}/lib external class libraries, (JAR or
ZIP) for a specific project
J2ME/apps/{proj}/res resource files
J2ME/apps/{proj}/src source files
external class libraries, (JAR or
J2ME/apps/lib
ZIP) for all KToolbar projects.
J2ME
40. And then what?
• Choose the target platform
• Write your code Java Technology for the Wireless Industry
JTWI - conforms to
(JSR-185).
• SaveMIDP1.0 - includes MIDP 1.0 and CLDC 1.0
Custom - user defined settings, you can select project
• Build
profile, configurations and various APIs.
(Compile + Preverify)
• Run
J2ME
41. Distribution to actual devices
• Create a package
• Place your code somewhere on the net.
• Update .jad file
• Download the application to your mobile
• Start playing…
J2ME