Skip to content

Instantly share code, notes, and snippets.

View iRYO400's full-sized avatar
๐ŸŽ„
Focusing

Akbolat Sadvakassov iRYO400

๐ŸŽ„
Focusing
  • Almaty, Kazakhstan
View GitHub Profile
@iRYO400
iRYO400 / Cache.java
Last active November 24, 2022 08:38 — forked from nikartx/Cache.java
Android. Example how to save an image file in the App cache and get Uri for it. The Image will not be saved in a device gallery, only in an internal App cache.
package com.github.example;
import android.content.Context;
import android.graphics.Bitmap;
import android.net.Uri;
import android.text.TextUtils;
import android.util.Log;
import androidx.annotation.Nullable;
import androidx.core.content.FileProvider;
@iRYO400
iRYO400 / ProductDetails.json
Created February 23, 2023 16:50
ProductDetails
{
"productId": "com.your.product.id",
"type": "subs",
"title": "Subscription title",
"name": "Subscription name",
"description": "Subscription description",
"localizedIn": [
"en-IN"
],
"skuDetailsToken": "AE*****83",