This file contains hidden or 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.ethanf.admob.enablefeature; | |
| import android.content.Context; | |
| import android.util.Log; | |
| import android.view.View; | |
| import com.google.ads.*; | |
| import com.google.ads.AdRequest.ErrorCode; | |
| public class ExActivity extends Activity { |
This file contains hidden or 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
| <Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _ | |
| Partial Class frmRandomNumber | |
| Inherits System.Windows.Forms.Form | |
| 'Form overrides dispose to clean up the component list. | |
| <System.Diagnostics.DebuggerNonUserCode()> _ | |
| Protected Overrides Sub Dispose(ByVal disposing As Boolean) | |
| Try | |
| If disposing AndAlso components IsNot Nothing Then | |
| components.Dispose() |
This file contains hidden or 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.ethanf.admob.enablefeature; | |
| import android.content.Context; | |
| import android.util.Log; | |
| import android.view.View; | |
| import com.google.android.gms.ads.*; | |
| public class ExActivity extends Activity { | |
| private Context context; |
This file contains hidden or 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.ethanf.in_app_billing_ex; | |
| import java.util.ArrayList; | |
| import org.json.JSONException; | |
| import org.json.JSONObject; | |
| import com.android.vending.billing.IInAppBillingService; | |
| import android.os.Bundle; |
This file contains hidden or 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.ethanf.in_app_billing_ex2; | |
| import com.ethanf.in_app_billing_ex2.util.IabHelper; | |
| import com.ethanf.in_app_billing_ex2.util.Inventory; | |
| import com.ethanf.in_app_billing_ex2.util.IabResult; | |
| import com.ethanf.in_app_billing_ex2.util.Purchase; | |
| import com.ethanf.in_app_billing_ex2.util.SkuDetails; | |
| import android.os.Bundle; | |
| import android.app.Activity; |
This file contains hidden or 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
| <Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _ | |
| Partial Class frmBGWorker | |
| Inherits System.Windows.Forms.Form | |
| 'Form overrides dispose to clean up the component list. | |
| <System.Diagnostics.DebuggerNonUserCode()> _ | |
| Protected Overrides Sub Dispose(ByVal disposing As Boolean) | |
| Try | |
| If disposing AndAlso components IsNot Nothing Then | |
| components.Dispose() |
This file contains hidden or 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 org.myorg; | |
| import java.io.IOException; | |
| import java.util.*; | |
| import org.apache.hadoop.fs.Path; | |
| import org.apache.hadoop.conf.*; | |
| import org.apache.hadoop.io.*; | |
| import org.apache.hadoop.mapred.*; | |
| import org.apache.hadoop.util.*; |
This file contains hidden or 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
| getprop("ro.product.device") == "flounder" || abort("This package is for \"flounder\" devices; this is a \"" + getprop("ro.product.device") + "\"."); | |
| ui_print("Verifying current system..."); | |
| getprop("ro.build.fingerprint") == "google/volantis/flounder:5.0/LRX21L/1546449:user/release-keys" || | |
| getprop("ro.build.fingerprint") == "google/volantis/flounder:5.0/LRX21Q/1573789:user/release-keys" || | |
| abort("Package expects build fingerprint of google/volantis/flounder:5.0/LRX21L/1546449:user/release-keys or google/volantis/flounder:5.0/LRX21Q/1573789:user/release-keys; this device has " + getprop("ro.build.fingerprint") + "."); | |
| apply_patch_check("EMMC:/dev/block/platform/sdhci-tegra.3/by-name/LNX:8020736:cb05bb08e37fa54271cc3f7986fa0f716f610499:8000256:3172d86057339cb034c308640c1d7f838fbbe0a7") || abort("\"EMMC:/dev/block/platform/sdhci-tegra.3/by-name/LNX:8020736:cb05bb08e37fa54271cc3f7986fa0f716f610499:8000256:3172d86057339cb034c308640c1d7f838fbbe0a7\" has unexpected contents."); | |
| # ---- start making changes |
This file contains hidden or 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
| <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
| xmlns:tools="http://schemas.android.com/tools" | |
| android:layout_width="match_parent" | |
| android:layout_height="match_parent" | |
| android:background="@color/background_color" | |
| android:paddingBottom="@dimen/activity_vertical_margin" | |
| android:paddingLeft="@dimen/activity_horizontal_margin" | |
| android:paddingRight="@dimen/activity_horizontal_margin" | |
| android:paddingTop="@dimen/activity_vertical_margin" | |
| tools:context=".MainActivity"> |
This file contains hidden or 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
| import java.io.IOException; | |
| import java.util.StringTokenizer; | |
| import org.apache.hadoop.conf.Configuration; | |
| import org.apache.hadoop.fs.Path; | |
| import org.apache.hadoop.io.IntWritable; | |
| import org.apache.hadoop.io.Text; | |
| import org.apache.hadoop.mapred.JobConf; | |
| import org.apache.hadoop.mapreduce.Job; | |
| import org.apache.hadoop.mapreduce.Mapper; |
OlderNewer