Questions tagged as 'android'

0
answers

How to change the name of an itemheader in a listview in delphi 10.1 Berlin?

Good morning to all, I explain, I have a program of high losses and changes in Delphi 10.1 Berlin, it is a multi device application (Multidevice), but I have a problem which I could not solve, I have an FDQuery (with a query select * from animal...
asked by 14.02.2018 / 21:25
1
answer

IONIC 3 generating apk android

I am trying to generate an apk for my IONIC 3 project, I have already added the android platform with cordoba and I executed the following command: ionic cordova build android --prod --release with the following result Running app-scripts...
asked by 06.02.2018 / 19:39
0
answers

Xamarin -Error when restoring the package. Reverting package changes for App.Android '. 0

I'm trying to install a package for my project in Xamarin from NuGet , does anyone know what this error is that appears in my console?    Failed to restore the package. Reverting package changes for 'OwServiceX.Android'. 0     
asked by 12.02.2018 / 16:39
1
answer

How do I get the Uri from a file that is in the internal memory in Android

What I want is to be able to take out the Uri to pass it to another function but it does not work any way I am creating an app that uses the OneDrive sdk, which provides this example example of uploading files private void upload(final in...
asked by 16.02.2018 / 17:37
2
answers

Android Java Wait for an asynchronous process to finish [duplicated]

What happens is that I have working on AndroidStudio, programming in Java where you have a function that makes data to a URL that I have, and upload some images, along with other data. This process is all OK, what happens is that I have the...
asked by 05.02.2018 / 15:30
1
answer

Android - Reduce the setOnClickListener () functions

It turns out that I have 2 menus on the screen, one horizontal and one vertical made with Linearlayouts, and at least I have 15 buttons. My query is ... Is there any pattern or optimization that you use so that you do not have to do the setOnCli...
asked by 04.02.2018 / 20:19
0
answers

Error pressing a button

What I do is change the names to the classes and to the layouts by others, when I execute the aliccion and I give a button I get an error 02-04 18:58:34.219 9795-9795/dev.edmt.flagsquizapp E/AndroidRuntime: FATAL EXCEPTION: main...
asked by 04.02.2018 / 18:02
1
answer

Android Mascara, Act different according to API

With 4.0.1 for example my mask puts it that way Now if I put one with version 6.0.0 it appears to me in the following way Now my concern is because the peso sign appears when my Android version is lower, my code of the mask...
asked by 05.02.2018 / 18:02
1
answer

Reuse layout properties android studio

There is a way to reuse properties for the different components of the layout, but I do not remember how they were defined and assigned; Can anyone give me an example? For example, if I have 15 TextView and assign each property android:tex...
asked by 03.02.2018 / 23:25
0
answers

Press twice to make an imageButton work, sometimes

As the title says, I have a simple application, with a ImageButton in the center. The fact is that by pressing the button, sometimes it does not work the first time I press it, but it works the second time. The problem occurs randomly, bu...
asked by 08.02.2018 / 12:33