Questions tagged as 'android'

3
answers

extract element to arraylist and pass it to string

As you will know, extracting an item from an ArrayList is done in the following way: arraylist.get(position).get("elemento") to convert it to String as I read: String abc =TextUtils.join("", ArrayList); How to make a specific item and...
asked by 01.10.2017 / 20:22
1
answer

Warning: Linker: (..) Unused DT entry

I was creating a python script using keras in termux with theano as a backend, because I can not install tensorflow in android, when I'm going to execute it it appears : Using Theano backend WARNING: linker: /data/data/com.termux/files/home/...
asked by 21.12.2018 / 05:19
2
answers

I have a problem with the screen dimensions in android?

I am developing an app, but I do not know how I can make it adapt to all the screens of the existing telephones, although it is programmed only to layout that my viewer of android studio, in this case the phone of 4 "by default , it looks good,...
asked by 09.01.2017 / 05:11
2
answers

android How to do so that the value of a variable can be used in all my application?

Good morning. I have a login in my app, but I need to use the session data in the whole application. How should I do it? Thank you in advance.     
asked by 15.11.2016 / 13:55
1
answer

Gson in Release works differently than in Debug on Android

I find that an app where I load data from json with library gson to a custom object list, in realease does not fill the list. What is due? This is my object: public class Route { private String title; public v...
asked by 22.11.2016 / 17:02
1
answer

Duplication of icon in Toolbar

I have a problem with a project, it turns out that I have in the toolbar a search engine which looks inside a recyclerView, the search works wonders, the problem is that when I change from one fragment to another I double the icon of search, thi...
asked by 11.12.2018 / 14:49
1
answer

Calculate difference between two dates in Android [closed]

I am new to programming Android and I am trying to calculate the difference between two dates to show it in a TextView but I do not achieve it     
asked by 22.08.2017 / 22:57
2
answers

How to execute a method of an Activity from a service, in Android?

Hi guys and girls (of course) I have this situation: I have running a service in the background and a foreground activity, and I hope that at a specific time the activity executes a method on demand of the service. What I have done: Well t...
asked by 10.11.2017 / 18:42
1
answer

How to use or access a file found on Google Drive?

I want to know if it is possible to use a file that is in the cloud as if it were in the memory of the link style device, that this file that is in the cloud can be accessed through the link that will be created in the memory, but only opening o...
asked by 05.01.2017 / 19:07
1
answer

How to open an activity when a push arrives in Backgroud

I want to consult, how to make the Notifications.class activity open when a push message arrives with the background application. I have a main.class that is my main main and launcher in the manifest. and a notifications.class that opens for...
asked by 14.01.2017 / 17:00