Professional Documents
Culture Documents
Android Copying Sample Data Files Into Sdcard Partition
Android Copying Sample Data Files Into Sdcard Partition
partition.
Copying sample data files into sdcard partition.
Requirements for copying sample files to SDcard:
1.Android sdk(software development kit).
Link to Download: http://developer.android.com/sdk/index.html
Steps:
1.Connect LAN cable to host and target machines.You should connect to RJ45 port in
system.
2.Using ifconfig cmd. Configure the manual ip address for both the machines
Cmd: ifconfig eth0 <ip address> <net mask address> up
ex: ifconfig eth0 192.168.1.15 net mask 255.255.255.0 up
3.Enter into Android sdk path
ex: e:/eclipse/android-sdk/platform-tools/
4.Using adb connect command you can connect host and target
Cmd:adb connect <ip address:port address>
ex:adb connect<192.168.1.15:5555>
Screenshot:
5.Check for connected devices.
Cmd:adb devices
as soon you type this command it will list the connect devices.
6.After connecting devices try to push the files into platform-tools folder.
7.Once the files are copied into platform-tools folder .Use adb push cmd to push the
files to target.
Cmd:adb push file name /sdcard/file name..
ex:adb push abc.txt /sdcard/abc.txt