Questions tagged [j2objc]

J2ObjC is an open-source command-line tool from Google that translates Java code to Objective-C for the iOS (iPhone/iPad) platform.

J2ObjC is an open-source command-line tool from Google that translates Java code to Objective-C for the iOS (iPhone/iPad) platform.

137 questions
0
votes
1 answer

Porting from Android to IOS with Google j2objc

I know how android system works and haved already created some applications, and I have an accademical knowledge about IOS. I have to create a mobile application for both Android and IOS platforms, so I was thinking to use the Google j2objc tool. I…
Sceik
  • 275
  • 1
  • 3
  • 13
0
votes
1 answer

J2Objc Eclipse Plugin "error: --ignore-missing-imports is no longer supported"

When I use the J2Objc Eclipse Plugin I get the following error while translating my code: Executing with switches: [ -g --no-package-directories -x objective-c -use-arc --verbose --ignore-missing-imports --prefixes…
Michael
  • 32,527
  • 49
  • 210
  • 370
0
votes
1 answer

svc #128 in pthread_kill unexpectedly breaking in to debugger?

I'm seeing unexpected breaks in to the debugger in Xcode, related to the svc #128 ARM instruction from a call to pthread_kill to signal another thread. I've seen this for a number of StackOverflow questions related to this issue on iOS - but they…
brunobowden
  • 1,492
  • 19
  • 37
0
votes
1 answer

j2objc gradle plugin - Task with path 'test' not found in project app

I'm trying to use j2obc for gradle to port my android application to iOS, but I'm getting this error and can't seem to figure out how to fix it. The full thing: 13:43:50.477 [ERROR] [org.gradle.BuildExceptionReporter] 13:43:50.482 [ERROR]…
Jasper Lu
  • 173
  • 1
  • 2
  • 9
0
votes
1 answer

J2Objc Translator not generating files in Eclipse Luna

I am using Eclipse Luna in Mac of version 10.10. I tried installing J2Objc plugin from Eclipse Market Place. The following are the configurations to J2Objc preference, properties, Output folder and Output. But the files are not generated in…
Janani M
  • 423
  • 3
  • 13
0
votes
1 answer

XCode mvn: No such file or directory

I have installed Maven on my Mac OSX Yosemite, maven -version on terminal displays the version. Initially I tried with brew even that was successful but it did not resolve the issue in XCode. I am new to Mac OSX as well as XCode, so please step by…
Anonymous Me
  • 1,108
  • 2
  • 9
  • 26
0
votes
1 answer

Separate UI from Logic in Android

I recently read a blog post by the Gmail team on the approach they used to develop the different platform versions for Inbox for Gmail. The short story is that they write everything in Java (so basically for Android) but separate all the UI code…
JonoCoetzee
  • 969
  • 2
  • 15
  • 30
0
votes
1 answer

j2objc java extends native uicolor

how can i extends the UIColor in java code example like using native methods. So j2objc able to compile the java class extends with UIColor. I'm not sure how to code the extends part. Please help.
kaneyip
  • 1,237
  • 1
  • 17
  • 21
0
votes
1 answer

Compile java to objective c with j2objc with jre emulation lib from terminal only

Hi i would like to convert my java code to objective c from terminal with j2objc. I need to set below flag in terminal. (jre_emul is J2ObjC's JRE emulation library). -ljre_emul So when compile j2objc should compile with the JRE emulation lib. $…
kaneyip
  • 1,237
  • 1
  • 17
  • 21
-1
votes
1 answer

Objective C class method call in Swift

j2objc created a class method declaration in the header file as follows: (void)startWithNSString:(NSString *)folderPath withNSString:(NSString *)pushyToken withInt:(jint)port withInt:(jint)width withInt:(jint)height I am trying to…
user3911119
  • 273
  • 3
  • 14
-1
votes
1 answer

How to set up and use j2objc

I would like to start off by saying that I am a novice programmer. I have only learned Java and Android studio, and I know very little about cmd prompts and that sort of thing. I recently found j2objc which can roughly translate my java code to…
Mike
  • 23
  • 8
-1
votes
1 answer

Swift/Objective-C background Task

I am developing an Swift app. I'm using sockets for the background connection. But know I get this error, when I try to use it: libsystem_kernel.dylib`__pthread_kill: 0x11329edd0 <+0>: movl $0x2000148, %eax ; imm = 0x2000148 0x11329edd5…
user6586661
  • 432
  • 1
  • 11
  • 24
-1
votes
1 answer

Android to iOS - suggestion

I have created an app in Android Studio. I want to make it work on iOS too. Is it possible to open it in xcode and somehow translate it to obj C and build it to make it work? EDIT: I have seen j2objc project but I can't figure out how it works...
H.Stefek
  • 23
  • 7
-1
votes
1 answer

How to convert an .APK into an .IPA using J2ObjC

I'm new to this and was wondering if anyone could walk me through the conversion process. I have an .APK fileand .IPA file already downloaded on my computer so that I have both base formats.
-1
votes
1 answer

Converting Java code to Objective-C with J2Objc

I'm trying to convert the Compression Scheme for Unicode implementation in Java to Objective-C using J2Objc. I have successfully downloaded and compiled J2Objc and run the command ./j2objec /SCSU/*.java after making sure that the Java code compiles.…
user26830
  • 1,059
  • 4
  • 16
  • 25
1 2 3
9
10