AutoCompleteTextView onItemClick item position or id using HashMap

I am new to Android development and I ran into a problem which I find difficult to solve. I am trying to figure out how to use an AutoCompleteTextView widget properly. I want to create a AutoComplete…


android - Help with passing ArrayList and parcelable Activity

So I've been googling most of yesterday and last nite and just can't seem to wrap my head around how to pass an arraylist to a subactivity. There are tons of examples and snippets passing primitive da…


android - How to pass edit text data in form of string to next activity?

I am developing an android application in which i have taken two buttons and one edit text box. i want to pass the data of edit text box in from of string to the next activity on click of one of the b…


android - How to use intent in non activity class

I have some little problem with android. Just wanted to know how to call intents from an Adapter Class which just extends BaseAdapter and not Activity Class.…


android - How to pass an object to another activity?

This question already has an answer here: How to send an object from one Android Activity to another using Intents? 34 answers I need to pass a class object…


Proper Android REST client

I made my own REST client library for an Android application, but after watching the Google I/O presentation on the subject I realized I had it all wrong(precisely what they show slide 9). Now I am l…


android - passing jsonarray from 1 activity to another

I am making an app in which I want o pass a json array between 2 activities.how to pass json arry from one activity to another through intents in android. can anybody help me over this?? thanks…



android - How to let OnClick in ListView's Adapter call Activity's function

I have an Android application with a ListView in it, the ListView will setup fine but now I want a image in the ListView to be clickable. I do this by using 2 classes, the Activity class(parent) and…


android - Drag and drop sorting of cursor adapter and list adapter

I'm very surprised there is such a small amount of info on drag and drop sorting with a cursor adapter and list adapter. The closest post I have found on stackoverflow is this one: https://stackoverfl…


ORMLite with CursorAdapter in Android

I am modifying my Android app to work with ORMLite, and it currently uses a number of CursorAdapters, which I quite want to keep in an attempt to minimise coding. I'm not 100% sure but t appears that…




android recyclerview view how item example adapter with not data