[android-developers] Re: One adapter for different adapter views - how to specify proper layout for the view?

2009-03-05 Thread (Mishail)
Up thread. I believe it should be trivial. Just stick my nose into the appropriate docs --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-develope

[android-developers] One adapter for different adapter views - how to specify proper layout for the view?

2009-03-04 Thread (Mishail)
Greetings, I want to re-use 1 adapter (similar to well known ImageAdapter from samples) with 2 different views - Gallery and GridView. I need to specify LayoutParams for the each View returned by getView() method of my adapter. In case of Gallery it should be instance of Gallery.LayoutParams, an

[android-developers] Re: Issue in openintents simulator, after running directly going to "Connection settings" page instead of my desired page

2009-03-04 Thread (Mishail)
It's OK since your activity starts OpenIntents by startActivity (intent); Your activity should resume after exiting from openintents. But please make sure that you granted "android.permission.INTERNET" for your application, see http://code.google.com/p/openintents/wiki/SensorSimulator, comments