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

Search results

  1. A

    Apps Android Retrofit: Unable to upload image to server. Uploads 0 kb image when using file_put_contents

    Hi, I am trying to use retrofit to upload an image from the android device to mysql database and server. Below is the java code that I am using for uploading the image: ``` private void uploadImage() { Bitmap fullSizeBitmap = BitmapFactory.decodeFile(pathToFile); Bitmap...
  2. A

    Apps Select item in the list view programmatically

    Hello Everyone, I have an ArrayList<String> List which contains some items from the listview all_list. How can I select these items in the list view all_list programmatically by checking the ArrayList<String> List contents? for e.g., listview all_list contains [0] apple...
  3. A

    Apps Selection not showing the correct item in the listview

    I am using multi choice mode to select the items in the listview with filter. After searching through the list view when I select an item it highlights a different position instead of the original position of the item in the list view. For example: 1. With filter, I’ve selected the following...
  4. A

    Apps Filtered listview highlighting incorrect item

    Hello, I have a list view where I am filtering items through a SearchView. on activating the state for an item, it is not getting the correct item instead getting it from the position. To make it more clear, please refer to the below screenshots: 1. Searched for keyword com and selected...
  5. A

    Apps Unable to filter list view items

    Hello, I am trying to list all the installed applications and filter the result in the list view dynamically. below is my code in the listadapter.java: import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Date; import java.util.List; import...
  6. A

    Apps Android: Listadapter along with getfilter() for dynamic search filter?

    I am having a list adapter: final Listadapter Adapter = new Listadapter(this,packageList1, packageManager); When trying to create dynamic search filter for the list items, I am unable to use list adapter along with get filter function. please refer below: final Listadapter...
  7. A

    Apps Unable to add action button to notification message

    Hello All, I have been trying to add an action button to the notification message, but it is not showing up. Also, any change i am making to customise the notification message is not taking effect for e.g.. set lights, big text etc: Intent notificationIntent1 = new Intent( context, null )...