Posts

Showing posts from June, 2021

How to connect adb devices in linux | Run apps on a hardware device android

Image
For Installing ADB just open your terminal and type the following command : - sudo apt install adb First of all for checking how many adb  devices connected to your computer, you just have to type  adb devices command on your terminal  this command will list out all the adb devices connected to your comuter. if your devices not appears then follow these step to connect  Open your phone settings go to your android or MIUI version just tap 2-3 times on it, untill it will alert that you  are developer, then just go to developer option in your phone. After opening the developer option you just have to allow USB  debugging and after turning on when you type adb devices on terminal you will get no-permission.             So for turning on it you just have to revoke USB debugging  and then plug out your USB from your computer. After that just plug in your USB cable to your computer it will popup new window of Allow USB debugging...

Build a weather web application in React JS | React JS beginner Tutorial

Image
  Let's learn more about how all this works by building a weather application using React JS. Installing Node and npm Building a weather web application in React JS, we will have run-time environment called Node. It is mostly used to execute JavaScript code. To download it, go to https://nodejs.org/en/ . You'll also need npm, which is a package manager built on Node. You can use it to install packages for your JavaScript apps. Fortunately it comes with Node, so you don't need to download it manually. Once both of them are finished, open your terminal or command prompt and type node -v. and check npm -v .This checks which version of Node you have. How to Create a React App For creating our react application, just open your project directory and open the terminal and type npx create-react-app <Your app name> in your terminal, or npx create-react-app weather-app for this project. You'll see that the packages are being installed. Once the packages are done, go into ...