Questions tagged as 'android-studio'

1
answer

Error creating a spinner in Android Studio

When trying to create a Spinner with its adapter and data already created it gives me an error of NullPointerException , and I do not know where it is given that everything is created. public class PartidaActivity extends AppCompa...
asked by 10.06.2018 / 22:04
0
answers

Send json, gson via KSoap on Android

It happens that I am trying to send what has a Json file to a WebService made in C #, I have to send it the string that contains the Json file from android, what I have to send in this case is the "saved" variable that the I think so from a Shar...
asked by 17.05.2018 / 07:49
1
answer

Problem Open PDF generated permission denied

I have an application that creates a pdf to then open it and see it on the screen ... It works well on some devices, but on some when it is debugged, the following message 05-22 11:38:43.105 9334-9334/desarrollos.lfpu.com.pos_connect W/System....
asked by 22.05.2018 / 18:51
0
answers

How to create sliding below the toolbar

I want a side menu to be left and it slides every time I click on the menu icon but doing it the way I'm doing it always shows me the side menu and it does not hide           <LinearLayout android:id="@+id/sliding_menu"...
asked by 14.05.2018 / 16:11
0
answers

MySQL and ANDROID, JDBC Connector, How to perform a correct HANDSHAKE?

I am involved with my final year project and I try to connect my Android App with my remote MySQL server. One of the requirements is that the connection is encrypted. For this I have activated SSL on the MySQL server and I have generated a Trust...
asked by 15.05.2018 / 19:39
1
answer

Android studio - keep service connected to mysql

I would like to know how I can maintain a service connected to mysql from an android service and extract information. So far I make an HttpURLConnection towards a php file that makes the process, but only the service is executed only once, after...
asked by 08.05.2018 / 18:45
1
answer

Adapter Problem

I have a problem in my RecyclerView.Adapter . My mistake is as follows    java.lang.NullPointerException on: Attempt to invoke virtual method 'java.lang.String com.example.piipe.bienestapp.Modelos.usuario.getNombre ()' on a null obje...
asked by 08.05.2018 / 01:25
1
answer

Rotate an image in Android Studio

I want to rotate an image, but what I do not want is that when it rotates it moves away from its site. Rather, it rotates in its place without being moved. As a kind of roulette. How could I do it? Here is the code that I was testing but when ex...
asked by 05.05.2018 / 07:14
0
answers

change the thickness of the editText

As I can leave the edittext bar as the first field that looks thicker, I saw several options but none worked and I do not know if it is from the focus or that. The difference is minimal but it shows because the focus enlarges the line...
asked by 29.06.2018 / 21:02
1
answer

Write String in a network file

I would like to make a kind of form with this code by sending "string_ship" but I can not get it to write it in the file. public void envio_formulario(View v){ String nombre=et_nonm.getText().toString(); String telefono=et_...
asked by 08.05.2018 / 22:13