Skip to content

Instantly share code, notes, and snippets.

{
"items":[
{
"itemId":"premiumBadge",
"expiresAt":1573747266,
"provider":"google"
},
{
"itemId":"emojisGrant",
"expiresAt":1573747266,
{
"data": [
{
"type": "segment-banner",
"id": 1,
"component": {
"customConfiguration": {
"dotsTintColor": "#FFFFFFFF",
"dotColor": "#80FFFFFF",
"dotsVisible": true,
<?xml version="1.0" encoding="utf-8"?>
<merge
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
<style name="TextAppearance.AppTheme.Body2" parent="TextAppearance.AppCompat.Body2">
<item name="font_style">roboto_medium</item>
</style>
package pl.pbednarz.myapplication;
import android.app.Dialog;
import android.content.DialogInterface;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.support.v4.app.DialogFragment;
import android.support.v4.app.Fragment;
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android" android:enterFadeDuration="200"
android:exitFadeDuration="200">
<item android:state_pressed="true">
<shape android:shape="rectangle">
<corners android:radius="5dp"/>
<solid android:color="@color/selected_blue"/>
<stroke
android:width="2dp"
android:color="@color/selected_blue"/>
public static final Map<String, String> currenciesToCountriesMap = new HashMap<String, String>() {{
put("COIN", "gg");
put("EUR", "eu");
put("USD", "us");
put("GBP", "uk");
put("PLN", "pl");
put("RUB", "ru");
put("AUD", "au");
put("CAD", "ca");
put("CZK", "cz");
<!DOCTYPE html>
<html>
<body>
<p><a href="mobiletest://www.w3schools.com/html/">Visit our HTML tutorial</a></p>
</body>
</html>
@pbednarz
pbednarz / SignatureCheck.java
Created March 16, 2016 19:39 — forked from scottyab/SignatureCheck.java
Simple Android signature check. It's not bullet proof but does increase the difficulty of backdooring the app
import android.content.Context;
import android.content.pm.PackageInfo;
import android.content.pm.PackageManager;
import android.content.pm.PackageManager.NameNotFoundException;
import android.content.pm.Signature;
public class TamperCheck {
//we store the hash of the signture for a little more protection
private static final String APP_SIGNATURE = "1038C0E34658923C4192E61B16846";
http://samsung-updates.com/details/20883/Galaxy_Ace_3_LTE/GT-S7275R/XEO/S7275RXXUAMJ1.html