Posts by Rodrigo Lins • 27 points
5 posts
-
0
votes1
answer158
viewsQ: How to create a Listview with Random items? (Android)
I’m having trouble with my Listview. I would like him to display his items in an Random way, but not to repeat the items, as is happening now. Here is the code: public class AdapterConteudo extends…
-
2
votes1
answer49
viewsQ: Problem with database data visualization
In each code I explain the problem. public void onCreate(SQLiteDatabase bd) { bd.execSQL("create table tabela(_id integer primary key autoincrement, data text not null, orcamento text not null);");…
androidasked Rodrigo Lins 27 -
0
votes1
answer40
viewsQ: Problem with database data update (Android)
I can’t update the data in the database. In the database class are the two update and search functions. public void atualizar(MessageEB dados){ ContentValues valores = new ContentValues();…
androidasked Rodrigo Lins 27 -
0
votes0
answers183
viewsQ: Problem while passing database data to Textview android
I am unable to display database data to Textview. BD public MessageEB buscarConfiguracoes() { String[] colunas = new String[]{"data"}; Cursor cursor = bd.query("dados", colunas, null, null, null,…
androidasked Rodrigo Lins 27 -
0
votes1
answer140
viewsQ: Passing an Editview name to a Textview between Fragments
Guys, I have a project that uses a Drawer navigation, so Mainactivity’s Mplements is already "busy", so many methods of doing this don’t work in my case. I have a mainactivity that controls the…
androidasked Rodrigo Lins 27