File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Widget

 
Sahil Reddy
Ranch Hand
Posts: 145
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello pals
I have the following requirement but i dont know what excatly i should use in order to accomplish my task

Requirement : A Widget that has scrollable items similar to the way it happens in Gallery view.

Please let me know about the possibilities..


Thanks and Regards
 
Przemek Boryka
Ranch Hand
Posts: 51
Android Eclipse IDE Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi !

You may use your own class, which extends View.class and overload the onDraw(Canvas c) method to create everything you want . Implemtent OnClickListener, OnTouchListener interfaces ... to handle user inputs.

in your activiti, create your layout using your created view as same as any other widget.

I hope it will help you Greeting from Poland.
 
Sahil Reddy
Ranch Hand
Posts: 145
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Actually i want things to happen on HOME screen and not on my application similar to the following....

Click long on HOME screen --> Widgets.----> you would fid the same thing i want to achieve....

Please let me know how to get the code for same too ??

Reagards
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic