I have bluetooth remote control which I use for browsing trough android gallery. I want it to
change only one picture every time even if I'm clicking and holding the button.
I did not try anything. I expect to find out if it is possible to change picture only when
rleasing the button (so that every click will change only one picture even if I click and hold
the button)
Related
I want to build an app in which camera will be always open and there will be list of buttons shown on the screen.
When the user clicks on the button, I want to call a function for that specific button.
Actually it is an augmented reality app.
When we have a target image then we can do such functionality with Vuforia SDK virtual button, but I want it without the target image.
How i can get this?
You can do this UI buttons like a normal app do.
Also, you can use 3d objects and add funtionality to them, but be sure that you set the World Center Mode properly so you can see the objects.
Is there any way to display an Android live wallpaper in a fragment? I have a live wallpaper, and currently if the user wants to change some settings, they need to click settings, make a change, hit the back button, and see if the change is what they want. For certain wallpapers, the user doesn't exactly know what numbers they want, and usually they figure out the settings through experimentation, so the current method of going back and forth between the settings and the preview is a pain.
Right now a lot of the settings are in the form of a slider fragment that I wrote. I was wondering if it is possible to include a preview of the wallpaper in the fragment that will change live with the slider?
I 'm working on a new apps for android , that ask the user about how many image he would like to capture, display all & then save.
The number of captured photos works correctly, but when I go to the display's layout only the one photo is shown, I tried "switch" instead of writing them all but nothing seems to work.
Is there any specific code may do that ?!
I am building an Android app that uses the phone's camera feature. I know there is a way to build a custom camera view. Instead, I am choosing to use the camera app via an intent and not build my own camera view. I want to disable/make disappear the pause button while taking a video and have just the stop button. I looked up the Camera API Guide at www.developer.android.com but it doesn't talk about how I could do this. Does anyone know a way to do this?
I doesn't think that this is possible. Using Intents is just a way to tell Android "hey, I'd like to take a video (photo, see MapView, etc). Can you do it for me?". It may trigger one or MORE Apps listening to that Intent, depending on what apps the user has Installed. Usually you can only choose very basic options via Intents, i.e. take video/picture or tell the MapView at which Position it should show up. These options usually also appear inside the App during normal use. I never see a "CustomCamera-App" that hasn't a pause Button, or where one is able to deactivate it inside the menu. Therefore the chances that it is possible to set that special option tends to zero.
How can I open the system wallpaper application from my application (in a button click)?
Can I wait for a result, just like we do for browsing images?
Let me be a bit more specific:
My application changes wallpaper depending on battery level. So from more than 75% I use one file, more than 50% show another, and so on...
To do that I allow the user to browse for the image file he/she wants openning a file browser and select the file. For this there is a button with the text "open browser". I wait for results and get the image.
Now I am trying this:
I want to let the user click on another button with the text "open wallpaper picker" and would like to open that (system default wallpaper picker). Then I will wait for the result, take the new wallpaper and save it to a file for using again when battery gets to that level further times.
You could try using WallpaperManager to get the current wallpaper. Not sure how you could prompt for the standard wallpaper picker though.
Another approach is to just use the generic image picker (which is the approach used in this answer to a similar question)