Skip to content

Instantly share code, notes, and snippets.

View MuhammadZohair's full-sized avatar
💻
Working 25 hours a day

Muhammad Zohair MuhammadZohair

💻
Working 25 hours a day
View GitHub Profile
@MuhammadZohair
MuhammadZohair / SecondayGpsTestActivity.java
Created February 28, 2025 14:45
2 buttons to switch on off for pins
/*
* Copyright (C) 2011 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
package io.senlab.cosmo.data.providers
data class LoggerDto(
var imei: String,
var imsi: String? = "",
var iccid: String? = "",
var eventType: String? = "",
var eventComment: String? = "",
var eventData: EventData?
package io.senlab.cosmo.data.providers
import android.content.ContentResolver
import android.content.Context
import android.net.Uri
import io.senlab.cosmo.utils.toBundle
class CosmoProviderManager(context: Context) {
private val contentResolver: ContentResolver = context.contentResolver
package io.senlab.cosmo.phone.linphone
import android.util.Log
import org.linphone.core.Account
import org.linphone.core.Address
import org.linphone.core.AudioDevice
import org.linphone.core.Call
import org.linphone.core.CallParams
import org.linphone.core.Core
import org.linphone.core.CoreListenerStub
package io.senlab.cosmo
import android.app.ActivityManager
import android.content.Context
import android.content.Intent
import android.media.RingtoneManager
import android.os.Environment
import io.senlab.cosmo.phone.linphone.LinphoneCoreService
import java.io.File
import java.io.FileOutputStream
package io.senlab.cosmo.phone.linphone
import android.content.Context
import android.os.Environment
import io.senlab.cosmo.CosmoUtils
import io.senlab.cosmo.data.DataStorePrefManager
import io.senlab.cosmo.data.DataStorePrefManagerConstants
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.GlobalScope
import kotlinx.coroutines.flow.catch
/*
* Copyright (c) 2010-2020 Belledonne Communications SARL.
*
* This file is part of io.senlab.cosmo.phone.linphone-android
* (see https://www.linphone.org).
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
@MuhammadZohair
MuhammadZohair / ReadMe.md
Last active March 5, 2023 19:00
Personal Portfolio Documentation

Muhammad Zohair - Portfolio

Hello, and welcome to my personal portfolio documentation! In this documentation I will cover the process and mechnism to create linking between front end and the backend.

Front end is created in Javascript using React JS framework while backend is created in JAVA using Spring Boot framework

If you have any questions please feel free to reach out on my email [email protected] or contact me using my phone number: +92 331 504 15 93.