Posts by Bruno Andrade • 11 points
3 posts
-
0
votes1
answer177
viewsQ: How do I recover a result from within the "onActivityResult" in my Activity
I’m trying to use the camera phone as a barcode reader. I can retrieve the barcode, and see the result inside the "onActivityResult", however, I need to take the result I got, to my main function,…
-
1
votes1
answer80
viewsA: Create spinner with dynamic values
Problem solved! The problem was on the line final Spinner spnocorrencia = view.findViewById(R.id.spnocorrencia); The variable view did not represent the view that my spinner was created. The…
-
0
votes1
answer80
viewsQ: Create spinner with dynamic values
I’m trying to create a spinner with dynamic values. It’s making a mistake when I try to set the Adapter in the spinner, follows below the error and my code. java.lang.NullPointerException: Attempt…