Posts by Murillo Comino • 1,133 points
58 posts
-
1
votes2
answers167
viewsA: Recover Spinner’s position to use in another Spinner from another Acitivity
In Notaseditactivity.java I changed the method getSpinnerIndex for: public int getSpinnerIndex(Spinner spinner, String myString) { int index = 0; for (int i = 0; i < spinner.getCount(); i++) {…
-
1
votes2
answers167
viewsQ: Recover Spinner’s position to use in another Spinner from another Acitivity
I have a Banknote Registration App that has 1 spinner. Spinner contains card registration with Idcard, title and description (Saved in a "Card" table in the database). When save this register from…
-
0
votes1
answer631
viewsA: ERROR IN ANDROID STUDIO APP CLOSING WHEN RUNNING
So I tested here the problem can probably be in the folder "drawable/pause" The same mistake has happened to me. Check that you do not have any folder in "drawable-vxx" type res. What may be…
-
0
votes3
answers3871
viewsA: How to put hint on a spinner?
The simplest way I could find was this: Create a Textview or Linearlayout and place it together with Spinner in a Relativelayout. Initially the textview will have the text as if it were the tip…
-
0
votes2
answers102
viewsA: Problems using camera, generate, edit and save image
For part of clicking the button and generating a new image without overwriting the previous one that was taken. I just removed: Intent intent = getIntent(); finish(); startActivity(intent); And I…
-
0
votes1
answer32
viewsA: Image being saved with poor quality
Some formats like PNG ignore the quality setting. Already tried with another image format?
-
3
votes2
answers102
viewsQ: Problems using camera, generate, edit and save image
I’m trying to create an app, and part of it is to use the camera phone to take a photo, which will automatically be decreased and saved in separate folders per year / mes/ imgHora.jpg. For older…
-
1
votes4
answers66
viewsQ: Add 0 to the left in an Arraylist <Integer>
Hello, this code returns 6 values between 1 and 60 without repeating and in order. But for numbers smaller than 10 I would like to add 0 before type: 01,02...10. I tried using String.format() but it…
javaasked Murillo Comino 1,133