robovm

How to add a share intent with robovm (libgdx)?

此生再无相见时 提交于 2021-02-06 15:26:30
问题 So for android devices there is a default share intent function that you call that will list all the apps that is downloaded on the device with that allows sharing of content. How would I do this using robovm, here is a Screen shot of what I am trying to achieve. Also on a side note, what I want to ultimately do is take a screenshot of their device and post it to whatever social media site the user chooses. Any help would be greatly appreciated :D 回答1: For iOS users: RoboVM is deprecated in

How to add a share intent with robovm (libgdx)?

拥有回忆 提交于 2021-02-06 15:20:39
问题 So for android devices there is a default share intent function that you call that will list all the apps that is downloaded on the device with that allows sharing of content. How would I do this using robovm, here is a Screen shot of what I am trying to achieve. Also on a side note, what I want to ultimately do is take a screenshot of their device and post it to whatever social media site the user chooses. Any help would be greatly appreciated :D 回答1: For iOS users: RoboVM is deprecated in

Gluon sample application failing on ios devices

送分小仙女□ 提交于 2020-03-03 04:40:58
问题 I am trying to run my gluon sample application on ios device but I am getting an exception while launching the app using the command ./gradlew --info launchIosDevice . The error stack trace is org.robovm.libimobiledevice.LibIMobileDeviceException: IDEVICE_E_NOT_ENOUGH_DATA at org.robovm.libimobiledevice.IDevice.checkResult(IDevice.java:197) at org.robovm.libimobiledevice.IDeviceConnection.receive(IDeviceConnection.java:109) at org.robovm.libimobiledevice.util.AppLauncher.receiveGdbAck

What is startActivityForResult analogue in RoboVM?

生来就可爱ヽ(ⅴ<●) 提交于 2020-01-15 15:31:06
问题 I develop iOS app with RoboVM. The task is to open camera or any another view in new window and then return to previous with some result. I have successfully tried UIPopoverController allready, but it is not supported by iPhone idiom. So, what is analogue for startActivityForResult in RoboVM? PS. Code for UIPopoverController solution final CGRect bounds = UIScreen.getMainScreen().getBounds(); UIViewController controller = app.getUIViewController(); UIImagePickerController imagePicker = new

libgdx iOS robovm no sound unknown ext audio

丶灬走出姿态 提交于 2020-01-05 10:10:13
问题 Tearing my hair out trying to get some sound working on my 99% completed game. I am using libgdx 1.6.1 eclipse juno with the latest robovm plugin for eclipse, I am testing on my iPhone 4s (I have apple dev status). I am using mp3s but have converted to ogg to test my problem. Unfortunately, The same problem came back so I switched back to MP3's. The Sound work fine in desktop and android versions based on the same core code. The error i am getting is the following: 2015-08-03 20:24:51.953

Libgdx for iOS with RoboVM - Unsatisfied link error at IOSGLES20.init

眉间皱痕 提交于 2019-12-30 06:10:09
问题 Trying to port my LibGDX game to iOS using RoboVM. When running the app for the emulator I get this error: Exception in thread "main" java.lang.UnsatisfiedLinkError: at com.badlogic.gdx.backends.iosrobovm.IOSGLES20.init(Native Method) at com.badlogic.gdx.backends.iosrobovm.IOSGLES20.<init>(IOSGLES20.java) at com.badlogic.gdx.backends.iosrobovm.IOSApplication.didFinishLaunching(IOSApplication.java) at com.badlogic.gdx.backends.iosrobovm.IOSApplication$Delegate.didFinishLaunching(IOSApplication

RoboVM app crashes on ptr.get()

僤鯓⒐⒋嵵緔 提交于 2019-12-25 12:49:54
问题 Is there some kind of magic required to get ptr.get() to work? For some reason the following code always crashes my app: AudioStreamBasicDescription asbd = new AudioStreamBasicDescription(mSampleRate, mFormatID, mFormatFlags, mBytesPerPacket, mFramesPerPacket, mBytesPerFrame, mChannelsPerFrame, mBitsPerChannel, 0); AudioFilePtr outAudioFile = new AudioFilePtr(); File f = File.createTempFile("ptt", ".caf"); AudioFileError afe = AudioFile.createWithURL(new NSURL(f), 1667327590, asbd, 1,

Is it possible to access OpenGL ES from RoboVM without using LibGDX?

天大地大妈咪最大 提交于 2019-12-20 03:36:14
问题 Is it possible to access OpenGL ES on iOS from RoboVM without using LibGDX ? If so, are there any useful references? The only thing I can find is this super-simple demo from over 2 years ago: http://robovm.com/ios-opengles-in-java-on-robovm/ But it doesn't provide any functions besides glClearColor and glClear. The Apple GLKit framework seems to be implemented, though. I just can't find all the actual glWhatever(...) functions... 回答1: Yes, it is possible. You need two things for this: 1.

LibGDX - How to integrate AdMob for both iOS and Android

半世苍凉 提交于 2019-12-18 13:26:54
问题 I am following this tutorial for AdMob integration through LibGDX, but it shows for Android only. I am just wondering if someone has an example how to achieve same integration including iOS? Also, how can I use banners instead of full screen? Currently my setting for iOS with LibGDX is: 1.- RoboVM 回答1: read this link It also includes many other useful integration related to ios and libgdx. 来源: https://stackoverflow.com/questions/22025629/libgdx-how-to-integrate-admob-for-both-ios-and-android

com.badlogic.gdx.utils.GdxRuntimeException: Couldn't load file: - Error

六月ゝ 毕业季﹏ 提交于 2019-12-18 09:38:32
问题 I am trying to develop an application in libGDX for iOS. In my Java class I have written this line private Texture texture = new Texture(Gdx.files.internal("data/folder_name_1/folder_name_2/abcd.png")); and my robovm.xml looks like this- <iosInfoPList>Info.plist.xml</iosInfoPList> <resources> <resource> <directory>../android/assets</directory> <includes> <include>**</include> </includes> <skipPngCrush>true</skipPngCrush> </resource> <resource> <directory>data</directory> </resource> <