Questions tagged as 'android'

1
answer

Add JSONObject in ListDiscipline

I'm having problems when I add data to a List. I have the following code that takes the return from a JSONObject and adds it to a List. Then I move to InicialAdapter.java DisciplinaTask asyncTask = (DisciplinaTask) new DisciplinaTask(ne...
asked by 14.12.2018 / 19:36
0
answers

Returning amount of Sqlite records and displaying in TextView

I have an application and I need to display in%% of the amount of records stored. public int contagem(){ createBank = new CreateBank(this); connecting = createBank.getReadableDatabase(); String cursor = "SELECT * FROM "+TABELA;...
asked by 24.10.2018 / 20:27
1
answer

RecyclerView with the show button more

I have a recyclerview that pulls data from the firebase, however it takes all the data at once, and this causes the application to hang, as I do to show only the first 10 and as the user is descending the scrool it will download more data? Ad...
asked by 24.10.2018 / 02:15
0
answers

Google assistant [closed]

It is possible to do a command in the google wizard (Ok google) ex: connect a led and it open a url? my project is so I just do it on the computer using a wizard I wanted to do with 'Ok google' that url already would connect the led so I need to...
asked by 01.11.2018 / 20:41
0
answers

Watson SpeechToText crash app android when MicrophoneHelper is called

I can not start the audio recording. I'm getting the following error: E/AudioRecord: start() status -38 E/AndroidRuntime: FATAL EXCEPTION: Thread-7713 Process: com.sienaapp.sienaapp, PID: 5005 java.lang.IllegalArgumentException: capaci...
asked by 25.10.2018 / 16:21
0
answers

Receive data from an arduino sensor for Android app (Android Studio)

Good evening! I need a help with the application that I am developing, I will make the bluetooth connection of my Arduino with the android application and everything is ok, I can connect and disconnect but I do not know how to receive data from...
asked by 16.10.2018 / 04:17
0
answers

Has there been a change in the implementation of admob in Android app?

Could someone please let me know if there was any update on how to implement admob in Android apps?     
asked by 05.12.2018 / 23:32
0
answers

SQLite does not insert data into the database during an AsyncTask

I'm trying to add data in the DB inside an AsyncTask. In it I get the InputStream coming from an httpURLConnection, interpreting the JSON and saved in the local SQLite. But I do not even know if this is the best "practice" to do ......
asked by 06.12.2018 / 14:43
0
answers

Not returning by returning json [closed]

Well I'm starting in the android area and I still do not know much about it and would like help with the following code: gridView = (GridView) findViewById(R.id.lastedAnimeView); gridView.setAdapter(va); mRequestQueue = Volley.newReque...
asked by 02.11.2018 / 17:33
0
answers

Location request issues

Hello, good afternoon! I'm having problems with the return of my location in my code (it's also not asking the user for permission) ACTIVITY CODE public class GPSActivity extends AppCompatActivity implements LocationListener { private TextV...
asked by 20.12.2018 / 17:14