Support for linking with Google Play Services, also fixed Proguard config
This commit is contained in:
@@ -220,6 +220,7 @@ public class MainActivity extends Activity
|
||||
Intent intent = new Intent(this, DummyService.class);
|
||||
startService(intent);
|
||||
}
|
||||
_cloudSave = new CloudSave(this);
|
||||
}
|
||||
|
||||
public void setUpStatusLabel()
|
||||
@@ -425,6 +426,24 @@ public class MainActivity extends Activity
|
||||
System.exit(0);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void onStart() {
|
||||
super.onStart();
|
||||
_cloudSave.onStart();
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void onStop() {
|
||||
super.onStart();
|
||||
_cloudSave.onStop();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onActivityResult(int request, int response, Intent data) {
|
||||
super.onActivityResult(request, response, data);
|
||||
_cloudSave.onActivityResult(request, response, data);
|
||||
}
|
||||
|
||||
public void showScreenKeyboardWithoutTextInputField()
|
||||
{
|
||||
if( !keyboardWithoutTextInputShown )
|
||||
@@ -1216,6 +1235,7 @@ public class MainActivity extends Activity
|
||||
private LinearLayout _layout = null;
|
||||
private LinearLayout _layout2 = null;
|
||||
private Advertisement _ad = null;
|
||||
public CloudSave _cloudSave = null;
|
||||
|
||||
private FrameLayout _videoLayout = null;
|
||||
private EditText _screenKeyboard = null;
|
||||
|
||||
Reference in New Issue
Block a user