Skip to content

Instantly share code, notes, and snippets.

// Java Program to illustrate reading from Text File
// using Scanner Class
import java.io.*;
import java.util.Hashtable;
import java.util.Scanner;
public class Main {
// Returns index of x if it is present in arr[l..
@AmrAbuelhamd
AmrAbuelhamd / UsingLocation.java
Created July 18, 2018 11:43
this guest checks weather you are inside particular area or no
package testing.gps_location;
import android.Manifest;
import android.annotation.SuppressLint;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.location.Location;
import android.location.LocationListener;
package com.example.amromohamed.studentpart;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Date;
/**
* Created by amr mohamed on 4/18/2018.
*/