These are chat archives for Trinea/android-open-project

22nd
Dec 2016
Mohammed Rampurawala
@mohammed-rampurawala
Dec 22 2016 02:22
@SeonSarkar Please provide exactly what you want to do
?
Mohammed Rampurawala
@mohammed-rampurawala
Dec 22 2016 02:34
You can try EventBus else for specific to android you can go with bindService mechanism
ayush18verma
@ayush18verma
Dec 22 2016 08:16
@nitinvats03_twitter You can check programmatically under onCreate of MainActivity :-
By using the package name of your application.
//Put the package name here...
boolean installed = appInstalledOrNot("com.Ch.Example.pack");
if(installed) {
//This intent will help you to launch if the package is already installed
Intent LaunchIntent = getPackageManager()
.getLaunchIntentForPackage("com.Ch.Example.pack");
startActivity(LaunchIntent);
        System.out.println("App is already installed on your phone");         
    } else {
        System.out.println("App is not currently installed on your phone");
    }
@SeonSarkar Do you want to bindServices from Client Side or Server Side ???