Scroll able Arc Menu android - java

we have got a requirement in our ongoing project where we need to show menu items in arc style at both upper space and lower space of the screen in reverse direction(will show you samples). i've tried to use some of the code from the demo of ArcMenu used in Path android application, but what i came up with is this:
This is not what i want to achieve but something like menus in following images.
I am trying to achieve this from last 4 to 5 days but not getting it right. if any one out there has done any research on such problem then please guide me.
any help would be greatly appreciated.

Make ListView in Circular
Follow this its working code. Code is provided by Samsung
may be it will workfor your issues
http://developer.samsung.com/android/samples/Circle-Launcher

That's quite a complicated task, especially since you want it to scroll while respecting its arc shape. There are probably no fixed answers for this, you'll have to manually create this type of interaction. Unless you have specific code examples of what you've tried and failed at, I don't think anyone can really help you here. Besides the technical difficulty, you could wonder if it is really a smart idea to have THAT many options in an already pretty unclear/overwhelming widget, that you can scroll to even more options. Maybe some design re-thinking is a better option.
Some examples though which could you get on the way would be here;
https://stackoverflow.com/questions/12072692/a-circular-layout-with-scrollable-contents-in-it

Related

Continuous Image Marquee

I'm just curious if anyone knows the easiest solution for an image marquee in Android with clickable events, etc.
I've looked at a few various projects and flicked through the manual, but I can't seem to find anything appropriate.
I would like to create a scrolling image effect similar to the Expedia android application homepage. See https://play.google.com/store/apps/details?id=com.expedia.bookings&hl=en
What I've looked at so far :
FragmentActivity -- Scrolling seems jittery and would take a fair old amount of adapting to achieve what I want
HorizontalScrollView -- Limited scroll functionality (this would be perfect if I could
continiously loop the contents, but short of overriding the draw I can't see how it's possible)
GLSurfaceView -- So far this seems like it's the only viable solution, but it's gonna take me a while to implement all the functionality manually
Before I get cracking deep into the OpenGL route it would be of great help to know if there is something out there that can already do this.
If anyone could suggest anything it would be much appreciated!
Thanks

Using Java WorldWind, but want an alternative

So, I realize this might not be the right site, but I didn't think it would be respectful to ask it on the WorldWind forums. If it should be somewhere else, please let me know.
Anyways...
I have this Java application that currently uses WorldWind to display a globe and place bitmaps corresponding to an item's location. WorldWind was initially picked for the project as an alternative to Google's product and because it had the "3D" effect. However, requirements change, and the 3D Globe is no longer necessary. (Also, WorldWind was a little heavy for the project - we found out that we would really like just a 2 color version if possible.)
My question to you all is:
What would you suggest as an alternative to WorldWind? I'm looking for just a "flat" map (or even just an image of the world...) that is zoomable, and is possible to layer objects on top of it (and those objects can move over time).
I have not really done much with map/image programming so please take that into consideration when replying :)
Have you checked out GeoTools? I believe it should be more than capable for what you are trying to do, though like WorldWind, the actual content is what contributes to things like color and such. Check out the quickstart which even includes some sample shapefile content, and has an example of an application which displays the shapefile content in a map frame. You may have to get your hands a bit dirty to play with geo-referenced bitmaps, though...
EDIT: I also found this on the Google: JXMapViewer
(just for the record, WorldWind has a "FlatMap" option)

Slider in Android App

I'm working on a project that requires a button to only be pressed once a translucent screen has been slid up. This allows for access to the main button (Press Me, in the picture). I would like for the top screen to be translucent so a user can see the button behind it, but I would also like to have buttons (green buttons 1, 2, and 3) on the top screen. Are there any good tutorials on this? I have looked, but haven't found much that relates a whole lot. If you have any sugguestions please let me know. I'd also like to know how difficult this is since I'm new to Java/Android. Here's the illustration to give you a better idea of what I want:
This would work similar to how the iPhone has the screen that can be pulled down from the top, but this one is always down and can be moved upward. Let me know if you have any suggestions.
Thanks!
I have try this demo for My requirement and it helps me a lot: Android-Slider Demo
Just Try it for your purpose and it will surly help you.
Enjoy. :)
I have created something like you are trying to do. Sorry I can't post the code since it's part of the company I work for. However here is what I did.
I copied the SlidingDrawer.java source to my project and made sure it was first working as expected. I than started modifying it to slide from the top and not the bottom. Took me a little time but it was well worth the learning experience.
Good luck!

"Home Screen" like effect while switching between views on Android

I'm creating an application on android similar to that of a book. I would simply like to have the scrolling effect between views (not activities) similar to that of the home screen. Currently I am using a ViewFlipper and don't have the animation I would like, since the shift is sudden as opposed to following your finger.
I am aware that there are several opensource projects and classes being developed to achieve such a thing more easily for the individual programmer, but wondered if there was a way I may have overlooked to implement a homescreen-esque effect. An alternative which I have thought of using would be a TabView, with no label tabs being displayed above the content of the page, yet have not heavily looked into this option yet.
If anyone has encountered the same hurdle and has any ideas of how to overcome it, I will buy you a pizza! (Not really... I don't know your address) But I'd be very appreciative! :)
Thanks
I think you're looking for the ViewPager. It's part of the compatibility library.

Adding content to tabs!

I'm a complete noob at android and java and have just got going with it, I have just done the appwidget tutorial from google, have set up three tabs like they have and have some pretty icons to go with them.
Now I have no idea how to add content and hide other tabs when one is clicked etc, in fact I have no idea where to even start adding content. I have had a huge scroll on google to find not much, just a lot of people with the same problem.
If anyone could point me to a tutorial or give me a push in the right direction I would be very grateful, I'm hoping you Java/Android programmers are a little nicer than the c++ programmers I've dealt with on forums ;)
Thanks! si
As for my experience with TableView ( you meant them, didn't you?), you have to put data into them directly. I would advice to use the ListView, that is not so buggish as tableview and can be connected to a cursor from a DB table. It has a tutorial http://developer.android.com/resources/tutorials/views/hello-listview.html
BTW, tableview, if you insist on using it, has tutorial there, too

Categories

Resources