Difference between revisions of "Step by step guide to your first android app (DACU)"

From DAVE Developer's Wiki
Jump to: navigation, search
(Boot the system)
Line 11: Line 11:
 
This tutorial shows how to develop your first Android application and run it on the DACU platform.
 
This tutorial shows how to develop your first Android application and run it on the DACU platform.
  
==== Boot the system ====
+
=== Boot the system ===
  
 
Let's assume the system is configured to boot loading the kernel and root file system from the internal flash.
 
Let's assume the system is configured to boot loading the kernel and root file system from the internal flash.
  
The first thing to do is to connect the null-modem serial cable to the J3 connector  
+
Start the system as described in the [[Dacu#.22Normal.22_mode | Running Android in "normal mode"]] section.
 +
 
 +
 
 +
==== Change the default ip address =====
 +
 
 +
If the default ip address is not suitable for your network configuration, you need to modify it. The first thing to do is to connect the null-modem serial cable to the J3 connector  
  
 
[[File:Dacu-serial-console-cable.jpg|thumb|none|border|350px|Dacu serial cable]]
 
[[File:Dacu-serial-console-cable.jpg|thumb|none|border|350px|Dacu serial cable]]
  
and start your preferred terminal emulator, as described in the [[Android_Development_Environment_(DACU)#Running_Android | Running Android]] section.
+
and start your preferred terminal emulator, as described in the [[Dacu#.22Full_control.22_mode | Running Android in "full control mode"]] section.
  
 
==== Configure and run the Android Debug Bridge (ADB) ====
 
==== Configure and run the Android Debug Bridge (ADB) ====

Revision as of 15:58, 26 July 2012

Info Box
Android-logo.jpg Applies to Android
Dacu-top-view.png Applies to Dacu


Introduction[edit | edit source]

This tutorial shows how to develop your first Android application and run it on the DACU platform.

Boot the system[edit | edit source]

Let's assume the system is configured to boot loading the kernel and root file system from the internal flash.

Start the system as described in the Running Android in "normal mode" section.


Change the default ip address =[edit | edit source]

If the default ip address is not suitable for your network configuration, you need to modify it. The first thing to do is to connect the null-modem serial cable to the J3 connector

Dacu serial cable

and start your preferred terminal emulator, as described in the Running Android in "full control mode" section.

Configure and run the Android Debug Bridge (ADB)[edit | edit source]