Posts by Dev • 177 points
18 posts
-
1
votes1
answer50
views -
1
votes1
answer50
views -
1
votes2
answers144
viewsA: Inner Join Sqlite with Cursor on Android
Code tidy and working: final SQLiteDatabase d5 = dadosOpenHelper.getReadableDatabase(); String rawQuery = "SELECT produto.descricao, produto.ean, produto.status, produto.precoprod,…
-
1
votes2
answers144
viewsQ: Inner Join Sqlite with Cursor on Android
Good morning guys, could you ask me a question ? How should I make one Inner Join in the SQLite using the Cursor ? Below is my code, but I do not know how to fit it in the line. final SQLiteDatabase…
-
1
votes1
answer368
viewsQ: Update Listview with notifyDataSetChanged()
Good afternoon guys, I’m not getting the use notifyDataSetChanged() to update my Listview. My application takes the data entered in the database and lists in the registration page, soon after, if…
-
1
votes1
answer80
viewsQ: Listview returns only one Cursor item
Good afternoon guys, I have a problem with my project. I have a Listview that receives information from Cursor and then sends it to the Adapter, but it is only pulling a record from my database, you…
-
0
votes0
answers238
viewsQ: Calling a method in another Android class
Good morning gentlemen, I’m with a doubt, I’m trying to call a method that is in another class but is not working, this same method already works if using another layout, just wanted to implement it…
-
0
votes1
answer59
viewsA: Update Sqlite with Edittext Android
I managed to solve the problem, if you want an example you can take my code for you. Strong hug :D public void insererazaosocial (SQLiteDatabase db){ String valor = selecinfo2.getText().toString();…
-
0
votes1
answer59
viewsQ: Update Sqlite with Edittext Android
Good morning gentlemen, I’m trying to update my Sqlite database through my Edittext but it shows error, someone could tell me what I’m missing ? public void insererazaosocial (SQLiteDatabase db){…
-
2
votes1
answer1551
viewsQ: How to make monetary mask on Edit Text Android
Good morning gentlemen, I’m having trouble putting a monetary mask on an Edit Text, I checked several forums and tutorials but no method worked. My project is to basically make the customer put the…
-
1
votes1
answer427
viewsQ: How to send data between Activitys without opening another window? Android Studio
Good afternoon gentlemen, I have a question in my code, I need to pass the data from one Activity to another but when I put the value it opens the same screen twice, it is working but when a value…
-
1
votes1
answer206
viewsQ: Know the color of Button Android Studio (Java)
Good afternoon, I need to know how to read the color of the Button and store in a variable in java for Android platform but is showing errors, can help me ? Follow my code below: private EditText…
-
1
votes0
answers29
viewsQ: Unable to change field in php when id is not 1
Good evening, I’m trying to make a change to my database through php, but when clicking on "change" it only allows if the code is equal to 1, I have already put in html to send the id as soon as we…
-
-2
votes3
answers793
viewsQ: How to delete only records from a field of my table in SQL
Good morning, I would need to delete only those registered from a field of my table. In the case I have the product table and in it has the field dtsanitation and in this field had records. I would…
-
2
votes1
answer828
viewsQ: Read tag fields in XML VB.Net
Good morning gentlemen, I need to read a field that is inside an xml tag but I’m having difficulties, I need to do this to assemble a counter. My project is to read the XML of a sale and assemble a…
-
2
votes0
answers45
viewsQ: XML reading in VB.NET
Good morning gentlemen, I’m having a hard time reading some XML fields. For example, I am developing a sales software and at the time of reading the XML for printing it is pulling only one item…
-
1
votes1
answer601
viewsQ: How to print Qrcode on Epson TM T20 VB.NET printer
I’m trying to print a QR Code on the Epson TM-T20 printer using the VB.NET language and it is returning several characters on the electronic tax coupon reel, could someone help me? Follow the code…
-
0
votes1
answer3628
viewsQ: Recoverable error fatal error: Object of class mysqli_result could not be converted to string
I am unable to save the ID of the address in the bank, I select the address but I can’t <?php session_start(); $host = "localhost"; $user = "root"; $senha = ""; $banco = "cafeteriasp"; $conexao =…