[MP7] Tutorial - Compilar java
#1
Postou 25-07-08- 10:47
Galera encontrie isso deem uma olhada:
*********************************************
============================================================
iPhone doesn't natively support Java / J2ME. However as a J2ME developer there are two good ways to develop iPhone applications using Java / 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 for iPhone contains translator to convert J2ME application source code to equivalent C++ source code for iPhone.
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.
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. 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. 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. 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.
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.
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. alcheMo circumvents Apple's licensing restrictions with their language translator.
Using Java on Unlocked & Jailbraked iPhone with Installer
Note: The legality of the procedure below is dubious. IANAL.
First you need to unlock and jailbrake you iPhone. You can use the windows user interface for ZiPhone to jailbreak, unlock and activate any verion of iPhone.
Then you need to have the installer app on iPhone. Installer.app is a UIKit based package manager for the iPhone. It works by downloading packages over WiFi (wireless networking) or EDGE. 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. 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). 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. For example:
jikes -cp /usr/lib/rt.jar MyFirstJavaProgramForIPhone.java
You can run the class file as usual:
java MyFirstJavaProgramForIPhone
Java on iPhone - Concluding thoughts
The second method (using jailbraked iPhone) suffers from three major problems.
1. To use your Java applications, your user will also have to jailbrake their iPhone. 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.
All of the above makes method 2 unsuitable for commercial use.
Commercial J2ME developers have to wait for commercial release of alcheMo-for-iPhone. Innaworks is well known for porting standards compliant J2ME to BREW mobile platform. I expect their solution to be ready in 2-3 months time. If you do not have the time then download Apple's iPhone 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.
============================================================
Eu nao testei ainda mas provavelmente seja unico metodo de instalar java no iphone e no mp7...
===========================================================
iPhone doesn't natively support Java / J2ME. However as a J2ME developer there are two good ways to develop iPhone applications using Java / 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 for iPhone contains translator to convert J2ME application source code to equivalent C++ source code for iPhone.
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.
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. 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. 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. 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.
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.
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. alcheMo circumvents Apple's licensing restrictions with their language translator.
Using Java on Unlocked & Jailbraked iPhone with Installer
Note: The legality of the procedure below is dubious. IANAL.
First you need to unlock and jailbrake you iPhone. You can use the windows user interface for ZiPhone to jailbreak, unlock and activate any verion of iPhone.
========================================================
Then you need to have the installer app on iPhone. Installer.app is a UIKit based package manager for the iPhone. It works by downloading packages over WiFi (wireless networking) or EDGE. 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. 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). 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. For example:
jikes -cp /usr/lib/rt.jar MyFirstJavaProgramForIPhone.java
You can run the class file as usual:
java MyFirstJavaProgramForIPhone
==========================================================
Java on iPhone - Concluding thoughts
The second method (using jailbraked iPhone) suffers from three major problems.
1. To use your Java applications, your user will also have to jailbrake their iPhone. 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.
All of the above makes method 2 unsuitable for commercial use.
Commercial J2ME developers have to wait for commercial release of alcheMo-for-iPhone. Innaworks is well known for porting standards compliant J2ME to BREW mobile platform. I expect their solution to be ready in 2-3 months time. If you do not have the time then download Apple's iPhone 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.
FAVOR LER AS REGRAS DO FÓRUM.
SEM LINKS EXTERNOS POR AQUI.
*********************************************
============================================================
iPhone doesn't natively support Java / J2ME. However as a J2ME developer there are two good ways to develop iPhone applications using Java / 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 for iPhone contains translator to convert J2ME application source code to equivalent C++ source code for iPhone.
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.
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. 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. 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. 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.
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.
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. alcheMo circumvents Apple's licensing restrictions with their language translator.
Using Java on Unlocked & Jailbraked iPhone with Installer
Note: The legality of the procedure below is dubious. IANAL.
First you need to unlock and jailbrake you iPhone. You can use the windows user interface for ZiPhone to jailbreak, unlock and activate any verion of iPhone.
Then you need to have the installer app on iPhone. Installer.app is a UIKit based package manager for the iPhone. It works by downloading packages over WiFi (wireless networking) or EDGE. 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. 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). 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. For example:
jikes -cp /usr/lib/rt.jar MyFirstJavaProgramForIPhone.java
You can run the class file as usual:
java MyFirstJavaProgramForIPhone
Java on iPhone - Concluding thoughts
The second method (using jailbraked iPhone) suffers from three major problems.
1. To use your Java applications, your user will also have to jailbrake their iPhone. 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.
All of the above makes method 2 unsuitable for commercial use.
Commercial J2ME developers have to wait for commercial release of alcheMo-for-iPhone. Innaworks is well known for porting standards compliant J2ME to BREW mobile platform. I expect their solution to be ready in 2-3 months time. If you do not have the time then download Apple's iPhone 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.
============================================================
Eu nao testei ainda mas provavelmente seja unico metodo de instalar java no iphone e no mp7...
===========================================================
iPhone doesn't natively support Java / J2ME. However as a J2ME developer there are two good ways to develop iPhone applications using Java / 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 for iPhone contains translator to convert J2ME application source code to equivalent C++ source code for iPhone.
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.
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. 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. 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. 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.
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.
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. alcheMo circumvents Apple's licensing restrictions with their language translator.
Using Java on Unlocked & Jailbraked iPhone with Installer
Note: The legality of the procedure below is dubious. IANAL.
First you need to unlock and jailbrake you iPhone. You can use the windows user interface for ZiPhone to jailbreak, unlock and activate any verion of iPhone.
========================================================
Then you need to have the installer app on iPhone. Installer.app is a UIKit based package manager for the iPhone. It works by downloading packages over WiFi (wireless networking) or EDGE. 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. 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). 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. For example:
jikes -cp /usr/lib/rt.jar MyFirstJavaProgramForIPhone.java
You can run the class file as usual:
java MyFirstJavaProgramForIPhone
==========================================================
Java on iPhone - Concluding thoughts
The second method (using jailbraked iPhone) suffers from three major problems.
1. To use your Java applications, your user will also have to jailbrake their iPhone. 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.
All of the above makes method 2 unsuitable for commercial use.
Commercial J2ME developers have to wait for commercial release of alcheMo-for-iPhone. Innaworks is well known for porting standards compliant J2ME to BREW mobile platform. I expect their solution to be ready in 2-3 months time. If you do not have the time then download Apple's iPhone 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.
FAVOR LER AS REGRAS DO FÓRUM.
SEM LINKS EXTERNOS POR AQUI.
#2
Postou 25-07-08- 11:57
=)
RESUMINDO:
1-MEU CELULAR NÃO TEM SUPORTE JAVA
2-QUERO MUITO TER O SUPORTE
3-SÓ TO ENVIANDO ISSO PORQUÊ VOCÊ DISSE QUE TINHA COMO; UHSAHUAS
4-SE TU CONSEGUIR, DEPOIS EU PENSO EM UMA MANEIRA DE TE RECOMPENSAR.($)
5-SE VOCÊ PREFERIR MANDAR TUDO POR MAIL, FAZ UM TUTORIAL O MAIS SIMPLES QUE VOCE CONSEGUIR.
6- SÓ. =P
Foi mal a demora do email eh pq ando meio ocupado.....
Se liga o seu é o mp7 certo???
temos uma solução instalar windows mobile ae vai entrar pacotes com suporte Java mais o java q sera instalado tem bloquio emitente mais awe agente desbloqueia com um serial q eu tenhu ae todo programa instalado sera considerado plug-in do Java entendeu??
mais po se liga nessa de pagar nada não tamo ae pra isso
baixa o windows mobile 3.1
instala
baixa ActiveSync instala
depois baixa java format its
instala pelo ActiveSync vai demorar um pouco porque ele vai substituir muitos arquivos
ae pelo ActiveSync vc cria uma ligaçao com o programa do seu proprio mp7 ae passa as coisas normal quaquer coisa so me ligar
============================================================
GALERA SE EU CONSEGUIR POR ESSE JEITO< MANDO CODIGO DE DESWBLOQUEIO< MEU COLEGA ENTENDE MUITO DESSES NEGOCIO! hehe
abraços.
RESUMINDO:
1-MEU CELULAR NÃO TEM SUPORTE JAVA
2-QUERO MUITO TER O SUPORTE
3-SÓ TO ENVIANDO ISSO PORQUÊ VOCÊ DISSE QUE TINHA COMO; UHSAHUAS
4-SE TU CONSEGUIR, DEPOIS EU PENSO EM UMA MANEIRA DE TE RECOMPENSAR.($)
5-SE VOCÊ PREFERIR MANDAR TUDO POR MAIL, FAZ UM TUTORIAL O MAIS SIMPLES QUE VOCE CONSEGUIR.
6- SÓ. =P
Foi mal a demora do email eh pq ando meio ocupado.....
Se liga o seu é o mp7 certo???
temos uma solução instalar windows mobile ae vai entrar pacotes com suporte Java mais o java q sera instalado tem bloquio emitente mais awe agente desbloqueia com um serial q eu tenhu ae todo programa instalado sera considerado plug-in do Java entendeu??
mais po se liga nessa de pagar nada não tamo ae pra isso
baixa o windows mobile 3.1
instala
baixa ActiveSync instala
depois baixa java format its
instala pelo ActiveSync vai demorar um pouco porque ele vai substituir muitos arquivos
ae pelo ActiveSync vc cria uma ligaçao com o programa do seu proprio mp7 ae passa as coisas normal quaquer coisa so me ligar
============================================================
GALERA SE EU CONSEGUIR POR ESSE JEITO< MANDO CODIGO DE DESWBLOQUEIO< MEU COLEGA ENTENDE MUITO DESSES NEGOCIO! hehe
abraços.
#5
Postou 25-07-08- 23:50
ainda nao encontrei poderia me mostrar onde pegou o seu?=]
====================================================
e outra caso eu instale ee vai perder as funçoes dele de tv, radio e etc nao vai?
=================================================
Aqui do download do java...
*****************************************
FAVOR LER AS REGRAS DO FÓRUM.
SEM LINKS EXTERNOS POR AQUI.
====================================================
e outra caso eu instale ee vai perder as funçoes dele de tv, radio e etc nao vai?
=================================================
Aqui do download do java...
*****************************************
FAVOR LER AS REGRAS DO FÓRUM.
SEM LINKS EXTERNOS POR AQUI.
#6
Postou 26-07-08- 15:55
edney_helene disse:
Demoro mais ai amigo onde encontro o windows mobile pra instalar?
Po, esse link aqui. é da versão 3.1 :**************************
pode baixar...
eu tentei fazer o que meu amigo me mandou, só tem um problema galera, o ActiveSync 4.5 não reconhece mweu MP7, alguém sabe algum jeito de fazer ele reconhecer, que se ele reconheçer eu posso fazer o procedimento e instalar o WM3.1 nele, e ai consequentemente o Java.
Abraços..
#7
Postou 28-07-08- 10:14
Amigo esse é o windows installer, nao tme nada a ver com o windows mobile,...:poc
====================================================
o SO dos mp7 é o nucleous os *********************
eu mndie um email afim de arranjar alguma ajuda sobre o java qualquer coisa que eu encontrar eu tratei aqui.:legal
====================================================
o SO dos mp7 é o nucleous os *********************
eu mndie um email afim de arranjar alguma ajuda sobre o java qualquer coisa que eu encontrar eu tratei aqui.:legal
#15
Postou 09-09-08- 14:41
Alguém,sabem em que outro lugar além do google que eu possa procurar coisas para celular do tipo super modificações?Pq ja "Varri" o google nada ;Sobre o windows no Mp7,não vejo o pq para que não possamos faze-lo,ficaria ótimo,mas so tem um problema,se esse nosso plano for pro brejo junto com nossos mp7s quero ver como vou fazer para concerta-lo.
#16
Postou 09-09-08- 16:54
mauriciompb não sei se é possível, mas seria massa...
Li sobre alguém que pagou para colocarem o FW do NOKLA n95 que roda symbian no foston dele, só não sei se é verdade.
Caso dê pau no seu MP7, tem algumas BOXes que já vem com aplicativos para reparação de "celulares da china mortos", só que são muito caras...
Encontrei o software MTK Flash Tools que faz o download de FWs para o mp7, mas como não entendi muito bem o processo não irei me arriscar (tem que alterar uns endereços de memória, e eu nem tenho certeza sobre qual cpu meu mp7 usa...).
O jeito é continuar "varrendo" xD.
[]'s
Li sobre alguém que pagou para colocarem o FW do NOKLA n95 que roda symbian no foston dele, só não sei se é verdade.
Caso dê pau no seu MP7, tem algumas BOXes que já vem com aplicativos para reparação de "celulares da china mortos", só que são muito caras...
Encontrei o software MTK Flash Tools que faz o download de FWs para o mp7, mas como não entendi muito bem o processo não irei me arriscar (tem que alterar uns endereços de memória, e eu nem tenho certeza sobre qual cpu meu mp7 usa...).
O jeito é continuar "varrendo" xD.
[]'s
#18
Postou 10-09-08- 20:40
Pois é cara,o dificil e entender como se usam esses programas(So pra dar uma pista,não sei nem como se faz para conectar o celular com o programa rsrs),eu consegui aquele tal de "SpiderMan V2.46",mas não sei por enquanto como se usa, FW do NOKLA n95!??Eu to juntando justamente para comprar um N95 kkkk,quem me dera deixar meu mp7 como um verdadeiro n95,qualquer uma boa posto aqui,VlW.

Entrar
Cadastre-se
Ajuda


Quote