Android development

Interview with Darko Goles, first book author at Inchoo

darko-goles-presents

In this interview, we would like to introduce you to Darko Goles, our Magento Certified Developer and first book author at Inchoo. He recently completed writing of “Magento Mobile How-to” book – a practical, easy to follow, complete guide for unleashing the power of Magento Mobile. In the interview Darko speaks about his work on Symfony, switch to Magento and motives to dive into writing.

Read more

Android – custom UI look and feel

customUI © ba1969@sxc.hu

It is well known that iPhone has nice set of native controls for UI elements. Basically, when my colleagues worked on Magentic iPhone application I wanted to make one for Android too. But on Android platform, I don’t have same type user interface controls, so I decided to explore power of Android native options in order to create my custom UI.
Of course that we can use these steps to make any custom UI element for Android application.

Read more

Android ksoap2 and Magento v2 API

Featured Image © neil2580@sxc.hu

When trying to access Magento SOAP web services v2 from Android, after some searching on web, I found that ksoap2-android project could be useful to implement SOAP client in android project. (Ksoap2-android is lightweight and efficient SOAP client library for android platform).
Next step was to figure-out how to use it.
After some additional investigation, I found that it is pretty simple to use, when you get used to it once.

Read more

Android global variables

Featured Image © fangol@sxc.hu

Sometimes we need to define global variables accesible from inside our android application to hold some shared values.
Simplest way to implement this is to subclass Android.app.Application class and define static variables that will hold our data.

Read more

Android Magento mobile boilerplate

Featured Image

Recently I realized that there are many questions regarding my “Develop your own Magento mobile application” article, and many new articles need to be written to answer them all properly and to guide you further through developing this kind of an application.

That is why I would like to present you an Android application, developed for the purpose of utilizing Magento’s XMLConnect and exploring possible modularity of the future application – mainly only a concept.

Read more

WordPress for Android

Featured Image

There I was yesterday, sitting at the caffe bar, waiting for friends to arrive. Newspaper news were boring since the topics were all about standard politics. During these times I often check latest comments on this blog and moderate (approve or spam) them. Logging to the administration via my HTC desire was a pain and clicking on that tiny “Approve” link is even more painful. I was thinking that native Android App would be of great help.

Read more

Simple Android JSON parsing example with output into ListActivity

android-branko

One of my planned projects in the upcoming 2011 is the Magento – Android application. I already did a fair part on the Android side, plus I started the Magento Mapy extension few weeks ago. Due to my recent one month vacation I was “off the grid” when it comes to my free time work so all my stuff were in a “pause mode”.

Besides my playing around with Android and XML-RPC, here is a simple JSON parsing example that might get you started with more serious things.

Read more

Parsing the XMLRPC webservice response in Android

Featured Image

For the last few days I have been intensively playing with Android and Magento XMLRPC API. One of the trickiest things for me as a PHP developer was to figure out how to parse the data returned from XMLRPC API. Most of the time you will most likely have a proper documentation that will clearly outline the result data format. However, its nice to grasp some basic logic and learn a thing or two.

Read more

From PHP to Android, the simple stuff – AsyncTask and the AJAX analogy

Featured Image

As a web developer you have surely heard for AJAX. Its one of those cool things that give your web app more dynamic interface by fetching various data behind the scene. So, whats the analogy with the Android platform?

Well, in Android, or better yet Java development you have more robust solution for doing things “behind the scene”. This solution is called threading. Not to go to deeply in explaining, consider it as a parallel mini app/code that executes along other code stuff enabling more fluid app behavior without any (or without too much) non responsive interfaces.

Read more