TUTORIAL: disable shortcut home screen Android

As what have probably brought you here. When you install an application from the Google Play Store a shortcut is added to your Home screen. Is it Handy? I don’t know.. I’ll leave that up to you, but 9/10 times I do not want a shortcut on my start screen.


Tutorial: disable shortcut home screen Android

Lets follow the next steps to disable shortcut on the start screen.

  1. Go to apps
disable shortcut android
disable shortcut android

2. open Play Store

shortcut home screen android
shortcut home screen android

Click on the hamburger menu next to Google Play. See the image below:

shortcut android
shortcut android

4. Scroll down and open Settings

shortcut home screen Android
shortcut home screen android

Find “Add icon to Home screen” and uncheck the box.

disable home screen android
disable home screen android

The next time you’ll install an app it wont be added to your home screen. If you do want an app on your home screen open apps > hold the app and move it to the home screen.

The image below shows you how to add an app to your home screen.

disable shortcut android
disable shortcut android

Do you regret removing this option? Just check the box next to “Add icon to Home Screen

After you install an app from the Google Play store, an icon will appear on your home screen for you to easy access the app… but if you install quite a few apps you the apps will add up and eventually make your home screen full with apps you barely use.
With the steps I provided you can disable the shortcuts from automatically being placed on your home screen.

TUTORIAL: Add HTML to Android App

When you’re creating an Android App there is a high chance you’ll have to add html to android. For example a Help content or FAQ page. You can also use html in android, but you’ll have to add an assets folder in Android Studio (your project) before you can start using html in your Android Application.

In this tutorial I’ll show you how you add html to android app.

 


tutorial: Add HTML to Android App

Before we start; open your Android project in Android Studio. Or download Android Studio here.

  1. Right click on “app” in the upper left corner.
  2. Click New 
  3. Click Folder
  4. Click Assets Folder
assets folder android
assets folder android

Lets not change the Target Source Set unless you know what you’re doing.

  • Click Finish
html android studio
html android studio
  1. Right click Assets
  2. Click New
  3. Click File
add html to android app
add html to android app
  • Name your html file and add .html
add html android studio
add html android studio

Add your html content or copy your html file from your PC to Android Studio.

You can use the index.html file by adding the following code snippet to your MainActivity.java

WebView view = new WebView(this);
view.getSettings().setJavaScriptEnabled(true);
view.loadUrl("file:///android_asset/index.html");
setContentView(view);

For more Webview classes click here.

FIX: Chrome backspace not working

With the latest Chrome update the backspace button to go a page back isn’t working anymore. This is intended and Pressing backspace will show you the following message in the screenshot below, and this is also the solution. Press alt + <- to go back to your last page. 

altplusarrows


Can i revert to the backspace key?

Yes you can! how? With a plugin:

Back to backspace (installing on own risk)


Why did Google remove the backspace?

Have you ever filled out a contact form and hit the backspace because you wrote your email address wrong? Did the website go a page back instead, and did you lose all your data? Well that’s why…

Google explains that 0.04% of the page views are currently triggered going back with backspace. 0.005% of page views are from users using the backspace key on a form page.

“Years of user complaints have been enough that we think it’s the right choice to change this given the degree of pain users feel by losing their data, and because every platform has another keyboard combination that navigates back.”


Why can I still use the backspace button?

Normally Chrome should update in the background when you close the app and re-open Google Chrome.  If you haven’t closed your browser in a while you might see the Chrome menu in the top right change colors:

Update Chrome A green menu means an update’s been available for 2 days.

Menu with update pending An orange menu means an update’s been available for 4 days.

Red menu A red menu means an update’s been available for 7 days.

To update Google Chrome:

  1. In the top right, click the Chrome menu Menu.
  2. Click Update Google Chrome. If you don’t see this button, you’re on the latest version.
  3. Click Relaunch.

The browser saves your opened tabs and windows and reopens them automatically when it restarts. If you’d prefer not to restart right away, click Not now. The next time you restart your browser, the update will be applied

Source: Support.google.com

FIX: disable wifi networks available notification Android

Turn off wifi networks available notification from your Android phone with this Tutorial.  

