Questions tagged as 'android'

0
answers

Can not I access the populateViewHolder method from my FirebaseRecyclerAdapter?

FirebaseRecyclerAdapter firebaseRecyclerAdapter = new FirebaseRecyclerAdapter (... (1) ...) {... (2) .. the onBindViewHolder and OnCreateViewHolder methods were created here. (1) I need to fill in this field to stop giving an error. (2) He...
asked by 08.04.2018 / 15:16
0
answers

How to fill the parameter of this FirebaseRecycleAdapter (... this field ...) {}?

I'm making an App where from the FireBase console I add content to the cardview of the App. I have a problem, I do not know how to fill a certain field in the firebaseRecyclerAdapter. The code is as follows: FirebaseRecyclerAdapter<Blog,...
asked by 08.04.2018 / 19:15
0
answers

How can I know the status types of a Wi-Fi connection?

I want to know if when I do wifiManager.reconnect () it connects or not ... For example if it is a WPA network and I put the wrong password on purpose, and it runs wifiManager.reconnect returns true. How can I know if I connect, if I get an erro...
asked by 12.04.2018 / 15:42
1
answer

android localhost asp.net

I am trying to connect an android app with a web service ASP.Net with JSON . How could I do it to work in local? Using URLs as localhost: port, ip_of_my_team or 10.0.2.2 does not work for me. Any alternative or clue to what may be failing?...
asked by 12.04.2018 / 15:51
0
answers

Change variable from the button of a notification

This is the method that shows the notifications, what I want is that when one of the two notification buttons is changed, one of the global variables of the class in which that method is, that is, the dale to one of its two buttons that an int p...
asked by 16.04.2018 / 12:18
0
answers

Nearby connection is disconnected at the time

I have integrated into my Android app, Nearby Connection, to interconnect information between 1 or several devices to another that serves as a server. The connection and the exchange work perfectly, but when they have exchanged information fo...
asked by 16.04.2018 / 11:41
0
answers

Error using Volley on Android 6

When making a request using volley in Android 6 gives this error: java.net.ProtocolException: Unexpected status line: <?xml version="1.0" encoding="UTF-8"?> But if I try it in Android 7 works perfectly. I am using...
asked by 06.04.2018 / 22:35
1
answer

Problem sending an audio by WhatsApp from the raw folder

When I send to Whatsapp an audio that is saved in the folder raw of my application, the file is sent but without format, that is, a file is sent without title and without the extension. I have checked that file if I manually put...
asked by 07.04.2018 / 12:46
0
answers

How can I modify the parameters of a Wi-Fi network?

This is the same code as my other question link but this time I want to know how to connect to the Wi-Fi network and modify its parameters in the code there are two comments where they are concerned about questions private final BroadcastRec...
asked by 05.04.2018 / 15:15
0
answers

Save audio in MySQL database

My name is Gonzalo and I am starting this in the development of mobile applications for android. The issue is that they commissioned me to make an app that records audios and that they are stored in a database, so that they can then be reproduce...
asked by 06.04.2018 / 00:31