WHAT'S NEW?
Loading...
Showing posts with label development. Show all posts
Showing posts with label development. Show all posts
A command shell is simply a window without any graphical decorations. You type commands, using the keyboard, and you see the results of the commands. In this example we will use the windows 10 shell. Run the windows prompt with "cmd"  or  "shell" command.


Find the "platform-tools" directory of your Android SDK. For example:

D:\android-sdk-windows\platform-tools>

Enter the command adb devices to get the list of your devices

D:\android-sdk-windows\platform-tools>adb devices
List of devices attached
emulator-5554   device
TA930089K2      device

Connect a shell to your device:

D:\android-sdk-windows\platform-tools>adb -s emulator-5554 shell
root@generic_x86:/ #

Type the command, in the shell type:

 am broadcast -a android.intent.action.BOOT_COMPLETED

OR

 am broadcast -a android.intent.action.BOOT_COMPLETED -p thepackageofyourapp


Where, thepackageofyourapp, is the your application package from Play Store
Eclipse is famous for Java Integrated Development Environment (IDE), but it works with C/C++ and PHP  too.


How you can change the default work space in Eclipse? It is very easy!

  1. Go to eclipse\configuration\
  2. Open the file "config.ini"
  3. Modify the line
    osgi.instance.area.default="F:/Workspace/Java"
    
    where "F:/Workspace/Java" should be your default workspace!
If this is not working,  go to inside the configuration/.settings folder of your Eclipse installation, there is a file called org.eclipse.ui.ide.prefs. Open this file in a text editor and change the property SHOW_WORKSPACE_SELECTION_DIALOG from false to true to select the workspace at the startup.