Home Android Tutorials
Debugging Android application with GDB PDF Print E-mail

Step by step:

 

- On your PC, open a terminal:

+ adb shell
+ gdbserver :1024 /data/your_application

- On your PC, open a new terminal:

+ adb forward tcp:1024 tcp:1024
+ arm-eabi-gdb
+ shared
+ target remote :1024

 

That's all!

Bookmark with:

Deli.cio.us    Digg    reddit    Facebook    StumbleUpon    Newsvine
 
Understanding Android Build System and Debugging PDF Print E-mail

 

 

 

 

Everything is here: http://pdk.android.com/online-pdk/guide/build_system.html

 

 

 

Bookmark with:

Deli.cio.us    Digg    reddit    Facebook    StumbleUpon    Newsvine
 
How to: Create a splash screen PDF Print E-mail

Many Applications, mostly games, on the market show splash screens. With this screen they prompt a logo for the application and/or the author.
I will show you a short way to implement a splash screen which will occur on every startup, will stay for a number of seconds you can define, will close on touching the screen and will not reappear on pressing the back button.

I created an empty project named SplashScreen with the activity SplashScreen. This activity will display the splash screen, so we have to create a new activity which will be the first real view you want to display. In my case this activity is named MyApp.

To see, that we see different screens, we copy the content of our layout file main.xml and paste it into a new layout file called splash.xml. Of course we have to change the @string/hello reference to a now one.
To make it short, here the string.xml, the main.xml and the splash.xml

Read more...
 
Playing with graphics in Android – Part VII PDF Print E-mail
You are new to this series? Please start with the first part.

In our last part of this series, I will present a mini “game” based on the very famous game “Rock, Paper, Scissors”.
The follow features are fully implemented:

  • Add a rock, paper or scissors by touching the screen
  • Define speed and direction by touch-drag-release
  • On collision the loser explodes
  • There’s a sound on explosion
Read more...
 
Playing with graphics in Android – Part VI PDF Print E-mail

You are new to this series? Please start with the first part.

The sixth part of this series will let you move the item you will add. As long as you touch the screen, you can change the position of the bitmap you want to add.

We simply have to add a temporary class variable in our Panel class.

1
private GraphicObject _currentGraphic = null;
Read more...
 
« StartPrev12345678910NextEnd »

Page 1 of 54