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: 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 notification is still annoying as hell. How could this function be useful you ask? Well sometimes when you’re in a public area at for example a Starbucks, they have a public WiFi you can use while you’re sipping your coffee.

Below I’ve made a shot guide and a step by step guide with screenshots to disable android wifi notification.

The notification:

android wifi notification
Android wifi notification

Short guide:

  1. Go to your settings
  2. Find Quick Settings
  3. Click on Wi-Fi
  4. Find the 3 Dots button and open the tab.
  5. Go to Advanced
  6. Find Network notification
  7. Uncheck the box

long guide (Screenshots): Let’s Disable android wifi notification

It’s actually quite easy to disable this notification, but for those we cannot solve this with the short guide: I’ve also made a long guide with screenshots. So lets just begin with the tutorial.

Go to:

  • Open your settings.
  • Swipe to Quick settings.
  • Select the Wi-Fi button.

See the screenshot below:

wifi notification
Wifi notification

After you’ve opened Wi-Fi, Click on the 3 dots in the top right corner.
Open the Advanced button.

wifi available android
Wifi available android

Here you’ll find some advanced settings for your Wi-Fi connection.
We need the Network Notification button.

“Receive notifications when open networks in range are detected”

wifi notification android
Wifi notification android

Turn the wifi notification Android off by unchecking the box next to Network Notification.

For more Android Tutorials go here!
If you have a question about something else that is related to Android or your phone, please contact me at info@baswijdenes.com.
Please leave a comment if you need more help or just appreciate my post! Feedback is always welcome.

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: delete outlook app 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

delete outlook app
Delete outlook app

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.

Short version – Delete outlook app android tutorial

  • 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 – Remove outlook app android tutorial

  • Go to “settings”. Mine is on my start screen. Go to “Apps” and search for “Settings” there if you cannot find it.
delete outlook app
Delete outlook app
  • Find the “general tab” and scroll to “Security”.
delete outlook android
Delete outlook android
  • Click on “device Administrators”
remove outlook app
Remove outlook app
  • Un-check box next to “outlook Device Policy”.
remove outlook android
Remove outlook android
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.

If you need any more help please do not hesitate to comment below. I’ll try to get in contact with you as soon as possible.

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.

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

TUTORIAL: Run Android in VirtualBox

Would you like to run Android on your device, but do not want to uninstall your main OS? Then VirtualBox is the solution for you. You can install OS in Virtualbox which will run as a Virtual Machine on your main device.

Running Android in VirtualBox will allow you to test your apps or try out different interfaces. You could use the VM as a test lab for Android.


run android in virtualbox | what do we need?
  • …VirtualBox, download here (Windows) directly or go to virtualbox.org.
  • An Android ISO. Download here (sourceforge) directly or go to android-x86.org.
  • A main OS with at least 5Gb Hard drive and 512Mb RAM.

Installing VirtualBox. 

Click on run and follow the next steps.

welcome to oracle VM

Keep all options, it does not use too much space.

Custom setup

Warning: Network interfaces | This will disconnect your network be sure you have saved everything that has to do with your internet connection.

warning network interfaces

The options below are what you prefer.

custom setup 2

Click on ‘install’ to ‘install’ ‘Oracle VM VirtualBox 5.0.4 Setup’…

ready to install

You’ve finished the Setup Wizard. Keep ‘Start Oracle VM’ checked and click on finish.

VM installation is complete

In this screen you can create a new VM to run an operating system in.

virtualbox-new-android

Name and operating system

  • Name: Pick whatever you like. I’m naming mine Android.
  • Type: Pick Linux.
  • version: Pick highest  Linux 2.6.

android-linux

You need at least 512Mb to run Android, but the more RAM the smoother your Android VM will run.

RAM virtual machine

Create a virtual hard disk now…

create virtual machine hard disk

Choose VDI as hard disk type. It’s just for testing anyway.

hard disk file type

Read the explanation and pick what you like better. I’m going for dynamically allocated.

storage on physical hard disk

As you can see I’m going for 8Gb. This is an option you can always change later. (Ever had trouble with not enough space for new apps?)

File Location and size android

  1. Make sure you’ve clicked on the Android VM.
  2. Click on ‘settings’.

Open settings

Follow the numbers and open the Android ISO.

Choose ISO

Start your Android VM with the ‘start’ button.

Select ‘Installation – Install Android-x86 to hard disk‘  with the arrow keys.

android live installation

Select the virtual hard disk you made in VirtualBox.

Virtualbox harddik

Select ext3 as file system.

android vm ext3

Select Yes to continue

Chose to format sda to ext3 yes

Do you want to install boot loader GRUB? Select Yes to continue.

install-boot-loader-grub

Select yes

EF1 GRUB2

Select yes again…

Chose to format sda to ext3 yes

It’s because I’ve been screenshot-ting everything I’m screenshot-ting this. Select Yes

install as read-write

Select yes since you’ve had to select at least 4Gb of space a few steps back.

free-512mb

Ok I missed a screenshot here.. please click select, and ‘run android-x86’ after that.

run android -x86

Remove the ISO from the CD/DVD -drive or your Android VM will boot the ISO again. Please follow the numbers.

remove ISO

Congratulations! you’ve installed Android in VirtualBox. From here you can follow the steps yourself since this are personal preference. 

Welcome to android

You’ve installed a complete Android device. Complete with Gmail, Google Maps, and more. You even have the Play store to install more Apps! Remember that the operating system is for touchscreen devices. Your mouse and cursor will work, but not smooth.

It’s quite easy isn’t it? Please leave a comment below with tips and tricks you’re using! Also if this post has helped you, please share it on social media!

TUTORIAL: Change your website into an Android App

WHY WOULDN’T YOU USE AN APP GENERATOR?

We could use an app generator yes, but don’t you want to create your own app and earn the revenue yourself? Appsgeyser is one of the best, I got to give you that. Yet it isn’t that hard to create your own website app!

I created my own app with Appsgeyser. The problem was that they want some of the revenue & also had their own menu in my app. I don’t blame them for that of course, that’s how they get their money.

Anyway, I did some researching since I really wanted an app. I found out I couldn’t create an Iphone app on a windows device.

TUTORIAL: Change website into App

why wouldn’t you use an app generator?

We could use an app generator yes, but don’t you want to create your own app and earn the revenue yourself? Appsgeyser is one of the best, I got to give you that. Yet it isn’t that hard to create your own website app!

I created my own app with Appsgeyser. The problem was that they want some of the revenue & also had their own menu in my app. I don’t blame them for that of course, that’s how they get their money.

Anyway, I did some researching since I really wanted an app. I found out I couldn’t create an Iphone app on a windows device.

But with the Android Studio it was actually easier to create an ‘In-browser app’ to go to your Blog then I thought it would be.

This tutorial is for Android Apps only.


before we start

Before we start we going to need a few things.

install jdk

Now you’ve installed the Android Studio and Java Development kit we can start.


Change website into App… the start

Continue reading TUTORIAL: Change website into App