i am unable to pass text using intent to another activity. unfortunately you app has stop

I try to pass data using intent and i keep getting error. everything else is working except for the intent 05-16 12:58:15.624 15880-15880/com.example.user.talk E/AndroidRuntime: FATAL EXCEPTION: main Process: com.example.user.talk, PID: 15880 java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.user.talk/com.example.user.talk.UpdateActivity}: java.lang.NullPointerException at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2318) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2396) at android.app.ActivityThread.access$800(ActivityThread.java:139) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1293) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:149) at android.app.ActivityThread.main(ActivityThread.java:5257) at java.lang.reflect.Method.invokeNative(Native Method) … Continue reading “i am unable to pass text using intent to another activity. unfortunately you app has stop”

How to make a phone call from a list view in Android Studio?

I have a list of peoples names and each is linked with a certain phone number from a JSON database. I am trying to make it so that every time they are clicked, it will call their number. Any suggestions on how to approach this? import android.content.Intent; import android.os.AsyncTask; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.util.Log; … Continue reading “How to make a phone call from a list view in Android Studio?”

Java.lang.verifyError android studio

I am just opening camera clicking a photograph, not using any library. The code was working fine suddenly this error showed up. Created new project, restarted Android studio, rebooted test device but same issue. Stack trace : 05-07 20:20:46.426 8271-8271/com.cameraprototype.findcamera E/AndroidRuntime: FATAL EXCEPTION: main Process: com.cameraprototype.findcamera, PID: 8271 java.lang.VerifyError: com/cameraprototype/findcamera/MainActivity at java.lang.Class.newInstanceImpl(Native Method) at java.lang.Class.newInstance(Class.java:1215) … Continue reading “Java.lang.verifyError android studio”

Qr code scan from gallery but just scanned qr with black and white color

I have project, I make scan Qr code from gallery image. it works fine. But my problem is my app scanned only qr with black and white color. when I trying to add others qr image with blue and white, it can’t read. This is my code //call the onactivity result method @Override protected void … Continue reading “Qr code scan from gallery but just scanned qr with black and white color”

Android: need uninstall because of existent package even it have not been installed before

I am running into this problem after I click on run to run an application for testing in my phone. Actually this problem require to uninstall the existed application but I have never installed it one time. Thank you for your help! Image: https://i.stack.imgur.com/dFUeP.png

Multiple Line Graphs in Fragment causes application Crash. Android Studio using Example Code

I’m using an example from MPAndroidChart (The Activity I am using as a template is called: ListViewMultiChartActivity ) I’m making a part of an application where I use fragments to show two views with graphs. My problem is with one of the fragments where I would like a list view with multiple graphs. I have … Continue reading “Multiple Line Graphs in Fragment causes application Crash. Android Studio using Example Code”

Gradle build error configuring project – Android Studio 2.3

After updating SDK build tools, error: Error:(1, 1) A problem occurred evaluating project ‘:app’. > java.lang.UnsupportedClassVersionError: com/android/build/gradle/AppPlugin : Unsupported major.minor version 52.0 I am getting the following error message when I try to run my code in Android Studio 2.3 Error:A problem occurred configuring project ‘:app’. Could not download junit.jar (junit:junit:4.12) Could not get resource … Continue reading “Gradle build error configuring project – Android Studio 2.3”

Mobile Application of a web page (Android Studio)

Is it possible to get data from a web site made with moodle and use it on android studio? I do not have access to API’s . I only have username and password for the site. Example: link to example moodle site <<<< is it possible to get data separately from that site after log-in … Continue reading “Mobile Application of a web page (Android Studio)”