live camera feed in background of Phonegap android app - android

I want to make a phonegap android app which displays the live camera feed as the activity background. am a fairly experienced phonegap developer but am a total novice when it comes to mainstream android app development .
I found a native android solution:
How to use camera live feed as a activity background?
But i really don't know how to intergrate it into my phonegap project.
does anybody have an idea how to go about this .

Related

Android app with WebView of AR ( Augmented Reality ) Website Android Studio + kotlin

I have android application which contains a webview of one website with AR facility.
But I am facing an issue that normal webview of android doesn't allow to open AR mode and tried to open with intent then it will redirect to google sceneform link.
I want to add button in AR mode with website. That button can take screenshot of AR mode.
I have taken all the permissions. camera, AR.
Installed all of the plugins correctly still can't get succeed.
Please Consider that which technology is your webAR experience using ?! maybe it is webXR. and as you understood, webXR is not supported in android web view ! so if you really want to see AR in webview, you may reconsider which webAR you are using ( try AR.js or mind-AR or 8thWall(paid) or etc. )
But Consider that webXR is almost fully supported by chrome browser on android. so if you open that website on chrome browser, it may run without any problems. If you still have questions, please don't hesitate to ask!

How do I create an app to mimic the data on a website?

Is it possible to create a mobile app for both Andriod and iOS which will display the same data as on a website written in HTML CSS and js?
The site only displays information but this info is used regularly by users. I have been asked if it's possible to create an app that the same info would be available on? Ideally, any changes made to the website would be reflected in the app without having to change the code for the app as well.
edit - The page on the app will still need functionality i.e being able to open modals when a button is clicked.
You could embed your site in a native app using a WebView. Nowadays you have several technologies as React native and Flutter that could help publishing your site as a multiplatform app.

Stream video from phone camera using ionic framework

I am trying to build a mobile phone app using Ionic Framework to live stream video captured through phone camera. This is very similar to https://www.periscope.tv/
I will capture this stream on my server, transcode and then distribute it again. I looked into the camera plugin for cordova https://github.com/apache/cordova-plugin-camera. I am not sure if it is possible to live stream from camera using ionic framework.
If not, what are my other options except for going native.
Take a look for this tutorial: https://www.youtube.com/watch?v=U2LOpmCpK-g
This is a quick demo of setting up and running the RTCOMM Mobile Sample app. This sample uses the Ionic framework and angular-rtcomm library to build a Hybrid Mobile application.
I followed this tutorial and works! I recomend you to try first running from an iPhone (iOS 9.3 in my case) and make a call to a browser (Firefox 45.0.2), works perfectly. I also tried with Android, but has some mistakes.
Hi you can use ionic framework to embed video streaming for mobile app and the reference for the link is Nic raboy video in Ionic and the plugin for the project is camera, you can edit this plugin documents based upon your requirements in delaying the app to show and inject $http service in your controller to send the data to server

Connect a unity Android app with native android app

There should be a button in the unity application that will launch the android app, similarly there should be a button in the android app that will let us switch back to the unity app.
Please helo me to perform this task , since im a newbie, i dont know how to do it :(
You would have to use plugins. The same principal works for iOS apps, and Windows Phone beta apps. You can communicate back and forth from within the View and View Controllers into your Unity Apps via plugins.
Here is a good start:
http://docs.unity3d.com/Documentation/Manual/PluginsForAndroid.html

Integrate flash games in android app?

Have 3 flash games that I would like to integrate in a menu / list in an android app. So when the user selects the game from the list, the game starts with help of android flash player.
Is it best to do this with WebView or is there something better? I do not know where to place the flash games to get them in my compiled application.
Is there a good tutorial?
Thanks!
Adobe flash provides one good way: You can build an air for android app. Use that to create your menu and compile all three games into your AIR app.
Here are some tutorial links about it and also about publishing AIR for Android applications:
AIR to Android, PART1: http://gotoandlearn.com/play.php?id=123
AIR to Android, PART2: http://gotoandlearn.com/play.php?id=124
Publishing AIR for Android applications: http://gotoandlearn.com/play.php?id=131
I don't believe the android flash player can be launched from an intent yet, so using the Java Android will not solve it (for now)
And a third approach you mentioned, ought to work - using a webview.

Categories

Resources