Posts by Wallace Baldenebre • 114 points
17 posts
-
3
votes1
answer703
viewsQ: Nodejs - Problem sending a POST with object array
I’m using Nodejs + Mongodb, and I’m trying to send an array of Book, via method POST, but somehow it’s giving problem, because when using Postman and clicking Send, it just returns me: { "_id":…
-
1
votes1
answer41
viewsQ: Monitor battery usage in the app itself
Have some way to put a feature in the app, so it shows how much it is spending on battery/power? That would be on himself, and preventing the person from going to that config of the device that…
androidasked Wallace Baldenebre 114 -
0
votes1
answer185
viewsQ: Expandablelistview - change background color of header title group
I need to change the background color of my Expandablelistview header group to a green color. Anyone have any ideas? Expandablelistadapter public class ExpandableListAdapter extends…
-
0
votes1
answer79
viewsA: Expandablelistview: Change header title by clicking an item in the list
Solved! It was a problem with hierarchy. Now my code looks like this: public class ExpandableListAdapter extends BaseExpandableListAdapter { String headerTitle; private Context ctx; private…
-
0
votes1
answer79
viewsQ: Expandablelistview: Change header title by clicking an item in the list
I need to get the name of the items in the Expandablelistview list, and settar header according to his position, but he’s only getting the last one. Below is my code: Mainactivity public class…
-
1
votes2
answers125
viewsQ: Google Maps returning Latitude and Longitude as zero and problems when placing the Marker
I’m trying to use Google Maps, and settar a location in it (pulling the user’s Latitude and Longitude). It pulls and displays on a Toast, but it does not Setta this in the onMapReady method and not…
-
0
votes1
answer720
viewsQ: Sqlite error: Foreign key Mismatch (fk incompatibils) when trying to make an insert
I’m trying to create a Associative Entity (N:N) in Sqlite like this: [ Pet --< Vacinapet >--- Vaccine ] And, here is the code of my Associative Entity CREATE TABLE VACINAPET ( vp_data TEXT NOT…
-
0
votes2
answers306
viewsQ: Alertdialog Custom Layout - Nullpointerexception Error
You guys talking beauty? So I tried to create a Custom Aler Dialog, but every time I try to save it, it gives a Nullpointerexception error, but I don’t know what the cause is. The code of the method…
-
2
votes1
answer518
viewsQ: Attach File to Gmail via Intent
I have a problem... When I try to open Gmail via Intent to attach a file, it pops up the part of writing a new email, but it doesn’t attach my file. The PDF is inside a folder of the app itself with…
-
0
votes2
answers160
viewsA: Sharedpreferences - Firebase android
Do you have any field "Keep me logged in"? If the answer is YES, do one more: editor.putBoolean("permanecer", false); And then in the onCreate of your Login screen, you check if this value ta as…
-
1
votes2
answers1379
viewsA: object problem on top of each other in Android Studio
You’re using Constraintlayout, and it works in a different way... For you, who is starting now, use Linearlayout as root layout, and then put some other Linearlayout inside this root, to go…
-
0
votes2
answers401
viewsA: Android Studio - Error in Activity Call
Your Problem Is Staying Stacking Activity On Activity. Start using Fragments for these cases OR, with each new screen opened, you will give a finish() to end the previous one (in case there is no…
androidanswered Wallace Baldenebre 114 -
0
votes3
answers129
viewsA: How to make lists and cards equal to Trello
For the cards you use a Cardview To roll to the side, you can both use a Viewpager Or you can use a Scrollview with orientation="horizontal" , Then he’ll roll to the side…
-
0
votes4
answers1125
viewsA: Loading an externally created Sqlite database
There is this lib here that can help you, recently came out on Android Arsenal https://android-arsenal.com/details/1/6154
-
0
votes0
answers257
viewsQ: Materializecss and conflicts with jQuery
I’m having a problem here using Materialize CSS and two versions of jQuery. I’m making a onepage site, and I put the Smooth scrolling Effect(I picked up on this site here >…
-
1
votes2
answers239
viewsQ: How to start an Edittext as null?
I want that when the user marks a Radiobutton, one Edittext that has already been started as null, appear, but I do not know how to do it.
androidasked Wallace Baldenebre 114 -
0
votes1
answer2904
viewsQ: XAMPP - Apache error
I installed the XAMPP in my notebook, and it’s with this error that I don’t know what it is. 10:41:41 [mysql] Status change detected: stopped 10:41:41 [mysql] Error: MySQL shutdown unexpectedly.…