Category / Mobile development

Android – playing with separate threads

Android – playing with separate threads

shho@sxc.hu

This time, I played a little with Threads and I tried to implement somekind of simple-test separate thread and start it inside main activity and also return results from separate Thread so it can be used to update UI for example. Read more

1

Android – using Broadcast receiver from Activity

Android – using Broadcast receiver from Activity

ColinBroug@sxc.hu

Let’s play a little with BroadcastReceiver: we will try to send a message from Android service we made to Activity and log that message.

Let’s use our Android service tutorial project from one of my earlier articles.

First of all we need to define private variable in our Activity: Read more

0

Android global variables

Android global variables

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

0

Android – creating simple service

Android –  creating simple service

When you look at my posts on this blog, you will, besides few posts about WordPress and Zend find most articles about Symfony2 development.
Well, now things are about to change slightly. Read more

0

Create simple mobile ready search page

Create simple mobile ready search page

Idea is to create one page which will be ready for mobile devices and serve like mobile app. We will use google ajax search API and jQuery to enhance experience. Also we will have script which will notice visitors how to add shorcut for iOs devices and use search like standalone app. Read more

0

Android Magento mobile boilerplate

Android Magento mobile boilerplate

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

7

Develop your own Magento mobile application

Develop your own Magento mobile application

Hi everybody.

Do you want to develop your own Magento mobile application?

Great! I’ll give you some pointers on how to get a grasp on Magento’s XMLConnect, an extension that serves Magento Mobile application.
Read more

14

PHP to (Java) Android – Array vs HashMap

One of the coolest and most powerful things in PHP are arrays. Why? Simply put, you can place almost anything in them. Recently I was playing with the JSON API calling various API methods and passing parameters. For a moment I got stuck on a pretty simple step, arrays. Read more

1

Debugging Web Service API communication in Android

Proper and fast debugging is a key to any application development. Unlike my great experience with PHP where I usually debug whatever I need in a breeze, I found my self against the wall when working with Android and web service API calls. Problem is simple, you cannot that easily dump entire $_SESSION array like in PHP and see it’s content. Surely there are other ways as Java language has full set of it’s own debugging ways. Read more

1

PHP to Android – Simulate the $_SESSION behavior

Poking around Google Android is really fun. I really like the platform, although I’m not that big of a Java fan. Anyhow, as a web developer my mind set is sometimes wired to certain architectural views of web development vs. android development. One of those things is concept of sessions. In Android development your app is not stateless like you would have in standard web development so there is no real need for “sessions”. However Read more

0