-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
71 additions
and
15 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -1,8 +1,40 @@ | ||
package co.opensi.kkiapay_sdk; | ||
|
||
import android.os.Bundle; | ||
import android.support.annotation.Nullable; | ||
import android.support.v7.app.AppCompatActivity; | ||
|
||
import org.jetbrains.annotations.NotNull; | ||
|
||
import co.opensi.kkiapay.KKiapayCallback; | ||
import co.opensi.kkiapay.KkiaPay; | ||
import co.opensi.kkiapay.STATUS; | ||
import co.opensi.kkiapay.Subscriber; | ||
import kotlin.Unit; | ||
import kotlin.jvm.functions.Function2; | ||
|
||
/** | ||
* Created by geecko on 6/4/18. | ||
*/ | ||
|
||
public class MA { | ||
public class MA extends AppCompatActivity { | ||
|
||
|
||
@Override | ||
protected void onCreate(@Nullable Bundle savedInstanceState) { | ||
super.onCreate(savedInstanceState); | ||
|
||
KkiaPay manager = new KkiaPay(""); | ||
|
||
Subscriber subscriber = new Subscriber("22967434270","ALI","SHAD"); | ||
|
||
manager.to(subscriber) | ||
.take(1500, new KKiapayCallback() { | ||
@Override | ||
public void onResponse(@NotNull STATUS status, @NotNull String phone) { | ||
|
||
} | ||
}); | ||
|
||
} | ||
} |
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 |
---|---|---|
@@ -1,3 +1,4 @@ | ||
<resources> | ||
<string name="app_name">KKIAPAY-ANDROID-SDK</string> | ||
<string name="title_activity_main2">Main2Activity</string> | ||
</resources> |
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