Questions tagged as 'android-studio'

0
answers

Get the percentage of Web Streaming upload

I have the following code below, private void contaBuffer () { textView2.setText(Integer.toString(mPlayer.getDuration())); mPlayer.setOnBufferingUpdateListener( new MediaPlayer.OnBufferingUpdateListener() {...
asked by 28.12.2018 / 15:26
0
answers

loading percentage MediaPlayer

How do I know the percentage loading MediaPlayer ? Since the load is delayed, I would like to know the percentage to inform the user. I am loading on AssynTask class Play extends AsyncTask<String, Boolean, Boolean> {...
asked by 27.12.2018 / 15:40
0
answers

HttpResponse retona error

I have the following class: package carcleo.com.radiosingular.classes; import java.io.BufferedReader; import java.io.InputStreamReader; import java.net.URI; import android.os.AsyncTask; import android.util.Log; import com.loopj.android.http...
asked by 20.12.2018 / 14:24
0
answers

Show Static Map Google with Picasso on Android

I'm developing an app by Android Studio, I'd like to create a RecyclerView where I had an ImageView and upload a static image of a determining point on the map. Like here: link I tried to use this method with Picasso (Library that takes...
asked by 19.12.2018 / 22:02
0
answers

Apk after updating, logout

My app every time I update a version in Google console, it automatically logs out after completing the update on my phone. This harms me because not all users in my app remember the password you typed. Is there anything I can do to update...
asked by 21.12.2018 / 18:18
0
answers

How to change the build gradle to an earlier version (android studio)?

I'm creating a project that runs in the version of android studio 3.1, and I have this old version of android studio but the build gradle is up to date and I can not make my codes run I do not want to change my codes or adapt I just want to go b...
asked by 22.12.2018 / 05:17
0
answers

Success, but given is not written to the database. Android - Volley

With the following code I get a success message, but given it is not written to the mysql database. public class Main2Activity extends AppCompatActivity implements Response.Listener<JSONObject>, Response.ErrorListener { EditText edtDoc...
asked by 17.12.2018 / 21:25
1
answer

Error loading JSON

In the link below, I have a return of JSON : link is delivering the following return: [{"ProdutosidProduto":"1","Produtostipo":"mp","Produtosmodelo":"F540 2 BAN.PNEU. 100 X 60","Produtosbandejas":"2","Produtospeso":"0","Produtosp...
asked by 11.12.2018 / 19:58
0
answers

passing media player to AsyncTask

So following the tutorial below, link I arrived at the following% w / w Player that extends Class : package carcleo.com.radiosingular.classes; import android.media.MediaPlayer; import android.os.AsyncTask; import android.util....
asked by 22.12.2018 / 14:18
0
answers

Empty List (Custom) - Android Studio

Hello, good afternoon My Custom ListView is not displaying my real time data from Firebase, follow the code public void gerarLotes() { lotes = new ArrayList<>(); lotesReferencia.addChildEventListener(new ChildEventListener() { @...
asked by 15.12.2018 / 15:50