Can't dial a phone on the event of a button press in Android Studio
问题 In my android app, I have a navigation drawer with a few buttons that open different fragments with associated layouts. One of the buttons is supposed to call a function which in theory should perform a phone dial. It just doesn't seem to work. Nothing happens, and the navigation drawer just closes. I already implemented this permission in the manifest, which should do the work for the sake of permissions: <uses-permission android:name="android.permission.CALL_PHONE"></uses-permission> My