This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
mobile_computing2 [2011/06/26 09:07] bhuvan |
mobile_computing2 [2018/03/24 11:13] (current) |
||
---|---|---|---|
Line 7: | Line 7: | ||
once the requirements are meet. | once the requirements are meet. | ||
- | To run the example apps. | + | ==To run the example apps== |
- | go to the android-sdk-linux_x86/tools/ | + | Download the apks form the following links\\ |
- | give the command | + | Enter the ip address in the browser and click packages link |
- | $./android | + | |
- | once you see the AVD manager | + | CBIT 172.16.1.2 \\ |
+ | MGIT 172.24.1.24 | ||
+ | |||
+ | |||
+ | go to the android-sdk-linux_x86/tools/\\ | ||
+ | give the command\\ | ||
+ | $sh android\\ | ||
+ | |||
+ | ==once you see the AVD manager== | ||
click Virtual devices which is the first option on left side of the windows. | click Virtual devices which is the first option on left side of the windows. | ||
select new AVD (Android Virtual Device) on the right side. | select new AVD (Android Virtual Device) on the right side. | ||
give any name | give any name | ||
- | select the target as 2.2 or anything below 3.0. | + | select the target as 2.2. |
- | select sd card size 100 MB | + | select skin > Built in as HVGA |
+ | click the button that say's create AVD. | ||
+ | once you are done creating the AVD. select it and click Start on the right side. | ||
+ | You will get another window in which you have to click the launch byutton | ||
+ | Wait till you see the home screen. | ||
+ | once you see the home screen go back to the terminal and go to this path. | ||
+ | android-sdk-linux_x86/platform-tools/ | ||
+ | now give the command | ||
+ | ./adb -e install -r <location of the apk> | ||
+ | once you get the success message go to the emulator and check the applications menu and see if the app has been installed. | ||
+ | |||
+ | ==For importing the projects in eclipse== | ||
Download the archive | Download the archive | ||
Line 36: | Line 54: | ||
Now you should not see any error. | Now you should not see any error. | ||
+ | |||
+ | Once you are done with importing the packages right click on the package and select run > android application. | ||