Posts by Renato Crispim • 23 points
5 posts
-
0
votes2
answers498
viewsQ: Android Activity does not open
I’m making a retrofit connection app, but I’m not understanding why my Activity is not opening. My code: public class CotacaoAlteraActivity extends AppCompatActivity { private ListView listView;…
-
0
votes0
answers547
viewsQ: Error in webservice: javax.servlet.Servletexception: java.lang.Nullpointerexception
I am trying to execute a query in my Webservice, but the function that query is inside of, break from nothing. My code: public boolean excluir(String usuario) { String sql = "DELETE * FROM…
-
0
votes1
answer101
viewsQ: Webservice delete error
I have a problem in my webservice. It is giving this error: Requestfailed Requestfailed --> Status: (405) The code I’m using: @DELETE @Produces("text/plain") @Path("ExcluirLista/{usuario}")…
-
2
votes1
answer112
viewsQ: Selected Item Listview Retrofit
I have an application that uses retrofit for connection, and in it I have a listview where I want to do a long click on it and select the position item and do a post on the webservice with this…
-
0
votes1
answer655
viewsQ: Listview by selecting position
I have a code I need him to select the item by its position... In case he is already selecting but he selects randomly. listView.setOnItemLongClickListener(new AdapterView.OnItemLongClickListener()…