How To Install, Compile, Run Java On iPhone كيفية تثبيت ، تجميع ، البعيد عن أي فون جافا
iPhone doesn’t natively support Java / J2ME. اي فون لا محليا دعم جافا / j2me. However as a J2ME developer there are two good ways to develop iPhone applications using Java / J2ME. ولكن بوصفها j2me المطور وهناك اثنان طرق جيدة لتطوير التطبيقات باستخدام اي فون جافا / j2me. Read below for details and also to know how you can upload, compile and run Java applications on iPhone. اقرأ ادناه للاطلاع على التفاصيل وايضا لمعرفة كيف يمكنك تحميل وتجميع وتشغيل تطبيقات جافا على اي فون.
alcheMo-for-iPhone - Automated J2ME to iPhone porting solution alchemo - ل- اي فون -- j2me الآلي لنقل اي فون الحل
alcheMo for iPhone contains translator to convert J2ME application source code to equivalent C++ source code for iPhone. alchemo يتضمن اي فون لمترجم لتحويل j2me شفره المصدر لتطبيق ما يعادل ج + + شفره المصدر لاي فون.
No manual adjustments to the translated source code is required. لا دليل على التعديلات المترجمه شفره المصدر هو مطلوب. Compiled using the standard Xcode toolchain and linked with alcheMo’s optimized run-time library, a native iPhone application is produced. ، باستخدام معيار xcode toolchain وترتبط مع alchemo الامثل للوقت التشغيل مكتبه ، مواطني اي فون تطبيق ينتج.
alcheMo for iPhone is capable of converting J2ME applications utilizing an extensive subset of Java ME CLDC 1.1 and MIDP 2.0 (including touch screen support) and supports several JSR extension APIs including the JSR-256 mobile sensor API. alchemo لاي فون قادرة على تحويل j2me الاستفادة من تطبيقات واسعة النطاق فرعية من جاوة لي cldc 1،1 وmidp 2.0) بما فيها دعم اتصال الشاشه (ويدعم عدة jsr تمديد ابيس بما jsr - 256 المحموله الاستشعار API. This automatic translation process is instantaneous, repeatable and doesn’t require iPhone specific experience. هذا هو عملية الترجمة الاليه الفوريه ، وتكرارها لا يحتاج الى اي فون خبرات محددة.
Garbage collection and automatic memory management is one of the strengths of the J2ME environment. وجمع القمامه ، وتلقاءيه ادارة الذاكرة هي واحدة من نقاط القوة من j2me البيئة. Unlike on Macintosh OS X, Objective C on iPhone does not support garbage collection. وخلافا لنظام تشغيل ماكنتوش على العاشر ، ج الهدف على اي فون لا يدعم جمع القمامه. By incorporating an advanced garbage collector, alcheMo eliminates the need for manual memory management. من خلال دمج متقدمة لجمع القمامه ، alchemo يلغي الحاجة الى دليل ادارة الذاكرة. Whole classes of common programming errors such as dangling pointers are thus prevented. فئات كاملة من البرمجه المشتركة الاخطاء مثل التعلق مؤشرات هي منع بذلك.
The initial version of alcheMo for iPhone is optimized for mobile games. الصيغة الاولية لalchemo اي فون هو الامثل للجوال العاب.
The bad news is that their beta program has closed on April 24th, while they are preparing for commercial release. الاخبار السيءه هي ان برنامج تجريبي (بيتا) اغلقت الرابعة والعشرين من ابريل ، في حين انها تستعد لاطلاق سراح التجارية. alcheMo for iPhone has backing from Sun Microsystem. وقد alchemo لدعم اي فون microsystem من الشمس.
BTW: During Java One 2008, Sun officials repeatedly mentioned that they successfully ran Java on iPhone but are thwarted only by Apple’s licensing restrictions in publicly announcing it. راجع للشغل : جاوة واحد خلال عام 2008 ، الشمس ويذكر ان المسؤولين مرارا وتكرارا انها تدير بنجاح جافا على اي فون ولكنها احبطت من قبل الا للقيود الترخيص التفاح في الاعلان على الملأ. alcheMo circumvents Apple’s licensing restrictions with their language translator. alchemo يراوغ التفاح للقيود الترخيص لغتهم مع مترجم.
Using Java on Unlocked & Jailbraked iPhone with غير مقفله على استخدام جافا & jailbraked مع اي فون Installer المثبت
Note: The legality of the procedure below is dubious. ملاحظه : مشروعية الاجراءات الواردة ادناه مشكوك فيها. IANAL. Ianal.
First you need to unlock and jailbrake you iPhone. أولا كنت بحاجة لفتح الابواب وjailbrake لك اي فون. You can use the يمكنك إستخدام windows user interface for ZiPhone ويندوز واجهة المستخدم لziphone to jailbreak, unlock and activate any verion of iPhone. الى الهروب من السجن ، وفتح الأبواب أمام تفعيل اي من verion اي فون.
Then you need to have the installer app on iPhone. بعد ذلك تحتاج ان يكون لديك المثبت تشغيل التطبيق على اي فون. Installer.app is a UIKit based package manager for the iPhone. Installer.app هو uikit تقوم مجموعة مديرا للاي فون. It works by downloading packages over WiFi (wireless networking) or EDGE. انه يعمل من خلال تنزيل الحزم اكثر WiFi (الشبكات اللاسلكيه) او الحافه. It supports installing, updating and uninstalling applications from multiple sources. وهي تدعم تركيب وتحديث وازالة تثبيت التطبيقات من مصادر متعددة.
winpwn can simplify the above steps for you. ويمكن تبسيط الخطوات المذكورة اعلاه بالنسبة لك.
Now go to Installer and install Mobile Terminal and Cydia Installer. الان اذهب الى المثبت وتركيب محطة متنقله وcydia المثبت. Restart iPhone. اعادة تشغيل اي فون.
Run Cydia Installer and go to Java section and select iPhone/Java which will install the virtual machine, libraries etc. Then install Jikes (java compiler). تشغيل cydia المثبت واذهب الى الباب جافا واختر اي فون / جافا التي سيقوم بتثبيت الآلة الافتراضيه ، والمكتبات ، الخ ، ثم تثبيت jikes (جاوة مجمعة). Now restart iPhone again. الان اعادة تشغيل اي فون مرة اخرى.
That’s it, you are done. هذا هو ، أنت القيام به.
How to load, compile & run Java applications on iPhone كيفية تحميل وتجميع وتشغيل تطبيقات جافا على اي فون
First install Java on iPhone following instructions in the section above before reading this. اولا تثبيت جافا على اي فون التعليمات التالية في القسم اعلاه قبل قراءة هذا.
You can upload Java files to iPhone using يمكنك تحميل ملفات جافا لاستخدام اي فون iPhone Browser اي فون متصفح .
Run Terminal (installed above) and use java (jikes) compiler to compiler your program. تشغيل محطة (تركيب اعلاه) واستخدام جافا (jikes) المجمع الى المجمع برنامجك. For example: فعلى سبيل المثال :
jikes -cp /usr/lib/rt.jar MyFirstJavaProgramForIPhone.java jikes - ب ق / usr / ليب / rt.jar myfirstjavaprogramforiphone.java
You can run the class file as usual: يمكنك تشغيل ملف من الدرجة كالعاده :
java MyFirstJavaProgramForIPhone جافا myfirstjavaprogramforiphone
Java on iPhone - Concluding thoughts جافا على اي فون -- الافكار الختاميه
The second method (using jailbraked iPhone) suffers from three major problems. الطريقة الثانية (باستخدام jailbraked اي فون) يعاني من ثلاث مشكلات رئيسية.
1. To use your Java applications, your user will also have to jailbrake their iPhone. لاستخدام تطبيقات جافا الخاصة بك ، المستخدم ايضا ان jailbrake على اي فون. As such its usage will be limited to highly technical people who are not afraid of tinkering with their costly iPhone and potentially even risk damaging it permanently! على هذا النحو استخدامه سيقتصر على تقنيه عالية من الناس لا يخشى من ترقيع مع اي فون مكلفه وحتى المخاطر التي يحتمل ان تضر نهائيا!
2. While it may be fine for experimenting, the legality is dubious. وفي حين انه قد يكون غرامة للتجريب ، هو شرعيه مشكوك فيها. You may run into problem with Apple for selling or even distributing such applications. كنت قد صادفت مشكلة مع التفاح للبيع او للتوزيع حتى في هذه الطلبات.
3. The jailbraked versions of iPhone may not be compatible with future firmware updates, and Apple will try their best to disable them at every opportunity and had done so in the past. فان اي فون jailbraked صيغ قد لا تكون متوافقه مع المستقبل الثابتة والتحديثات والتفاحه ستحاول جهدها لتعطيل لها في كل مناسبة وانها قد فعلت ذلك في الماضي.
All of the above makes method 2 unsuitable for commercial use. كل ما سبق يجعل من 2 طريقة غير صالحة للاستخدام التجاري.
Commercial J2ME developers have to wait for commercial release of alcheMo-for-iPhone. J2me التجاري للمطورين ان ننتظر لاطلاق سراح alchemo التجارية - ل- اي فون. Innaworks is well known for porting standards compliant J2ME to BREW mobile platform. Innaworks هو معروف جيدا لنقل المعايير المتوافقه j2me الى منصة متنقله المشروب. I expect their solution to be ready in 2-3 months time. واتوقع ان الحل ان تكون على اهبة الاستعداد فى الوقت 2-3 اشهر. If you do not have the time then download Apple’s اذا لم يكن لديك وقت بعد ذلك تحميل للتفاح iPhone SDK اي فون SDK and start coding in Objective C. والترميز في البداية الهدف جيم
BTW: Make sure you read the iPhone SDK agreement carefully before you invest huge sums in iPhone development. راجع للشغل : تأكد انك تقرأ بعناية اي فون SDK اتفاق قبل استثمار مبالغ ضخمة في اي فون التنمية.
Filed under المقدم بمقتضى Apple تفاحة , ، Company شركة , ، Headline News أهم الانباء , ، Java Software برنامج جافا , ، Programming البرمجه , ، Sun شمس , ، Web شبكة | |
| |
RSS 2.0 ار اس اس 2،0 | |
Trackback this Article | هذه المادة |
Email this Article ارسل هذه المادة
You may also like to read ويمكنك ايضا ان تقرأ |




June 12th, 2008 at 3:03 pm يونيو 12th ، 2008 في الساعة 3:03
[...] Taragana’s Blog [...] [ترغنا] للبلوق [...][...]
June 14th, 2008 at 4:03 am يونيو 14th ، 2008 في الساعة 4:03
[...] How To install, Compile, Run Java On iPhone Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages. [...]كيفية تثبيت ، تجميع ، البعيد عن أي فون جافا حصة والتمتع : هذه الايقونات صلة الاجتماعية لوضع مؤشرات مرجعيه المواقع حيث قارئات يستطيع شاركت واكتشاف ما هو جديد صفحات الويب. [...]