Questions tagged as 'java'

0
answers

Android App can not pull data from WordPress

I developed a Java application for Android, together I installed on my Hostinger server the WordPress with the REST API. However, after running the application on my phone, it can not download the WordPress data. There are no errors in my code,...
asked by 14.12.2015 / 23:04
1
answer

Play Framework TDD exception testing routes

I'm studying the Play Framework with Java and the documentation has a sample route test at the end of this page: Doc Play Framework But when trying to run the test it responds with one exception because the route in question does not exist....
asked by 11.12.2015 / 18:07
0
answers

Popular comboBox through a query in the database

I know I'm doing the wrong way to populate my comboBox, I'm doing this on the client side rather than doing server side is that java is not my beach. I'm trying to pop up my comboBox as follows: But from the error can not find symbol class c...
asked by 12.12.2015 / 00:34
1
answer

Error in the android application when fetching data in postgreSQL database via WebServices with Ksoap2

First I made a WebService using axis 2, where the class has the connection to the database, and the class with requestsDAO with CRUD. Using SoupUI I can carry out the call of the methods. So, I created an android application to consume these ser...
asked by 14.12.2015 / 15:42
0
answers

Extract JSON data on Android received by DataSnap

I've never worked with datasnap I do not know how to extract! Someone can help me, I leave the code I have: DSRESTConnection conn = new DSRESTConnection(); conn.setHost("54.207.112.131"); conn.setPort(8787); conn.setProtocol("http");...
asked by 10.12.2015 / 20:21
1
answer

SQL query according to Column make a new one

I have a column that is numeric. There are positive and negative values in this column. I need to make a query that when it is positive, I query Tabela A , when it is negative I refer to Tabela B . I have no idea how to do this, can...
asked by 11.12.2015 / 14:40
1
answer

Reset Cell Phone

Any code hints for restarting your phone after an action? Example: After the backup, I need the phone to reboot to finish the settings.     
asked by 30.12.2015 / 17:07
2
answers

Secure authentication between different systems [closed]

My scenario is as follows: A system in php authenticates the user and should call my application (Java) informing which user is this. My application does not authenticate this user, only receives an identifier from it and loads the information t...
asked by 30.12.2015 / 22:30
0
answers

EditText - more than one Listener?

I'm giving continuity to a project that makes requests on Android, and I came across the currency formatting in EditText Researching I was able to find a class that is running smoothly, but why am I talking about a mask? So my la...
asked by 20.01.2016 / 16:23
1
answer

Problems with Utf-8 on server with Mysql

Good afternoon, I'm having an accent problem with my application running the Ubuntu 14.04 VPS American server. All of the application running on my development machine is usually registering at the base along with the accent. I made a backup...
asked by 19.01.2016 / 22:14