Sammm
Sammm

Reputation: 531

Call application API inside an Android application

I have downloaded a file manager application called "AndExplorer" inside my Android emulator. My goal is to call this application inside my current custom application. Do you know any way to do this?

Upvotes: 0

Views: 581

Answers (1)

James
James

Reputation: 5642

Well, it depends, you could use Intents if AndExplorer allows, something like this:

public Button.OnClickListener mExplore = new Button.OnClickListener() {
    public void onClick(View v) {
        Intent intent = new Intent("com.path.to.ANDEXPLORER");
        startActivityForResult(intent, 0);
    }
};

public void onActivityResult(int possibleCode, int possibleOption, Intent intent) {
    //Process the data
    }
}

Edit: A quick Google, http://www.lysesoft.com/products/andexplorer/#faq

Upvotes: 2

Related Questions