Writing Motion Detecting Apps in Flash for Android and iOS

Professional Flash Mobile Development: Creating Android and iPhone ApplicationsAndroid and iOS devices have built-in motion detectors that enable programmers to capture the motion that occurs on a three-dimensional axis. This capability enables you to detect all sorts of user motions — tilting the phone, shaking back and forth, and rotating it in a circular fashion.

Tags:

Internationalizing WordPress Plugins

Professional WordPress Plugin DevelopmentInternationalization is the act of preparing your plugin for use in any number of languages. WordPress uses U.S. English as its default language, but it has a large community of users who don’t read and write in English. This community pulls together to create translations of WordPress in languages used all around the world.

Tags:

Creating Android Apps that Send and Receive SMS Messages and Send Email

Beginning Android Application DevelopmentOnce your basic Android application is up and running, the next interesting thing you can add to it is the capability to communicate with the outside world. You may want your application to send an SMS message to another phone when an event happens (such as when you reach a particular geographical location), or you may wish to access a Web service that provides certain services (such as currency exchange, weather, etc.).

In this chapter, you learn how to send and receive SMS messages programmatically from within your Android application.

Tags:

Creating Sensor and Location Applications for Windows 7

Professional Windows 7 Development GuideIt would be quite easy to write an entire book about the sensors that you can use with Windows and still not cover them all. In fact, it would be possible to write a rather larger book just about the various sorts of industrial sensors. Home security would require an entirely separate book because the number and variety of sensors have increased so greatly. For example, many people don’t realize it, but there’s a special sort of sensor that can detect the sound of breaking glass and report it to you. If someone threw a rock through your window, you’d know about it long before you arrived home. Consequently, this chapter gives you just a taste of the sorts of things you can do in Windows 7 with various kinds of sensors.

Tags:

How to Build an Address Book Application in Symfony, CakePHP, and Zend Framework

Building PHP Applications with Symfony, CakePHP, and Zend FrameworkThis chapter will take you through the process of designing and developing your first application: an online address book. This application will be built on top of a simple database, used for storing information about your contacts. Each entry consists of a few fields (first name, last name, address, phone number, e-mail address), and the basic functionality is to perform all create, read, update, and delete (CRUD) operations for each database entry.

Tags:

How to Use ASP.NET 4 User Controls

How to Use ASP.NET 4 User Controls

Beginning ASP.NET 4 bookUser controls are great for encapsulating markup, controls, and code that you need repeatedly throughout your site. To some extent, they look a bit like server controls in that they can contain programming logic and presentation that you can reuse in your pages. However, rather than dragging existing ones from the VWD Toolbox, you need to create your own user controls and then add them to your ASPX pages, as you learn how to do later in this chapter.

Though master pages enable you to create content that is displayed in all pages in your site, it’s common to have content that should appear only on some but not all pages. For example, you may want to display a banner on a few popular pages, but not on the home page or other common pages. Without user controls, you would add the code for the banner (an image, a link, and so on) to each page that needs it. When you want to update the banner (if you want to use a new image or link), you need to make changes to all pages that use it. If you move the banner to a user control and use that control in your content pages instead, all you need to change is the user control, and the pages that use it pick up the change automatically. This gives you a flexible way to create reusable content.

Tags:

Customizing SharePoint 2010 List Forms with InfoPath 2010

Customizing SharePoint 2010 List Forms with InfoPath 2010

Professional SharePoint 2010 Development bookIn Windows SharePoint Services 3.0, list forms were regular ASP.NET pages serving as the visual interfaces to add an item to, or edit or display an item in, that list. Typically, list forms were defined in the list template and instantiated upon the creation of a new list instance. Although there are several ways to replace the out-of-the-box list forms (DispForm.aspx, EditForm.aspx, and NewForm.aspx) with custom ASPX pages each approach introduces its own challenges.

One of the exciting features in InfoPath 2010 is the ability to extend or enhance the forms used by SharePoint lists for creating, editing, or showing list items. Today, you can modify list forms layouts, set validation rules, or create additional views using little or no code. When you are finished modifying the list forms, reflecting your changes back to SharePoint is just a matter of using the one-click publishing capability that comes out of the box with the list form.

Tags:

How to Create Master Pages with ASP.NET 4

How to Create Master Pages with ASP.NET 4

Beginning ASP.NET 4 bookMaster pages are added to the site using the Add New Item dialog box. They can be placed anywhere in the site, including the root folder, but from an organizational point of view, it’s often easier to store them in a separate folder. Just like normal ASPX pages, they support the inline code model as well as the Code Behind model. The master pages used in the Planet Wrox project use the Code Behind model exclusively. In the following exercise, you learn how to create a simple master page and add some HTML to it to define the general structure of the pages in your web site.

Tags:

7 Refactoring Methods in Visual Studio 2010

7 Refactoring Methods in Visual Studio 2010

Professional Visual Studio 2010 bookThe following sections describe each of the Visual Studio 2010 refactoring options and provide examples of how to use built-in support for both C# and CodeRush Xpress for VB.

Tags:

Filtering User-Specific Report Data in SQL Server Reporting Services

Filtering User-Specific Report Data in SQL Server Reporting Services

Microsoft SQL Server Reporting Services Recipes: for Designing Expert Reports bookDue to security requirements, a lot of organizations have a need to display data specific to the user accessing the report. With increasing emphasis on standards compliance, many organizations are taking the protection of private information more seriously. There are a couple of different techniques for creating user-specific reports. This example explores two techniques.

Tags: