Skip to content

Instantly share code, notes, and snippets.

View imrankst1221's full-sized avatar
🎯
Focusing

Md. Imran Choudhury imrankst1221

🎯
Focusing
View GitHub Profile
Privacy Policy:
InfixSoft built the AMAR KOTHA - AAC Bangla Voice app as a Free app. This SERVICE is provided by InfixSoft at no cost and is intended for use as is.This page is used to inform visitors regarding our policies with the collection, use, and disclosure of Personal Information if anyone decided to use our Service.If you choose to use our Service, then you agree to the collection and use of information in relation to this policy. The Personal Information that we collect is used for providing and improving the Service. We 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 AMAR KOTHA - AAC Bangla Voice unless otherwise defined in this Privacy Policy.
Information Collection and Use:
For a better experience, while using our Service, we may require you to provide us with certain personally identifiable information, including but not limited to Th
@imrankst1221
imrankst1221 / Bornomala privacy policy
Last active January 19, 2020 09:39
Bornomala android app privacy policy
Privacy Policy:
InfixSoft built the বর্ণমালা app as a Free app. This SERVICE is provided by InfixSoft at no cost and is intended for use as is.This page is used to inform visitors regarding our policies with the collection, use, and disclosure of Personal Information if anyone decided to use our Service.
If you choose to use our Service, then you agree to the collection and use of information in relation to this policy. The Personal Information that we collect is used for providing and improving the Service. We 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 বর্ণমালা unless otherwise defined in this Privacy Policy.
Information Collection and Use:
For a better experience, while using our Service, we may require you to provide us with certain personally identifiable information, including but not limited to No information collect form device. . The
Privacy Policy
InfixSoft built the CricGo - Live Cricket Scores, News & Game app as a Free app. This SERVICE is provided by InfixSoft at no cost and is intended for use as is.
This page is used to inform visitors regarding our policies with the collection, use, and disclosure of Personal Information if anyone decided to use our Service.
If you choose to use our Service, then you agree to the collection and use of information in relation to this policy. The Personal Information that we collect is used for providing and improving the Service. We 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 CricGo - Live Cricket Scores, News & Game unless otherwise defined in this Privacy Policy.
Information Collection and Use
Privacy Policy
InfixSoft built the Lalon Shah app as a Free app. This SERVICE is provided by InfixSoft at no cost and is intended for use as is.
This page is used to inform visitors regarding our policies with the collection, use, and disclosure of Personal Information if anyone decided to use our Service.
If you choose to use our Service, then you agree to the collection and use of information in relation to this policy. The Personal Information that we collect is used for providing and improving the Service. We 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 Lalon Shah unless otherwise defined in this Privacy Policy.
Information Collection and Use
@imrankst1221
imrankst1221 / WriteDataObjectOnFirestore
Created May 13, 2019 07:55
Write Data Object On Firestore
private fun writeDataOnFirestore(studentItem: StudentItem){
val student = HashMap<String, Any>()
student["name"] = studentItem.name
student["age"] = studentItem.name
student["address"] = studentItem.address
student["mobile_no"] = studentItem.mobile_no
mFirestore.collection("student_info").document("student_list")
.set(student)
.addOnSuccessListener { Log.d(TAG, "DocumentSnapshot successfully written!") }
.addOnFailureListener { e -> Log.w(TAG, "Error writing document", e) }
@imrankst1221
imrankst1221 / WriteDataOnFirestore
Created May 13, 2019 07:53
Write Data On Firestore
private fun writeDataOnFirestore(){
mFirestore.collection("student_info").document("student_list")
.set(studentInfo)
.addOnSuccessListener {
Toast.makeText(mContext, "DocumentSnapshot successfully written!", Toast.LENGTH_LONG).show()
Log.d(TAG, "DocumentSnapshot successfully written!")
initListView()
}.addOnFailureListener {
e -> Log.e(TAG, "Error writing document", e)
@imrankst1221
imrankst1221 / ReadDataFromFirestoreWithCondition
Created May 13, 2019 07:52
Read Data From Firestore With Condition
private fun readDataFromFirestore(ageCondition: Int){
mFirestore = FirebaseFirestore.getInstance()
mFirestore.firestoreSettings = FirebaseFirestoreSettings.Builder().build()
mFirestore
.collection("student_info")
.whereLessThan("age", ageCondition)
.get()
.addOnSuccessListener { documents ->
try {
@imrankst1221
imrankst1221 / ReadDataFromFirestore
Last active May 21, 2021 15:27
Read Data From Firestore
private fun readDataFromFirestore(){
mFirestore = FirebaseFirestore.getInstance()
mFirestore.firestoreSettings = FirebaseFirestoreSettings.Builder().build()
mFirestore
.collection("student_info").document("student_list")
.get()
.addOnSuccessListener { document ->
try {
if (document != null) {
//-------
public static final String BASE_URL = "https://lateralview.co";
public static final String HEADER_CACHE_CONTROL = "Cache-Control";
public static final String HEADER_PRAGMA = "Pragma";
private Context mContext;
//-------
@imrankst1221
imrankst1221 / MainActivity.kt
Created November 4, 2018 09:59
Subscribe to the Observable
@SuppressLint("CheckResult")
private fun loginApiCall(userID: String, userPassword: String){
if(UtilMethods.isConnectedToInternet(mContext)){
UtilMethods.showLoading(mContext)
val observable = ApiService.loginApiCall().doLogin(LoginPostData(userID, userPassword))
observable.subscribeOn(Schedulers.io())
.observeOn(AndroidSchedulers.mainThread())
.subscribe({ loginResponse ->
UtilMethods.hideLoading()