Posts by Reiko Dev • 322 points
12 posts
-
0
votes0
answers90
viewsQ: How to change the default color of the area that appears when scrolling occurs on the screen?
On the home screen of this application I use a Sliverappbar and when I perform a Scroll on screen this area/ blue shadow appears. What is the name of this area? I want to allow the user to choose a…
-
0
votes2
answers705
viewsA: How to create JAX-RS REST Service webservice and consume with android application?
To communicate between the App and the Webservice I modified the Ip/domain that was passed in the Httpasynctask execute() method. He was like this: new…
-
2
votes1
answer383
views -
1
votes2
answers705
viewsQ: How to create JAX-RS REST Service webservice and consume with android application?
I created a JAX-RS REST Service, with a function that returns me a Jsonobject, I can recover this information in the browser through the URL, but I can’t get it back on an android app. How do I…
-
3
votes2
answers2269
viewsA: How do I login to a system via an HTTP request?
Problem solved! I used the tool Htmlunit suggested by @re22 and managed to retrieve the information from the site. First I created a Webclient object that simulates the Chrome browser, then I…
-
3
votes2
answers2269
viewsQ: How do I login to a system via an HTTP request?
I’m performing an HTTPS get request for the following address, my initial intention is to receive the html data from the page. I followed the tutorial of Mkyong, but I get the answer code 302, I…
-
3
votes1
answer3146
viewsQ: How to consume data from SOAP Web Service with android application?
I am developing an android application + web services SOAP + mysq, I was able to create the web services and make it run with the methods insert User and search I cannot make modifications using the…
-
1
votes3
answers2188
viewsQ: How to implement the fixed Actionbar below, android version 2.x or higher?
I’m implementing Action Bar on android version 2.x or higher, however, I’m having difficulties with the way of displaying the elements. In version 2.x the bar appears below, but without menu names,…
-
0
votes3
answers2797
viewsQ: How do I use Actionbaractivity in an application that runs on android 2.2 or higher?
I want to use Action Bar in my application that will run also on devices with Android 2.2 or higher. I know that I must use the Class ActionBarAcitivity, which is the API provided by Google. I’ve…
-
3
votes2
answers12503
viewsQ: How to save data to the internal memory of an Android device?
I am writing files in the external memory of the device, I am doing it as follows: File arquivo = new File(Environment.getExternalStorageDirectory()+"/"+ nomeArquivo.getText().toString() + ".txt");…
-
5
votes1
answer7034
viewsQ: Take Edittext value from a layout passed as a parameter to a Alertdialog.Builder at the click of the button?
I use Layoutinflater in my view - View view = li.inflate(R.layout.alertdialog, null); I created a Alertdialog.Builder Builder setting for it the view, and the buttons positive and negative. My…
-
0
votes2
answers596
viewsQ: How do I know if the user really wants to come back, when click the back button of the phone?
I have a activity which stores certain data, and when the user presses the back button (Avd Hardware Button, for example), the application does not return to the previous screen, but rather open a…