30670 Slices
Medium 9781565928565

6. Memory Manager

Julie McKeehan O'Reilly Media ePub

All Palm devices have two types of memory: read-only memory (ROM) and random access memory (RAM). This may not seem so different from other operating systems, you might be thinking to yourself. Well, there are some unique twists in the Palm OS. Lets talk about ROM first and then RAM to see how they are used differently.

Read-only memory (ROM) contains:

The operating system

The built-in applications

Default databases

This ROM is an actual masked ROM on some devices (for example, Handspring Visor and Palm m100). On most devices, however, this memory is actually Flash RAM, which can be programmatically changed. The fact that Flash can be changed is what allows most devices to be updated with later versions of the OS. In addition, there are third-party applications that allow users to add databases or applications to the Flash. This is normally done to take advantage of unused space in Flash, and to have databases or applications that will be preserved even after a hard reset.

At this point, there is no official support for adding databases or applications to Flash other than in the Symbol units (the Symbol SDK has a utility for creating ROM images that includes specific databases and applications).

See All Chapters
Medium 9781565924352

Parameters Collection Properties

Helen Feddema O'Reilly Media PDF

322

Chapter 14: Parameters Collection and Parameter Object

Parameters Collection Properties

Count

Data Type

Integer

Description

Gives the number of Parameter objects in a Parameters collection. In previous versions of Access, Count was useful for setting up loops to process all objects in a collection; however, the For Each...Next loop is a more efficient way of iterating through the members of a collection.

Item

Parameters.Item(Index)

Argument

Data Type

Description

Index

Integer

The ordinal position of the Parameter object in the Parameters collection, or a string containing the name of the Parameter object to be retrieved from the collection

Data Type

Parameter object

Description

A hidden property in the Object Browser, the Item property retrieves a particular

Parameter object from the Parameters collection. A Parameter object can be retrieved either based on its ordinal position in the collection or based on its name. Since Parameters is a zero-based collection, the following code fragment returns the first Parameter object:

See All Chapters
Medium 9781449308230

Working with Canvas

Joshua Marinacci O'Reilly Media ePub

For the final project in this book we are going to make a game. Yes a real gosh darn pixel-powered game with cute characters and physics. The key here is HTML Canvas. Canvas is a 2D graphics API built into HTML 5. Virtually every modern browser has support for it, even the newest Internet Explorer, and pretty much every mobile device does as well. The devil is in the details, however. Canvas can be slow on mobile and not every device renders the same way. GWT hides some of this for us thanks to its Canvas wrapper but we will still need to carefully watch performance and platform bugs. But enough about canvas for the moment: lets design a game!

For this book I wanted to build a game that would really feel at home on a tablet. My favorite games as a kid were platformers. These are the games where a character jumps around to avoid obstacles and explore the world, sometimes collecting coins, powerups, and defeating bad guys. Super Mario Bros is the definitive example of this kind of game.

See All Chapters
Medium 9780596522698

90. Find and Retain Passionate Problem Solvers

Richard Monson-Haefel O'Reilly Media ePub

Chad LaVigne is a solutions architect and technical hired gun for Baltimore-based TEKSystems, Inc. He works primarily in the Minneapolis area designing and implementing solutions utilizing Enterprise Java technologies.

PUTTING TOGETHER A TEAM of outstanding developers is one of the most important things you can do to ensure the success of a software project. While the concept of keeping that team together does not seem to get as much lip service, it is equally important. Therefore, you need to carefully select your development team and diligently protect it once assembled.

Most people probably agree that finding top-notch developers requires thorough technical interviewing. But what does thorough mean exactly? It doesn't mean requiring candidates to answer difficult questions about obscure technical details. Screening for specific technical knowledge is definitely part of the process but turning an interview into a certification test will not guarantee success. You are searching for developers with problem-solving skills and passion. The tools you use are sure to change; you need people who are good at attacking problems regardless of the technologies involved. Proving someone has the ability to recite every method in an API tells you very little about that person's aptitude or passion for solving problems.

See All Chapters
Medium 9780596514129

15. System Preferences

David Pogue O'Reilly Media ePub

The hub of Mac customization is System Preferences, the equivalent of the Control Panel in Windows. Some of its panels are extremely important, because their settings determine whether or not you can connect to a network or go online to exchange email. Others handle the more cosmetic aspects of customizing Mac OS X.

This chapter guides you through the entire System Preferences program, panel by panel.

Only a system administrator (Creating an Account) can change settings that affect everyone who shares a certain machine: its Internet settings, Energy Saver settings, and so on. If you see a bunch of controls that are dimmed and unavailable, now you know why.

A tiny in the lower-left corner of a panel is the other telltale sign. If you, a nonadministrator, would like to edit some settings, call an administrator over to your Mac and ask him to click the lock, input his password, and supervise your tweaks.

You can open System Preferences by choosing its name from the menu, clicking its "light-switch" icon in the Dock, or double-clicking its icon in the Applications folder. At first, the rows of icons are grouped according to function: Personal, Hardware, and so on (Figure15-1, top).

See All Chapters

See All Slices