Questions tagged as 'android'

1
answer

Improving the performance of an Android application

I'm developing an application on Android that receives data from a webservice (Json php). The structure of the project: To get the data I'm using asynctask, I have a progressbar in the preExecute and in the proExecute it visualizes the data....
asked by 16.07.2017 / 19:06
1
answer

How to insert via SQLite a data in its respective Acitivity

I'm doing an android application and inside it has a fixed listiView sent by an array of string for example String[] servicos = {"Eletricista", "Pedreiro", "Pintor", "Encanador", "Arquiteto", "Engenheiro", "Marcineiro", "Serralheiro"};...
asked by 14.11.2017 / 21:46
1
answer

Hyperlink that when clicked open a certain application and if it is not installed, open its link in Google Play?

The application in this case is the Telegram and it works with a simple system of reference to users, channels, groups. I would like that by clicking on the hyperlink (clickable textView) that is with the @Fulano user link, it would open...
asked by 16.03.2017 / 23:24
1
answer

Ping via android

Is there a way to show the average ping on android? I saw some tutorials but the most I got was this: public void fExecutarPing(View view){ List<String> listaResponstaPing = new ArrayList<String>(); ArrayAdapter<String&g...
asked by 14.03.2017 / 17:25
2
answers

How to remove all files from a folder?

I am trying to remove all the files from a folder using Cordova and Android, the problem is that all code I think, only shows how to remove FILES and not FILES FROM A FOLDER. The problem is that I do not know the name of the files. Here is...
asked by 15.03.2017 / 13:16
2
answers

MVC Doubt on Android

I would like to know the following in Android development using MVC, for each Activity I have to have a Controller and maybe a DAO? Or can I use the same Controller class that controls two Activity? And does it lose a lot of performance or do it...
asked by 24.08.2017 / 16:31
1
answer

Compile to a lower platform using the latest API?

I'm using Cordova in Visual Studio 2017, and I installed the Android SDK (API level 23), but I wonder if when compiling using this API, the application will be backward compatible, like Android 4.2 for example. To the best of my knowledge, I'...
asked by 27.03.2017 / 20:07
1
answer

List files from a specific folder

I have the following code: public static final String PATH ="/Conceitos"; public static List<String> loadFilesName() throws IOException{ List<String> strings = new ArrayList<>(0); File root = android.os.E...
asked by 30.03.2017 / 20:14
1
answer

How do I display the FloatingActionButton button?

Could you help me? I'm trying to make the FloatingActionButton button appear on my screen but it does not want to appear I do not know what else I'm doing ... I'm trying to solve this problem a long time but I can not solve: <?xml version="1...
asked by 01.02.2017 / 20:29
1
answer

Buttons added under ReciclerView do not appear

I'm using a LinearLayout with a ReciclerView and 3 buttons underneath it. I'm doing this, but ReciclerView takes up the entire screen and the buttons do not appear. <?xmlversion="1.0" encoding="utf-8"?> <LinearLayout xmlns:androi...
asked by 24.01.2017 / 22:37