Tag Archives: Android

First look about Android Studio 1.0.5 running with Fedora distro.

Google just announced Android Studio, an integrated development environment for building apps.

This IDE is based on IntelliJ IDEA and works as a WYSIWYG for creating android applications.

You can get this IDE from here.

It’s working under OS platforms: Windows, Linux and Mac OS X.

I used under Fedora and this is my short tutorial about this IDE.

The Android Studio has two folders : bin and sdk.

Content of the bin folder has this files and folders:

Content of the SDK folder has this files and folders:

To run the IDE just need to start from bin folder the studio.sh .

You will see the splash of the Android Studio:


After that will see the IDE.

I don’t tell you all of the features of this IDE.

This will take time and this is just one short tutorial.

Most of this it’s like in the old Eclipse IDE.

I will try to show you something new and also to show how to update the IDE.

First if will see something like this :


If it not update then you need to update the Android Studio.


Go to Menu -> Help -> Check for Update…


After that will need to press button : Update and Restart.


You will see this:


This will update your IDE.

First you need to update your android using this tool: SDK MAnager.


Select your android sdk to build your application.


To start your first project just go to menu File -> New Project …


You will see the next window and will need to fill with your project settings.


I will show you how to make it but into another tutorial.

See you later…

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

Using grep and many commands under Android OS .

The BusyBox combines tiny versions of many common UNIX utilities into a single executable.

You can find this command under android os.

Using busybox is simple. The first argument is taken by busybox and it’s applet executable.

For example if you want run dmesg with grep command then use this:

All applets include:

You can read more about this here.

Posted in All, Android, Bash, Commands, Linux. Tagged with , , , , .

Make screenshot with android and linux .

You need SDK from android website on your linux distro.

Power on your device tablet and you need to connect on your PC.

Enable debug mode on your tablet.

Go to shell linux and on platform-tools folder yoou use this command:

Star your application from tablet and under linux shell use the next command:

If you got some errors like : error: device offline

Just go and set tablet online or from settings set to stay online.

NOTE: if you use some terminal emulator android app then the command screenshot not working.
Use first $ adb shell and then try screenshot

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

Create splash screen application

This is a simple example about creating splash on android.

One problem with splash can increase the size of your application.

You can read more about splash screen here.

Let’s try the example.

I use NetBeans 2.7.1 to make one default application.

Also I created one image splash screen by copy one icon application to new folder drawable.

You can see the steps:

The folders and files created by NetBeans can be see with tree linux command.

If you using M3 version the you need to use id=”@+id.

Also you can got this error: Warning: found plain ‘id’ attribute; did you mean the new ‘android:id’ name? .

This is the source code I changed in main.xml file.

And the source code I changed in MainActivity.java file.

The application working well , I use my device to run it.

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

Debug your android application with your device.

First edit your Android manifest with:

Go to platform-tools.

Connect your device to computer via USB.

On your device set USB Debugging mode to enabled, do not activate USB Mass Storage Mode.

See the next commands:

So you need to be super user or root.

Now when you run netbeans ( I used with version 2.7.1) will be able to run your application using your device.

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