[android-developers] Re: touch vs. drag

2010-10-14 Thread AnasSamara
You have to catch the ACTION_DOWN to get a copy of the widget you touched using "getDrawingCache", and catch the ACTION_MOVE to set new location for the layout which holds the the drawing copy you already got from the ACTION_DOWN. On Oct 13, 8:26 pm, Kumar Bibek wrote: > Hope this gives you an

[android-developers] Re: video player

2010-10-04 Thread AnasSamara
Salam Ahmad do the same exactly instead .3gp use .mp4 salam On Oct 3, 10:02 am, Ahmed Shoeib wrote: > but i want it for mp4 files > > On Oct 3, 9:05 am, AnasSamara wrote: > > > 1-ADD VideoView in the layout. > > 2- push video file to sdcard > > 3- put the

[android-developers] Re: video player

2010-10-03 Thread AnasSamara
1-ADD VideoView in the layout. 2- push video file to sdcard 3- put the code VideoView videoHolder = (VideoView) activity .findViewById(R.id.VideoView01); videoHolder.stopPlayback(); videoHolder.clearFocus(); videoHolder

[android-developers] Re: GalleryView Bug???

2010-10-01 Thread AnasSamara
Follow the tutorial you will get every thing working correctly http://developer.android.com/resources/tutorials/views/hello-gallery.html thanks -AnasSamara On Oct 1, 4:35 pm, Albert wrote: > Hi all, > > I have implemented a GalleryView using a custom BaseAdapter. The issue > is t

[android-developers] Gallery view

2010-10-01 Thread AnasSamara
Hello all I have multi-listeners on gallery view, first listener is on the image located in the gallery, the second listener is longpress of gallery item, and the third is ontouch event. I use the otouch event in order to drag the image to down, the problem is when I scroll the gallery the horizont

[android-developers] Re: How to Create ListView within ListView

2010-10-01 Thread AnasSamara
Use ExpandableListView instead -AnasSamara On Sep 30, 10:37 am, "Ganapathy.C" wrote: > Sorry > I Want Clickable MultiHeading List,, > If u know any thing about it means tell me. > Thank you... > > On Sep 28, 9:50 pm, Kumar Bibek wrote:> Try the > Expa

[android-developers] Re: Problem in height of Listview

2010-10-01 Thread AnasSamara
Hi Techie 1- Get the height useing this function Display display = ((WindowManager) getSystemService(Context.WINDOW_SERVICE)).getDefaultDisplay(); int width = display.getWidth(); 2- Set the height at run time using the Layoutparams. -AnasSamara On Oct 1, 8:08 am, "RKJ (An

[android-developers] Re: Launch application from url

2010-09-27 Thread AnasSamara
Thanks for relpay, but from where can I get the passed data?? > > On Sep 25, 8:20 am, Ryan Mattison wrote: > > > > >     > >     > > > > > > > > On Sep 24, 9:50 am, AnasSamara wrote:> Hello All > > > Any one knows how to l

[android-developers] Re: Launch application from url

2010-09-26 Thread AnasSamara
thanks On Sep 25, 8:20 am, Ryan Mattison wrote: > >     >     > > > > > On Sep 24, 9:50 am, AnasSamara wrote:> Hello All > > Any one knows how to launch certain application in my android from URL > > send via email or SMS. > > I mean if I have

[android-developers] Launch application from url

2010-09-24 Thread AnasSamara
Hello All Any one knows how to launch certain application in my android from URL send via email or SMS. I mean if I have an SMS: Http://GOOGLE.COM then I am able to click on it so the browser opened with that URL. the same thing I want, so when clicking a URL gotten from email or SMS like: appNam