on 12-19-2013 6:33 AM
Im try to use Sybase Unwired Platform with generated code for Android. I have exception in folowing code:
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
Application app = Application.getInstance();
String AppName = "timesheets";
if (app.getApplicationIdentifier() == null)
app.setApplicationIdentifier(AppName);
if (app.getApplicationContext() == null)
app.setApplicationContext(this); //Place where app crashes
Debug window look like
All crashes after begining of execution of that line:
Why it crashed?
which android version you are working on?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Upgrade the Android SDK (using SDK manager) to the latest version and run the app. Hope that solves this issue.
- Midhun VP
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.