Hello everyone,
As we discussed already We can run our Developed Application either through Emulator provided by Android studio or through a Hardware Device(your own Android Device).
If you are not go through the previous tutorials for setting up environment and to develop and run your first android Application. Please go to the below links to read those tutorials
Environmental Set Up
Developing Hello World Application and running through Emulator.
How to Run your Android App through Hardware Device.
1. Enable USB Debugging in your Android Device.
Go to settings--> Find Developer Options --> find USB Debugging and select that if not selected.
If you are not able to see any option like Developer Options. Just Click on About Device Then Click on Build Number 7 times. Then a message will appear saying Developer option is enable. Now you can developer Options under settings, then select USB Debugging.
2.Connect you Device through USB to your Laptop/Desktop.
3. Install the Drivers if the Drivers are not already present. For drivers you can go to your mobile company website to download USB Drivers for your Device.
4. Click on Run in the header of Android Studio , select Run App then Select your Mobile which will appear in the List.
This will install the apk file in your Mobile. Your Application is ready to test in your Device itself. By this way you can test offline as well.
Please let me know if you are facing any issues.
We will see about Different Layouts in Android in coming Tutorials, then we will look at actual Development.
Thanks.
As we discussed already We can run our Developed Application either through Emulator provided by Android studio or through a Hardware Device(your own Android Device).
If you are not go through the previous tutorials for setting up environment and to develop and run your first android Application. Please go to the below links to read those tutorials
Environmental Set Up
Developing Hello World Application and running through Emulator.
How to Run your Android App through Hardware Device.
1. Enable USB Debugging in your Android Device.
Go to settings--> Find Developer Options --> find USB Debugging and select that if not selected.
If you are not able to see any option like Developer Options. Just Click on About Device Then Click on Build Number 7 times. Then a message will appear saying Developer option is enable. Now you can developer Options under settings, then select USB Debugging.
2.Connect you Device through USB to your Laptop/Desktop.
3. Install the Drivers if the Drivers are not already present. For drivers you can go to your mobile company website to download USB Drivers for your Device.
4. Click on Run in the header of Android Studio , select Run App then Select your Mobile which will appear in the List.
This will install the apk file in your Mobile. Your Application is ready to test in your Device itself. By this way you can test offline as well.
Please let me know if you are facing any issues.
We will see about Different Layouts in Android in coming Tutorials, then we will look at actual Development.
Thanks.