This file contains 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
@SuppressWarnings("MissingPermission") | |
public class LocationTracker implements LocationListener { | |
private Context mContext; | |
private LocationManager mLocationManager; | |
private Callback mCallback; | |
public LocationTracker(Context context, Callback callback) { | |
this.mContext = context; | |
this.mCallback = callback; |
This file contains 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
F/jni_primitives.h:109 'detRetClass' Must be non NULL | |
A/native: terminating. | |
A/libc: Fatal signal 6 (SIGABRT), code -6 in tid 13904 (xyz.gateguard), pid 13904 (xyz.gateguard) |
This file contains 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
public String getCustomConfigFile(Context context) { | |
boolean isDebug = BuildConfig.DEBUG && PrefUtils.getBoolean(context, PrefUtils.USE_CUSTOM, false); | |
File cacheDir = context.getCacheDir(); | |
String cfg = ""; | |
// Enable management interface | |
cfg += "# Enables connection to GUI\n"; | |
cfg += "management "; | |
cfg += cacheDir.getAbsolutePath() + "/" + "mgmtsocket"; | |
cfg += " unix\n"; |
This file contains 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
public String getConfigFile(Context context, boolean configForOvpn3) { | |
boolean isDebug = BuildConfig.DEBUG && PrefUtils.getBoolean(context, PrefUtils.USE_CUSTOM, false); | |
File cacheDir = context.getCacheDir(); | |
String cfg = ""; | |
// Enable management interface | |
cfg += "# Enables connection to GUI\n"; | |
cfg += "management "; | |
cfg += cacheDir.getAbsolutePath() + "/" + "mgmtsocket"; |
This file contains 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
POST https://tsb.simulator.miapago.com/api/v2.0/consents/4a074/c36bb/accounts/1cc57068-afc8-4628-99d1-c6f0d83b04a7/balances | |
BODY | |
{ | |
"account":{ | |
"Account":[ | |
{ | |
"Identification":"30104700045652", | |
"Name":"Ian Black", | |
"SchemeName":"UK.OBIE.SortCodeAccountNumber" |
This file contains 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
{ | |
"account":{ | |
"Account":[ | |
{ | |
"Identification":"30104700045652", | |
"Name":"Ian Black", | |
"SchemeName":"UK.OBIE.SortCodeAccountNumber" | |
} | |
], | |
"AccountId":"1cc57068-afc8-4628-99d1-c6f0d83b04a7", |