I need a basic java applet and android application that replicates the MyTouch scrollable menu where you select the program you want to run. ? The user should be able to drag (and double tap) the edge of the menu to pull it open, or close it. ? The menu will contain a series of image and text pairs.?
The code you produce should run on Android 1.6 and greater to support devices such as the MyTouch. ? It should also be runnable through a? separate? applet using JOGL and JavaSE only. ? You should? **reuse**? as much code to layout and display the menu as possible. ? That being said, the only code that should differ is the actual rendering of the menu. ? The code for the layout, sizing, moving, and click detection should all be shared. ?
## Deliverables
The base android application you create should run the Android Example 3d code that renders a 3d cube. ? The java applet version should display a 3d cube/square as per lesson 5 in Nehe.
The menus will be displayed on the outer edge of the screen as per the attached drawing. ? When the user pulls open the menu, it displays it on top of the 3d cube. ? The menus should use the background image provided and be 50% translucent, so the cube is still partially visible behind the menu. ? The image/text pairs in the menu should not be translucent. ? When the user clicks on one of the images in the menu or anywhere off of the menu, the menu should close. ? The menu should not close if the text or anywhere else on the menu is selected.
The menu should also be able to resize based on the screen size. ? When expanded it should occupy 90% of the screen, with 5% of the screensize spacing on each side of the menu and 10% still open at the top. ? The image and text pairs should also be scalable in terms of image and font size.
For the purpose of this project, place 20 image/text pairs in the menu so that not all of them fit on the screen at once. ? Then, using the scrolling feature of the menu, use a finger/mouse to drag the menu up or down to view the rest of the items. ?
See the attached file for a picture of what the MyTouch menu I am referring to looks like. ? I also provided drawings showing how it should look when the menu's are closed and when 1 is open. The code from the Android example for rendering/displaying the 3d Cube is also in the file. ? The lesson 5 java opengl code is also there for setting up/displaying 3d shapes in java. ? Ihe background image for the menus and the image to use for the image/text pairs.
Please message me for any clarifications on any aspect before beginning the work.