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

ndroid 8: Cleartext HTTP traffic not permitted

According to Network security configuration – Starting with Android 9 (API level 28), cleartext support is disabled by default. Also have a look at Android M and the war on cleartext traffic Codelabs explanation from Google Option 1 – First try hitting the URL with “https://” instead of “http://” Option 2 – Create file res/xml/network_security_config.xml … 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

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)