Category / Android development

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

3

REST API with HTTP Authentication – Android & Beanstalk example

Featured Image

Hello everyone. For the last few months I have had a lot of work on my hands, thus ignoring my Android development skills. Lately however, seems like my appetite for mobile apps development is back. Or is it just my way of escaping the everyday struggle with large Magento database and sea of custom code. Anyhow, Android platform is a great exhaust valve for me. Read more

5

Simple Android JSON parsing example with output into ListActivity

Simple Android JSON parsing example with output into ListActivity

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

29

Photoshop to Android – Gradient quality issue

Photoshop to Android – Gradient quality issue

For the last few days I have been spending my free time working on a Magento – Android application, that will hopefully soon seen the light of day. Visual part of application is essential to its success. With that in mind I am/was determined to give my best to style the app best to my skills (although pro developer now, few years ago I was doing graphical design for living).

After creating a decent looking gradient in Photoshop for my application background I need to replicate this background in my Android app. I did not want to simply export the background image and set it as background of some Activity. I wanted my gradient background in Android to be done in programmatic way to retain the visual effect across different screen resolution on various devices. Read more

3

How to screenshot your Android application

How to screenshot your Android application

For various reasons one might need to screenshot his Android application. Taking a screenshot of application both in emulator and real device in Android is extremely easy.
To be honest it took me a while to spot the screenshot feature in the Eclipse (mainly cause I never needed it before). Read more

0

How to connect and get debug ready with your HTC Desire Android phone and Eclipse IDE

How to connect and get debug ready with your HTC Desire Android phone and Eclipse IDE

If you are starting Android phone development (not exactly sure this is the right terminology) one of the first things you will most likely want to do is to connect your Android powered phone to Eclipse. Prime reason for this would surely be the debugging. On top of that additional bonus might be the screen-shooting your or other people applications.

To make it short, this mini HowTo is about HTC Android phone any my experience with it. Unlike some other Android based phones, when you connect HTC Desire via USB cable to your computer, chances are it wont get recognized in the Windows. Yea, for those of you with the weak spot towards Windows this HowTo is based on my Windows machine. Read more

1

From PHP/JavaScript to Android, the simple stuff – Yes/No Confirmation Dialog

Featured Image

My apologies for a bit misleading title, as there is no PHP Confirmation dialog as such. More precisely its a analogy of JavaScript confirmation dialog and Android (Java) alternative for the same thing. Read more

1

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

12

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

2

From PHP to Android, the simple stuff – Intents and the POST-GET analogy

Featured Image

As mentioned in one of my previous articles, usually when you are trying out a different platform or language you try to find the analogy of what you done in your “yesterdays” programming language in regards to the new one.

One such cool analogy, as I see it, is the analogy of web’s POST & GET methods to the Androids “Intent” mechanism. Strange as it might seem, but I find those two pretty similar. Let me elaborate.

In web you have these forms with various input fields trough which you gather user data an submit them (via POST or GET) to some script. Usually this results in you ending up on the different page that was rendered based on the logic that handled the data you inputed on the previous page. Read more

2