Android

Android Studio (IDE)

 

 

Troubleshooting:

I will tell you how to install Android Studio on your Windows 7 machine

Requirements: Windows 7(64 bit), JDK 1.7(get the latest update preferably), Gradle-1.6.

We need to do a few workarounds to start using Android Studio on Windows 7. Follow these steps after you have downloaded and installed Android Studio.

Step 1: Create new Environmental variable.

Right click My Computer–>Properties. Click on Advanced System Settings. Select Environmental variables. Create a new System variable namedJDK_HOME.

Variable Name: JDK_HOME
Variable value: C:\Program Files\Java\jdk1.7.0_05

Step 2: Download Gradle

This StackOverflow link will help you for this step. Follow the workaround by downloading Gradle and then copying the appropriate files to the mentioned Studio locations. Finally, restart Android Studio.

Development

 

Top App

 

Lunch App from cmdline

 


Setup DroidSSH from market and connect to your phone by computer. Now we can run android camera application from adb shell:
 
am start -a android.intent.action.MAIN -n com.android.camera/com.android.camera.Camera (start Fotocamera)
 
am start -a android.intent.action.MAIN -n com.android.camera/com.android.camera.VideoCamera (start VideoCamera)
 
Show camera process:
 
ps aux | grep *camera*
 
Show installed packages:
 
pm list packages
 
Altre risorse:
 
 
 
 
 

Examples