Skip to content

Tag: android

Fragment cannot be converted to Fragment nextFragment

I am very new to android/java dev so bear with me a bit here. I am using and a button to load a Then on TestFragment.java I have So when the button btn_test is pressed, it goes to TestFragment.java, which then loads the fragment_test.xml layout – as far as I can tell. However, I want my TestFragment to …

Android Studio Retrofit Call Failure

I’m trying to use Retrofit in my app via Java. I’m using this worldtime API. You can call this URL in your browser to see the response : http://worldtimeapi.org/api/timezone/Europe/Istanbul (response comes too late, just refresh your browser) I added this line to my AndroidManifest.xml I added the…

I cant run the email intent code on my phone

enter image description here the email intent code is completely run in the android mobile model provided by android studio but when I run the code in my personal phone its not work… please answer ?? Answer Don’t forget to set the type of intent so it will trigger email clients