Saturday, June 27, 2009

Download Android 1.5 NDK

As is well known for the Android software development is in Java. The package is the appropriate SDK for plugin development environment Eclipse. There is an emulator device that greatly helps in the design. On the other hand, the use of Java does not allow developers to take advantage of the operating system created based on Linux. This issue is designed to solve the Android NDK.

Developers have access to Android Native Development Kit - set of tools to use in implementing the application of origin (native) functions of the system and the code in the languages C, C + +.

NDK provides:
  • set of tools and build-files to compile libraries of code in C and C + +
  • opportunity to integrate native libraries into an application (application packages files,. apks), which can be deployed on the Android-devices
  • packet header file (. h) and libraries that will be supported in releases Android, starting with the documentation, examples and manuals for version 1.5
NDK supports instruction ARMv5TE architecture and provides the header files for
  • libc, the standard C library
  • libm, the standard library of mathematical functions
  • zlib, a standard ZLib compression library
  • JNI (Java Native Interface), the interface interaction between Java c code created specifically for the OS
The creators of the platform and tools warn that the use of NDK does not guarantee productivity gains and other advantages of working directly with the functions of the operating system. The developer should be prudent approach to the use of additional features. Of the minuses of this approach is the difficulty of debugging, possible problems with compatibility. Examples of the use of this package can serve as an application for the processing of external signals, modeling of physical processes and other tasks that require processing of large amounts of data.

How to create an Access database from templates

Office Access 2007 includes a packet of binary stand-alone database applications. I usually use the templates to start a project on MS Access. With a template, you will not have to start from scratch - you have something to work from the beginning.

The trick is to find the right model that fit your needs. Usually, the models are good enough for the basic needs of generic data. In some cases, a little fine-tuning is initiated following the customer needs.

To start using MS Access, below are the steps to create a new Access file from templates. First click N to create a new access file, then choose the model categories. The models include some interesting patterns that you choose.

Choose a model that fits your needs. In the following example, I chose "Contacts" so that I can show you how to customize a database of contacts.

Give your file a name followed by defaults, it will be named after the model type. Click the Create button to create the file access.

The database should appear. You will see an Excel spreadsheet as an interface where you can make transactions such as adding a new contact entry.

If you click the button to add a new contact, it will open a new contact form where you can type in a contact detail.
Now, if you need this update to the form layout and labels? It's simple, just right click on the name of the form to the left, then choose Design View:


With design, you can update the form of presentation and content.


You can also access an object from the design table to change the fields in the table. The example below is the contact with the table:

Here you May all fields with their data types. Be sure to use the appropriate data type for a field or you could end the inefficient file access. For example, use only the memory data type if you know that the area will take longer than usual one line of text, like addresses or messages.

Also, set the right field depending on the size, the maximum number of characters you'd expect on land. Do not use 100 characters for a field of e-mail.

I hope this short introduction to access models that you started with your small projects focused on the data. In future messages I'll show you how to display data from Access into a Web page using PHP.