Hi
is it possible active touch support on high level item`s(form , list , ... ) ?
thanks

Recommended Answers

All 4 Replies

Don't have the code with me but i've implemented touch support on a list. google will provide some examples.

please tell me what i should search on google icant fine any usefull things
thanks

I have some code like this:

setContentView(R.layout.list_view_layout);
				lv1=(ListView)findViewById(R.id.ListView01);
				lv1.setAdapter(seek_adapter);
				

				total=0;
				lv1.setOnItemLongClickListener( new OnItemLongClickListener() {

					@Override
					public boolean onItemLongClick(AdapterView<?> arg0,
							View arg1, int position, long arg3) {
						
						// first spot. ignore
						if(position == 0)
							return true;

so it looks like all you need to do is take your list view variables and call its long item click listener or maybe just a click listener.

i.e.
lv1.setOnItemLongClickListener(


for google, maybe listview click or listview android click, throw in listener if you want too etc.
mike

thanks

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.