iPhoneRoot.com     

Everyday news about iPhone, iPod Touch and iPad



Results for the ‘Java’ Category

Developing iPhone Applications using Java [Video]

Here is a video from googletalks, where Arno Puder speaks about using Java for developing iPhone apps.

  • Share/Bookmark
    Print Print

no comments yet

Tuesday, March 17, 2009. 0:29

Jocstrap, bridge between Java and Objective-C, is updated

JocStrapJava/Objective-C connection library, new version 1.0.2466-18 (was 1.0.2466-17).

Jocstrap is a bridge between Java and Objective-C. This is needed to write Java applications for IPhone. Just in case you don’t have Cydia and Java installed on your IPhone, follow these instructions: Tutorial: install Java on the IPhone.

Jocstrap, bridge between Java and Objective C, is updated (js1 200x300)Jocstrap, bridge between Java and Objective C, is updated (js2 200x300)Jocstrap, bridge between Java and Objective C, is updated (js3 200x300)

  • Share/Bookmark
    Print Print

no comments yet

Monday, August 11, 2008. 17:02

Java for IPhone / IPhone 3G firmware 2.0 exists

Java for IPhone / IPhone 3G firmware 2.0 exists (cydia20 1) Java for IPhone / IPhone 3G firmware 2.0 exists (cydia20 2)

After successfull jailbreake of the IPhone/IPhone 3G with firmware 2.0 it is possible to install Cydia installer. And what is more exciting, there are many applications there, including Java.

Related articles:

screenshots are from iphoneapps.ru

  • Share/Bookmark
    Print Print

no comments yet

Cydia, IPhone/Java and JocStrap were updated

Cydia, IPhone/Java and JocStrap were updated (snap 022229 200x300)

Here are the updates:

  • JocStrapJava/Objective-C connection library, version 1.0.2466-17 (was 1.0.2466-15),
  • IPhone/Java – examples of Java applications, version 1.0.2474-15 (was 1.0.2357-14)
  • Cydia Installer, version 1.0.2473-64 (was 1.0.2460-59)

Not a huge update, but still.

Just in case you don’t have Cydia and Java installed on your IPhone, follow these instructions: Tutorial: install Java on the IPhone.

  • Share/Bookmark
    Print Print

no comments yet

Monday, July 21, 2008. 13:32

New version of JocStrap and UICaboodle is avaliable

New version of JocStrap and UICaboodle is avaliable (snap 135215 200x300)

These two libraries that are needed for Java on IPhone were updated recently. Downloads are avaliable through Cydia Installer.

Jocstrap is a bridge between Java and Objective-C. UICaboodle is a JocStrap extenstion for the IPhone. Both are needed to write Java applications for IPhone.

  • Share/Bookmark
    Print Print

no comments yet

Thursday, July 3, 2008. 12:11

JavaSysInfo – another sample GUI Java application

JavaSysInfo   another sample GUI Java application (javasysinfo)

This is another simple Java GUI application for the IPhone/IPod from Java Flavor Weblog. It simply shows Java system information on iPhone/iPod touch. It uses Java, JocStrap and GNU Classpath.

This application can be installed through Installer. Just add the repository http://javaflavor.cocolog-nifty.com/apptapp/. The application can be found in Java section and is called JavaSysInfo. Or just download it here: javasysinfo-092.zip. The package includes compiled class files, source java files and runnable script with an icon. Here are the sources: JavaSysInfo and JavaSysInfoController.

Note that JocStrap applications, including JavaSysInfo, currently require JocStrap, UICaboodle, JamVM, GNU Classpath, GNU Classpath Tools, Apache APR, libffi and BSD Subsystem. In most cases all this was installed during Java on IPhone installation.

  • Share/Bookmark
    Print Print

no comments yet

New version of JamVM is avaliable

 New version of JamVM

JamVMJava Virtual Mashine for IPhone, has been updated. New version 1.5.1b2-17 is avaliable through Cydia Installer.

  • Share/Bookmark
    Print Print

no comments yet

Wednesday, June 18, 2008. 17:51

Java GUI on IPhone (example)

During Java instalation there was sample programm installed. It is called HelloJava. It is a bit more complicated than basic console HelloWorld-type application, that we tried to compile and run during this tutorial. HelloJava uses gui and SQLite. It uses several classes, that are bridges to IPhone’s functionality (GUI, sound, SQL, etc). But all that it does is it reads contacts’ first and last names from IPhone’s database (throught SQL select statement) and shows them on the screen in GUI mode. It also produses simple sound in the end.

Here is a screenshot of the icon and application itself:

Java GUI on IPhone (example) (hellojava1)Java GUI on IPhone (example) (hellojava2)

The application consists of several files:

Read the rest of this entry »

  • Share/Bookmark
    Print Print

one comment

Tuesday, June 17, 2008. 15:32

Tutorial: compile and run Java application on the IPhone

Run

This is a tutorial, that shows step by step how to use installed Java on the IPhone. Just in case you do not have Java installed on your IPhone there is a tutorial how to do it.

What we need is a working jailbraked IPhone with Java Installed. I used latest firmware 1.1.4, unlocked, jailbreaked and customized by winpwn.

Step 1: Create simple Java application, compile and run.

