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.
Related
I have been assigned a task to create build an Android application on a mobile phone that has an Augmented Reality keyboard.
When a user points the phone towards a surface, he/she should be able to view this keyboard on his/her phone and should be able to type in.
This data will then be displayed to the user on the screen.
Any idea how this can be achieved?
Mixed Reality Toolkit has a similar solution implemented for HoloLens. You can start by looking into it: https://microsoft.github.io/MixedRealityToolkit-Unity/Documentation/README_SystemKeyboard.html
You can download the project and check the source code from here.
Additionally, using ARFoundation coupled with Unity can give you a jumpstart, where most of the AR functionalities are accessible through the API, like detecting a ground plane to put your keyboard on.
My goal here is to have at least a minimum of automation for a specific game application. I am basically trying to write an overlay app that performs touch events programmatically based on the current screen of this game.
My approach to the problem is:
a. Take a screenshoot of the screen every few seconds
b. Use image recognition on the screenshot for template matching
c. Perform touch event programmatically on the returned location of the template matching algorithm
d. Delete screenshot
e. Go to step a
I am not so sure taking screenshots every few seconds and doing template matching is the "best" approach though. Is there maybe any other way to avoid taking screenshots?
What do you think? Have any suggestions?
I am working on an Android app mainly based around the camera of the device. I am able to launch and use the Camera Intent but I would like to know if there is a way to customize this camera screen. I mean, for the moment, the camera preview screen displays all the settings of the camera, I would like to be able to hide them. If possible, I would also like to add new buttons on this screen, so I could launch popups or display a message to the user. Is it possible or should I try to use an external library which handles that ?
Basically, I would like to have a camera screen which would look like the one from the Snapchat Android app.
Thanks!
I would like to know if there is a way to customize this camera screen
No. After all, there are several hundred possible applications that you could be launching, and none of them have to offer any sort of API for the control that you want.
I would like to have a camera screen which would look like the one from the Snapchat Android app.
Then use the camera APIs directly (e.g., android.hardware.Camera) and write your own camera app.
Is it possible for an android app to run in the background, listen to specific triggers and modify the visible application content in the screen (in both system and third party apps)?
For an example, A 2 finger tap should lead to a ripple effect on the screen. If the temperature is high, The screen turns more reddish. If I say "do a barrel roll", The entire UI does a "barrel-roll" like the google Easter egg. And this should happen whether the user is in the homescreen, settings or his Instagram.
The best working example I can give is the built-in "Magnification Gesture" provided by Android. Three taps anywhere will zoom everything up except for the keyboard and the navigation bar. And it doesn't zoom as an image, the touch points are preserved.
Is this possible to do without or with root? Do I need a framework like Xposed?
Thanks.
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.