Nearby Share, How to Activate?, The New Airdrop Equivalent for Android

Google recently rolled out its Nearby share feature, which lets you share files between android device without any trouble seamlessly. The android community has long been asking for an Android equivalent for IOS feature Airdrop. This announcement came not long after the government of India banned the two most used file transfer apps used here in India.

How Nearby Share Works

With Nearby Share, Android users can quickly share files to nearby users with the tap of a button. After tapping the “share” button in an app, users can share file(s) by selecting the “Nearby Share” option. Nearby users will then get a notification that someone wants to share content with them. Users will always have the option to “accept” or “decline” the file, so files are never transferred without explicit confirmation. After tapping “accept”, the file(s) are transferred using the best available communication protocol: Bluetooth, Bluetooth Low Energy, WebRTC, or peer-to-peer WiFi. Thus, files can be shared even when the sender and recipient devices are both fully offline.

Nearby share works only if your contact is in the recipient’s phone, also we can change the visibility to a specific contact to further improve privacy.

We can choose who can share with us

Google announced that the nearby share functionality will roll out to Android users on Android 6.0 (Marshmallow) and above through a google play service update. As of now, nearby share is available only for google play service beta users.

Get Nearby Share Now!

The easiest way to get nearby share on your android device is to sign up for the google play services bet program. Click on the link below and join the beta program.

Sign Up For Google Play Beta

Beta Tester for Google play

After you’re a beta tester wait for the beta update to arrive, and after the update, nearby share will automatically roll out to you after some time.

Nearby share can also be used to share files from android to chromebooks or vice-versa. If you found this article helpful, please share it with your Friends.

Set Up C Compiler On Your Windows 10 Desktop Using WSL (For CS Students)

With the release of WSL (Windows Subsystem for Linux), we can install a Linux machine inside windows itself without going through the hassle of setting up a virtual machine or dual booting.

You can run the Ubuntu terminal inside windows just like you open an app.

Before we begin installing WSL make sure you are running on windows 10 version 1607 or above, to check your version press WINDOWS + R which opens the run dialogue, type in winver and press enter.

Mine is version 2004 so I will proceed with the installation if you don’t have the recommended minimum version go to settings and update to the latest version of Windows 10.

Installing WSL

First step is to run windows Powershell as an administrator and run the following command and press enter

Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux

After the command has been completed do a system restart

After your PC is booted up open Windows PowerShell as administartor once again and run the following commands one after the other

dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
Running Commands

After the commands has been completed do a system restart

Now we are ready to install Ubuntu, the easiest and intended way to install Ubuntu is to go to the microsoft store and search for and download Ubuntu.

Ubuntu in Microsoft Store

Or If you are too lazy to download from the store, Click on the download button to download the installer from here.

DOWNLOAD UBUNTU

After it is downloaded, Install and open it

Set Up a Username and password for your Ubuntu System (The password won’t show while you are typing)

Setting Up Ubuntu

Now we’ll install our compiler, for that run the following command and enter your password when prompted.

sudo apt install gcc

When prompted with this: “Do you want to continue? [Y/n]” type y and press enter

Installing GCC Compiler

It’s Going to take a while. After it is done, your C compiler is ready,

Do your C program in the text editor of your choice, I recommend sublime text or Visual Studio Code. For this article I will use Notepad.

C Program

Save the file as yourname.c , the next step is to compile the program, for that open the folder that contains the C file and Hold down on shift key and right click on the mouse. You’ll see an option “Open Linux Shell Here” clicking on it will open up Ubuntu.

Open Linux Shell Here

Now type in the following commands to compile your program, the syntax should be ” gcc yourname.c ” and to run the program ” ./a.out ” . In this case the command is

gcc abc.c
./a.out
Program Compiled

There you go, your C compiler with WSL is set up and ready to go, please share this article with your friends who are looking for a good C compiler for windows 10.