200 likes | 488 Views
What is BREW?. Binary Runtime Environment for Wireless. Tied to CDMA (in practice, if not theory)Strongly supported by Verizon, Alltel Korean carriers, KDDI in Japan, Bell Mobility in Canada. Like Java, runs in a virtual machine (on the hardware). Qualcomm is the Gatekeeper. Write apps in C, C ,
E N D
1. J2ME & BREW Game Design Code running on the handset (at last)
2. What is BREW? Binary Runtime Environment for Wireless
3. What is J2ME? Java 2 Micro Edition (for small device
CLDC: Connected Limited Device Configuration
MIDP: Mobile Information Device Profile
4. Which Should You Use? Little difference in technical capability
5. Why Develop J2ME/BREW Games? Run apps on the handset (not all logic has to be on the server side)
6. How it Used to Work Download applet to your PC over the Internet.
Hotsynch your phone to install applet.
Can’t install applications over the air network.
In Asia, applets can’t communicate over the network—soloplay only.
7. How it Now Works User makes a network connection, browses carrier’s list of midlets, chooses one.
HTTP request goes out over air network, is routed to remote server on the Internet.
Server sends midlet to handset, where it is installed.
Network sockets are exposed to J2ME on the handset, so midlets can send and receive data with remote servers.
8. Technical Limitations Midlets must be <50k (or so)
9. What We Can Rely On High-Level UI Features:
PNGs & bitmaps
Text Entry
Select lists (radio buttons) & Multiple select lists (check boxes)
Bar graphs
Support for standard phone keys (0-9, *, #, arrows)
Abstracted game controls
10. Latency > WAP? With WAP, latency = air network + Internet latency
11. Keep Network Access Sessions Short People pay by the minute— but YOU get nada
12. Network Still Unreliable Irrelevant for soloplay
13. Dealing with the 50k Limit Keep text short
14. Making the Most of Graphics No inherent support for layers
15. Thinking About UI Handset is similar to a console controller
16. What Kinds of Games Can We Do? Primitive skill-and-action games (retro arcade)
17. Jamdat Bowling
18. Diamond Mine
19. Micro Nitro
20. Froggy
21. URLs Obfuscators:www.alphaworks.ibm.com/tech/JAX/retrologic.com
J2ME Wireless Toolkit:java.sun.com/products/j2mewtoolkit/
Useful Articles:wireless.java.sun.com/midp/articles/www.gamasutra.com/resource_guide/20010917/fox_01.htm