Monday, November 30, 2015

How to Debug Your Android Wear Apps on a Hardware Device

The Android Wear API brings the Android platform to the newest generation of wearable devices and smartwatches. With Android Wear, you can create a user experience designed specifically for wearables.

But how do you debug your applications? While it is possible to debug most Wear features using the Android emulators, sometimes it is helpful to see the application on a real device. 

In this short video tutorial from my recent Android Wear course, I’ll show you how to debug your applications on a physical Wear device.

Watch the Tutorial

Watch the Full Course

In the full course, Develop Apps for Android Wear, I'll teach you about the various UI components specifically designed for Android Wear. You will also learn how to extend your application to use the new Wear notification types. 

I'll use practical examples to demonstrate how each of these new components can improve your wearable device applications, and I'll also show you how to create a basic digital watch face to help customize your users' experiences.

For more help with your Android development projects, check out the Android app templates on Envato Market.


by Paul Trebilcox-Ruiz via Envato Tuts+ Code

Filling out PDF Forms with PDFtk and PHP

PDF files are one of the most common ways of sharing documents online. Whether we need to pass our clients’ documents to third-party service providers like banks or insurance companies, or just to send a CV to an employer, using a PDF document is frequently the first option.

PDF files can transfer plain/formatted text, images, hyperlinks, and even fillable forms. In this tutorial, we’re going to see how we can fill out PDF forms using PHP and a great PDF manipulation tool called PDFtk Server.

To keep things simple enough, we’ll refer to PDFtk Server as PDFtk throughout the rest of the article.

Digital document illustration

Installation

We’ll use Homestead Improved for our development environment, as usual.

Once the VM is booted up, and we’ve managed to ssh into the system with vagrant ssh, we can start installing PDFtk using apt-get:

sudo apt-get install pdftk

To check if it works, we can run the following command:

pdftk --version

The output should be similar to:

Copyright (c) 2003-13 Steward and Lee, LLC - Please Visit:www.pdftk.com. This is free software; see the source code for copying conditions. There is NO warranty, not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

How It Works

PDFtk provides a wide variety of features for manipulating PDF documents, from merging and splitting pages to filling out PDF forms, or even applying watermarks. This article focuses on using PDFtk to fill out a standard PDF form using PHP.

PDFtk uses FDF files for manipulating PDF forms, but what is an FDF file?

FDF or Form Data File is a plain-text file, which can store form data in a much simpler structure than PDF files.

Simply put, we need to generate an FDF file from user submitted data, and merge it with the original PDF file using PDFtk’s commands.

What Is Inside an FDF File

The structure of an FDF file is composed of three parts: the header, the content and the footer:

Continue reading %Filling out PDF Forms with PDFtk and PHP%


by Reza Lavaryan via SitePoint

Grab This Three-in-One Charging Solution for $25

Plug your phone into the USB port on your laptop and you’ll have hands-free, eye-level access to it while it charges, thanks to the Bobine’s 24-inch, ultra-strong and flexible cable. And it’s that strong cable that makes it a great tripod for taking photos. Crafted from military-grade, nickel-plated steel, the Bobine is virtually indestructible, no […]

Continue reading %Grab This Three-in-One Charging Solution for $25%


by SitePoint Offers via SitePoint

Rizanski vodovod Koper

Corpo site aims to provide information about drinking water supply for citizens in the Slovenian coastal area and to build awareness about clean drinking water preservation.


by csreladm via CSSREEL | CSS Website Awards | World best websites | website design awards | CSS Gallery

Able Lending

Able is the world’s first collaborative lender. We fund small business loans up to $500,000 at low rates with the support of your network and ours.


by csreladm via CSSREEL | CSS Website Awards | World best websites | website design awards | CSS Gallery

ODNOWA Fitness & SPA

ODNOWA is an object Fitness & SPA in Poland in the Kraków-Częstochowa Upland. It’s located in Stara Wieś Relax Centre, where for the guests, those from near and far, are waiting health-related attractions.


by csreladm via CSSREEL | CSS Website Awards | World best websites | website design awards | CSS Gallery

Hire Me London

With no prior agency experience, I wanted to create a motivating and character reflecting pitch to agencies, which also showed my skills.


by csreladm via CSSREEL | CSS Website Awards | World best websites | website design awards | CSS Gallery