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
private fun sendNotification(messageBody: String) { | |
val channelId = getString(R.string.default_notification_channel_id) | |
val defaultSoundUri = RingtoneManager.getDefaultUri(RingtoneManager.TYPE_NOTIFICATION) | |
val notificationBuilder = NotificationCompat.Builder(this, channelId) | |
.setSmallIcon(R.drawable.ic_stat_name) | |
.setContentTitle(getString(R.string.fcm_message)) | |
.setContentText(messageBody) | |
.setAutoCancel(true) | |
.setSound(defaultSoundUri) |
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 africastalking; | |
import com.africastalking.AfricasTalking; | |
import com.africastalking.PaymentService; | |
import com.africastalking.payment.Transaction; | |
import com.africastalking.payment.response.CheckoutResponse; | |
public class CheckTransaction { | |
public static void main(String[] args) { |
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
Privacy Policy | |
Kilifi Apartment Finder app is a Free app. This SERVICE is provided by ngangavic at no cost and is intended for use as is. | |
This page is used to inform visitors regarding my policies with the collection, use, and disclosure of Personal Information if anyone decided to use my Service. | |
If you choose to use my Service, then you agree to the collection and use of information in relation to this policy. The Personal Information that I collect is used for providing and improving the Service. I will not use or share your information with anyone except as described in this Privacy Policy. | |
The terms used in this Privacy Policy have the same meanings as in our Terms and Conditions, which is accessible at MyShop unless otherwise defined in this Privacy Policy. | |
Information Collection and Use |
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
<?php | |
if(isset($_POST['name'])&&isset($_POST['email'])&&isset($_POST['message'])){ | |
$name = $_POST["name"]; | |
$email = $_POST["email"]; | |
$message = $_POST["message"]; | |
$to = "[email protected]"; | |
$subject = "Message From $name"; | |
$headers = "From: $name ".$email; |
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
<?php | |
//Authenticate your app-----Access Token | |
$consumerKey=''; | |
$consumerSecret=''; | |
$headers=['Content-Type:application/json; charset=utf8']; | |
$url = 'https://sandbox.safaricom.co.ke/oauth/v1/generate?grant_type=client_credentials'; | |
$curl = curl_init($url); | |
curl_setopt($curl,CURLOPT_HTTPHEADER,$headers); | |
curl_setopt($curl,CURLOPT_RETURNTRANSFER,true); | |
curl_setopt($curl,CURLOPT_HEADER,false); |
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
Privacy Policy | |
MyShop app is a Free app. This SERVICE is provided by ngangavic at no cost and is intended for use as is. | |
This page is used to inform visitors regarding my policies with the collection, use, and disclosure of Personal Information if anyone decided to use my Service. | |
If you choose to use my Service, then you agree to the collection and use of information in relation to this policy. The Personal Information that I collect is used for providing and improving the Service. I will not use or share your information with anyone except as described in this Privacy Policy. | |
The terms used in this Privacy Policy have the same meanings as in our Terms and Conditions, which is accessible at MyShop unless otherwise defined in this Privacy Policy. | |
Information Collection and Use |
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.example.mpesaapi; | |
import android.os.Build; | |
import android.os.Bundle; | |
import android.os.StrictMode; | |
import android.view.View; | |
import android.widget.Button; | |
import android.widget.Toast; | |
import androidx.annotation.RequiresApi; |
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 java.net.InetAddress; | |
public class IpAddress { | |
public static void main(String args[]) throws Exception{ | |
InetAddress inetAddress = InetAddress.getByName("HOME-OFFICE"); | |
System.out.println(inetAddress.getHostAddress()); | |
} | |
} |
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
<?xml version="1.0" encoding="utf-8"?> | |
<vector xmlns:android="http://schemas.android.com/apk/res/android" | |
android:viewportWidth="700" | |
android:viewportHeight="35" | |
android:width="700dp" | |
android:height="35dp"> | |
<path | |
android:pathData="M111.85 14.61L118.88 28.65L104.83 28.65L90.79 28.65L97.81 14.61L104.83 0.56L111.85 14.61Z" | |
android:fillColor="#ffffff" /> | |
<path |
NewerOlder