Questions tagged as 'android'

1
answer

Glide when rotating device does not crop properly centered on Android

Definition of ImageView <ImageView android:id="@+id/cover_image" android:layout_width="match_parent" android:layout_height="wrap_content" android:adjustViewBounds="true" android:contentDescription="@string/desc_em...
asked by 19.04.2017 / 19:47
1
answer

error when loading an image from URL to an ImageView

I'm trying to load an image in a ImageView , but the image I'm trying to upload is from a URL. The method that loads the image is called cargarDatos() I put it in the OnCreate() so that the image is displayed once the Activity is...
asked by 19.04.2017 / 00:29
1
answer

Android DELETE_FAILED_INTERNAL_ERROR [duplicated]

Hello, I am developing an application, I have the error DELETE_FAILED_INTERNAL_ERROR when executing the project on another computer to keep moving forward. These messages are what they show: DELETE_FAILED_INTERNAL_ERROR Error while Installi...
asked by 18.04.2017 / 03:33
1
answer

Zoom, rotate and move inside an ImageView on Android

I am creating an image viewer, style as it takes android native, that lets expand the image, move for it, with the typical gestures: Pinch to zoom Double tap to zoom automatically By having the expanded image you can move through it Wh...
asked by 17.04.2017 / 22:54
2
answers

OutOfMemoryError using base64 and realmdb when displaying images on android

My code what it does is get an image from the gallery or from the camera and convert this image to base64 , then wait in RealmDB , when I want to show the image, I convert it from string to bitmap and I show it in c...
asked by 04.05.2017 / 05:09
1
answer

problem with import com.google.android.gms

I want to use the Google Maps API but I can not import the following, because it marks everything I want to import as unknown: import com.google.android.gms.maps.CameraUpdateFactory; import com.google.android.gms.maps.GoogleMap; import com.goo...
asked by 12.04.2017 / 03:43
1
answer

How do I pass an item from a listview to another listview on android?

I have this list, which is where I want to pass the item through the popup menu And the code is this: public class route1 extends Activity { ListView listaruta; List<String> list = new ArrayList<String>(); ArrayAdapter&l...
asked by 09.04.2017 / 22:52
1
answer

Kivy: Simple program does not work for me

I'm trying to pass a full program to Kivy, but I'm not loading it. Then I tried to make the program as simple as possible: from kivy.app import App class TestApp(App): def build(self): print("HelloWorld") TestApp().run() But i...
asked by 14.04.2017 / 22:05
1
answer

Fragment with drawermenu in the action toolbar

The problem is the following I have my main activiy that is composed of a drawer activity when I give to one of the options of the drawer activity I have to pass to a fragment , the problem is the following when I pass to fragmen...
asked by 14.04.2017 / 22:19
1
answer

Receive all the items stored in my database (Firebase)

This is how I generate item's with a different name automatically in my database of Firebase and send it to it. public class MainActivity extends AppCompatActivity { private String FIREBASE_URL = "miurl"; // genero un item d...
asked by 22.05.2017 / 16:41