Best Practices for Small computing devices

  • Keep your application Simple and Small.
  • Limit the use of memory
  1. Avoid using object types.

  2. Always use minimum data type for storing data.
  3. Clean up the resources held by our program manually because even though garbage collector takes care of that we don’t know when it cleans up.
  4. Allocate an object immediately before the object is used in the application rather than at the beginning of your application.
  5. Set all references to objects to null once the application no longer needs the object. This decreases the memory application of the object to the minimum memory necessary to store the object references.
  6. Reuse the objects instead of creating a new object; this reduces both the memory allocation and the need for processing power.
  7. Reduce the exception thrown by our application because it reduces the memory.

  • Offload computation to server.
  • If application uses multiple screens make sure that each displays only relevant information.
  • Application must accomplishes a task within 2 minutes otherwise the user is likely to turn off the mobile small computing devices.
  • Limit the user input to few keystrokes.
  • Avoid memory-consuming task such as communication, animation and sound.
  • Reduce the data communication to minimum because users pay for transmission by byte usually in the range of 50,000 to 300,000 bytes per month.
  • Pre load as many files as possible into a mobile small computing device in order to reduce data transmission.
  • Always use a thread whenever an operation takes longer than a 10th of a second to run because a thread requires fewer overheads than non-thread innovation methods.
                      Ranjan

                      Leave a Reply

                      Your email address will not be published. Required fields are marked *

                      Get the latest updates on your inbox

                      Be the first to receive the latest updates from Codesdoc by signing up to our email subscription.

                        StudentProjects.in