Posts by Matheus Rohwedder • 146 points
14 posts
-
3
votes1
answer659
viewsQ: Save status of a Checkbox
I need to save the status of my Checkbox, they’re inside a Spinner, and every time I open Spinner he cleans the Checkbox. Admlistagem.java final String[] select_qualification = { "Todos", "1", "2",…
-
3
votes2
answers818
viewsQ: How to count the number of occurrences of a String in a Jsonarray?
I’m trying to show the occurrence of the strings of "specialty" that are in my JSON, however, when I try to show the count of each "specialty" I cannot succeed. JSON [ { "id": "20", "medico":…
-
1
votes1
answer299
viewsA: How to recover several actions from one Active to another?
I’m using the Intent in my project and is working normal, at the time of receiving I am receiving so: Create the variable String url together with the class and then in the onCreate Bundle extras =…
-
1
votes1
answer44
viewsQ: Asynctask compare 2 jsons
I am trying to make my list view popular with a json, it check the information of another json and return me a link in which I will use to fill photos but everything goes right with you setar link…
-
0
votes1
answer49
viewsA: Settext returning to null
I think you could use this because I’m using this Bundle extras = getIntent().getExtras(); if (extras != null) { mIsbn = intent.getStringExtra("mIsbn"); mDesc = intent.getString("mDesc"); mAut =…
-
0
votes2
answers1054
viewsA: How to remove the background in a select option?
I don’t know if that’s what you want but I think the part about changing only the color of the text when the mouse goes over I think it would work with the Hover. .select_pt:hover {…
-
0
votes1
answer64
viewsQ: wrap_content is not working
I’m having an error with wrap_content on android on my Imagebutton I set the image directly from a URL EXAMPLE: ImageButton img = (ImageButton) findViewById(R.id.imageButton);…
-
1
votes3
answers308
viewsQ: Data Json on android
When running my app, it crashes when I try to read Json Mainactivity.java public class MainActivity extends AppCompatActivity implements NavigationView.OnNavigationItemSelectedListener { String…
-
0
votes2
answers55
viewsQ: Error adding Textview by programming
I’m having an error in creating Textviews by programming the application 'crasha' when arriving on the screen Mainactivity.java package com.example.matheus.login; import android.content.Intent;…
-
1
votes1
answer3070
viewsQ: Create Json for PHP based on Mysql
I wonder if anyone finds any error in my code because I’m trying to create a Json with PHP but it only returns NULL. My Host server uses PHP 5.6 <?PHP $host = "..."; $usuario = "..."; $senha =…
-
1
votes1
answer3095
viewsQ: Emulator without internet connection
Guys today I went to continue my application and noticed that the emulator was not connected to the Internet but I am still using the emulator Android Studio the Nexus 5 API 25.…
-
0
votes1
answer791
viewsQ: It is possible to last a variable in Strings.xml
I’m trying to get a string from the.xml string to replace a field on the screen, but I’ve been searching and I’m not being able to use it as a variable xml string. <string…
-
0
votes1
answer53
viewsQ: Navigation Activity
I would like some help when I open my Navigation Activity after login I get it like this: But I wish he was already called that with one of the pages marked like this: activity_main_drawer.xml…
-
-1
votes1
answer843
viewsA: best way to create a video gallery
You could use the CSS of Bootstrap organizing videos within classes as "col-Md-6" you can place two videos side by side in two Divs using this class.…