Skip to content

Instantly share code, notes, and snippets.

View iyashamihsan's full-sized avatar
😎
One commit a day keeps the R&D in a good way.

Yasham Ihsan iyashamihsan

😎
One commit a day keeps the R&D in a good way.
View GitHub Profile
@iyashamihsan
iyashamihsan / cursor pointer custom view layout for webview android tv
Created June 14, 2021 02:35
Android TV Webview app : mouse cursor pointer for webview android tv navigation and scrolling
package com.example.webviewtvapp;
import android.content.Context;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.graphics.Paint.Style;
import android.graphics.Point;
import android.graphics.PointF;
import android.os.Handler;
@iyashamihsan
iyashamihsan / BaseStation.java
Created April 29, 2019 11:59
An example to get cell towers info on Android
package com.mirrordust.gpscellinfodemo;
public class BaseStation {
private int mcc; // Mobile Country Code
private int mnc; // Mobile Network Code
private int lac; // Location Area Code or TAC(Tracking Area Code) for LTE