Questions tagged as 'android'

2
answers

Error calling listview in a fragment

I get the following error    java.lang.NullPointerException: Attempt to invoke virtual method   'android.view.View android.view.View.findViewById (int)' on a null   object reference In the android studio Code package com.example.lab_des...
asked by 23.08.2018 / 18:02
1
answer

How to define a unique ID to a fragment in android studio?

I try to call a fragment for my Navegation Drawer but it does not have an ID and if I try to put it in the XML file it marks me error FragmentManager manager=getSupportFragmentManager(); manager.beginTransaction().replace(R.id.aquiMarcaErr...
asked by 20.06.2018 / 01:52
1
answer

Issues when compiling on Android

I have this problem when I try to compile an Apk from my Android project. Could someone help me solve this: Gradle sync failed: Could not find org.jetbrains.trove4j:trove4j:20160824. Searched in the following locations:...
asked by 12.06.2018 / 00:35
2
answers

How can you leave two parallel editText inside a ScrollView

How you can leave two parallel editText inside a ScrollView in this image the editText comes out one under the other, I would like one to come out winged from the other since the numbers to enter are not more than 4 digits     
asked by 28.05.2018 / 22:37
1
answer

Query a value in the firebase realtime database

I want to check if a certain value is in the database. What I'm trying to do is get the value reference to consult and do the tour and if it finds an equal value, I print a toast, and count how many times it found the value. Here he is not doing...
asked by 05.06.2018 / 16:07
2
answers

Android: SQLiteDatabase can not resolve symbol

I'm trying to make a database for a game using libgdx, but there's no way it works for me. An error appears as soon as you start with the code: you do not find anything related to SQLite. The start of the code is: public class DBAndroid extend...
asked by 05.06.2018 / 18:48
1
answer

SEND AND RECEIVE A LETTER OR NUMBER THROUGH ANDROID RETROFIT

I want to send and receive data by Retrofit , but only a specific data, just a letter or a number to perform an action from that .. private void EnviarDatos(String dato) { ConnectivityManager conectivity=(ConnectivityManager)...
asked by 05.06.2018 / 16:38
2
answers

Send values from a Fragment to an Adapter

I want to send variables from a Fragment to an Adapter ... Here are the values of the Fragment that I want to send and some other code. The values I want to send are Country, City, Company Type, CompanyUser and Logo. País = getArguments()....
asked by 06.06.2018 / 15:36
1
answer

Show image brought from a database in Android Studio

We want to show an image, previously saved in a database and shown in the android layout but we do not know how to do it. At the moment we have this: AccesoPHP aPHP = new AccesoPHP(); is = aPHP.ejecutar("http://"+IP+"/imagen.php");...
asked by 08.06.2018 / 18:04
1
answer

Show Activity within another Activity

   How can an Activity be implemented within another Activity? My idea is to show a main Activity in which I have several texts and information, and within this Main Activity I want to add a box where a second Activity is shown, in which a G...
asked by 22.06.2018 / 00:56