Zoom and drag a image with the fingers - Android Software Development

Hello, I'm trying to enable the zoom/drag with multitouch on one imageview (like the android gallery does), Is there any "easy" way of doing that? or the only way is listen the touch events and do my own interpretation of that events?
Thanks in advance
Edit: sorry i forgot the [Q] at tittle

You could use an embedded webview.

Related

Implementing search in RichInk

Hi everybody!
I've written a small app that uses a richink control to display a lot of text.
I want to add a simple search capability, but I can't figure out how to scroll the control to the right location. I stream out plain text and my algorithm fineds the character where the search string begins. But I couldn't find any way of determining by how much I should scroll the control.
It also seems the WM_SCROLLCARET doesn't work.
Can any one help me please……
Ok last desperate plea for help, anybody?

change automatically from Portrait to landscape view

hey guys,
tried to look for the answer but i couldn't maybe you guys can guide me. the htc x7500 has the vueflo software, therefore in the theory it should be able to sense if it is held in landscape of portrait position and should be able to change from these views by changing the position of the device (kind of like the iphone).
is there a way to make this possible? i am sick of manually changing the view from landscape back to portrait everytime i deattach the keyboard.
someone MUST have thought of this already.
looking forward to the answer. thanx
haz
Nope, as for right now VuFlo only works in either PIE or Opera. But your right, it should made available to the system.
haztoma said:
hey guys,
tried to look for the answer but i couldn't maybe you guys can guide me. the htc x7500 has the vueflo software, therefore in the theory it should be able to sense if it is held in landscape of portrait position and should be able to change from these views by changing the position of the device (kind of like the iphone).
haz
Click to expand...
Click to collapse
the vueflo software is used for the internet browser only, saving you scrolling on a web page manually.

[REQ] Default Calendar modification

Hi there,
I'm surprised no-one is interested in this kind of modification of default calendar, so here is my request/ question:
Is it possible to get out from calendar "Day" and "Week" view? To have possibility not to choose (through Menu) but cycle (by Soft key) only "Agenda", "Month" and "Year"?
Any help is welcome!
PS: No, really I do not want to switch to any different PIM application. This one is perfect for me ;-)
Count me in too !!
no one? up
still no one can help?

HTC Touch HD "Blackstone" flash lite 2.1 drag feature

Hi there.
I'm doing some AS2 development (FlashLite 2.1) for the Touch HD, and I'm getting some unexpected results from the _root.draggable=System.capabilities.hasStylus;
Its showing "false" when quite obviously the OS is stylus capable.
Anyone got any ideas as an alternative, I don't really want to add cursor style onscreen keys - but at the moment this is looking like the only option. Perhaps someone else has developed a work around for this limitation - reason being I'd like to make a draggable flash object in the app basically.
My only guess is that TouchFlo3D somehow prevents the normal drag function being available for applications like flashlite?

[Q] Confused with coding for layout.

Hi there, long time lurker first time poster here!
Slowly getting into android but i really cant get my head around the layouts. I would love to be able to use the AbsoluteLayouts but that isn't a good idea anymore.
Basically after some work i have managed to get a gallery working at the top of the screen. I want my app to look like this in essence: Ok can't post outside links at the moment, fair enough. Think of the android market. Icons to the left and a bit of information for each app next to it and a buy button on the right.
However i have no idea where to start off. Since i have the gallery already i have no idea how i can add things underneath it without screwing anything up.
Can anyone help? Thanks in advance!
Sorry to bump but the issue has changed, I have built an app but would like like the text to be besides the icon. Any chance someone can help? Using a linear layout.
http://img263.imageshack.us/i/sellscreen.jpg/
RED_ said:
Sorry to bump but the issue has changed, I have built an app but would like like the text to be besides the icon. Any chance someone can help? Using a linear layout.
http://img263.imageshack.us/i/sellscreen.jpg/
Click to expand...
Click to collapse
Are you using a List View? Looks like one.
How do you build up your content for the list?
In my view the best solution for your problem would be:
- Use a ListView
- Build your own ListAdapter (drived from BaseAdapter for example)
The Adapter builds the view for each item (or recycles an already built up view, the ListView handles that).
The view for each item would be a horizontal oriented LinearLayout with two items (the image and the text) and the adapter fills the layout with the information of the current item.
For better layout handling I would define the layout for the items in an extra xml file and use the LayoutInflater-Service inside the Adapter (if a view has to be built).
Hope this helps and points into a helpful direction
Devmil
Thanks for replying, managed to find a solution in the end without using ListView. Thought about moving to a RelativeLayout as its more effcient but as my app is very small anyway in the end i've just gone and used nested LinearLayouts with a textview and imageview in each one.
Ridiculously simple when you look back on it.
I was actually going to use this tutorial which does what you explained i think: http://www.anddev.org/iconified_textlist_-_the_making_of-t97.html but it left me with a force close error so that went out the window.

Categories

Resources