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

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

问题描述

我写在Java跨平台的应用程序(PC,iOS版,Android版)。我想给Facebook整合到这个程序。我一直试图找到一个统一的方法进行登录,因为它是一个跨平台的应用程序了。所以,我一直在关注 Facebook的手动登录尝试一种方法,将每个平台上工作。我使用的 restFB 来处理与Facebook的互动后,我得到了用户的访问令牌。最后一点是造成困难。看来,我得到了用户访问令牌的唯一方法是让他们从嵌入式浏览器登录。

现在我已经看过这个类似的问题< /一>的,但问题是,Libgdx不使用JavaFX兼容。所以我的问题是:有没有比较简单的方法嵌入到Web浏览器成通过Libgdx内置的应用程序?


解决方案

  

所以我的问题是:有没有比较简单的方法嵌入到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天全站免登陆