Questions tagged as 'android'

0
answers

Download pdf of a JSF in webview

I access a third-party JSF site that generates a pdf, and needs to be downloaded. It does not necessarily have to be inside the webview. Code that I have tried, but nothing has happened or generates an error on the site. wv = (WebView) fin...
asked by 10.07.2018 / 16:31
1
answer

Install app if it does not exist on the smartphone

I developed an app that needs to open the file manager, in my device it works perfectly, but in others it did not work, because the manager is not installed, I would like the app itself to identify that the manager is not prompted and ask me if...
asked by 11.07.2018 / 00:34
0
answers

Error: android.view.InflateException: Binary XML file line # 0: Error inflating class unknown

Whenever I run my app on some devices (In those I got this error, API was 21. In others with higher API it works without errors), this error message appears that I can not decipher. It happens for all Fragments in the same way, but the app close...
asked by 25.07.2018 / 14:46
0
answers

TablLayout in a fragment occupying entire space

Good afternoon. I want to make an app where I have a side menu, with standard options, such as "home page, profile, etc ...". When I click home page, I want my screen to turn a tablayout with two tabs. For this, I made on my main screen the side...
asked by 29.07.2018 / 20:29
0
answers

Erasing a gallery photo on Android

I have a code where I am using my camera to take a picture, then put it in an ImageView , just for viewing, as it is saved in my SQLite . I would like to know how do I delete this photo from the gallery since it is already in the database....
asked by 30.07.2018 / 14:09
0
answers

Android Error: Apache HttpClient does not exist

Now it is mandatory for google to have in the code that update where the version is changed of targetSdkVersion to apply the latest APIs in the applications. I changed the values from SdkVersion to 26 as recommended by google...
asked by 01.08.2018 / 15:16
1
answer

Problems with the popup menu and Immersive Mode

I've set up my application to use Immersive Sticky Mode, but I also use some elements that are above the Activity context and that when the user interacts with them, the application exits Immersive Mode and the status bar reverts to appears. The...
asked by 31.07.2018 / 19:32
0
answers

Problem with Gradle Android Studio

I'm getting a Warning from Gradle to switch compile to implementation and api, but I'm no longer using compile in my project. Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'. It will be removed at the...
asked by 31.07.2018 / 19:58
0
answers

In the setter / field for found on class

So folks, it's a half-hit question I know, but I could not find any solution here for my code. I need to get the information that is inside node 5883, but apparently it populates my class with the information that is outside and ends up giving t...
asked by 29.08.2018 / 14:51
1
answer

Request permission to access Android internal storage by a Fragment

How do I request permission to access the device's internal storage by a Fragment? In normal activity I used this code: int REQUEST_CODE = 0; ActivityCompat.requestPermissions(MainActivity.this, new String[] {Manifest.permission.WRITE_...
asked by 29.08.2018 / 17:09