-
Notifications
You must be signed in to change notification settings - Fork 102
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
RSA KEY now a constant fixed in library.
Publishable key must not be null or empty and must start with pk_ TargetSdk is now 23 Robo Electric had to be updated to 3.1-SNAPSHOT (An unstable version) to continue working with it for testing Added explanations for most parameters
- Loading branch information
1 parent
aa0345a
commit 0df1adf
Showing
46 changed files
with
1,530 additions
and
1,579 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,33 +4,35 @@ | |
import android.content.Context; | ||
|
||
/** | ||
* Created by Segun Famisa {[email protected]} on 9/22/15. | ||
* The Example App | ||
* | ||
* This class allows us capture the application context and capture the app instance | ||
*/ | ||
public class App extends Application { | ||
|
||
private static Context sContext; | ||
private static Context sContext; | ||
|
||
private static App sInstance; | ||
private static App sInstance; | ||
|
||
@Override | ||
public void onCreate() { | ||
super.onCreate(); | ||
|
||
sInstance = this; | ||
sContext = getApplicationContext(); | ||
|
||
setAppContext(sContext); | ||
} | ||
|
||
public static Context getAppContext(){ | ||
public static Context getAppContext() { | ||
// if(sContext == null){ | ||
// return getApplica; | ||
// } | ||
|
||
return sContext; | ||
} | ||
return sContext; | ||
} | ||
|
||
private void setAppContext(Context context) { | ||
sContext = context; | ||
} | ||
|
||
@Override | ||
public void onCreate() { | ||
super.onCreate(); | ||
|
||
sInstance = this; | ||
sContext = getApplicationContext(); | ||
|
||
private void setAppContext(Context context){ | ||
sContext = context; | ||
} | ||
setAppContext(sContext); | ||
} | ||
} |
Oops, something went wrong.