Running Node.Js on Android

I just had a jaw-drop moment – Termux allows you to install NodeJS on an Android device! It seems to work for a basic Websocket Speed Test I had on hand. The http served by it can be accessed both locally and on the network. There is a medium post that explains the installation process Basically: 1. Install termux 2. … Read more

Running Node.Js on Android

I just had a jaw-drop moment – Termux allows you to install NodeJS on an Android device! It seems to work for a basic Websocket Speed Test I had on hand. The http served by it can be accessed both locally and on the network. There is a medium post that explains the installation process Basically: 1. Install termux 2. … Read more

onSaveInstanceState () and onRestoreInstanceState ()

Usually you restore your state in onCreate(). It is possible to restore it in onRestoreInstanceState() as well, but not very common. (onRestoreInstanceState() is called after onStart(), whereas onCreate() is called before onStart(). Use the put methods to store values in onSaveInstanceState(): And restore the values in onCreate():

Failed to find Build Tools revision 23.0.1

I faced the same problem and I solved it doing the following: Go to /home/[USER]/Android/Sdk/tools and execute: $android list sdk -a Which will show a list like: Android SDK Tools, revision 24.0.2 Android SDK Platform-tools, revision 23.0.2 Android SDK Platform-tools, revision 23.0.1 … and many more Then, execute the command (attention! at your computer the … Read more

How to install Google Play Services in a Genymotion VM (with no drag and drop support)?

As of Genymotion 2.10.0 and onwards, GApps can be installed from the emulator toolbar. Please refer to answer by @MichaelStoddart. Next follows former answer kept here for historic reason: Genymotion doesn’t provide Google Apps. To install Google Apps: Upgrade Genymotion and VirtualBox to the latest version. Download two zip files:– ARM Translation Installer v1.1– Google … Read more

How do I download the Android SDK without downloading Android Studio?

You can find the command line tools at the downloads page under the “Command line tools only” section. These are the links provided in the page as of now (version 26.1.1): Windows no installer: https://dl.google.com/android/repository/sdk-tools-windows-4333796.zip MacOSX: https://dl.google.com/android/repository/sdk-tools-darwin-4333796.zip Linux: https://dl.google.com/android/repository/sdk-tools-linux-4333796.zip Be sure to have read and agreed with the terms of service before downloading any of … Read more