Questions tagged as 'android'

1
answer

Log in to the Wifi network through the application

When you connect to a Wi-Fi network that requires authentication, Android sends you to the network authentication page by a redirect generally sent by the link connectivitycheck.gstatic.com/generate_204 or by link clients3.google.com/generate...
asked by 31.01.2018 / 03:50
1
answer

Cardview with multiple images

Can anyone help me how do I make each card change the images using the picasso library?     
asked by 30.01.2018 / 00:43
1
answer

How to open the virtual keyboard in a fragment with focus on editText?

Hello, I'm developing an application and loading the screen to register the focus is in an editText but I need to automatically load the Android virtual keyboard. public class AddHerosFragment extends Fragment implements TextView.OnEditorA...
asked by 30.01.2018 / 01:54
1
answer

Center image in the middle of the Android screen

How do I align an image in the center of the screen on Android? I'm using the code below but it gets centered at the top of the screen: <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk...
asked by 29.01.2018 / 12:59
1
answer

Beginner questions about creating app on Android

I'm new to app development for Android and I'm using Android Studio for this, but I'd like to anticipate some doubts. These are: How do I post to Android at the end of the project? What is the amount and if the payment is annual or only pa...
asked by 21.01.2018 / 14:16
1
answer

animate removeAllViews when recreating view

I have a scrollview with 6 buttons that change the background according to a previously chosen numberpicker, When I change the number of the number picker and it removes the existing buttons and creates again with the correct background for that...
asked by 27.12.2017 / 19:31
1
answer

java.lang.IndexOutOfBoundsException: Invalid index 2, size is 2

I have an error to save the validity of my package, I am passing the position of the array. What could be wrong? int position = 0; for (Pacote pacote: pacoteList) { Vigencia vigencia = new Vigencia(); if (pacote.getVigencias().si...
asked by 08.12.2017 / 13:11
1
answer

AsyncTask - Does not run twice

I am performing a process in my App, where in the MainActivity, I press a button, so it loads a JSON into another Activity that brings all the information correctly. However, when I close the screen and try to view the data listing again, it dis...
asked by 03.01.2018 / 00:52
1
answer

Problem using PutExtra with a vector

I can not get the vector inside PutExtra. Can anyone help me? Activity 1 double[] valores = new double[vetorEdits.length]; for (int i = 0; i < vetorEdits.length ; i++) { valores[i] = Double.parseDouble( v...
asked by 11.11.2017 / 18:46
1
answer

How to get the primary key of an item in a sorted recycleview

I have a populated recycleview with a Realm bank, if I do not sort, my code works because it puts in the order of the ID (primary key). But I want to sort by alphabetical order, and when I do this my code is to open a dialog, it does not work be...
asked by 23.11.2017 / 19:54