summaryrefslogtreecommitdiff
path: root/data/iphone-java
diff options
context:
space:
mode:
Diffstat (limited to 'data/iphone-java')
-rw-r--r--data/iphone-java/HelloJava.app/HelloJava.java8
-rw-r--r--data/iphone-java/_metadata/version2
2 files changed, 6 insertions, 4 deletions
diff --git a/data/iphone-java/HelloJava.app/HelloJava.java b/data/iphone-java/HelloJava.app/HelloJava.java
index 4face9dd7..08f4c70db 100644
--- a/data/iphone-java/HelloJava.app/HelloJava.java
+++ b/data/iphone-java/HelloJava.app/HelloJava.java
@@ -81,6 +81,7 @@ private ArrayList<Section> sections_;
@Message public void applicationDidFinishLaunching$(Object unused)
throws Exception
{
+ System.out.println("work");
contacts_ = new ArrayList<Contact>();
sections_ = new ArrayList<Section>();
@@ -95,7 +96,7 @@ private ArrayList<Section> sections_;
} finally { st.close(); }
} finally { ab.close(); }
- CGRect outer = UIHardware.fullScreenApplicationContentRect();
+ CGRect outer = UIHardware.$fullScreenApplicationContentRect();
window = new UIWindow().initWithContentRect$(outer);
window.orderFront$(this);
@@ -103,7 +104,7 @@ private ArrayList<Section> sections_;
window._setHidden$(NO);
CGRect inner = window.bounds();
- CGSize navsize = UINavigationBar.defaultSize();
+ CGSize navsize = UINavigationBar.$defaultSize();
CGRect navrect = new CGRect(0, 0, inner.size.width, navsize.height);
UIView view = new UIView().initWithFrame$(inner);
@@ -144,13 +145,14 @@ private ArrayList<Section> sections_;
list.setDataSource$(this);
list.reloadData();
+ /* // XXX: this doesn't work the same on 2.0 and I don't want to think about porting it right now
AVController controller = new AVController().init();
CharSequence wavfile = (CharSequence) ((NSBundle) NSBundle.mainBundle()).pathForResource$ofType$("start", "wav");
AVItem wavitem = new AVItem().initWithPath$error$(wavfile, null);
wavitem.setVolume$(100);
controller.setCurrentItem$(wavitem);
controller.setCurrentTime$(0);
- controller.play$(null);
+ controller.play$(null);*/
}
}
diff --git a/data/iphone-java/_metadata/version b/data/iphone-java/_metadata/version
index c6756badb..02fa1e488 100644
--- a/data/iphone-java/_metadata/version
+++ b/data/iphone-java/_metadata/version
@@ -1 +1 @@
-1.0.2357
+1.0.2474