将浏览器嵌入到Libgdx中 [英] Embed a browser in Libgdx

查看:188
本文介绍了将浏览器嵌入到Libgdx中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在Java中编写一个跨平台应用程序(PC,iOS,Android)。我想将Facebook整合到这个应用程序中。我一直试图找到统一的登录方法,因为它是一个跨平台的应用程序。所以我一直在追踪 Facebook手册登录 restFB 处理与Facebook的交互。最后一点造成困难。让我们看到用户访问令牌的唯一方法是让他们从嵌入式浏览器登录。



现在我已经看过这个类似的问题,但问题是Libgdx与JavaFX不兼容。所以我的问题是:有没有比较简单的方法来嵌入一个通过Libgdx构建的应用程序的Web浏览器?

解决方案


所以我的问题是:是否有一个相对简单的方式将Web浏览器嵌入到通过Libgdx构建的应用程序?


Nop


I am writing a cross platform app(PC, iOS, Android) in Java. I would like to integrate facebook into this app. I have been trying to find a uniform method to login, since it is a cross-platform applicaiton. So I have been following Facebook's manual login to try an approach that will work on each platform. I am using restFB to handle the interaction with Facebook after I get the access token from the user. That last bit is causing difficulties. It seems the only way for me to get the users access token is to have them sign in from an embedded browser.

Now I have looked at this similar question, but the problem is that Libgdx is not compatible with JavaFX. So my question is: Is there a relatively simple way to embed a web browser into an app that is built via Libgdx?

解决方案

So my question is: Is there a relatively simple way to embed a web browser into an app that is built via Libgdx?

Nop

这篇关于将浏览器嵌入到Libgdx中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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