Questions tagged as 'android-studio'

1
answer

Error: Unable to find optional library: org.apache.http.legacy

I have an error writing this in my buil.gradle of my volley module that matters:    useLibrary 'org.apache.http.legacy' Once I write that line and synchronize the project again it shows me this error:    Error: Unable to find optional...
asked by 23.04.2018 / 20:05
1
answer

Problem with Firebase class on Android

Good afternoon I'm trying to import Firebase to my project but I can not make the instance of the class because it can not find the reference, and try to do it with all the steps of the documentation but it does not give me a solution, I hope yo...
asked by 10.03.2018 / 19:32
1
answer

Image of the marker too big Google Maps

I'm customizing a map marker but when loading the map it shows me in a very exaggerated size and not in the size of the marker, try to try placing a vector, but it showed me the following error. com.google.maps.api.android.lib6.common.apiexce...
asked by 09.08.2018 / 00:54
1
answer

E / MediaPlayer: error (1, -1010) Error trying to open a SplashActivity with a video

Here my code: public class SplashActivity extends Activity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); // Set portrait orientation setRequestedOrientatio...
asked by 20.06.2018 / 22:31
1
answer

Connect android studio with a git repository on an ubuntu server

I am taking a course in which they put us to carry out an app with android studio. They ask us to create a git repository on an ubuntu server (which I have virtualized) and that the code I develop in android studio is saved in that repository (t...
asked by 02.09.2018 / 02:41
2
answers

Error string-array android

In the android resources file I have a <string-array name="system"> with two items, what I want is to call it in a java class that extends from RecyclerView.Adapter to fill a string[] , in the following way: String []...
asked by 02.02.2018 / 05:19
1
answer

Pass data between two fragments [duplicate]

I'm doing Navigation Draw Activity , with fragments inside. The fact is that I have several fragments. It is a long form that I divided into several fragments, and I want to send the data I receive from editText of the firs...
asked by 06.12.2017 / 17:26
1
answer

Open an activity within another activity

How can I create one options activity within another like this one? or I think it's a theme, what is it?     
asked by 31.01.2018 / 18:29
1
answer

Share mp4 file generated by my app to social networks. share intent

I need to share my mp4 video file generated by my app, which acquires name with a ( System.currentTimeMillis /1000 ). the share action must choose that last generated file to share it in social networks. I leave the initRecorder...
asked by 22.05.2018 / 21:06
1
answer

I have the following error, which I can not solve in the andorid studio xml

I am doing an App in Android Studio and it throws me the following error that seems to be a failure to inflate the view in my XML file but I can not give it a solution. This is the XML <?xml version="1.0" encoding="utf-8"?> <a...
asked by 26.05.2018 / 17:20