Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Android Build a Self-Destructing Message Android App Using Fragments for Tabs How Fragments are Used as Tabs

like I love api of parse.com for all but it does not support video calling,,Can 2 or more api be used in one app?

I want to know wether 2 more api can be used in a single app...If yes than how ?

2 Answers

Yes, you can use as many API as you require. But getting them to talk to each other may cause headaches and your users are likely to have to sign in to each which isn't a great user experience. Sharing data between the APIs is likely to need to use your app as a middle-man which means lots more data traffic and risks of errors. There would also be a large risk of significant data duplication across both APIs.

It would be best to select the API that does what you need and use that one rather than using parts of more than one API.

I hope that helps.

Steve.

Izaak Prats
Izaak Prats
4,149 Points

Not too familiar (yet!) with Android, but to simply incorporate more API, wouldn't you just find the compile line available for your build.gradle file? Then access the API as necessary.