Have you ever been at a festival where is barely to no internet and you constantly get the Wifi Networks Available message, and you think it’s a text message from a friend? Yeah, me neither… anyway… The wifi networks available notification is still annoying as hell.

The notification:

Wi-Fi networks available

Open wi-fi Networks available

Screenshot_2016-05-24-13-38-05

disable wifi networks available notification

It’s actually quite easy to disable this notification. So lets just begin with the tutorial.

Go to:

  • settings
  • Quick settings
  • click on Wi-Fi.

See screenshot below for reference.

Screenshot_2016-05-24-15-14-56

Click on the 3 dots in the top right corner. After that click on Advanced.Screenshot_2016-05-24-15-15-07

Here you’ll have a few options, but the only one we need is Network notification.

“Receive notifications when open networks in range are detected”

Let’s turn that sh*t off by unchecking the box next to Network Notification.Screenshot_2016-05-24-15-15-16

And there you go. You’ve disabled Wifi networks available notification.

TUTORIAL: Install Android in Hyper-v

Most Android Emulators are very slow and painful to handle for your computer. With this tutorial I’ll learn you how you can install Android in Hyper-v.

What do we need for Android in Hyper-v?

Android in hyper-v explained with text and images: 

Right click your Hyper-v > New > Virtual machine

new virtual machine

The Before You Begin page. Just click next.. I usually also check the box “Do not show this page again”. Click Next..
2016-05-03 23_05_00-New Virtual Machine Wizard

  1. This is your VM name. I’ve named it “ANDROID” in the screenshot, but later I changed the name to “Android 4.4 r2″
  2. You do not need to store it on a different location, but virtual machines are in general, a lot of data. I’ve placed all of mine Virtual Machines on a different disk.

2016-05-03 23_05_41-New Virtual Machine Wizard

We go for “Generation 1”, no questions asked.. Click Next.2016-05-03 23_06_40-New Virtual Machine Wizard

The Startup memory.. Most mobile phones have around 2-4 Gb RAM, because this is a clean install you probably need less than 2048mb. If you go for less than 500Mb there is a chance your Android in Hyper-v wont work smoothly.2016-05-03 23_07_34-New Virtual Machine Wizard

We’ll go for a “Hyper-V Adapter”. I’ll tell you more about this later.2016-05-03 23_08_39-New Virtual Machine Wizard

Creating a “Virtual Hard Disk”.

  1. Naming the “Virtual Hard Disk”  go for “Android,” or “Android in Hyper-v” to be more specific.
  2. This is the location for the Virtual Hard disk. As you can see mine is located on the D-drive. You can place the VHDX wherever you like.
  3. Its important to change the size for the VHDX because on default its on 120Gb. You don’t need 120Gb for Android in Hyper-v.  Choose between 2Gb to 16Gb.
  4. Click next.

Also I’d like to mention that the size of your Virtual Hard Disk can be changed later. 

Android in Hyper-v

  1. Check “Install an operating system from a bootable CD/DVD-ROM”  In the first step of this tutorial you’ve downloaded the Android 4.4 r2 ISO. Browse to the ISO in your download directory.
  2. Click Next.

Android in Hyper-v

Are all the settings correct? If its correct, click Finish.Android in Hyper-v

Turn on your virtual machine as shown in the screenshot below.

Android in Hyper-v
Android in Hyper-v

There are 4 options here, but only 2 that are useful for us.

  • Live CD – Run Android-x86 without installation.
  • Installation – Install Android-x86 to harddisk.

In this tutorial we’ll go for “installation – Install Android-x86 to harddisk“.

Android in Hyper-v
Android in Hyper-v

Click on “Create/modify Partitions” and click ok.
Android in Hyper-v

Click “Yes”.Android in Hyper-v

Create a new partition.
Android in Hyper-v

Go back to the start screen and choose your newly created partition.  Android in Hyper-v

In this screenshot you can choose between 4 filesystems

  1. Ext3
  2. Ext2
  3. Ntfs
  4. Fat32

We’ll go for “Ext3” click ok
Android in Hyper-v

Click yes
Android in Hyper-v

Click YesAndroid in Hyper-v

Click Yes, you want to format the boot partition to /dev/sda1.
Android in Hyper-v

Click YesAndroid in Hyper-v

Ok, We do not choose one of these options so turn off your Android in Hyper-v device.

