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
{ | |
"products" : [ | |
{ | |
"id" : "1", | |
"name" : "HDMI-Wall-Face-Plate-Single-Panel", | |
"description" : "The cable wall plate with HDMI Jack insert is a great solution for a customized installation.Wire your house cleanly and efficiently for audio / video with this dual port HDMI wall plate. You no longer have to resort to messy cables hanging out of an ugly hole in the wall. This wall plate is the perfect means for HDMI ports to remotely access HD displays or media sources.", | |
"price" : "2,000.00 ", |
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
{ | |
"details" : [ | |
{ | |
"id" : "1", | |
"title" : "Apostle Joshua Selman |The Person of the HOLYSPIRIT|Grand Finale 7 Days of Supernatural Encounters and Visitation", | |
"description" : "Apostle Joshua Selman |The Person of the HOLYSPIRIT|Grand Finale 7 Days of Supernatural Visitation and Encounter Powerful message from Apostle Joshua Selman as he round up 7 days of Supernatural Visitation and Encounter", | |
"url" : "https://youtu.be/W2y9BMwvDnM", | |
"mp3_download_link" : "https://sv27.onlinevideoconverter.com/download?file=f5d3a0b1f5h7h7c2" | |
}, | |
{ |
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
var ss = SpreadsheetApp.openByUrl("https://docs.google.com/spreadsheets/d/1Db2yUZ31WzqF2aeFs0bX1s6lDlb-8pBdYSQvRXlevMY/edit#gid=0"); //spreadsheet link | |
var sheet = ss.getSheetByName('details'); // be very careful ... it is the sheet name .. so it should match | |
function doPost(e){ | |
var action = e.parameter.action; | |
if(action =="update_user_details"){ | |
return update_user_details(e); |
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, |
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
{ | |
"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
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
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
//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
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 |
OlderNewer