Questions tagged as 'android'

1
answer

Drag n Drop - Android

I've done a Drag n Drop system, but when I enter the item, it looks like gravity is top, when inserting new ones, they get on top of each other, how do I drop where I drop my finger? / p> The items are in a ListView, I get them like this: pu...
asked by 23.04.2018 / 03:22
1
answer

Recover user name and email in NavigationDrawer?

How do I retrieve the name and email of the logged-in user? It is giving code error. I am using BD Firebase. public class MenuActivity extends AppCompatActivity implements NavigationView.OnNavigationItemSelectedListener { private T...
asked by 18.04.2018 / 17:52
1
answer

Problems returning objects in Parse using android

I'm having trouble returning the objects using Parse to connect to heroku. When I search about returning objects, everyone tells me to use the following code: ParseQuery query = new ParseQuery("Players"); query.whereEqualTo("status", "active")...
asked by 14.04.2018 / 21:45
1
answer

Android style menu bullet in RecyclerView item

First of all I already have an intermediate knowledge about android and I already have some applications in google play. Recently I was updating the layout of my application, I have a video gallery in my app that whenever I need to delete an...
asked by 09.06.2018 / 22:09
1
answer

Activity execution mode

I have created an activity I did the layout, this activity will insert the value in a TextView of another Layout, but I wanted it to open as in the image, does anyone know how to do it? ! [img] [1] I do not know if it's any other way but w...
asked by 18.05.2018 / 20:24
1
answer

AsyncTask Android generating NullPointerException

I have this static class in an Activity where its function and download a file and save it on the user's device. I tested it on a real device in Android version 7.1.1 and 4.1.2 and it worked correctly. However, by launching the application I hav...
asked by 04.05.2018 / 23:16
1
answer

How to get ACTION_ATTACH_DATA image

I would like to be able to remedy this problem that I am, well let's go, I'm making a simple Wallpapers app, which has its own image gallery online, the app is pretty much completed the problem now is, I want my app to get images of the gallery a...
asked by 11.04.2018 / 20:25
2
answers

Version Conflict in Build Gradle Dependencies

I'm trying to use Firebase in my application, but it's giving dependency error in gradle.    Build.grad (App) apply plugin: 'com.android.application' apply plugin: 'kotlin-android' apply plugin: 'kotlin-android-extensions' android {...
asked by 11.04.2018 / 17:18
2
answers

Text View Null: void android.widget.TextView.setText (java.lang.CharSequence) 'on a null object reference

I'm getting an API data in a fragment to change the Activity txt. But when I call the function that makes this change the setText gives NullPointerException. If I call the same function on the activity screen it works, but if I call anywhere in...
asked by 06.04.2018 / 19:40
2
answers

Click on Checkbox component and enable EditText

How to enable an edittext component in the same view when clicking on the "other" checkbox component? As in the image:     
asked by 08.04.2018 / 21:36