Android in Hyper-v

We’ll have to remove the image file from the virtual machine first, or you’ll get the “installation screen” again. Follow the screenshot to remove the image file.

Right click your Virtual Machine > Go to DVD Drive > Select “none“.Android in Hyper-v

Ok, there is one problem with Android in Hyper-V.  The wifi cannot work and therefore you can’t contact the Play store when your main device is connected to the Wifi.

This is can be solved if you connect your device with a network cable to the internet. This way the android in hyper-v will see it as a 4G Network.

We’ll have to create a virtual network adapter that is connected to your cable network.

Right click your Hyper-V and click on Virtual Switch Manager.

Android in Hyper-v

Create a New virtual network switch > External > Create Virtual Switch.

Android in Hyper-v

 You need to make sure these settings are correct.

  1. Always go for External Network.
  2. Make sure your Cable Network adapter is chosen
  3. Check “Allow management operating system to share this network adapter

Android in Hyper-v

Now go back to the settings of your android in hyper-v.

Make sure you go for “Legacy Network Adapter”. This is necessary for your the internet to function. Click add > ok.

Android in Hyper-v

Start your Android in hyper-v. The following steps are basic steps. see the gif below.

android in hyper-v
The welcome screen plus other settings in one GIF.

Last but not least.

Your Android will have a sleep mode as all devices have. As soon as your device is in sleep mode you wont have a button to turn it back on. In the following gif are the steps to turn off sleep mode in Android.

Go to Settings > Display > Sleep > click Never time out.

Android in Hyper-v
Android in Hyper-v

Congratulations! you’ve successfully installed Android in Hyper-v!

If you think you’ve more settings that are useful for everyone, please share in the comments!

FIX: Uninstall Outlook Android

This tutorial is about uninstall Outlook Android.

If you install the Outlook for Android app and configure your e-mail. The Outlook application will ask you if it may be “Device Administrator”. If you choose “No” then you can not set up email.

if you accept that the Outlook app may be a device administrator  the app will put an additional protection setting on your phone. Because Outlook is a “device administrator” you cannot uninstall Outlook. In this tutorial I will explain how you can remove the “device administrator” setting from Outlook and you’ll be able to uninstall it. See the screenshot below; Uninstall is greyed out.

Uninstall application

Screenshot_2016-05-03-16-41-21-1
Uninstall Outlook greyed out

Outlook will be uninstalled.

Uninstall – As you can see : uninstall greyed out.

So I’d like to explain the issue in a short and long version. The Short version will be written down first and the long version will include screenshots.


uninstall outlook android tutorial

Short version

  • Go to “settings”
  • Find the “general tab”
  • Scroll to “Security”
  • Click on “device Administrators”
  • Un-check box next to “outlook Device Policy”.
  • You should be able to uninstall outlook now.

Longer version

  • Go to “settings”. Mine is on my start screen. Go to “Apps” and search for “Settings” there if you cannot find it.

Screenshot_2016-05-03-16-39-40-1

  • Find the “general tab” and scroll to “Security”.

Screenshot_2016-05-03-16-40-01-1

  • Click on “device Administrators”

Screenshot_2016-05-03-16-40-08-1

  • Un-check box next to “outlook Device Policy”.

Screenshot_2016-05-03-16-40-17-1

Screenshot_2016-05-03-16-41-48-1
Uninstall Outlook Android

As you can see on the image to the right, we can now uninstall outlook in Android.

You can use the default ‘mail’ app to configure for your email. As well as for Microsoft email using IMAP or POP3.

NEWS: Google giving away 2GB for free

Google giving away 2GB for free! All you have to do is verify your security settings.

Google wants you to go through a brief account security check-up and awards you 2GB on top of what you have! Google will verify your security settings as your two-step verification, which devices can access your Google account, and which apps have access to your Google account. Best part is that the 2GB is permanent! It’s in honour of ‘Safer Internet Day‘.

Have you claimed the 2GB last year? Doesn’t matter! You’ll still get a 2GB for free on top of that!

Click here to verify your Security Settings

FIX: No JVM installation found

Are you getting this error launching android studio, or a different application that needs java?

