Questions tagged as 'android'

0
answers

How to detect or listen when notifications are received from any app?

I would like to know how it can be detected when a notification is received, I understand that it can be done using AccessibilityService, but I can not get it to work, this is the code that I have in my service: public class MyAccesibilityServ...
asked by 30.03.2017 / 01:31
1
answer

Leave a Free ImageView to Rotate and Zoom [closed]

I am developing an application where I have a large image map that I want to place in an activity of my application, but I want it to be rotated with my fingers and zoomed as if it were google maps. Therefore the image would come out in origi...
asked by 29.03.2017 / 22:03
2
answers

ExpandableListView always returns 0 when counting the groups

I'm listing blocks which have activities. Everything works perfectly, except that the group counter does not work, it always returns 0. The data is charged from an external server with volley. Activity my blocks package cl.saval.emc.emc;...
asked by 04.04.2017 / 19:49
2
answers

Use values of strings.xml

I have this code in the string.xml <?xml version="1.0" encoding="utf-8"?> <resources> <string name="hint_input_user_es">EMAIL:</string> </resources> And what I want is to get "EMAIL" and show i...
asked by 04.05.2017 / 22:10
0
answers

Error httpUrlConnection, bufferedreader or inputStream

I have a asynctask that receives data from a remote file that I access through a java servlet. The fact is that when the task takes a little longer because you have to create the record in the bbdd, when I receive the inputStream w...
asked by 31.03.2017 / 19:01
0
answers

How do I place the Navigation Drawer icon in a Material Search View?

I have a (Material Search View) and a (Navigation Drawer), and I do not know how to place the icon to open the Navigation ... This is the normal code for when it is a Toolbar , but with Material Search View I do not know how it is .....
asked by 31.03.2017 / 20:26
0
answers

Scroll two fragments into an activity

The image I put is the example of the moovit app of the functionality that I am interested in implementing, if you drag where the tabs are (stops and favorites) you can scroll up or down and the lower or upper fragment is growing . My q...
asked by 19.03.2017 / 08:48
4
answers

Good image resolution causes "OutOfMemoryError"

I have a question about how I can work with good resolution images, because when I put them on I slow down the application, I would like to know if there is a way to work with an acceptable resolution without affecting the speed of the applicati...
asked by 26.03.2016 / 11:39
1
answer

Toolbar with alpha gradient in Android

How a gradient can be applied to the Toolbar but only when it is extended if it belongs within a CollapsingToolbarLayout . That is, I have a Toolbar that below it an image is displayed, which expands to the Statusbar...
asked by 15.03.2017 / 20:29
2
answers

Why are the records shown null? [closed]

Good morning have colleagues, I would like to know if anyone has any idea why the records are shown null. My JSON has data which are the following. This is the script I'm using to perform the internal SQLite database public s...
asked by 15.03.2017 / 19:16