Questions tagged as 'android'

1
answer

WebView always asking where I want to open the url

My Web View every time I try on my cell phone is asking me how I want to open the url, but I need to open it in the webview. Well the code is this: Activity.java import android.support.v7.app.AppCompatActivity; import android.os.Bundle; imp...
asked by 22.10.2015 / 21:43
2
answers

Sending notification without opening the application

I need to send you a notification every time someone requests a friend. How to create this notification I already know but I did a test app that sends via the action of a button. In this case the user who is going to receive may not be with the...
asked by 23.10.2015 / 14:40
1
answer

Is it possible to do HTTP request (POST, GET ...) with android for any domain?

I have a PHP backend with URLs that return data to my front end with Angular. It works normally because they are in the same domain. In the case of an android app that is outside the domain, will I have problems?     
asked by 03.09.2015 / 03:12
1
answer

How to list all Browsers installed on Android?

How do I list / check all browsers installed on an Android device via Java?     
asked by 27.08.2015 / 22:05
2
answers

Error removing item from ArrayList

I'm "joking" with the canvas (android) and I'm having trouble removing element from an ArrayList. The app works like this: The user clicks on the screen, a ball appears that goes up but I want to remove only the balls that have exceeded the l...
asked by 09.09.2015 / 22:17
2
answers

How to create webservice JAX-RS REST Service and consume with android application?

I created a JAX-RS REST Service, with a function that returns me a JsonObject, I can retrieve this information in the browser through the URL , but I can not retrieve it from an android application. How do I correctly configure the Web Service...
asked by 24.06.2015 / 17:47
2
answers

Add all records prior to a specific date - SQLite

I want to add multiple row values from my table (add up expense values) earlier than a specific date (for example, add all values that are smaller than the 2015-26-06 date). I am using the following code, but it is not functional. SELECT SUM (...
asked by 26.06.2015 / 16:38
2
answers

Change Action Bar title with Tab Bar

I have 3 Tab Bars that are at the bottom of the layout and the action bar at the top, by default. I need to know how to modify the title of my Action Bar every time a different Tab Bar is selected. Thankful.     
asked by 10.06.2015 / 19:58
1
answer

Menu does not call Activity

My menu does not call Activity, I already did some tests and it does not work, I do not know what else to do. Can anyone help me? package com.chl.infotrans.infotrans; import android.content.Intent; import android.os.Build; import android.o...
asked by 20.05.2015 / 00:47
1
answer

What is the best way to make an HTTP request on Android?

I am using DefaultHttpClient to make requests in json from a Webservice, however this function is deprecated, what is the best alternative for creating a client for Webservice?     
asked by 11.05.2015 / 21:38