Questions tagged as 'android'

1
answer

how to capture the touch horizontally and vertically?

hello programmers friends as they are I hope very well I have a problem when trying to capture the vertical and horizontal movement of the screen of my android I have the following code @Override public boolean onTouchEvent(MotionEvent event)...
asked by 19.09.2016 / 06:19
1
answer

Convert from JPG to TIFF in Android (Java)

As the title says, I wonder if someone has converted a bitmap or JPG to TIFF in android. Thank you in advance. Greetings.     
asked by 09.11.2016 / 17:21
2
answers

Error when trying to launch a second emulator

Good, when trying to launch an emulator when there is another running it returns the following error: Can not launch AVD in emulator. Output: Hax is enabled Warning: requested ram_size 1024M too big, reduced to 512M Hax ram_size 0x20000000 HAX...
asked by 17.09.2016 / 15:52
1
answer

Problems with ProgressDialog?

Well I have the following problem that I think I am in my logic the problem is the following genre a ProgressDialog that at the end or end with the .dismiss () I open or generate another ProgressDialog with the same features I attached the code...
asked by 08.11.2016 / 00:49
3
answers

convert Java to C #, xamarin android

Hello, someone could help me with this code, what happens is that I'm having problems passing it to c # @Override public void onBindViewHolder(ViewHolder viewHolder, int position) { final int pos = position; viewHolder.tvName.setTe...
asked by 31.08.2016 / 19:18
1
answer

call a Fragment from a ListFragment on android

I've been looking everywhere and I can not find such an answer, what happens is that I have a ListFragment and that ListFragment I have a method setOnItemClickListener , everything works very well, only I need to call a fr...
asked by 03.11.2016 / 09:20
1
answer

Android How to modify the contents of a Drawer Menu from a Fragment?

Good morning. I have an activity with a drawer menu that has sections, what I want to do is modify the text of those sections from a fragment, but I do not know how the instance should be created in my fragment to be able to modify the conten...
asked by 04.11.2016 / 16:09
2
answers

getFragmentManager null the second time

Good morning, I've been programming on Android for a few weeks and I'm having some problems with using getFragmentManager . I have read post about the termination of activities and this is what I have made clear: Stack Over Flow Quo...
asked by 03.11.2016 / 09:51
1
answer

Call Class Magnetic Sensor in activity main Android Studio

Good evening experts I have the following code from a class of type Main that uses the sensor Magnético of Android and shows the values in textView : import android.app.Activity; import android.hardware.Sensor; im...
asked by 21.09.2016 / 21:54
1
answer

FATAL EXCEPTION: main. Error in RecyclerView adapter

When I try to run the application in Android Studio I get the exception FATAL EXCEPTION: main, in the adapter class of a RecyclerView public class PetAdapter extends RecyclerView.Adapter<PetAdapter.PetViewHolder>{ //Linea del error priv...
asked by 20.08.2016 / 10:34