iPhoneRoot.com       

News tagged ‘fun’


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:

hellojava1.jpghellojava2.jpg

The application consists of several files:


Read the rest of this entry »




|
   

Leave a comment, read comments [1]

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 »




|
   

Leave a comment, read comments [16]

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.




|
   

Leave a comment, read comments [4]

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 »




|
   

Leave a comment, read comments [1]

Cannot create? Convert!



There are two ways to enable Java applications run on the IPhone. The first one is to port Java to IPhone, and this is preferrable :) The second way is to create automatic Java to IPhone porting solution for individual applications.

A company called Innaworks announced an interesting product called alcheMo. alcheMo is an automated system to port J2ME application to a native platform such as BREW and IPhone.

alcheMo technology is basically J2ME to C++ translator and the run-time library. It converts Java application to C++ application, which can be compiled, run and debugged. Using native run-time libraries the native executable is created. The alcheMo run-time library provides equivalent functionality to those associated with J2ME, including support for automatic garbage collection, multi-threading and extensive subsets of CLDC 1.1 and MIDP 2.0, and extension JSRs.

alchemo_workflow_400x207.png

There are several examples of porting games to BREW platform. Hopefully there will be some for the IPhone in the near future. For now alcheMo is in beta state, potential developers are invited to join.

By the way, alcheMo for iPhone supports the accelerometer, the touch screen and other unique iPhone features, through standard MIDP 2.0 API, JSR-256, and, where necessary, extension APIs. If J2ME application uses such APIs, it will automatically and immediately be accelerometer or touch screen capable on iPhone.




|
   

Leave a comment

Written by admin

Thursday, April 17th, 2008. 14:10