# Check which app is currently open on device

**URL:** <https://discuss.appium.io/t/check-which-app-is-currently-open-on-device/7411>\
**Category:** Support\
**Created:** [December 8, 2015, 12:48am UTC](https://discuss.appium.io/t/check-which-app-is-currently-open-on-device/7411 "2015-12-08T00:48:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sandesh](https://discuss.appium.io/letter_avatar_proxy/v4/letter/s/d6d6ee/32.png) [@sandesh](https://discuss.appium.io/u/sandesh)\
**Post date:** [December 8, 2015, 12:48am UTC](https://discuss.appium.io/t/check-which-app-is-currently-open-on-device/7411/1 "2015-12-08T00:48:51Z")

</div>

I can launch app through appium and use that driver to do UI interaction through Python. But I am trying to launch app through python script. e.g. facebook app. Can I determine which app is currently open? Or can I use appium to do UI interaction on currently open app?

I want to know which app is currently open or which url is launched either in playstore on in browser? Can appium handle this or I need to use something else? Or can I use adb to pull this info?

---

<div class="post-metadata">

**Author:** ![sandesh](https://discuss.appium.io/letter_avatar_proxy/v4/letter/s/d6d6ee/32.png) [@sandesh](https://discuss.appium.io/u/sandesh)\
**Post date:** [December 8, 2015, 6:28pm UTC](https://discuss.appium.io/t/check-which-app-is-currently-open-on-device/7411/3 "2015-12-08T18:28:03Z")

</div>

thanks I found the way with appium `driver.current_activity`

---

<div class="post-metadata">

**Author:** ![VikramVI](https://discuss.appium.io/user_avatar/discuss.appium.io/vikramvi/32/116_2.png) [@VikramVI](https://discuss.appium.io/u/VikramVI)\
**Post date:** [January 24, 2017, 4:20pm UTC](https://discuss.appium.io/t/check-which-app-is-currently-open-on-device/7411/4 "2017-01-24T16:20:05Z")

</div>

similar topic

> [@How to use driver.currentActivity() with AppiumDriver?](https://discuss.appium.io/t/how-to-use-driver-currentactivity-with-appiumdriver/8766):
>
> Hi, I’m working on the latest java client 3.3.0 and I see that I can use driver.currentActivity() only when the main driver set to AndroidDriver. As I’m testing IOS and Android in the same project, I need to use AppiumDriver. How I can still work with driver.currentActivity()? can I use somthing else? please advice. thanks

I couldn’t find any inbuilt method for iOS native app, decided to check for element in app

Regards,  
Vikram
