iPhoneRoot.com       

News tagged ‘application’


Not only Java for now





Hello, everybody!

There were many visitors to Java4IPhone site recently. This is great! I like the idea, that this site is useful. Most visitors are from the US and Russia (since there are 2 languages supported). But I see quite a lot of interest from all over the world: Europe, China, India, even Kuwait and Maldives :)

So I decided to extend the site news to everything that is IPhone related. For those who is interested only in Java on the IPhone there is a category Java+IPhone with subcategory Java Applications.

Stay tuned and have fun.




|
   

Leave a comment

Written by admin

Wednesday, July 2nd, 2008. 17:44

JavaSysInfo - another sample GUI Java application



javasysinfo.png

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.




|
   

Leave a comment

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 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 »




|
   

Leave a comment, read comments [25]

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]

IPhone's new patent application



patent.jpg

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 :-)




|
   

Leave a comment, read comments [2]

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]

Java "Hello world" continued



Here is a photo of the real IPod (same with IPhone) running a simple Java ME application:

Java on the IPhone




|
   

Leave a comment

Written by admin

Monday, April 28th, 2008. 17:25

Java "Hello world" on the IPhone



Hinkmond Wong (Java Micro Edition group at Sun Microsystems) recently published a wonderful screenshot on his blog:

iphone-java-me_sm.jpg

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.




|
   

Leave a comment

Written by admin

Tuesday, April 22nd, 2008. 15:13

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

To be or not to be?



java iphone

We are all waiting too see Java logo on our IPhones. I do too. But... there are obstacles and restrictions. The main point is that Sun really wants see Java on the IPhone. Community wants to see it. Large companies want to be able to create Java based applications. This is a huge market. However there will be probably no Java if Apple doesn't want it to be. That's what I've heard from a vice president of Sun Microsystems. The good news is that Sun wants to be ready with Java for the IPhone in case of everything will go well. So I assume there are investigations and probably some development going on already. And of ofcourse lawers are working hard too :-) .

So what about Apple? Apple will be able to make money with Java. There is a huge market and big money. Enterprise solutions, regular applications and etc. Everybody will benefit from it. We'll see quite soon, what will happen.




|
   

Leave a comment

Written by admin

Thursday, April 3rd, 2008. 23:17

Official Sun Microsystems announcement



JavaEric Klein, vice president of Sun Microsystems, Java Marketing anounced that Sun will be developing a Java VM for the Apple's IPhone. This JVM will be based on Java Micro Edition and will allow IPhone to launch thousands of existing and new Java applications. "Once our JVM is on the phone, we anticipate that a large number of Java applications would run on the phone," Klein said. It took 24 hours for Sun to analyze the licence and information Apple had provided with IPhone's SDK. Release date is planned some time after June 2008.

Download the official recordings: audio - mp3 (335 kb), video - mp4 (4.9 mb).




|
   

Leave a comment