Questions tagged as 'android'

2
answers

Video tag does not play on android chrome

I have a web created with WordPress, which has a video inserted at the beginning. In web browsers the video plays without problems but on mobile phones android I do not even see the label. I have tried a thousand ways .. removing attributes "con...
asked by 05.06.2018 / 11:14
1
answer

Differences between "Push" and "Commit & push" in Android Studio

I am a student of programming, every time I give push in android studio does not upload anything to the repository, but if I give a commit & push up the changes, I would like to explain the difference between these and the use that should gi...
asked by 17.06.2018 / 01:46
1
answer

3 buttons with the same method, differentiate them

I had a little problem where I repeat the same code 3 times, and I'm trying to reduce it to one without success, the code I have is this public void shared(View view ) { Intent emailIntent = new Intent( Intent.ACTION_SEND ); emailIn...
asked by 15.07.2018 / 08:27
1
answer

How to refer from a ready adapter to the context that inflates it

   Good I have a problem and it is that when inflating a list I am created an event on click of an item, this works without problems: it opens me without problems the following window, but here comes the problem, using the same context no...
asked by 04.06.2018 / 17:05
2
answers

Pass parameters between activities Android studio

I have the following problem, I have an application that has login, which uses username and rout to validate the entry. the variable rut I want to save it, to show it in another activity, which I choose in a menu within the application, in this...
asked by 07.06.2018 / 05:45
1
answer

Permission denied when reading a file

What a good day community. I am new to the group and I need your help. I have a java code to read a text file by line and store it in a matrix to return the value of the matrix. I compile the code in netbeans and it returns the value to me...
asked by 23.05.2018 / 20:58
2
answers

Android Studio - end activity from IntentService

I have an activity that initiates an IntentService which verifies a code that I entered and if it is correct it sends me to a new activity always from the IntentService, then a new activity starts but the previous one I can not finish it because...
asked by 23.05.2018 / 14:09
2
answers

android fragment imports

I'm trying to load a map fragment and I have a problem with the imports: If in the map fragment I import android.support.v4.app.Fragment, in the fragment from which I launched it, I get an error in the .replace because an argument of type and...
asked by 25.05.2018 / 08:58
2
answers

how to show a ProgressBar or a ProgressDialog while I'm doing a query with retrofit

I am working on a app which uses a Api to query a web server through retrofit . In my project I use the pattern MVC , and what I'm looking for is to enter a ProgressBar or a ProgressDialog q show up when I...
asked by 08.05.2018 / 23:33
1
answer

Load files while scrolling in a Recycler View with retrofit

I am new to the community and I have a problem, I want to implement the Endless Scroll or Infinite Scroll as some call it in a recycler view to load items, since I currently show the 11500 results in recycler view , this same wi...
asked by 08.05.2018 / 22:42