I am working on a native android project in which i need to use augmented reality in a section.
It is a like a business application in which user get offers from company.
Now the main part is the offers will get like we get Pokemon in PokemonGo app.
Also the offers will be shown to the user like the restaurants shown in Yelp(Camera View).
Please suggest me what do i do?
Do I use unity for this or this kind of app can be build in eclipse/Android Studio.
I want to know how do I integrate Augmented reality in my native android app.
I don't have any experience in Unity.
Related
I am currently working on a project. I have learned Java for ~4 years and am completely new to Android Studio.
In this project, a camera with artificial intelligence should recognize people within a certain radius.
With an Android app that I want to program using Java via Android Studio, I want to access the camera and query the information.
My question would be, with which tool or library can I program such an app and what else do i need?
I tried to use OpenCV and also Exoplayer, watched several different tutorials, but nothing really worked out for me.
My question would be, with which tool or library can I program such an app and what else do i need?
I thought using histograms might be the right apporach. I looked around and found this intersting project. https://isl.cs.technion.ac.il/wp-content/uploads/2020/11/Face_Recognition_Project.pdf
Introduction
Our goal was to create a fully operational mobile application which could detect,
recognize and track human faces.
In order to do that, we have decided to use the Android[3] platform combined
with the opencv library[4][5].
The development of the application was made on Qualcomm MSM8960[6] mobile device which run a 4.0.3 Android OS.
In addition to the application we have built, we also did a research about how
well we can use LDA[1] and PCA[2] in order to recognize faces and also about
the use of LDA in order to do basic pose estimation.
This is also interesting: https://towardsdatascience.com/face-recognition-how-lbph-works-90ec258c3d6b
I create project in Android studio to display all application installed in my device, I want to separate the social media application and game application, is it possible? and any hints so i can do it.
Well, first of all, you should get all installed app package names then you can search package names in the play store to find out their category.
As I know there is no official API by play store so you should search and collect data from HTML and so on. also there should be some third-party APIs, just look for them and probably you will find some of them.
If you want to collect data from the play store, just take a look at this
Good luck!
I have a React Native project integrated with an Android Studio java project (meaning part of my application works with java and part with react native), and I need to be able to navigate from one of my react native screens to one of the java screens. I've got the navigation inside the react native part all covered up (I'm using the react-navigation package), but I can't get my head around navigating to a java screen.
So far, I've looked everywhere on the Internet and the package's documentation, but it seems there's simply no information about this, or maybe I missed something. Either way, can anyone point me in the right direction on how to navigate between react native and native screens?
React native allows communication between JAVA and JS. To achieve what you want to do you will need to call a method from JS to JAVA where you can use intents to open a new screen. It's too much to explain and I probably wouldn't do it justice but you can go through the docs.
Native Modules Android
I am working on a Unity Project that will be exported to ios and android.
I have a native objectiveC and Android Java code that consists of 2 views (basically a login flow). Both have same logic. What I need to do is the following:
When the app runs, it will run the Native views and code (objectiveC or Java depending on the platform).
Then the user will go through the flow, and once it is completed, I will need to report back to the unity code, and open a scene from it.
Any indications on how can that be achieved, without having to add them after generation of each code?
Because otherwise I would have to put my native code in, every time I generate a new project.
I did some research and came across the "extern" capability, but can it be used to open views from storyboards or android xml files? and trigger logics?
Thank you
In web-based development and Windows-based development it is possible to develop applets or components that other applications can embed in their own UI seamlessly. I have a component (derived from View) that does some real-time animation that I'd like other apps to be able to embed in their own views or activities. Is it possible to allow other apps to embed this component in them in such a way that, when my app is updated, the other apps will automatically exhibit the updated behavior in their embedded component?
If this is possible, I'm having a hard time figuring out the search terms to use to look up how to do this. How would one app go about embedding a view from another app, and what happens if that other app isn't installed?
You cannot directly allow embeding in the way of an iframe.
However, you could make your View a library project that other developers can include in their app, much like they include another company's SDK. To allow updating automatically, you will need to have your app installed in addition to theirs, and when making the library project, you will have to make a BroadcastReceiver that can react to broadcasts you send from your app to update the Views in other apps.
Your SDK can then receive these Broadcasts, and update your View accordingly.
You can make your current project as Library project. You add the Library project to the project you want use the custom View. Your custom View will be accessible in that project.
You can mark a project as Library project by going to Project Properties > Android and checking the appropriate checkbox.
You can create an app widget for your application, and that widget can be used by any application that acts as a widget host - which few do - but at least you could have it on your home screen. I wonder why this is not done more - that would be a killer feature for many applications.
https://developer.android.com/guide/topics/appwidgets/index.html
Gives more information.