Questions tagged [resolveactivity]
3 questions
1
vote
1 answer
Hey I want to use Intent object everything is fine but when I click on submit it is not opening map app
Intent intent=new Intent(Intent.ACTION_VIEW);
intent.setData(Uri.parse("geo:47.6,-122.3"));
if(intent.resolveActivity(getPackageManager())!=null)
{
startActivity(intent);
}
I Tried this ScreenShot of Adnroid studio
Intent intent=new…

ADITYA KUMAR
- 13
- 2
1
vote
1 answer
Android 11<= resolveActivity
I work on improvement functionality for android app. There is a feature for making photo from app. And for andorid 11<=
takePictureIntent.resolveActivity(getPackageManager())
returns null. I know it's because of higher android version. But when I…

Tomasz Stępnik
- 87
- 1
- 11
0
votes
1 answer
Android intent.resolveActivity returns null in API 30
In our app we have payment gateway implementation. We are opening intent to open GPay, PhonePay, Paytm and other apps. Please find the below code snipped,
String url =…

Amit Yadav
- 32,664
- 6
- 42
- 57