Posts by Luis Felipe • 162 points
24 posts
-
1
votes0
answers60
viewsQ: How to access "onDestroy" when the app is forced to close (force-Killed)
I have an app and I need it to access a code when the app is forced to close (force-Killed). Below I will leave the code for better understanding, however it is on onDestroy and does not run when…
androidasked Luis Felipe 162 -
0
votes1
answer419
viewsQ: Delete a user from firebase Auth when an Activity is destroyed
I have an activity call ValidadorActivity, in this Activity I do a validation by SMS, right after the user registers. The register is made by Firebase Auth however is done before this validation, so…
-
-1
votes1
answer718
viewsQ: Delete a log from firebase auth
I need to delete a record from Firebase Auth, I am using the following code: FirebaseUser user = FirebaseAuth.getInstance().getCurrentUser(); user.delete().addOnCompleteListener(new…
-
0
votes0
answers110
viewsQ: How to set the Navigation View menu by code?
For now I’m setting the menu through xml, this way: <android.support.design.widget.NavigationView android:id="@+id/navView" android:layout_width="match_parent"…
-
0
votes1
answer36
viewsQ: Recover snapshot inside a node
I need to retrieve all users within a user node, follow firebase structure: To recover these values I am making an addListenerForSingleValueEvent, follows code: private DatabaseReference…
-
-2
votes1
answer188
viewsQ: Can’t Convert error Object of type
This one started to appear out of nowhere, apparently I didn’t change anything in the code and simply by making changes in other parts it appeared. Error: 12-07 07:47:43.652…
-
2
votes2
answers880
viewsQ: Update only 1 item within firebase’s
I have the following knot in firebase: Inside this node I need to access the user value and change it, to do this I am using this code: firebaseSenha =…
-
0
votes2
answers40
viewsQ: Error trying to run firebase forgot-password
I am making the password forgot screen of firebase and is giving an error when I put the . sendPasswordResetEmail. That’s the version of my firebase : implementation…
-
1
votes1
answer560
viewsA: Error uploading apk to google play console
I switched the versionCode in the build.Lade and climbed again.
-
0
votes1
answer172
viewsQ: How to change the course color of my Searchview
For now it is white and I need to put it in black color, I found several tutorials, but I did not find one that works, how do I do it? Code: searchViewPesquisa = (SearchView)…
-
0
votes1
answer30
viewsQ: Problem recovering firebase values for list
I am making a list, and on this list I pull up the following information id, idPostagem, description, usergroup and photoUsuario. However to popular(add) data to this list I am using the following…
-
0
votes1
answer62
viewsQ: List returning null values
I am doing an item listing, in this listing I bring the following information id, idPostagem, description, nounUsuario and photoUsuario. Soon after setting the values, I checked them and I am all…
-
0
votes1
answer169
viewsQ: Button to return to an Intent
My problem is: Back from an Activity to an Internet. I have the following sequence of pages: -MainActivity -Intent(Escolher foto) -DadosActivity In Mainactivity I have a button to open an Intent so…
-
0
votes1
answer560
viewsQ: Error uploading apk to google play console
I’m uploading my app to google play and I’m not getting my apk up, anyone knows what the mistake is?…
-
-1
votes1
answer139
viewsQ: Remove Branded in Android Studio editor
How to get this automatic branded Android Studio?…
-
0
votes1
answer111
viewsQ: Retrieve the context of a Class (Model)
I have a model and I want to use the "Sharedpreferences" inside it. To instantiate the SharedPreferences, i need context(context), as I do to recover that context? public class PostagemCurtida {…
-
1
votes1
answer74
viewsQ: Recover the amount of children who have a knot
How do I recover the amount of children you have in a knot? I already have the right path, I just need to know how to count the children of this knot. private DatabaseReference qtdeFilRef;…
-
0
votes1
answer133
viewsQ: Help with recovering Firebase nodes
I want to recover all users' followers in firebase. I have the following structure at Firebase: -seguidores -id amigo -id usuario For that structure I did the following to retrieve it: public void…
-
2
votes1
answer77
viewsQ: How to edit data that has already been saved in Sharedpreferences
Hello, I’m making an app and I’m saving some information in Sharedpreferences, which is user information, such as name/phone. I’m editing a profile and wanted to know how to change not only in the…
androidasked Luis Felipe 162 -
1
votes2
answers706
viewsQ: Make Floatingactionbutton Overlay Linearlayout
Hello, I’m making a kind of Actionbar and precise with the Floatingactionbutton overlap the Linearlayout that is fixed at the bottom, it needs to be in the same position put on the front of the bar.…
-
3
votes1
answer979
viewsQ: How to change the color of the icon in drawable layout on android
Hello, I need to change the color of the icon q triggers the Drawablelayout menu, but I can’t find the property or where I can customize this icon. How do I change the color of that icon? Where do I…
-
0
votes1
answer332
viewsA: HTML - moving menu image
Good afternoon, I am not very experienced in css, however I tried to solve your problem by changing the value "position" from "Absolute to "Fixed". Try using imgmenu css this way: #imgmenu {…
-
0
votes1
answer99
viewsQ: Save data to more than one node in Firebase
Well I have the following code: private void abrirCadastroContato() { String emailContato; emailContato = "email"; int contador = 1; while (contador <=3) { if (contador == 1) { emailContato =…
-
1
votes2
answers943
viewsQ: Disable automatic line break by indenting code in Phpstorm
I need to remove the automatic line break when indenting the code in Phpstorm. To be more summarized, remove this line for the code to go to the end and not break the line.…
phpstormasked Luis Felipe 162