Posts by Daniel • 149 points
8 posts
-
0
votes1
answer25
viewsA: Error while consuming API on Android
Create a separate class, and pass the parameters through the constructor if more than one. For example: Calling for AsyncTaskEntrada entradaTask = new…
-
0
votes1
answer65
viewsA: How to pass a String to an imageview
vc can use the Picasso library to load the image in Imageview. import the library: Pile 'com.squareup.Icasso:Icasso:2.5.2' If you are in your Activity for example, so set the path in Activityresult…
-
3
votes2
answers36
viewsA: Activity does not return the view
Error itself already gives the solution Please Register ComentariosActivity_Instead of Commentasactivity , on Androidmanifest put: <activity android:name=".ComentariosActivity_"…
-
-1
votes4
answers7214
viewsA: Difference between epics and Features
It depends a lot on some concepts of its own. Overall, Epic is something more abstract, it is a global concept and without much definition of its software. Since Feature is something more concrete…
-
2
votes1
answer1028
viewsA: Fill object list with Sqlite data
1 - You are adding the object emptiness in its Arraylist. Try so: Cursor cursor = sqLiteDatbase.rawQuery("SELECT * FROM Estado",null); if(cursor.moveToFirst()){ do{ Estado estado = new Estado();…
-
2
votes1
answer88
viewsA: How to display a listview with only one line with the color changed?
Hello, Daniel. A suggestion is to make a layout with the items in your Listview and associate it with a Listpter. Take a look at the Adapter Example: ArrayAdapter<String> meuAdapter = new…
-
0
votes1
answer1137
viewsA: How to open the image in the gallery by clicking on it through my application?
You can create a method by calling the Gallery app using the Intent class. Create an onClick in your Imageview and call the image app from Intent. Example: public void visualizarImagem(){…
-
5
votes5
answers8758
viewsA: How to remove line that has Missing?
To remove rows without data in R, you must use the complete case function.(). Pro example in a dataset {x}: y <- x[complete.cases(x),] str(y) complete.cases(x) is a logical vector that will…