• Home
  • Textbooks
  • Programming Mobile Devices: An Introduction for Practitioners
  • Managing Resources

Programming Mobile Devices: An Introduction for Practitioners

Tommi Mikkonen

Chapter 6

Managing Resources - all with Video Answers

Educators


Chapter Questions

Problem 1

As already discussed, using a message-passing architecture for resources often results in lack of performance. What kinds of benefits does it offer for the developer in exchange, when compared to a monolithic design? Consider at least the following aspects:
(a) Memory consumption.
(b) Debugging.
(c) Maintenance.

Check back soon!
04:04

Problem 2

What kind of a design is needed for implementing MIDP Java interfaces on top of Symbian server-based resource management strategy?

SS
Sarvesh Somasundaram
Numerade Educator

Problem 3

What would be required for implementing $\mathrm{C} / \mathrm{C}++$ standard interfaces on top of Symbian OS server managed resources?

Check back soon!

Problem 4

What benefits would be offered by a system where all resources were included in the operating system kernel instead of being distributed to different resource managers?

Check back soon!
04:04

Problem 5

Consider a license manager software system that contains a database of licenses and methods of payment for them. Each license-capable application can call a special method CheckLicence (PaymentType) which checks whether the license is available, and if not, the license manager purchases the license. What parts of the system should be implemented with plugin techniques? What would the different plugins implement?

SS
Sarvesh Somasundaram
Numerade Educator

Problem 6

In what situations would it make sense to offer several different interfaces to the same resource?

Check back soon!

Problem 7

What types of features could be implemented with aspect-oriented techniques in mobile devices, assuming that the restrictions on memory usage were relaxed?

Check back soon!

Problem 8

Consider using a DLL or a server that only runs when the application is active in a Symbian application. What differences exist? How would the differences be visible to the application developer? In what situations should the server solution be used?

Check back soon!

Problem 9

Convert the sample Symbian model given in Chapter 4 to a server. What type of a server (always on, turned on only when needed, ...) would be a suitable implementation? What could be gained (or lost) if some other type of server implementation was used? How much is the execution time of the application affected?

Check back soon!