Questions tagged as 'android'

1
answer

Is the MediaPlayer.create () method called in the background?

I was reading the Android Media Playback documentation and I had a question. The documentation said that it is not advisable to call the mediaPlayer.prepare() method in the thread responsible for the UI, and would like to know if the M...
asked by 26.12.2015 / 15:53
1
answer

How do I view a video using ExoPlayer?

I'm trying to implement the simpler example of ExoPlayer ( project link and Project Tutorial Link ). However, after following all the steps in the tutorial, the application runs, but does not display any video signal. MainActivity.java...
asked by 09.05.2015 / 01:54
1
answer

Toolbar with tab at the bottom

I'm using Toolbar , but I wanted the bottom of it to have a line of another color that delimited it, as the image shows, To achieve this effect the only thing I remember is to use a ImageView . Is there any better way to do th...
asked by 11.05.2015 / 22:57
2
answers

Error message (Error: Execution failed for task ': app: processDebugManifest')

When I try to emulate the application I'm developing, the following error appears.    Error: Execution failed for task ': app: processDebugManifest'.       Manifest merger failed: uses-sdk: minSdkVersion 3 can not be smaller than version 9 d...
asked by 30.05.2015 / 23:57
1
answer

How can I make an Activity appear only once for the user?

My plan is as follows: In my project I have 2 Activitys; These two activities are only welcome to the user, so I would need them to appear only the first time the user started the application. I started to study Shared Preferences, but the ma...
asked by 20.11.2014 / 22:01
1
answer

Make log shipping in android application in the occurrence of errors

Hello, I would like to know if there is any way to send the application log, or take some action when an error occurs in an android application (when the message "The application stopped working" is displayed). Is it possible to do something like...
asked by 01.12.2014 / 17:22
2
answers

Login via Facebook without the application installed

I have an app with a facebook login button. For integration, I followed these steps on the android quickstart on the facebook developers site. Well at the beginning it says:    Facebook SDK for Android uses Facebook to support Login and Sha...
asked by 23.09.2015 / 20:41
2
answers

Add dependency in android studio

I wanted to know where exactly I put a dependency like this in android studio: <dependency> <groupId>com.code-troopers.betterpickers</groupId> <artifactId>library</artifactId> <version>2.2.1</versio...
asked by 10.11.2015 / 09:05
1
answer

How to import an Android project as a module in Android Studio?

I'm trying to import a Android project as a module from another project: ButwhenItrytoimport,Gradlegivesanerrorsayingthatitcannotfindtheandroid()methodinthebuild.gradlefileofthemodule.I'vetriedimportingbyselectingtheentireprojectfolde...
asked by 01.07.2015 / 15:27
2
answers

Script to open facebook messenger application

I'm creating a app , and I wanted to insert a button to open a conversation on a particular facebook page, but by the messenger application and not by the browser, / p>     
asked by 26.06.2015 / 05:12