Support for linking with Google Play Services, also fixed Proguard config

This commit is contained in:
Sergii Pylypenko
2014-07-07 23:44:50 +03:00
parent d9209f01d7
commit 7b694f3d7a
16 changed files with 1660 additions and 98 deletions

View File

@@ -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;