I am working on a simple app in SDK Android and i have the follwing problem:
I have already converted my png. images in SVG and now i want to make them interract.
The problem is that the whole image is made up from other images or text fields etc.
So, as i have saved it in .svg format i want to find a way to handle for example the button, when clicked, that exists at the center of my photo, the scroll bar at the bottom, when clicked etc in order to go to another svg image. I don't know how i could handle them seperately, as i save the whole image as svg that contains all the above parts..
Thanks in advance
Related
I am trying to pick images from the gallery in my android application and I want to place them above each other,
but the problem is that I want to use only a single image view.
Does anyone know the code for that?
Thanks for your help.
I am new in Android and I'd like to know to highlight and image using touch event (using my finger). My approach is the next:
App use a image that is used as background, it contains text to be highlighted.
User highlight that image using his/her finger
I don't like to write directly over the image. I'm thinking in something like "Layers".
If is possible user should zoom the image because the image could be too large 5mp (the image is captured by the device camera)
I don't like to save the layer that contains the highlight because I actually need is have coordinates to have a box that will be used to extract information from the background image.
I hope someone could help me.
I need a tutorial where in I can get images from a folder to display in grid view and then on click of the image in grid I can see full view and swipe functionality
any tutorial or code here please
thanks in advance
I think this is not hard to perform.
Find out your SD card folder path, scan and store image files and get image path in the SD card folder, get the bitmap from stored image path and put in to gridview. set gridview item selected listener to display image when click on a item.
There will not have a example code contains all the function you need. you can divide the problem to small ones, then try to solve it piece by piece. For example: solve scan image file from a folder first.
If the code given in gitHub can not fetch your images then paste the
path here which is used to fetch the images.
To set images in grid view, you already got the code. But now you
want to slide the images one by one. Then I can give you a hint that
use gallery view of android. It provides slider of small images. You
need to change the resolution of images. You need to combine these 2
views.
I've just written an app with a nice photo gallery for iOS, now I'd like to do the same thing with my Android version of the app. I see that the Android Gallery API allows me to build a scrolling gallery of images. But what I really want is an apple-photo gallery style interface with a grid of thumbnails which, when tapped, open up a full screen display of the selected image and allows me to navigate through the photo gallery using swipes or left/right arrows on a tool bar.
In iOS I used the KTPhotoBrowser to achieve this interface, but I haven't been able to find anything like that for Android. Can anybody point me to a library, or even a tutorial with example code which will give me an interface like that without having to roll it myself?
Update: I've found the GridView Tutorial which describes how to put image thumbnails into a grid, seems to be the perfect thing. The Gallery API can be used for the full size photo browser as shown in #ariefbayu sample code (see link in comments below). It's not quite the same as the iPhone style gallery, but it's pretty good.
I've done this kind of interface. The basic is:
MainActivity load images into GridView.
On each Gallery click, load another activity using Intent, called SlideActivity which extends 'Gallery' in full screen mode where this will:
show Gallery and set current image to selected
set currently selected image in gallery, to what is clicked in first layout.
Link to sample code: https://www.dropbox.com/s/xk2oupma8zcxqpf/GridToGallery.zip
i have created one dashboard for android in adobe flash4.5 now i want to put Background_image on one of the panel.can any one please give me idea how to put image on background screen of panel?
Thanks in Advance----
If your panels are movieClips , then edit the movie clips and place an image loader at the bottom most layer of the movieClip.
By handling the instance of that loader , you can dynamically change the images which could be a random background images.