Created
June 27, 2017 19:01
-
-
Save korniltsev/fd88df6a5bb8bf0907f208ca912f0458 to your computer and use it in GitHub Desktop.
ok.diff
This file contains hidden or 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
| diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml | |
| index 6eb87b0..3dee761 100644 | |
| --- a/app/src/main/AndroidManifest.xml | |
| +++ b/app/src/main/AndroidManifest.xml | |
| @@ -45,6 +45,8 @@ | |
| </intent-filter> | |
| </activity> | |
| + <activity android:name="ru.ok.android.sdk.OkAuthActivity"/> | |
| + | |
| </application> | |
| </manifest> | |
| \ No newline at end of file | |
| diff --git a/app/src/main/java/com/example/valentin/ok_app/odnklas.java b/app/src/main/java/com/example/valentin/ok_app/odnklas.java | |
| index c352da2..dcb8163 100644 | |
| --- a/app/src/main/java/com/example/valentin/ok_app/odnklas.java | |
| +++ b/app/src/main/java/com/example/valentin/ok_app/odnklas.java | |
| @@ -47,7 +47,7 @@ public class odnklas extends AppCompatActivity { | |
| protected void onCreate(Bundle savedInstanceState) { | |
| super.onCreate(savedInstanceState); | |
| setContentView(activity_odnklas); | |
| - | |
| + odnoklassniki = Odnoklassniki.createInstance(this, APP_ID, APP_KEY); | |
| Toolbar toolbar = (Toolbar) findViewById(R.id.toolbar); | |
| setSupportActionBar(toolbar); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment