Posts by Hugo • 185 points
15 posts
-
1
votes1
answer99
viewsQ: Doubt python model creation machine Learning
I have a question in the creation of my machine model Learning. I want to create a model that provides me the PSS_Stress columns =…
-
1
votes0
answers314
viewsQ: The requested URL / was not found on this server
My .htacces <IfModule mod_rewrite.c> <IfModule mod_negotiation.c> Options -MultiViews </IfModule> RewriteEngine On # Redirect Trailing Slashes If Not A Folder... RewriteCond…
-
0
votes0
answers37
viewsQ: $request->input always returns null
Angularjs file $http({ method: 'POST', url: API_URL + "produto/update" + "/" + produtoSelecionado, data: $.param(obj), headers: { 'Content-Type': 'application/x-www-form-urlencoded' }…
-
0
votes1
answer61
viewsQ: wrong projection on the map
I’m trying to insert points into a layer using leaflet and save those points in a Postgres (Postgis) database. With the geoserver I can see the layer but the points appear to me all badly and I know…
-
0
votes1
answer130
viewsQ: Compare two drawables
Every time I click on my Imagebutton I want to compare his image with the drawable I have in Resources. imag.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View view)…
-
0
votes1
answer29
viewsQ: Get id Imageview on a Gridview
Images I want to put on Gridview private Integer[] imagens= { R.drawable.um, R.drawable.dois, R.drawable.tres, R.drawable.quatro, R.drawable.cinco, R.drawable.seis, R.drawable.sete, R.drawable.oito,…
-
1
votes1
answer145
viewsQ: Images in different types of screen
Right now I have these layout s to support the different screen sizes When I test the app on 4-inch or 4.5-inch devices, both will use the layout activity_main.xml which corresponds to normal size…
-
1
votes1
answer295
viewsQ: Save data to file in android internal memory
I need to record a set of variables: int var1,var2,var3 var4=new int[10], var5=new int[10], var6=new int[10] var7=new int[5][3],var8=new int[5][3] My goal was to record them all in order and then…
-
1
votes1
answer69
viewsQ: java.lang.Classcastexception error when using getSerializable() in API 16
I have 2 emulators, Nexus 5 API 23 and Nexus One API 16. In Nexus 5 the program runs right, in Nexus One the program crasha and the error that gives is Caused by: java.lang.ClassCastException:…
-
3
votes1
answer35
viewsQ: Get the drawable used as a Checkbox image
Whenever I have saved the image associated with a checkbox through the method imagem = minha_checkbox.getButtonDrawable(); always gives me a mistake called call requires API level 23 (current min is…
-
2
votes1
answer226
viewsQ: Pass int array 2d to another Activity
I have this array: int[][] meuArray= new int[5][3]; How do I send this array for another activity? If it were a array 1d was enough to make intent.putExtra("Array", meuArray); to send and the array…
-
4
votes1
answer78
viewsQ: Checkboxes in Alertdialog always return the same values
I have a AlertDialog with a custom layout with 2 checkboxes. But even if I click one of these checkboxes, by clicking the accept or cancel buttons (alert.setPositiveButton or the…
-
3
votes1
answer100
viewsQ: Know which checkbox is clicked
I have 20 static checkboxes, when I click on one of them I run a function through the onClick. This may be a stupid question, but how do I know exactly which of the 20 checkboxes was clicked? I…
-
0
votes1
answer126
viewsQ: Access variable inside Inner class
I’m new in android/java programming and then I came up with this error. public class Activity_2 extends AppCompatActivity { @Override protected void onCreate(Bundle savedInstanceState) {…
-
0
votes1
answer463
viewsQ: read from binary file to linked list c
Good people, I’m having a problem reading information from a binary file to enter it in memory on a linked list. PERGUNTAS val; lista_perguntas * aux = original->next; lista_perguntas * base =…