Questions tagged as 'android'

1
answer

Because I do not have access to the activity- AndroidStudio

I'm doing a calendar-type application for a challenge, when I tried it I realized that I did not have access as I should to the activity that would be responsible for showing the events of a day. I put the code of the main activity and to see th...
asked by 17.12.2018 / 08:18
0
answers

Error consuming web service POST urlencoded with Android Studio retrofit2

I'm just trying to consume services with Android Studio and GET services have worked well, but with POST services it does not work for me. I have tried several ways that I have found out there and the answer always goes by the onFailure side....
asked by 17.12.2018 / 22:26
1
answer

Why do I only get null from getPhotoUrl from a FirebaseUser object?

This is the code where I'm using the object of type FirebaseUser FirebaseUser user = FirebaseAuth.getInstance().getCurrentUser(); Toast.makeText(Login.this,"Bienvenido: "+user.getPhotoUrl().toString(),Toast.LENGTH_LONG).show(); Intent intent =...
asked by 17.12.2018 / 09:40
1
answer

Show image from remote database, with JSOn. Android

In a RecyclerView I show a list of data with image, this comes from a database that I have in 000webhost, where I store in a folder Images, images, PHP files and the business table with their respective name, category, description and route_imag...
asked by 31.12.2018 / 17:34
1
answer

How can I make the voice change its speed?

I made an app that converts text to speech ... but now I want to change the speed of the voice ... that there are options that make it faster or slower. This is my Android code package e.macg.traductor; import android.speech.tts.TextToSpee...
asked by 12.12.2018 / 06:32
1
answer

How to save the input of a Java dialog?

When I try to read or write to an external file in java. The program compiles to me but when the code is executed and I write the name of the file that I want that it reads, the program stays run but it does not show anything to me in screen....
asked by 09.12.2018 / 08:11
0
answers

Voice to text almost solved, with android and python

I have running a Python script on an Android phone. Recognize the voice continuously and send it by socket to a Raspberry and from there to the sensors and everything else. When you do not interpret a word, ask to try again but you have to...
asked by 11.12.2018 / 00:31
2
answers

Attempt to invoke virtual method 'void android.widget.TextView.setText (java.lang.CharSequence)' on a null object reference

The error I got when doing Debug from my app was: Attempt to invoke virtual method 'void android.widget.TextView.setText (java.lang.CharSequence)' on a null object reference I have a custom adapter called MyAdapter where I t...
asked by 17.12.2018 / 04:07
0
answers

Firebase does not recognize values

I've been with this problem for days, I hope you can help me:) I have a code in Android Studio where I connect to Firebase, in which I upload values, modify and bring them. I have tried my application and it works well for some values, then f...
asked by 15.12.2018 / 02:43
1
answer

How to know if a record already exists before updating it using SQLite on Android?

using the SQLite on Android I have a program where I ask for the name, phone number and address, and I also have a "Update" button to update some data, my question is: How do I create a sentence where I press the "Update" button and it looks...
asked by 16.12.2018 / 04:58