Questions tagged as 'android-studio'

1
answer

Check if an element exists inside an Array

It turns out that I'm doing an app that contains a list that is launched from CustomDialog . When selecting one or more of its items I save the ID's in an array, thus leaving [1, 3, 5, 6] . With a "Cancel" button the ArrayList...
asked by 02.08.2018 / 23:35
1
answer

ERROR: Method does not override method from its superclass

I have this problem and I really do not know how to start to solve it. I have reviewed similar questions and they are all due to spelling errors (they put OnCreate instead of onCreate, for example). public class LibSimilares extends AppComp...
asked by 18.07.2018 / 18:03
0
answers

How can I simulate pressing a button inside a WebView in Android Studio?

I'm making an app to download videos what it does is that the webview is directed to a web page to discard the video and what I want to do is simulate pressing the download button inside a webview but without pressing it on the web view so the u...
asked by 13.07.2018 / 01:45
1
answer

Android Studio Using private resources

I just installed the Android Studio and the following problem occurs when you start and select a basic model because it should show you the Hello World! typical you already know, it does not show it and also indicates the following error:   ...
asked by 25.07.2018 / 12:49
1
answer

Error 500 reactive native

When I want to start a native reactive project in linux mint with android studio (Sdk + Avd), it throws me the following error. The package.json information is: { "name": "miot", "version": "0.0.1", "private": true, "scripts":...
asked by 02.10.2018 / 15:24
0
answers

How to download from a url blob: https to a WebView

I have my app with a WebView and I try to download a .wav file from a url blob:https// but I find the following error Can only download HTTP/HTTPS URIs: blob:https://     
asked by 04.09.2018 / 01:25
1
answer

SharedPreferences just save me and load a data

hi I did these processes to save and load SharedPreferences a few locations, I have 3 buttons and when I press the current location is saved, now the problem is this if I save the location in one of the buttons I close the application and...
asked by 04.07.2018 / 04:14
1
answer

How to launch activity by means of a notification, when the device is blocked (Off the screen)?

I have an application which I need to launch an activity of type called (timbre), the problem is when the device is blocked the activity is not launched, in any other situation if it is launched ... My code to perform that function is this: @O...
asked by 04.07.2018 / 06:18
0
answers

show an empty group of expandablelistview

I was having a problem showing a group in the expandable list view to show an empty message when it has no elements. I detail the code to understand it <ExpandableListView android:id="@+id/expandableListView" and...
asked by 03.07.2018 / 16:59
0
answers

Textwatcher between crossed edittext

I'm trying to do an IGV calculator, in Android Studio, with some additional features and I have several EditText. I need to change any of them, change the value of the others. With the Textwatcher I achieve this but Unidirectionally. That is,...
asked by 04.07.2018 / 03:13