Solution : How to install an .apk file from the windows machine onto the development board

by Ankit » Tue, 20 Jul 2010 22:08:19 GMT

Sponsored Links
 To install Android apk files on to the target (in my case Beagleboard)
from a Windows host, we can use USB-OTG along with RNDIS driver. Below
is the procedure:

   1. Copy the linux.inf file from the Documentation/usb/ folder of
linux 2.6.x source to a folder on Windows
   2. Connect serial port of Beagle board to Windows com port
   3. Connect Beagle board to Windows host using USB-OTG
   4. Install RNDIS driver using linux.inf file when Windows asks for
the driver for the new hardware
   5. Open hyper terminal with configuration of 115200 Baud, 8 bits,
No Parity, 1 Stop Bit & No Flow Control
   6. Restart Beagle Board and execute following commands once U-Boot
prompt is up
          * # mmc init
          * # fatload mmc 0 0x80200000 uImage
          * # setenv bootargs 'console=ttyS2,115200n8 init=/init root=/
dev/mmcblk0p2 rootfstype=ext3 rw  rootdelay=1 nohz=off'
          * # bootm 0x80200000
   7. Once kernel comes up configure the usb0 interface on the target
          * # busybox ifconfig usb0 netmask up
   8. Configure the new network interface created on the Windows host
with below configuration
          * IP:,  net mask:,  Gateway:,  DNS:
   9. Ping to the target from the host to test the connection
  10. Set Windows environment variable from cmd prompt using: set
  11. On Windows host go to Android_SDK\tools folder from the cmd
prompt and execute following commands:
          * adb kill-server
          * adb start-server
          * adb install <path of to be installed .apk file>
  12. Verify the installed .apk file on the Beagle file system at /
data/app folder


Other Threads

1. using a simpleCursorAdapter to bind data from a database to a spinner

Im trying to fill a spinner with data from a table.  That part works
fine.  What i cant figure out is how to use the selection made through
the spinner.  if i use :
 String someString = (String) classSpin.getSelectedItem().toString();
i get some sort of SQL reference.  Am i missing a step?  Im new to
both java and android so i hope this is something very obvious im

heres some of my code for the spinner:

Cursor classCur = db.getClasses();
from = new String[]{DBAdapterStats2.KEY_CLASS};
to = new int[]{};
SimpleCursorAdapter classAdapter = new SimpleCursorAdapter(this,
android.R.layout.simple_spinner_item, classCur, from, to);


2. How to convert oid program? java and clock.javato Android program?

How to convert Java to Android program?
question 1- here are 2 small java and To
compile we use javac *.java
to run java ZonesAndIDs and java clocke.  How to convert the above program
to in to simple Android program?

"Forbes and Associates - Web Design, Web Redesign, Web Updates, Logo,
business card , brochure design and all kinds of web marketing. If your
website can not be found in the search engines or is not getting the results
you want to SEE, please talk to me l l l Office 407 657 9069 l


3. ActionListener & Graphics2D Object & Canvas

4. Questions on building and running android source on Rooted G1

5. Help! I get this error message concerning the AVD

6. How can I sensor device read?

7. how to use information from phone