• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Search results

  1. G

    Apps How can I center inside my image using ScaleType.MATRIX in ImageSwitcher

    I am using ImageSwitcher and TouchImageView (source code here https://github.com/gabu/AndroidSDK-RecipeBook/blob/master/Recipe060/src/com/example/android/recipe060/TouchImageView.java) My image need to CENTER_INSIDE during initial display then enable dragging and zooming by setting the...
  2. G

    Apps Is there a way to obtain altitude aside from Location.getAltitude()? (I've heard using Sensor)

    Is there a way to obtain altitude aside from Location.getAltitude()? I've heard SensorManager.getAltitude(float, float) using API Level 9 up but don't have idea on how to implement it. Would you share code snippet?
  3. G

    Apps How to implement moving to the next ImageView by doing quick slide vertically

    I have about 20 images. I have created buttons of each image and one ImageView. When a button clicked, the corresponding image will set to ImageView with enabled zooming and dragging. Then, replace it upon clicking the other button to move to the next/previous image. Now, I have to remove the...
  4. G

    Apps How to call IntentService from Library Project?

    Is there any tutorials that may guide me on how to create a library project with IntentService. then refer it to my application project and call the IntentService. I am thinking of the following: Library Project 1) create Android Project with IsLibrary option 2) create IntentService 3) define...
  5. G

    Apps Is it possible to call Activity.finish() inside the IntentService?

    I am creating a prototype for my initial thesis. First, my application used Asynctask to do the background to do data retrieval from online and loading the retrieved data to my local DB. But I decided to change it using IntentService. Now, my new class derived from IntentService is not a...
  6. G

    Hi University Student Here

    Hi guys, I am Eros from Tokyo, a university student learning programming particularly to Java,Android,Geographic Information System (GIS) related. Looking forward a happy discussion here. Thanks and regards, Eros Japan