Questions tagged [robovm]

Robovm is an open source, ahead-of-time compiler for Java bytecode to ARM and x86 executables.

The RoboVM compiler translates Java bytecode into native ARM or x86 code. Apps run directly on the CPU. No interpreter or virtual machine involved. RoboVM enables Java apps to run on iPhone and iPad without a run-time interpreter or JVM.

332 questions
0
votes
1 answer

how do you implement a UINavigationControllerDelegate?

I am new to robovm. I'm using Eclipse Juno. I just updated to the latest robovm install. Before the upgrade, the ios demo app would run briefly, and then crash. It only crashes if the code tries to create a UINavigationControllerDelegate. When I…
0
votes
1 answer

Get row from indexPath in RoboVM

I am trying to write the following objective-c code in robovm: (NSIndexPath *)indexPath = ...; cell.textLabel.text = [tableData objectAtIndex:indexPath.row]; However, when I look thru RoboVM's calls for NSIndexPath…
syzygy
  • 1,356
  • 3
  • 16
  • 28
0
votes
1 answer

Why can't I run my app?

My app runs perfect for desktop and Android, but robovm with libgdx will not work. I downloaded the ios sdk on my mac and got everything set up. When I try to run it on the ios simulator, I get this error: An internal error occurred during:…
Mercify
  • 113
  • 3
  • 9
0
votes
1 answer

Does RoboVM convert swing java apps?

I have looked and I cant find the answer. Id like to know before i begin this project, but does RoboVM convert java directly to iOS aka objC? Does this work for both Java and Android? Does this also include java Swing? Im wondering if I can convert…
Cameron Roberson
  • 111
  • 4
  • 20
0
votes
1 answer

libGDX with MoPub (integrating AdMob) using RoboVM project for iOS

I am building a game using the latest (as of date) libGDX nightlies , RoboVM nightlies, and MoPub bindings that are available here. I used MoPub bindings to show AdMob ads, and I managed to show AdMob test ads on iPhone simulator; however, only test…
Moh'd Al-Ahmad
  • 217
  • 2
  • 12
0
votes
2 answers

Package iPhone-Only binary in robovm

I developed a game with libgdx. I already published it to the play store and want to publish it also to the apple store. Since I want the game to be only available for iPhones I need (or at least I think I need) to package a iPhone-Only binary with…
Manuel
  • 496
  • 6
  • 20
0
votes
1 answer

how to compile head file in robovm ios?

We are developing a game on robovm ios. We must use a third framework. And the third framework must use some header files and a static library. If we develop with XCode, we can copy the header files and the static library. Now we are developing on…
Alan Yin
  • 41
  • 4
0
votes
1 answer

Issue with LibGDX and RoboVM Maven Plugin

I've been trying to port a libGDX project to iOS, and have encountered a frustrating error. I'm using the RoboVM Maven Plugin, and get the following error when trying to run the iphone simulator. [ERROR] Failed to execute goal…
kabb
  • 2,474
  • 2
  • 17
  • 24
0
votes
1 answer

about UITextFieldDelegate on ios

We are porting a libgdx game to ios. I create a UITextField and set delegate, here is the code: this.textField.setDelegate(new Delegate(textField)); public static class Delegate extends UITextFieldDelegate.Adapter { private UITextField…
Alan Yin
  • 41
  • 4
0
votes
0 answers

(LibGX+RoboVM) some particular .caf audio files are not played back

I am trying to port libGDX game to iOS with RoboVM. I have converted .ogg files to .caf files. All converted .caf files work on Mac. The problem is that some of .caf files are not played back on my iPad (still work on the iPhone). Android and…
Dmitry Kolesnikovich
  • 669
  • 2
  • 15
  • 33
0
votes
1 answer

RoboVM not working on JDK 1.8.0 b112

I'm running Eclipse with RoboVM plugin and I wanted to try IOSDemo sample project described on robovm.org (http://www.robovm.org/docs.html). When creating the project in Eclipse and running it I got following error message. An internal error…
amos
  • 21
  • 2
0
votes
1 answer

Libgdx with ROBOVM error - Element 'resources' is already used

I'm building a game with Libgdx. I've been able to fix many errors, but I could not fix or find any help on this one: I'm receiving the following error when i try to run the my Libgdx game with ROBOVM: An internal error occurred during: "Launching…
AGames
  • 3
  • 2
0
votes
1 answer

Robovm Libgdx demo fails at runtime with unresolved native function for objc_getSharedAccelerometer

I have run the "hello world cocoa" example from the robovm official site successfully. But when I run the libgdx robovm demo, while it compiles OK, it fails with a runtime error. I have followed every step of the wiki. Do you have any…
-1
votes
1 answer

RoboVM imports wont work - The import org.robovm.apple cannot be resolved

I have a libGDX game that i have finally been able to get it to work on iOS, desktop and Android all now without issues. I wanted to put google adMob ads into my iOS project and began by using the bindings i found here . I had trouble importing them…
-1
votes
1 answer

robovm bindings configuration about *.dylib

I have an Objective C static library that I am trying to import into robovm project. The problem that I am encountering, though, is that the library depends on libz.dylib and I do not know how to include these frameworks in my robovm application. i…
1 2 3
22
23