• Home
  • Textbooks
  • Programming Mobile Devices: An Introduction for Practitioners
  • Dynamic Linking

Programming Mobile Devices: An Introduction for Practitioners

Tommi Mikkonen

Chapter 4

Dynamic Linking - all with Video Answers

Educators


Chapter Questions

Problem 1

Assume that the memory limit pattern is followed in the design of a system consisting of dynamically linked libraries and programs that load and unload DLLs when executed. Should the sum of planned memory consumption be more, equal, or less than the actual amount of memory in a device? Why? What are the consequences of the different choices?

Check back soon!

Problem 2

What kinds of problems are possible when a dynamically linked library and an application are separated in the device? What kinds of precautions could be made? How do signature- and ordinal-based approaches differ in this respect?

Check back soon!

Problem 3

For what purposes can one assume plugins to be used in common applications of mobile devices?

Check back soon!

Problem 4

What if one needs several plugins at the same time? For instance, how would an implementation be composed, where upon receiving a MMS, one wishes to reply with an SMS? What kinds of problems does such a design contain?

Check back soon!

Problem 5

What kinds of methods would one need when defining an interface for a generic messaging (SMS, MMS, email) plugin? Would one class whose instantiation is required be enough, or should a group of components be constructed when using the factory method?
6. What kinds of errors can occur if the interface of a dynamically linked library relying on the use of an ordinal is incorrectly frozen?

Check back soon!