Android Native Application API
Thanks to the Android native application APIs, it is possible to write an Android application with pure native code since Android API level 9 (Android 2.3, Gingerbread). That is, not a single line of Java code is needed. The Android native APIs are defined in several header files under the <NDK root>/platforms/android-<API level>/arch-arm/usr/ include/android/ folder.
In this article by Feipeng Liu author of Android Native Development Kit Cookbook, we will cover the following recipes:
-
Creating a native activity with the native_activity.h interface
-
Creating a native activity with the Android native app glue
-
Managing native windows at Android NDK
-
Detecting and handling input events at Android NDK
-
Accessing sensors at Android NDK
-
Managing assets at Android NDK
Android User Interface Development: Animating Widgets and Layouts
The Android platform is in many ways similar to developing applications for the web. There are many devices, made by many manufactures, with different capabilities and specifications. Yet as a developer, you will want your users to have the most consistent experience possible. Unlike a web browser, Android has built-in mechanisms for coping with these differences, and even leveraging them.
In this article by by Jason Morris, author of the book Android User Interface Development: Beginner's Guide, we will be looking at— widget animations and layout animations. We'll look at the standard animation structures provided by Android, and we'll look at how to create new animation types and extend the existing ones. We'll also be looking at timing and "good practice" use of animations, and keeping users happy without slowing them down or distracting them.
Read Android User Interface Development: Animating Widgets and Layouts in fullAndroid User Interface Development: Validating and Handling Input Data
Android provides an excellent toolset to capture many different types of data from the user, while also providing loose coupling between your application components in the form of Intent structures. By using several smaller Activity classes to capture data, while at the same time abstracting the functionality to capture different types of input, you'll be able to more easily reuse the input capturing Activity classes, not just within the application, but in other applications as well. Further, by registering the Activity correctly, you'll allow other applications to override, or make use of your Activity implementation, allowing the users to select their preferred capturing mechanism.
This article by Jason Morris, author of Android User Interface Development: Beginner's Guide, provides tips regarding taking input from a user, and how to keep this experience as painless as possible. This article investigates the different input widgets Android provides and how to configure them best, depending on the situation. Also, when everything else fails, how best to inform your users that what they are doing is wrong.
Read Android User Interface Development: Validating and Handling Input Data in fullAnimating a built-in button
This article by Nick Polyak, author of Instant Silverlight 5 Animation , will describe the process involved in animating a built-in button.
A Silverlight button has the following mouse-driven states:
-
Normal
-
MouseOver
-
Pressed
Animating capabilities of Cinema 4D
Cinema 4D is a powerful 3D application created by Maxon computing. It is relatively easy to learn and use. Despite this, it also has a host of powerful features that can be used to create dynamic and eye catching 3D images and animations, quickly and efficiently. In this article by Aaron Kaminar from the book Instant Cinema 4D Starter, we will walk through some of the animating capabilities of this powerful application.
Read Animating capabilities of Cinema 4D in fullAnimating Graphic Objects using Python
The previous article, Python Graphics: Animation Principles, starts with examples of simple sequences of a circle in different positions and systematically progresses to smoothly-moving animations of elastic balls bouncing inside a gravity field.
In this article by Mike Ohlson de Fine, author of Python 2.6 Graphics Cookbook, we will cover:
- Colliding balls with tracer trails
- Elastic ball against ball collisions
- Dynamic debugging
- Trajectory tracing
- Rotating a line and vital trigonometry
- Rotating lines which rotate lines
- A digital flower
Animating in Panda3D
Animation is a crucial component of most 3D applications. Our game is a bit of a special case because our characters are vehicles rather than people, and they don't need walking or running animations. For many video games, that won't be the case. In order to be better prepared for those situations, we're going to use a simple proxy program to discuss some of the aspects of animation and how it's used in Panda3D. Once we've covered that material, we'll employ some aspects of the animation system in our game as well. Our hover cycles may not need a walking animation, but there are pieces of the animation system we can make use of.
The topics we're going to cover in this article by David Brian Mathews, author of Panda3D 1.6 Game Engine Beginner's Guide, will be:
- Loading Actors and Animations
- Controlling Animation
- Blending Animations
- Creating and using Actor subparts
- Exposing joints
Animation Effects in ASP.NET using jQuery
jQuery offers many useful utilities to achieve animation effects, thus empowering developers to build rich animated pages for a better interactive experience for the web users. This article looks into various interesting animation effects that can be achieved using jQuery.
In this article by Sonal Aneel Allana, author of ASP.NET jQuery Cookbook, we will cover:
- Enlarging text on hover
- Creating fade effect on hover
- Sliding elements on a page
- Preventing animation queue buildup
- Animating a panel
- Chaining animations together
Animation in Silverlight 4
Packt are due to launch a new Enterprise brand, into which future Silverlight titles will be published. For more information on that launch, look here.
In this article by Frank LaVigne, author of Microsoft Silverlight 4 Business Application Development, we shall create an interactive logo using Silverlight and incorporate it into the website.
Read Animation in Silverlight 4 in fullApache Axis2 Web Services: Writing an Axis2 Module
In this article, we will learn that the Axis2 module provides a very flexible way to extend the Axis2 core functionality and provides quality service. Moreover, we'll discuss the module and related concepts by writing a sample module and demonstrating most of the commonly used configuration settings. In our sample application, we discuss how to write handlers, how to write module implementation classes, and finally, how to put everything together and deploy the module. At the end of the article, we learn how to engage a module to Axis2.
In this article by Deepal Jayasinghe and Afkham Azeez, authors of Apache Axis2 Web Services, 2nd Edition, we will discuss the power of Axis2 modules and how to use them to extend Axis2 to support your own requirements. In particular, we will discuss the following items:
- Brief history of the Axis2 module and introduce module concept and its structure
- Module configuration file (module.xml)
- Optional module implementation class
- Steps to writing a module.xml file
- Deploying and engaging a module
- Brief overview of the WS-Policy and its usage in modules
Apache Cassandra: Libraries and Applications
Apache Cassandra is a fault-tolerant, distributed data store which offers linear scalability allowing it to be a storage platform for large high volume websites.
In this article by Edward Capriolo, author of Cassandra High Performance Cookbook, you will learn:
- Building the contrib stress tool for benchmarking
- Inserting and reading data with the stress tool
- Running the Yahoo! Cloud Serving Benchmark
- Hector, a high-level client for Cassandra
- Doing batch mutations with Hector
- Cassandra with Java Persistence Architecture (JPA)
- Setting up Solandra for full text indexing with a Cassandra backend
- Setting up Zookeeper to support Cages for transactional locking
- Using Cages to implement an atomic read and set
- Using Groovandra as a CLI alternative
- Searchable log storage with Logsandra
Apache Cassandra: Working in Multiple Datacenter Environments
Apache Cassandra is a fault-tolerant, distributed data store which offers linear scalability allowing it to be a storage platform for large high volume websites.
The tunable consistency model of Cassandra extends beyond a single datacenter to complex multiple datacenter scenarios. This article by Edward Capriolo, author of Cassandra High Performance Cookbook, discusses the features inside Cassandra that are designed for this type of deployment.
Read Apache Cassandra: Working in Multiple Datacenter Environments in fullApache Continuum: Ensuring the Health of your Source Code (Part 1)
In the article Continuum: Ensuring the Health of your Source Code by Maria Odea Ching and Brett Porter, we will learn about the importance of a continuous integration, or CI, server in a project (especially gigantic ones!).
We will be using Continuum to show you first-hand the formidable role of a CI server in the development life cycle. We will learn the essentials of how to set up Continuum, plus the basics of how to configure it so you will know when your project's build breaks.
The first part of the article deals with setting up a source repository, installing any required applications or tools, and setting up Continuum. The remaining sections cover the systematic process of adding and building projects in Continuum.
Read Apache Continuum: Ensuring the Health of your Source Code (Part 1) in fullApache Continuum: Ensuring the Health of your Source Code (Part 2)
Read Part One of Apache Continuum: Ensuring the Health of your Source Code.
Read Apache Continuum: Ensuring the Health of your Source Code (Part 2) in fullApache Felix Gogo
Felix Gogo, a sub-project of Apache Felix, is an implementation of this early draft specification. The Gogo shell is included with the Felix Framework Distribution since version 3.0.
It is worth noting that this specification is not yet part of the official OSGi specifications, and therefore, may change in the future.
In this article, by Walid Gédéon, author of OSGi and Apache Felix 3.0, we will:
- Learn about the Tiny Shell Language and its syntax
- Cover some of the commands provided by Gogo
So let's start with a quick overview of the language.
Read Apache Felix Gogo in fullApache Geronimo Logging
The ability to log important events or errors for problem diagnosis and then checking of application execution is very important. The ability to log certain statements selectively while others are not logged, depending on the context in which the application is running, is also important. An application that is deployed in Apache Geronimo can use any custom logging mechanism to log its messages. However, Apache Geronimo uses log4j and slf4j for logging server log messages. Applications deployed in Geronimo can also leverage the functionality of these logging frameworks. In this article by Vamsavardhana Reddy Chillakuru, we will see how an application developer can configure logging for his application in Apache Geronimo, by using some common logging frameworks. The frameworks that we will be covering are:
- Apache log4j
- Java logging API
- slf4j logging adapter
Apache MyFaces Extensions Validator
In this article by Bart Kummel, author of Apache MyFaces 1.2 Web Application Development, you will be able to:
- Set up a project to use ExtVal
- Use ExtVal to generate validation based on JPA annotations
- Use ExtVal’s added annotations for additional validation
- Implement cross validation using ExtVal’s annotations
- Use ExtVal with custom JSF validators
- Create custom error messages for ExtVal validations
- Override and extend ExtVal’s default behavior
Apache MyFaces Trinidad 1.2 Web Application Groundwork: Part 1
In this article we develop the basic parts of the web application that serves as Trinidad sample web application. For example, login registration, user authorization, navigation, internationalization (18n), and polling are implemented and briefly discussed. We cover all these areas and learn how this can be practically solved in conjunction with Trinidad, Facelets, and Seam and provide further completing information wherever required.
Also, at the end of this two-part article by David Thomas, we deal with deployment using Seam-gen to rapidly deploy at each change of any file.
Read Apache MyFaces Trinidad 1.2 Web Application Groundwork: Part 1 in fullApache OFBiz Entity Engine
This article, by Ruth Hoffman, author of Apache OFBiz, discuss' the recipe's for OFBiz entity engine.
This article will cover:
- Changing the default database
- Connecting to a remote database
- Connecting to multiple databases
- Creating entity groups
- Disabling automatic database checks
- Mapping database data types
- Creating a new entity model
- Modifying an existing entity model
- Building a view-entity


