Questions tagged as 'android'

0
answers

The option 'android.enableAapt2' is deprecated and should not be used anymore

I'm doing a basic project in Android Studio in its latest version that I downloaded in May 2018, when I try to compile the project I get the classic error of "AAPT2 error: check logs for details" which the whole Main class me marks errors in the...
asked by 20.05.2018 / 16:54
1
answer

Save arraylist with sharedpreference

hi I am with a problem I have an arraylist that has strings in and I want to keep them with sharedpreference the theme is that I can not keep a arraylist then reading by there lei how to do it by transforming the arraylist in a hashset I did it...
asked by 22.05.2018 / 01:17
0
answers

File Transfer with Java CIFS Client Library

I am using this library for file transfer between Servers I get the address of one and then convert it to a SmbFile as it would be possible to send that file to the other address of the Server Code: String user = "usernam...
asked by 18.05.2018 / 20:03
1
answer

change photo profile Firebase Auth Android

Can you change the photo directly by pressing a button, or is it better to take out another fragment? After choosing the photo I have no idea how to continue. public void changephoto(View view){ final int PICK_IMAGE_REQUEST = 71;...
asked by 20.05.2018 / 17:23
0
answers

Insert script in an android app

Hello people how are I have a query I have a script that is a player that has a live broadcast 24h my question is if this script can pass it to an app since I tried it but I know little about app development <script type='text/javascr...
asked by 17.05.2018 / 21:32
0
answers

android open pdf in browser click

I have a list of pdf documents and I am trying that when I click on one of them, it opens in the browser to read it. Any recommendation? Thanks.     
asked by 21.05.2018 / 10:18
0
answers

StartScan - Error in Samsung S5

This code for some reason does not work for me on a Samsung S5. This is the code private final BroadcastReceiver wifiScanReceiver = new BroadcastReceiver() { @Override public void onReceive(Context context, Intent intent) { if (intent.getA...
asked by 22.05.2018 / 19:14
0
answers

cordova platform add android error can not find module, Error: can not find the module 'internal / util / types'

This is the error, look in google and here, but I can not find it.     
asked by 19.05.2018 / 02:46
0
answers

Get the application that is running in the foreground

I tried using the following code to get the application running in the foreground from a service being executed from an application created by me, but the only thing I get is to get the name of my application in the foreground when it is runni...
asked by 15.05.2018 / 14:52
1
answer

Create an alert dialog by clicking on a notification

As I do for when I play the notification instead of launching an activity I launch an alert dialog with the numbers? private void showNotification( RealmResults<Note> notes, String key ) { //asignar inbox style notification Notif...
asked by 15.05.2018 / 13:30