混合移动应用程序中的增强现实 [英] Augmented Reality in Hybrid mobile application

查看:74
本文介绍了混合移动应用程序中的增强现实的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用jQueryMobile和phonegap创建一个混合移动应用程序.现在,我需要在相机视图中为应用程序实现增强现实.我为此感到宽容.我可以使用混合移动应用程序来完成以下链接中提到的功能吗?

I am creating a hybrid mobile application using jQueryMobile and phonegap. Now I need to implement the augmented reality in camera view to the application. I got wikitude for this purpose. Can I do the functionality mentioned in the following link using hybrid mobile application?

http://www.wikitude.com/showcases/active -website-augments-real-estate/

我在这里有一些示例应用程序 https://github.com/Wikitude/wikitude-phonegap/tree/master/Android

I got some sample application here https://github.com/Wikitude/wikitude-phonegap/tree/master/Android

但是我很困惑是否可以将其用于混合移动应用程序(仅html,js和css文件),因为这些示例包括WikitudePlugin.java文件.

But I am confused whether I can use this for hybrid mobile application (only html, js and css files), since these samples include WikitudePlugin.java files.

请帮助我, 谢谢

推荐答案

请查看 Wikitude论坛.

您的问题已经在那里回答了(来自用户"Caroline"的引用)

Your question was answered there already (quote from user "Caroline")

"Wikitude插件是一个Phonegap插件.Phonegap插件将本机(对于Android:Java,对于iOS:Obj-C)代码文件添加到您的项目中.该本机代码支持您可以从混合代码中调用的功能.因此,您的混合代码仍然是混合代码,但是在部署到不同平台之前,您还应该为该平台提供Phonegap插件(例如Wikitude插件)."

"The Wikitude Plugin is a Phonegap Plugin. Phonegap Plugins add native (for Android: Java, for iOS: Obj-C) code files to your project. This native code supports functions you can call from within your hybrid code. Therefore, your hybrid code remains hybrid, but before deploying to different platforms, you should provide the Phonegap Plugin (such as Wikitude Plugin) for that platform as well. "

这篇关于混合移动应用程序中的增强现实的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