Archive for the ‘Java applications’ Category
Developing iPhone Applications using Java [Video]
Here is a video from googletalks, where Arno Puder speaks about using Java for developing iPhone apps.
Jocstrap, bridge between Java and Objective-C, is updated
JocStrap – Java/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.
Cydia, IPhone/Java and JocStrap were updated
Here are the updates:
- JocStrap – Java/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.
JavaSysInfo – another sample GUI Java application

This is another simple Java GUI application for the IPhone/IPod from . 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.
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:


The application consists of several files:
Tutorial: compile and run Java application on the IPhone

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 IPhone with Java Installed. I used latest firmware 1.1.4, unlocked, jailbreaked and customized by .
Step 1: Create simple Java application, compile and run.
Tutorial: install Java on the IPhone

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 . I used latest firmware 1.1.4, unlocked, jailbreaked and customized by .
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:
Tutorial: install and use Java on the IPhone

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.
Skype for the IPhone

There are so many posts everywhere on the internet about Skype and the IPhone. On each IPhone forum it is possible to find something similar to “Is there a version of Skype for the IPhone?”. And the answer was NO. There are some workarounds, but it’s not what users want. However there is a great possibility, that all IPhone users will hear quite soon “YES there is Skype for the IPhone”.
Skype announced a beta mobile version. It will be possible to chat, receive and make calls to Skype users and more. And it was written in… Yes, Java. So when Java will be avaliable for the IPhone all the users will be able to use Skype.
More information about Skype Mobile can be found .
Java “Hello world” continued
Java “Hello world” on the IPhone
Hinkmond Wong (Java Micro Edition group at Sun Microsystems) recently published a wonderful screenshot on his blog:
This is the simpliest Java application running on the IPhone simulator. The only thing this application does is it prints “Hello world.”. Well done! The whole world is looking forward to see more.






