Tag Archives: Android

Android Studio – tools and features – part 005

Most of us have one old project. When we want to import this project into new Android Studio with a new SDK then will got one error.
In the next picture will see the steps to fix your new Android SDK.
This will allow you to fix your Android SDK with the new one.

Posted in All, Android, Programming. Tagged with , , , .

Android gps application example – part 1.

This is a simple example about gps under Android OS.

I make this tutorial few days ago.

It’s easy and simple to do that. Is like any project under Android OS.

I use Android Studio but you can use Eclipse also…

Anter you open the new project you need to use the next source code.

Using Android Studio can be hard if you don’t know how this IDE link java source code.

So , your project will be named : SimpleLocation and main activity will be like this :

public class LocationActivity extends Activity implements LocationListener

First the LocationActivity.java file:

Also you can make two projects to see the diff and you will understand well how is working this …

…and AndroidManifest.xml :

finally the last file main.xml:

The GPS and A-GPS is something different so read all specification about your hardware device.

Finally the result will be something like this.

Posted in All, Android, Programming, Windows 8. Tagged with , , , , .

Create android application using Codenvy and run it with Manymo – Android emulator.

Today I will show you how to make your android application using cloud and online emulator.

The Codenvy website it’s the most used cloud IDE for developers and corporate teams so this I will use it in this tutorial.

I used Codenvy -Version: 2.8.0 to make this tutorial and Manymo – Android emulator.

Also I used Manymo to run the android application.

First you need to make one account of each website: Codenvy and Manymo.

First login into Codenvy website and follow this steps:

This is the first window you can see it. Type your name project in this window.


In this window will need to press the Android button to make your android application.


Select PaaS – platform as a service (in this case is only Manymo) and press Finish button.

Don’t change source code or any files… we will run this as default android appplication.


The project is make with all files to create one android application.

Login with your Manymo account and go to Account -> Client Applications and will see your authorization token.Will need this token to put into Codenvy cloud IDE settings.

Go to Codenvy IDE website and press Run to run the application.

The Codenvy will ask you the token from Manymo website


Go to Manymo. If you see this image then all settings is ready to change and create your android application.


This is default android application make by Codenvy.

Posted in All, Android, Programming, web. Tagged with , , , .

Android Studio – tools and features – part 004

When your Android Studio don’t want to working with JAVA then you can try this :

For example I got this error:

First install or reintsall all the java packages.

Let’s see what compiler is used:

… and Java JDK:

The next command can help you.

Display all java with this command :

Set your java

Try to start the Android Studio .

Posted in All, Android, Programming. Tagged with , , .

Working with android emulator – part 001.

Today I will show you how to deal with android emulator.

I use in this tutorial the android from Pygame Subset for Android.

You can use any android SDK and also you can read my tutorial about Pygame Subset for Android.

First you need to install mesa development libs.

The next step is to create one avd.

We can see all avd with :

If you got this error …

…you need to export LD_LIBRARY_PATH and then you can start emulator

You can use -no-audio arg to make emulator faster.

… or just use this:

Tne next command will install your aplucation on emulator. Open another terminal and use this:

And now you can tets your application…

Posted in All, Android, Linux, Programming. Tagged with , , , .