Skip to main content
Filter by
Sorted by
Tagged with
1 vote
1 answer
53 views

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 ...
ADITYA KUMAR's user avatar
1 vote
1 answer
267 views

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 ...
Tomasz Stępnik's user avatar
0 votes
1 answer
2k views

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 = "upi://pay?pa=fcbizpayg@...
Amit Yadav's user avatar
  • 34.9k