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

Can I use the Ceylon language with RoboVM (iOS)?

I'm getting lately interested in the JVM, thanks to this awesome language called Ceylon. So if RoboVM enables you to write Java targetting iOS, I'm wondering if there could be a way to use Ceylon with RoboVM? Thanks!
knocte
  • 16,941
  • 11
  • 79
  • 125
0
votes
1 answer

Could not find property 'eclipse' on root project 'admob'

My build.gradle file ext { mainClassName = "org.robovm.bindings.admob.sample.Sample" } eclipse.project { name = "admob-ios" natures 'org.robovm.eclipse.RoboVMNature' } When I try to import this project…
user1452079
  • 118
  • 10
0
votes
2 answers

java.lang.NoSuchMethodError: org.robovm.apple.coregraphics.CGRect.getSize() robovm

I'm unable to build iOS with libgdx / robovm. The application compiles ok, but im receiving this error during its startup: java.lang.NoSuchMethodError: org.robovm.apple.coregraphics.CGRect.getSize()Lorg/robovm/apple/coregraphics/CGSize; at…
AGames
  • 3
  • 2
0
votes
1 answer

Integrating StartApp SDK into RoboVM application?

I wrote an ios application with robovm and I want to integrate StartApp SDK to it . However , I can't find StartApp SDK for robovm . So , how should I do . Please help me , thanks .
zxcde
  • 3
  • 3
0
votes
1 answer

RoboVM app crashes on ptr.get()

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,…
0
votes
1 answer

Can robovm allocate local method objects on the stack rather than heap?

In C (resp. C++), it is possible to allocate arrays, structures, (resp. objects) which are strictly local to a function (resp. method) in the stack frame allocated for this function. However, in java, all objects are allocated on the heap, even…
remi
  • 566
  • 3
  • 13
0
votes
1 answer

How can I test my iOS app on a Jailbroken iphone 3gs with eclipse robo-vm

i've a jailbroken iphone 3gs and i want to run my app created with eclipse but when i go to run as > ios device app the program show error "no signing identity found matching "iphone developer" ". How can i fix it? thanks!
michele buzzoni
  • 97
  • 1
  • 3
  • 9
0
votes
2 answers

Eclipse failing to run libGDX iOS app

I'm trying to run my libGDX roboVM project on an actual device but I'm getting an error: An internal error occurred during: "Launching -ios (2)". No signing identity found matching 'iPhone Developer' Is there a wiki that explains where I can set…
Barodapride
  • 3,475
  • 4
  • 25
  • 36
0
votes
1 answer

Robovm connect to Gamecenter

I want to commit some Game Stats from my App to the Gamecenter. Have anyone ever worked with gamecenter and robovm? Is it possible to commit and receive data? If yes, how I do this? best regards...
Londi
  • 3
  • 3
0
votes
1 answer

LibGDX project on Mac - Launch as iOS sim. app

I am developing game using libgdx framework and I have succesfully finished its android version. Now I am trying to finalize ios part of the project. I have setup working environment in Mac Os X, checked out project from git repository, but I have…
bazinac
  • 668
  • 5
  • 22
0
votes
1 answer

Possible to use Google Channels API with RoboVM (for iOS)?

Is it possible to combine RoboVM code with Goole Channels API using this client: Java AppEngine Channel Client org.apache.httpcomponents httpclient 4.3.2
JohnyTex
  • 3,323
  • 5
  • 29
  • 52
0
votes
1 answer

NSRunLoopCommonModes constant in RoboVM

RoboVM used to include a method ModeCommon() on the NSRunLoop object for access to the NSRunLoopCommonModes constant. That method was removed in later versions. Can I still get access to this constant with the current version of RoboVM? Or can I…
Markus A.
  • 12,349
  • 8
  • 52
  • 116
0
votes
1 answer

Encryption using Cipher from javax

I need encryption in my app and thought about using javax.crypto.Cipher for that. I wonder if I can use it for desktop, android and iOS and if RoboVM supports it. I want to use the following algorithm: Cipher.getInstance("AES/CBC/PKCS5Padding");
Luca Hofmann
  • 1,442
  • 2
  • 14
  • 26
0
votes
1 answer

Sharing animated GIF to Twitter makes it static (iOS)

So I'm using LibGDX and RoboVM to convert my Android project to an iOS app. I'm trying to share an animated GIF that the user has just created and saved to their device, here's what I have so far: public void shareGif(String path) { NSData data…
yesbutmaybeno
  • 1,078
  • 13
  • 31
0
votes
1 answer

Trying to integrat inMobi banners while using mopub's ios-robovm-bindings

I'm using robovm to develop iOS game while using Java. I'm trying to use Mopub's ios-robovm-bindings (https://github.com/BlueRiverInteractive/robovm-ios-bindings/tree/master/mopub) to integrate inmobi banner ads to my app but with no luck so far. I…
ASM
  • 363
  • 1
  • 2
  • 14