This file contains hidden or 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
| const express = require('express') | |
| var bodyParser = require('body-parser') | |
| const app = express() | |
| const pool = require('./db'); | |
| app.use(express.json()); | |
| // parse application/x-www-form-urlencoded | |
| app.use(bodyParser.urlencoded({ extended: false })) |
This file contains hidden or 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.friendlygroup.mrfriendlydriver.service.fcm | |
| import android.app.* | |
| import com.friendlygroup.mrfriendlydriver.FriendlyGroupDriver | |
| import com.friendlygroup.mrfriendlydriver.service.data.PushNotificationMessage | |
| import com.google.firebase.messaging.FirebaseMessagingService | |
| import com.google.firebase.messaging.RemoteMessage | |
| import android.content.Intent | |
| import android.media.RingtoneManager | |
| import android.support.v4.app.NotificationCompat |
This file contains hidden or 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.friendlygroup.mrfriendlydriver; | |
| import android.app.Notification; | |
| import android.app.NotificationChannel; | |
| import android.app.NotificationManager; | |
| import android.app.Service; | |
| import android.content.Context; | |
| import android.content.Intent; | |
| import android.graphics.Color; | |
| import android.location.Location; |
This file contains hidden or 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.app.Activity; | |
| import android.content.Context; | |
| import android.content.Intent; | |
| import android.os.Bundle; | |
| import android.os.Handler; | |
| import android.support.v4.app.Fragment; | |
| import android.support.v7.widget.LinearLayoutManager; | |
| import android.support.v7.widget.RecyclerView; | |
| import android.text.Editable; | |
| import android.text.TextUtils; |
This file contains hidden or 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 void newFile(File file, String text, String jobid) { | |
| FileWriter writer; | |
| try { | |
| writer = new FileWriter(file, false); // true = Append to file, | |
| writer.write(text); | |
| writer.close(); | |
| Log.e("write", "== Success == " + jobid); |
This file contains hidden or 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.example.bas.jobintentservicepod; | |
| import android.app.job.JobInfo; | |
| import android.app.job.JobScheduler; | |
| import android.content.ComponentName; | |
| import android.os.Build; | |
| import android.support.annotation.RequiresApi; | |
| import android.support.v7.app.AppCompatActivity; | |
| import android.os.Bundle; | |
| import android.view.View; |
This file contains hidden or 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
| <?xml version="1.0" encoding="utf-8"?> | |
| <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
| android:layout_width="match_parent" | |
| android:layout_height="match_parent" | |
| android:background="#19305b" | |
| android:orientation="vertical"> | |
| <FrameLayout | |
| android:id="@+id/contentContainerMain3" | |
| android:layout_width="match_parent" |
This file contains hidden or 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 th.co.octagoninteractive.wrapvertise.ui.fragment; | |
| import android.graphics.Color; | |
| import android.os.Bundle; | |
| import android.support.annotation.Nullable; | |
| import android.support.v4.app.Fragment; | |
| import android.support.v4.app.FragmentTransaction; | |
| import android.support.v7.app.AppCompatActivity; | |
| import android.util.Log; | |
| import android.view.LayoutInflater; |
This file contains hidden or 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.simat.trakingonservice; | |
| import android.app.ActivityManager; | |
| import android.app.ActivityManager.MemoryInfo; | |
| import android.app.Notification; | |
| import android.app.PendingIntent; | |
| import android.app.Service; | |
| import android.content.BroadcastReceiver; | |
| import android.content.ContentResolver; |
This file contains hidden or 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 th.co.octagoninteractive.wrapvertise.service; | |
| import android.Manifest; | |
| import android.app.Service; | |
| import android.content.Intent; | |
| import android.content.pm.PackageManager; | |
| import android.location.Location; | |
| import android.os.Build; | |
| import android.os.Bundle; | |
| import android.os.Handler; |
NewerOlder