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

Recent content by Gel06

  1. G

    Apps Android draglistview disable drag and change background color of row

    I'm using this in my application, it's a DragListView. What I want to do is to disable drag to a certain row if it is already in its correct position and then change the background color of that row to green. This is what I've done so far: public void checkOrderOfProcedures(){ mItemArray =...
  2. G

    Apps Check if the the selected item in listview is in correct position (index)

    I have an arraylist which is displayed in a listview. The items in this listview can be rearranged. The items are displayed in random order using Collections.shuffle. I want to rearrange the items inside the listview according to its designated procedure number. For example: Procedure number 4...
  3. G

    Apps Google Places API Android filter according to place type

    I am trying to filter nearby places specifically hospitals. I'm using Google Places API for Android. My code below doesn't have any errors, but it doesn't show any hospitals. List<String> filters = new ArrayList<>(); filters.add(String.valueOf(Place.TYPE_HOSPITAL)); PlaceFilter placeFilter =...
  4. G

    Apps Show phone number of an establishment using place id on marker click

    I want to display place detail, specifically the phone number of a certain location using its place id. I have something like this: mMap.setOnMarkerClickListener(new GoogleMap.OnMarkerClickListener() { @Override public boolean onMarkerClick(final Marker marker) {...
  5. G

    Apps Display place details of a location

    I've been following this tutorial on displaying nearby places, in my case I need nearby hospitals. I'm able to show my current location and display nearby hospitals. But what I want to do is add the telephone number of those hospitals being displayed in the infowindow of it's corresponding...