Skip to content

Instantly share code, notes, and snippets.

View classiczires's full-sized avatar

saeed karimi classiczires

View GitHub Profile
@classiczires
classiczires / Signature and Cryptography sample
Created January 2, 2022 18:08
An example of signing a message and encrypting that message
class MainActivity : AppCompatActivity() {
private lateinit var iv: ByteArray
private lateinit var secretKeySpec: SecretKey
private lateinit var cipher: Cipher
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setContentView(R.layout.activity_main)
main()
}

My Day Application

Privacy Policy of My Day

Effective date: October 08, 2021

My Day ("us", "we", or "our") operates the My Day mobile application (the "Service").

This page informs you of our policies regarding the collection, use, and disclosure of personal data when you use our Service and the choices you have associated with that data.

We use your data to provide and improve the Service. By using the Service, you agree to the collection and use of information in accordance with this policy. Unless otherwise defined in this Privacy Policy, terms used in this Privacy Policy have the same meanings as in our Terms and Conditions.

@classiczires
classiczires / ZiresMusicPlayerPrivacyPolicy.md
Last active December 2, 2019 20:33
Privacy Policy of Zires Music Player

Zires Music Player

Privacy Policy of Zires Music Player

Effective date: December 02, 2019

Zires Music Player ("us", "we", or "our") operates the Zires Music Player mobile application (the "Service").

This page informs you of our policies regarding the collection, use, and disclosure of personal data when you use our Service and the choices you have associated with that data.

We use your data to provide and improve the Service. By using the Service, you agree to the collection and use of information in accordance with this policy. Unless otherwise defined in this Privacy Policy, terms used in this Privacy Policy have the same meanings as in our Terms and Conditions.

@classiczires
classiczires / build.gradle
Created October 22, 2019 07:43
Connect different servers in builds (debug or release) with Android Product Flavors
apply plugin: 'com.android.application'
android {
defaultConfig {
//.
//.
//.
}
buildTypes {
debug {