This is a common error for when your application cannot find the JVM installation. Have you actually installed the JDK? If not please go here. If you did, but the application can still not find Java, please follow steps below.

Below the post I’m explaining why I got this error message.

“Error launching Android Studio

No JVM installation found. Please install a 64-bit JDK. If you already have a JDK installed, define a JAVA_HOME variable in Computer > System Properties > System Settings > Environment Variables.”

Screenshot (Application I’m launching is Android Studio)
Error launching android studio

Solve ‘no JVM installation found’.
  1. Go to start
  2. search for ‘This PC’
  3. right click ‘This PC’
  4. Click ‘Properties’

search this pc properties


Search for ‘Advanced System Settings’ on the left side of ‘system’. Click it. Advanced system properties

The next window should be opened on the ‘Advanced’ tab. If not click ‘Advanced’ > ‘Environment Variables…’system properties - environment variables

Add a new ‘system variables‘. environment variables - new...

Edit the System Variable: 

  • Variable name: JAVA_HOME
  • Variable value: D:\Program Files\Java\JDK1.7.0_79edit system variable

Note: This is where my issue started to happen. Ive got 2 Windows 10 installations on my laptop, but since I can reach both SSDs I don’t want to install an application twice. I copied the shortcut(android studio) from the D:\ on my Desktop and when opened up it gave this error. The JAVA was also installed on the D:\ disk and that’s why my variable value path is going to the D:\Program Files instead.

You’ll have to reload any application that needs JAVA before you can use it, because no changes will be seen until a re-start.

TUTORIAL: Remove background Google ads

Wadsensehen you’re using Google Adsense ads on your website adsense uses your default ‘ins’ colour. ‘ins’ stands for ‘inserted’. Most CMS has a default background for the ‘ins’. Solving this is quite simple. All you need to do is update your css and change the background to whichever colour you like:

White background:

Ins {Background:#FFFFFF; Text-decoration:none;}

Or transparent:

Ins {Background:transparent; Text-decoration:none;}

With this knowledge you could also change the border and much more:

Ins {
Background:transparent; 
Text-decoration:none;
Border-style:2px #888888;
}

wordpressheader
remove background Google Ads wordpress

WordPress mostly uses a yellow background as default for ‘ins’. That’s why you’re seeing yellow ‘wrap’ before the Google ads is loaded. The best thing to do is change the Child theme CSS so your changes wont get overwritten with a new update.

If you do not know what a child theme is click here.

FIX: No emulator Android Studio

PANIC: HOME is defined but could not find Nexus_5_API_22_x86.ini file in $HOME\.android\avd

You’re receiving this error because Android Studio cannot find your emulator. The reason I’m getting this error is because I’m using my OneDrive as default.

C:\Users\Wortell\OneDrive\AppData\Local\Android\Sdk\tools\emulator.exe -avd Nexus_5_API_22_x86 -netspeed full -netdelay none
PANIC: HOME is defined but could not find Nexus_5_API_22_x86.ini file in $HOME\.android\avd
(Note: avd is searched in the order of $ANDROID_AVD_HOME,$ANDROID_SDK_HOME \.android\avd and $HOME\.android\avd)

error android studio emulator

Quick steps

  • Go to your home folder, and follow the next steps. They should be almost the same: C:\Users\wortell\OneDrive\.android\avdnexus emulator
  • Copy the android emulators
  • Go to C:\%username%\.android\avd
  • Paste them in there
  • Open Android Studio and try to run an emulator.

Is it now working or are you getting a different error? please comment below the error and I’ll try to help you.

Did this post help you out? Please share on social media.


are you following my blog and you’ve no idea what android studio is?

Android Studio is an integrated development environment (IDE) for developing for the Android platform. It was announced on May 16, 2013 at the Google I/O conference. Android Studio is freely available under the Apache License 2.0.

Android Studio was in early access preview stage starting from version 0.1 in May 2013, then entered beta stage starting from version 0.8 which was released in June 2014. The first stable build was released in December 2014, starting from version 1.0.

Based on JetBrains’ IntelliJ IDEA software, Android Studio is designed specifically for Android development. It is available for download on Windows, Mac OS X and Linux, and replaced Eclipse Android Development Tools (ADT) as Google’s primary IDE for native Android application development.

Source: Wikipedia.org