Read the rest of this entry »

  • Share/Bookmark
    Print Print

6 comments

Tutorial: install Java on the IPhone

Installed packages

This is a tutorial, that shows step by step how to install Java on the IPhone.

What we need is a working unlocked and jailbraked IPhone with Installer. I used latest firmware 1.1.4, unlocked, jailbreaked and customized by winpwn.

First of all I’d like to say we all want to use legal IPhones and operators. So everything written below is for testing purposes only :-) . Hopefully this technology will be avaliable on all IPhones sold worldwide. You also might need to recover your IPhone, so make sure you backed up all your data. I personally did everything without any problems and needs to recover. Everything you do is your responsibility, etc…

So let’s start, because it’s worth it! It’s just one evening and you will be able to create your personal Java application, compile and run it on the IPhone, and amaze all your friends :-) .

There are two steps:

Read the rest of this entry »

  • Share/Bookmark
    Print Print

16 comments

Tutorial: install and use Java on the IPhone

Tutorial: install and use Java on the IPhone (java iphone sm)

With this tutorial you will be able to install Java on the IPhone, compile and run simple Java applications using IPhone.

I decided to split this tutorial into two different ones. So here they are:

Have fun and leave comments.

  • Share/Bookmark
    Print Print

no comments yet

Saturday, June 7, 2008. 16:36

IPhone’s new patent application

IPhones new patent application (patent)

Apple recently filed a new patent application (us20080122796ki). On more than 370 pages lots of new potential features and enhancements for IPhone’s hardware and software are described.

The most interesting Hardware part is a GPS receiver and a camera for video conferencing.

On a software level, Apple describes addition of a text messaging (chat), in-line multimedia content (Quicktime and Flash) in the Safari browser. Further welcome additions described in the publication would include a dedicated blogging client, Java software downloads, MMS picture and video messaging, support for voice-activated commands, audio capture, video conferencing and more.

“[0142]Examples of other applications 136 that may be stored in memory 102 include other word processing applications, JAVA-enabled applications, encryption, digital rights management, voice recognition, and voice replication. ”

It sounds like Apple wants Java to be on the IPhone :-)

  • Share/Bookmark
    Print Print

2 comments

Java VM for IPhone

JamVM is a new Java Virtual Machine which conforms to the JVM specification version 2 (blue book). In comparison to most other VM’s (free and commercial) it is extremely small, with a stripped executable on PowerPC of only ~200K, and Intel 180K. However, unlike other small VMs (e.g. KVM) it is designed to support the full specification, and includes support for object finalisation, Soft/Weak/Phantom References, class-unloading, the Java Native Interface (JNI) and the Reflection API.JamVM currently only includes an interpreter (keeps it small). However, the interpreter is highly optimised, and performance is on par with a simple JIT. As most of the code is written in C it is easy to port to new architectures.

So far, JamVM supports and has been tested on the following OS/architecture: Linux (PowerPC, i386, ARM, AMD64, MIPS) and MAC OS X / Darwin (PowerPC, PowerPC64, i386, ARM). The last one is built using unofficial toolchain and tested on a jailbroken IPhone.

JamVM - Java VM for IPhone

The last version is 1.5.1 is released on 10th of March 2008. Here is a link to sourceforge project.

  • Share/Bookmark
    Print Print

no comments yet

Wednesday, May 28, 2008. 15:29

JavaOne and Java for IPhone

JavaOne 2008

Here are some extracts from JavaOne 2008 conference press-releases about Java for IPhone:

“To show Java’s prominence in multimedia, rock icon Neil Young made an appearance onstage to promote his video and music catalog offering based on Java and Blu-ray technology. A Sun official also briefly commented on Sun’s predicament in trying to put Java on the Apple iPhone, leaving the ball in Apple’s court to help make that happen.”

“During the post-keynote press conference, Green gave a progress report on Sun’s ongoing quest to put Java on the iPhone, something that Apple has not publicly, at least, supported.

Sun, Green said, is well along its way in creating the technology to enable Java to run on the phone, Green said. But he deferred to Apple, which governs which platforms can be distributed with the iPhone. It is Apple’s right to decide this, Schwartz added.”

  • Share/Bookmark
    Print Print

no comments yet

Thursday, May 8, 2008. 17:00

JavaOne 2008 and IPhone-related sessions

JavaOne 2008

JavaOne is one of the most interesting events in IT industry. We are expecting a lot of talks about Java and other technologies. One IPhone+Java – related talk was already mentioned at Java4IPhone.com (link). There are couple more of them.

  • How to Port phoneME™ Advanced Software to Google Android, iPhone, OpenMoko, LiMO, and MoreHinkmond Wong (Sun Microsystems)

    May 07, 14:50 – 15:50

  • Dancing Duke on Your PlayStation Portable: Porting phoneME™ Software to PlayStation Portable Max Mu (Sun Microsystems); Kuo Wang (iaSolution Technology Limited)

    May 08,19:30 – 20:20

  • Extending Swing to Run Multitouch Applications (Multitouch Software)Michael Riecken (Trissential, LLC)

    May 09,16:10 – 17:10

Sessioin details:

Read the rest of this entry »

  • Share/Bookmark
    Print Print

one comment