Questions tagged as 'android'

1
answer

When to use void Inject in Dagger

Dagger, can anyone give me a hand? I was able to do a 3 simple projects always trying several to have new problems and learn more, but a part I'm kind of copying because I do not understand, Component has some examples that show something lik...
asked by 16.11.2017 / 20:01
1
answer

Spinner Android Retrofit

Good morning I'm creating an app, and I need it to have a spinner, which pulls all the data from a column of the database. But it turns out that when I pull it back the data but only that it makes the list view get into several instead of throwi...
asked by 08.11.2017 / 13:50
0
answers

Dynamically editing a variable in android

Hello, I have an Activity that has some TextView fields and I'm putting down some EditText so that I want to change these fields. I insert the data and click on the button and it automatically goes there and changes these TextViews to me I can no...
asked by 18.11.2017 / 19:30
0
answers

How to use the WP-API to play a video of a post?

I wanted to know how to get the video of a post in wordpress and play it in the app. I am using the Wordpress REST API. Also, if the videos are in a format other than mp4, or 3gp, will I have a problem? If yes, how could you get around it?     
asked by 21.11.2017 / 20:15
0
answers

Error android studio "OnFragmentInteractionListener"

I'm trying to use a fragment in the Navigation Drawer, but it's giving "The application stopped working" error menu: package portal_aluno.com.portal; import android.os.Bundle; import android.support.design.widget.FloatingActionButton; impo...
asked by 07.11.2017 / 21:48
1
answer

problems with Float Action Buttom (speedDial) - Android

Hello! I found a lib of a float action with speed dial and I'm trying to implement it in my Android project, but I'm not able to interact with the Float Button ... follows the code of the fragment containing the float: public class NovaPesq...
asked by 07.11.2017 / 20:38
0
answers

Android: Error in getContext () when using SharedPreferences [duplicate]

I'm using SharedPreferences with Retrofit2 and notificações . Each time the Notification is executed I get the exception " 'java.lang.String android.content.Context.getPackageName()' on a null object reference ". I...
asked by 07.11.2017 / 22:17
1
answer

Error executing delete on Sqlite bank

I have a problem with my Android project. When I run a delete on the sqlite database, I get the following log message as a return: W/FileUtils: Failed to chmod(/storage/sdcard/Cardapio Digital/Database/dbcardapio.sqlite):...
asked by 01.11.2017 / 15:42
0
answers

I get messages in the background but does not show the badge with the message counter

In my App I get messages in Background. In foreground I can see the badge and the amount of messages received. I just can not get in the background. I use the RendyDelRosario Xamarin.FirebasePushNotification plugin , which I really enjoyed g...
asked by 03.11.2017 / 13:51
0
answers

Popup does not appear in my App

Use Rg.Popup.Plugins to create popups. Well, when I put in design does not rotate, the screen dims, but I click on it and nothing happens. I put a button with red background and even then, it does not appear. I did a separate project and it work...
asked by 03.11.2017 / 15:48