 | News Feed |
 | Jobs Feed |
Sections
|
| feed this: |  |
PHPMaster.com: Let's Talk Efficient Communication for PHP and Android, Part 2
by Chris Cornutt June 05, 2012 @ 13:19:33
On PHPMaster.com today they've posted the second part of their series looking at combining a PHP backend and an Android application (by Matt Turland). In the previous article, he helped you set up some of the Android side to be able to reach out to a PHP web service. In this second part he gets into the sending and receiving of messages between the client and server.
Part 1 of this series focused on getting the Android application set up to make an HTTP request. In part 2, we'll focus on implementing the use of data serialization and compression on the Android and PHP sides of the request.
He has it broken up into the different steps of the process:
- Determining the Data Serialization Format
- Determining the Data Compression Format
- Sending the Response
- Decompressing the Response
- Deserializing the Response
He also includes a section about caching the responses you get back from the server, an important step that can save you (and your users) some headaches and maybe even give a bit of a speed boost.
voice your opinion now!
android webservice data serialization compression response
PHPMaster.com: Let's Talk Efficient Communication for PHP and Android, Part 1
by Chris Cornutt May 28, 2012 @ 16:20:09
On PHPMaster.com today, they've started a new series about integrating two popular technologies - PHP and the Android OS - in this new tutorial from Matthew Turland. He'll show both sides of the code needed to get your Android app talking to a PHP backend.
This two-part article will guide you through the process of building an efficient PHP-based REST web service to be consumed by an Android-based application. Some of the concepts presented here are also applicable to other mobile platforms, such as iOS. I assume you already know the basics of PHP and Android development and that you have a suitable development environments set up for both. I'll focus mainly on showing you how to handle data serialization and compression in both environments.
In this first part, he starts from the client side, creating the code (Java) that's needed to create the connection to the backend. He stets it up as a background task so its execution won't block the main app from working. He shows how to execute it, running an "on create" method and checking to ensure the network is available for the request.
voice your opinion now!
tutorial android communication backend mobile java
DZone.com: Selenium on Android
by Chris Cornutt April 18, 2012 @ 12:43:04
On DZone.com there's a recent post from Giorgio Sironi looking at running Selenium tests on the Android platform via the PHPUnit Selenium interface.
Testing web applications is not only based on unit and functional tests for the server-side (PHP, Java) and client-side (JavaScript) components, but also on end-to-end tests like the ones performed with Selenium. Selenium is capable of driving a real browser like Firefox in the same way a user would do, letting you express a test with a series of page to load, element selections, clicks and typed characters. [...] In this tutorial, we'll experiment with the Android Driver and set up a couple of tests to run inside an Android virtual device.
He walks you through the basic setup of an Android environment (based on the Android SDK) and how to start up the Android driver installed from the Selenium site. An example test is included, showing how to make a request for a test page and checking its title as well as checking that the input from the "keyboard" is successful.
voice your opinion now!
selenium android phpunit webdriver sdk
PHPClasses.org Blog: 2010 Yet another great year for PHP
by Chris Cornutt December 23, 2010 @ 08:50:54
On the PHPClasses.org blog today there's a new post from Manuel Lemos looking back at 2010 an the life of PHP - yet another great year.
2010 was an year full of interesting happenings for the PHP development and its community of developers. This article presents a balance of what were the most important happenings in the PHP community in 2010, as well a reflection of what we can expect for 2011 for PHP, as well for the PHPClasses site.
Among the important happenings of this past year he mentions the issues surrounding PHP6, HipHop and PHP running on the Andriod platform. He speculates on a few things that we can expect from PHP in the upcoming year(s) like the release of PHP 5.4. Also included are some updates that were made to the PHPClasses.org site itself.
voice your opinion now!
opinion year lookback php6 hiphop android
Project: PHP on Android
by Chris Cornutt July 13, 2010 @ 18:16:01
Ivan Mosquera Paulo dropped me a line today about a project that's been gaining some traction lately - PHP for Android, an effort to make PHP development on the platform possible (and easy). This new post shows you how to get started.
Yes you read that correctly, PHP is coming (well it's here) for Android. Irontec is the company behind the project and their aim is to make PHP development in Android not only possible but also feasible providing tools and documentation.
The post gives you links to download and install the software you'll need as well as a screencast on how to get started on a test application. You can find out more about the project (and how you can get involved) from phpforandriod.com.
voice your opinion now!
android tool mobile development project
Jakob Westhoff's Blog: From Revelation security to Android password managers
by Chris Cornutt April 19, 2010 @ 10:07:58
New on his blog today Jakob Westhoff describes a system he's created to let him keep all of his passwords with him (and safe) where he can get to them from his Android phone. He wanted to pull them from the local store of his Revelation password software.
I am really enjoying my new smartphone. However there is still something missing. A way to have all my passwords with me on my phone in a safely encrypted container.
The Revelation system pushes the passwords into subversion when they're updated and can be accessed from a desktop platform. He was missing the mobile branch of the access, so he decided to fill the gap with PHP by making a reverse transformer for the Revelation passwords. You can get the code here from github if you want to make use of it on your own systems.
voice your opinion now!
password manager revelation android
|
Community Events
Don't see your event here? Let us know!
|