This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Public Speaking Delivery Skills:::https://www.udemy.com/certificate/UC-73c79e93-95a2-409c-bd1f-864358f64a9e/ | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.chamsmobile.android.features.accountcreation.agent.presentation.ui | |
import android.Manifest | |
import android.annotation.SuppressLint | |
import android.content.BroadcastReceiver | |
import android.content.Context | |
import android.content.Intent | |
import android.content.IntentFilter | |
import android.content.IntentSender | |
import android.content.pm.PackageManager |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Smart Fruit Care(SFC) is an AI Based app, that detects a fruit via camera and gallery and retrieve some cool features of the fruit. | |
such as: | |
**Health Benefits. | |
**Historical Background. | |
**Botanical Name | |
**Species etc. | |
For this features to be implemented in the app, Camera permission will be requested by the users of the app. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. How to Get the Current Location Through the Android Application in Kotlin | |
https://medium.com/swlh/how-to-get-the-current-location-through-the-android-application-in-kotlin-and-then-save-the-e3a977059f15 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//runtime permission check for location | |
fun checkPermission(): Boolean{ | |
return ActivityCompat.checkSelfPermission(this, Manifest.permission.ACCESS_FINE_LOCATION) == PackageManager.PERMISSION_GRANTED | |
} | |
//request permission | |
fun requestPermission(){ | |
ActivityCompat.requestPermissions(this, | |
arrayOf(Manifest.permission.ACCESS_FINE_LOCATION), | |
locationPermissionCode) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import android.Manifest | |
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 | |
import android.location.LocationManager | |
import android.provider.Settings | |
import androidx.appcompat.app.AppCompatActivity |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package lagrangecode.com.alausasabi.webnotifications; | |
import android.app.NotificationChannel; | |
import android.app.NotificationManager; | |
import android.app.PendingIntent; | |
import android.content.Context; | |
import android.content.Intent; | |
import android.graphics.BitmapFactory; | |
import android.media.RingtoneManager; | |
import android.net.Uri; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"product_list" : [ | |
{ | |
"category" : "Auto Care", | |
"description" : "GT02A is a Mini intelligent GPS Vehicle positioning terminal. It combines the GSM wireless communication technology and GPS positioning system technology,terminals using industrial-grade highly integrated design,intelligent power-saving and passive drift suppression,installation is simple,connect the power supply to start work immediately,wide inpute voltage range,wide applicable to all types of cars,motor cycles,electric cars,ships,etc., can provide all-weather,real-time vehicle positioning function,with global positioning service platform,you can achieve remote vehicle management", | |
"id" : "0", | |
"img1" : "https://i.ebayimg.com/images/g/BPcAAOSwl5Va9ZVB/s-l640.jpg", | |
"img2" : "https://images-na.ssl-images-amazon.com/images/I/51d4rMO5e3L._SX466_.jpg", | |
"img3" : "https://ae01.alicdn.com/kf/HTB1C6nSKpXXXXbvXpXXq6xXFXXXS/Quad-band-Vehicle-GPS-Tracker-GT02A-Realtime-Car-GSM-GPRS-GPS-Tracking-hidden-Car-Burglar-Alarm.jpg", | |
"insto |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Am trying to fetch all data from sqlite database based on a particular condition i.e i have a particular column name price that contact the product price | |
in format(3,000.00). | |
so my concern now is to perform a condition such as if price is less than 10,000, my query should return data base on the query.. | |
my implementation | |
Am using mvvm architecture. | |
this is my dao implementation(method to fetch data) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CREATE DATABASE student_management_system; | |
USE student_management_system; | |
CREATE TABLE student_details ( | |
student_id INT(20) NOT NULL UNIQUE PRIMARY KEY, | |
facaulty VARCHAR(100) NOT NULL, | |
elective_courses VARCHAR(200) NOT NULL, | |
required_courses VARCHAR(200) NOT NULL, | |
dept VARCHAR(70) NOT NULL, |
NewerOlder