Questions tagged as 'android'

1
answer

How do I leave my Activity on 2 plan executing a function? [duplicate]

My project is to put a WebView in the Activity and when I leave the application, and it stays in the background, updating from time to time the Activity so that the WebView Web site updates too. someone help me?     
asked by 15.08.2017 / 20:40
1
answer

Google SigIn problem when re-logging in Firebase

I'm having a small problem logging into Firebase using Google SigIn . The problem is that I am able to log in with this method, but when there is a problem after selecting an account (figure below) I can not choose another account to try to l...
asked by 09.09.2017 / 15:45
0
answers

Generate APK only for linking to a web page [closed]

I developed a totally responsive website where it has already been tested on several phones, but I would like to generate an APK to be able to publish to the Google Store. This application would be nothing more than a "shortcut" when I clicked o...
asked by 04.09.2017 / 15:09
0
answers

Error with icon, vibration and sound in notification

I am developing an app that receives notifications from firebase, I am able to receive notifications quietly when the application is open, everything I instantiated in NotificationCompat works, but when the application is in the background nothi...
asked by 13.08.2017 / 04:01
1
answer

How to pass a class as a parameter in another class and return a variable that is inside a Thread

I work with Delphi and decided to learn how to make java applications, and I came across a problem. I have this class public class Dados { public void getJson(final String url) { new Thread(new Runnable() { @Over...
asked by 14.08.2017 / 14:44
1
answer

Android: Have a job to check url

I need to have a job for my app that runs every day to check if a URL is returning correct data. If you do not return, you should get an email to let me know. Does anyone have any idea how this is done? I know I can check if the URL works for...
asked by 11.08.2017 / 10:01
0
answers

JSon Retrofit Malformed

I'm getting my return on json like this: { "success": 1, "email": "[email protected]" } But the retrofit is saying it's malformed: It gives the following message:    use JsonReader.setLenien (true) to accept malformed JSON at...
asked by 11.08.2017 / 16:10
0
answers

Does not access the OnResponse () method retrofit android

I am making a call from a post method that returns me an id generated through retrofit 2, however, in return, it never accesses the onResponse method, I already tried to use other objects and formats, but none worked. Below the service return:...
asked by 04.08.2017 / 19:52
1
answer

Swipe Refresh on api 15

I'm making an application that uses swipe refresh a lot, would you like to know how to implement the swipe refresh on androids with api 15? If it is not possible how can I create the swipe for android that support it and an alternative for other...
asked by 05.08.2017 / 00:15
0
answers

Restore Dynamic Childs on Firebase Android

I have a structure in the firebase as follows. In the client app when the person saves the information, creates a child stored by the number entered in the cell field (creates the child with the person's cell number). If another person uses the...
asked by 07.08.2017 / 01:58