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.djhs16.location; | |
import android.app.Activity; | |
import android.app.AlertDialog; | |
import android.content.BroadcastReceiver; | |
import android.content.Context; | |
import android.content.DialogInterface; | |
import android.content.Intent; | |
import android.content.IntentFilter; | |
import android.location.Location; |
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
final private String FCM_API = "https://fcm.googleapis.com/fcm/send"; | |
//server Key => get From Your Firbase account | |
final private String serverKey = "key=" + "AAAA......."; | |
final private String contentType = "application/json"; | |
final String TAG = "NOTIFICATION TAG"; | |
------------------------------------------------------------------------------------ | |
newMessageDoc.set(newChatMessage).addOnCompleteListener(task -> { | |
if (task.isSuccessful()) { |
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
String number = "+970598074212" | |
///////////////////////////////////////////////////////////// | |
btn_send_message_whatsapp.setOnClickListener(v -> { | |
onClickWhatsApp("970598074212");// hint without + | |
// if the number with + like +970598074212 | |
//using | |
//onClickWhatsApp(number.substring(1)); | |
}); | |
///////////////////////Open Whatsapp//////////////////////// |
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
https://play.google.com/store/apps/details?id=com.techzone.moshtapp | |
https://play.google.com/store/apps/details?id=com.app.linkme | |
https://play.google.com/store/apps/details?id=com.daleni.usersapp | |
https://play.google.com/store/apps/details?id=com.canny.canny.cannycustomer | |
https://play.google.com/store/apps/details?id=com.ahmedbadereldin.hp.phonexworkerapp | |
https://play.google.com/store/apps/details?id=com.techzone.shaghe | |
https://play.google.com/store/apps/details?id=com.ibtikarat.tahadi | |
https://play.google.com/store/apps/details?id=com.sanedapp.efhasapp | |
https://play.google.com/store/apps/details?id=com.eie.arfuf | |
https://play.google.com/store/apps/details?id=com.ennervoice.user |
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
When I needed to arrive for the first time to storage in Android 10 , I met many problems from this probleams : | |
Knowing that these problems after I give the permission. | |
* in this example using media-picker-android libray | |
Link : https://github.com/iamthevoid/media-picker-android | |
1- open failed: EACCES (Permission denied) | |
* when you show this probleam you need added this lines in your mainfist | |
<application | |
... |
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.techzone.moshtapp.chating; | |
import android.content.Intent; | |
import android.os.Bundle; | |
import android.util.Log; | |
import android.view.LayoutInflater; | |
import android.view.View; | |
import android.view.ViewGroup; | |
import android.widget.Button; | |
import android.widget.EditText; |
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
// ApiInterface | |
@Multipart | |
@POST("user/add-image") | |
Call<ResultAPIModel<MemberModelX>> uploadProfileImage(@HeaderMap() Map<String, Object> headerParams, @Part MultipartBody.Part image); | |
public void uploadImage(String uri) { | |
File file = new File(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
#-------- | |
-keep class com.jumio.** { *; } | |
-keep class jumio.** { *; } | |
-keep class com.microblink.** { *; } | |
-keep class com.microblink.**$* { *; } | |
-keep class com.facetec.zoom.** { *; } | |
-keep class org.jmrtd.** { *; } | |
-keep class net.sf.scuba.** {*;} | |
-keep class org.bouncycastle.** {*;} |
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.ennervoice.user.Utils; | |
import android.content.Context; | |
import android.content.pm.PackageManager; | |
import android.content.pm.PackageManager.NameNotFoundException; | |
import android.content.pm.Signature; | |
import java.security.MessageDigest; | |
import java.security.NoSuchAlgorithmException; |
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
Map<String, File> multiPartFileMap = new HashMap<>(); | |
if (!PathHolder.equals("")) { | |
multiPartFileMap.put("attachment", new File(PathHolder)); | |
} | |
Map<String, String> parames = new HashMap<>(); | |
parames.put("name", name); | |
parames.put("email", email); | |
parames.put("message", details); | |
parames.put("subject", subject); |
OlderNewer