| 1   2   | Next
maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Alternatives (https://talk.maemo.org/forumdisplay.php?f=36)
-   -   Suggestion: port Dalvik JIT to Maemo (https://talk.maemo.org/showthread.php?t=57404)

soeiro 2010-06-29 12:56

Suggestion: port Dalvik JIT to Maemo
 
I was wondering...Since we already can install NitDroid (Android) on the N900, why not try to port the Dalvik JIT (and maybe other related libraries) to maemo 5?

Many people have been talking about how difficult it could be, because the Dalvik VM depends on lots of stuff that are spread around google libraries and even in Android's version of the Linux Kernel.

However, since Android 2.2 was released as open source, maybe the whole effort is not that impossible. Google claims that they have open sourced even some drivers and hardware support for some devices. It is also possible to use the emulator with all open source pieces...

One idea could be trying to re-implement Android-specific libraries as "simple" delegators, calling Maemo libraries instead, for low level stuff. A bit like Wine does.

So, are there any bold souls out there? :D

ivgalvez 2010-06-29 14:44

Re: Suggestion: port Dalvik JIT to Maemo
 
Or directly port it from Ubuntu:

http://mjfrey.blogspot.com/2009/05/a...on-ubuntu.html

http://arstechnica.com/open-source/news/2009/05/canonical-developers-aim-to-make-android-apps-run-on-ubuntu.ars

windows7 2010-09-19 20:24

Re: Suggestion: port Dalvik JIT to Maemo
 
any further news on this?

ymartin59 2010-10-29 16:03

Re: Suggestion: port Dalvik JIT to Maemo
 
I have began that job and made good progress. I'm now ready to compile in Maemo SDK - at least x86 target...
http://ymartin59.free.fr/wordpress/i...et-n900-maemo/

ivgalvez 2010-10-30 11:36

Re: Suggestion: port Dalvik JIT to Maemo
 
If this finally runs, it could be the most important hit in Maemo's development.

ivnvir 2010-10-30 12:16

Re: Suggestion: port Dalvik JIT to Maemo
 
Quote:

Originally Posted by ivgalvez (Post 857488)
If this finally runs, it could be the most important hit in Maemo's development.

I second that

Petteri 2010-10-30 12:28

Re: Suggestion: port Dalvik JIT to Maemo
 
Altogether it would be superb to get Andoird apps running on normal desktop Linux.

toxaris 2010-11-01 07:31

Re: Suggestion: port Dalvik JIT to Maemo
 
Would be quite cool to be able to run Androidapplications on N900.

lfcobra 2010-11-02 00:20

Re: Suggestion: port Dalvik JIT to Maemo
 
very interested to see where this project leads! please keep up the good work and keep us informed :)

hleinone 2010-11-08 23:07

Re: Suggestion: port Dalvik JIT to Maemo
 
In my opinion this would be the only option the get some real attention on Maemo/MeeGo.

mikecomputing 2010-11-08 23:32

Re: Suggestion: port Dalvik JIT to Maemo
 
Quote:

Originally Posted by hleinone (Post 867500)
In my opinion this would be the only option the get some real attention on Maemo/MeeGo.

give me one good reason except the markethype?

Or in another world what apps does android have that maemo/meego is missing?

to mee Android is just a hype like IOS with millions apps in a store but most of them meaningless.


oh I forgot it got flassh 10.1 a must have not...

richwhite 2010-11-08 23:40

Re: Suggestion: port Dalvik JIT to Maemo
 
Quote:

Originally Posted by mikecomputing (Post 867518)
give me one good reason except the markethype?

Or in another world what apps does android have that maemo/meego is missing?

to mee Android is just a hype like IOS with millions apps in a store but most of them meaningless.


oh I forgot it got flassh 10.1 a must have not...

It does have some very decent apps, and finished apps at that. Many N900 users won't use devels/testing and many apps have been dropped and ceased development. Android has a great twitter widget, shazam, accuweather, a free office app etc. Sure, of the 50,000+ apps many are unnecessary and a waste of time, but there are some really good ones too.

ivgalvez 2010-11-19 11:59

Re: Suggestion: port Dalvik JIT to Maemo
 
Any news about this?

gerdich 2011-01-15 12:32

Re: Suggestion: port Dalvik JIT to Maemo
 
My dream would be:
You start NitDroid and go to the Android Market Place.
You install the applications you want.
Then you switch to maemo and start the same applications with the same libraries from maemo on the NitDroid partition.
You would have the full integration with maemo applications.

mikecomputing 2011-01-15 12:58

Re: Suggestion: port Dalvik JIT to Maemo
 
Quote:

Originally Posted by gerdich (Post 920822)
My dream would be:
You start NitDroid and go to the Android Market Place.
You install the applications you want.
Then you switch to maemo and start the same applications with the same libraries from maemo on the NitDroid partition.
You would have the full integration with maemo applications.

if you want android apps get an android phone instead. The maemo oss or nonoss developers/community doesnt want dalvik. if they want they change to android.

and btw. if there is apps in android that is more stable than maemo once, why not help fix maemoapps instead of saying to the deveelopers to feed google by porting dalvik/android to n900 instead?

thats only stupid imho. I prefer choices but that choices doesnt mean we all should feed google so maemo/meego community totals dies causee everybody wants reinvent everything from Android and in the end kill core maemo/meego apps.

smoku 2011-01-15 13:13

Re: Suggestion: port Dalvik JIT to Maemo
 
Quote:

Originally Posted by mikecomputing (Post 920833)
The maemo oss or nonoss developers/community doesnt want dalvik.

And you are the self-proclaimed community spokesperson?

[Knuckles] 2011-01-15 13:17

Re: Suggestion: port Dalvik JIT to Maemo
 
I agree, this would be a very nice project.

We would all want top-tier support for applications on Maemo, but let's be realistic: it isn't going to happen. With MeeGo, maybe, but I have my doubts.

So this is yet another way to expand the platform and available apps for the user, and showing how it is flexible (and superior) to its alternatives.

mikecomputing 2011-01-15 13:28

Re: Suggestion: port Dalvik JIT to Maemo
 
Quote:

Originally Posted by smoku (Post 920839)
And you are the self-proclaimed community spokesperson?

if you where an maemo/meego developer who likes qt/gtk why on earth woud they be intrested in porting dalvik sdk?

My point is if your a developer and doent like maemo/meego sell your phone get an android instead.

if you miss maemo apps or thinks some maemo apps is buggy. well then read my above post again but I guess you stoped read after my first setence.

smoku 2011-01-15 13:37

Re: Suggestion: port Dalvik JIT to Maemo
 
Quote:

Originally Posted by mikecomputing (Post 920849)
if you where an maemo/meego developer who likes qt/gtk why on earth woud they be intrested in porting dalvik sdk?

Exactly because of this? ;)

Having Dalvik VM on Linux give you the growing range of Android applications, without having to resign of the Qt/GTK environment you like and giving away your privacy to Google NWO.

marxian 2011-01-15 13:45

Re: Suggestion: port Dalvik JIT to Maemo
 
Quote:

Originally Posted by smoku (Post 920853)
Exactly because of this? ;)

Having Dalvik VM on Linux give you the growing range of Android applications, without having to resign of the Qt/GTK environment you like and giving away your privacy to Google NWO.

I tend to agree with mikecomputing on this. 'Best of both worlds' rarely happens in reality. Why would developers bother to target Maemo/Meego using Qt, when they can develop for Android in the knowledge that their applications can be run on Maemo/Meego devices in addition to Android devices.

I think this move could be a disincentive to develop for Maemo/Meego using Qt.

jaimex2 2011-01-15 15:12

Re: Suggestion: port Dalvik JIT to Maemo
 
Quote:

Originally Posted by marxian (Post 920857)
I tend to agree with mikecomputing on this. 'Best of both worlds' rarely happens in reality. Why would developers bother to target Maemo/Meego using Qt, when they can develop for Android in the knowledge that their applications can be run on Maemo/Meego devices in addition to Android devices.

I think this move could be a disincentive to develop for Maemo/Meego using Qt.

They already cant be bothered as it is. When PreEnv was released we all realized how little effort a Maemo port would take and basically did the job for them ... there are still no official ports.

More power to the Maemo OS as a tool of all trades if we can get Dalvik VM running.

Joseph9560 2011-01-15 18:08

Re: Suggestion: port Dalvik JIT to Maemo
 
Quote:

Originally Posted by marxian (Post 920857)
I tend to agree with mikecomputing on this. 'Best of both worlds' rarely happens in reality. Why would developers bother to target Maemo/Meego using Qt, when they can develop for Android in the knowledge that their applications can be run on Maemo/Meego devices in addition to Android devices.

I think this move could be a disincentive to develop for Maemo/Meego using Qt.

Developer won't develop android app for maemo/meego until dalvik is supported in those platform by nokia/linux foundation or whoever are officials for those platform, did developers started adding n900 in their supported handset list for their app because nitdroid works in it?

smoku 2011-01-15 18:26

Re: Suggestion: port Dalvik JIT to Maemo
 
Quote:

Originally Posted by marxian (Post 920857)
Why would developers bother to target Maemo/Meego using Qt, when they can develop for Android in the knowledge that their applications can be run on Maemo/Meego devices in addition to Android devices.

So you really believe that lack of Dalvik support on such niche target as N900 would cause Java developers to drop all they know already, rush them to learn C++/Qt and rewrite their apps to Qt?

Frappacino 2011-01-15 18:40

Re: Suggestion: port Dalvik JIT to Maemo
 
paid apps wont work on n900 - just look at the preenv thread - piracy is no big deal to these posters. hell many of these ppl dont even understand what "free" software means.

so why would a dev port an app to an extremly small niche market when many of these users will just pirate your material ?

there is a reason why so few commercial devs support the n900 - most see it as a futile and monetary loss cause.

preflex 2011-01-15 21:24

Re: Suggestion: port Dalvik JIT to Maemo
 
Cool! So then we can install the Lighthouse Qt4 port on Davlik, and finally be able to run Qt4 apps on our beloved N900's. Awesome!

Uhh... What?

slender 2011-01-15 22:04

Re: Suggestion: port Dalvik JIT to Maemo
 
Qt must happen on android. Simple as that.

cheve 2011-01-15 22:31

Re: Suggestion: port Dalvik JIT to Maemo
 
Quote:

Originally Posted by mikecomputing (Post 920833)
if you want android apps get an android phone instead. The maemo oss or nonoss developers/community doesnt want dalvik. if they want they change to android.

and btw. if there is apps in android that is more stable than maemo once, why not help fix maemoapps instead of saying to the deveelopers to feed google by porting dalvik/android to n900 instead?

thats only stupid imho. I prefer choices but that choices doesnt mean we all should feed google so maemo/meego community totals dies causee everybody wants reinvent everything from Android and in the end kill core maemo/meego apps.


imho, this is the same reason why some people want to climb on top of a mountain -- because it is there and they just want to be on top of it:)

cheers,

mikecomputing 2011-01-15 23:06

Re: Suggestion: port Dalvik JIT to Maemo
 
Quote:

Originally Posted by smoku (Post 920991)
So you really believe that lack of Dalvik support on such niche target as N900 would cause Java developers to drop all they know already, rush them to learn C++/Qt and rewrite their apps to Qt?

doing more advanced stuff in maemo then you have to learn C++. Exacly the case as in Android. Small apps on n900 can be done in QtQuick+javascripts or python so the learningcurve is less than in Androidcase. And if developers is stupid enough to think Android or Iphone is only future then they is out of job in some years anyway. Everything changes new platforms comes and dissapears. but imho dalvik in top of an already good platform is just stupid. its like emulate windows in linux..

But I am 100 percent sure developers in atleast european will start make QT based mobileapps. The problem is not learning QT. The problem is lack of devices atm. as soon as Nokia gets more symbian/meego based phones out and maybe some netbook manufactor we get more apps. Dont forget the facts that qt already is on desktopmarket too.

so I really don get why we even need those Android based apps on maemo or meego it will just bring problems. halfdone dalvik for geeks and lazy developers and that is and no point at all cause we already has a better development framework with qt.

My guess is those who want this is developers who hasnt used QT or endusers who has no clue about why QT is better and dalvik bad opinion on maemo/meego/symbian. However I could understand lack of apps makes people think dalvik would fix it but that is not the case. If its even will be done by some geek it wil be a prof of concept beta and slow.




We only have to give QT some time. I am sure there will be alot more apps in ovi in a year. if you dont wanna wait/develop again get a new phone with android.

smoku 2011-01-16 03:31

Re: Suggestion: port Dalvik JIT to Maemo
 
Quote:

Originally Posted by mikecomputing (Post 921199)
If its even will be done by some geek it wil be a prof of concept beta and slow.

Now you're being unfair and insulting to all the smart people here.

mattbutsko 2011-01-16 17:45

Re: Suggestion: port Dalvik JIT to Maemo
 
Quote:

hell many of these ppl dont even understand what "free" software means
That's not true, they just don't care what it means.

zimon 2011-01-16 17:53

Re: Suggestion: port Dalvik JIT to Maemo
 
It would maybe even make more sense to port Dalvik than porting JavaME to Maemo5. There is those improvements in Dalvik which makes it more suitable for mobile devices.

mikecomputing 2011-01-16 20:41

Re: Suggestion: port Dalvik JIT to Maemo
 
Quote:

Originally Posted by smoku (Post 921323)
Now you're being unfair and insulting to all the smart people here.

I dont say people here a not smart something like that. I am just a realist.

Lets give another Example: the open flash that I have forgoten the name of can it compete with Adobe closed one? No it cant and probadly never will. Same goes for an Dalvik clone too N900. And again why should developers here bother try it when those smart developers can do better apps directly in QT/Quick and make it work far better in QT than in Dalvik clone? Dalvik on N900 would be slow and then again people here would start complain and say "hey why is N900 so slow HTC is much faster blablabla..". Seriously it is an impossible mission make it work smooth..

If żou or another developers can show I am wrong fine for me. But atm. I dont see any good reason to port it.

My tip to all android fanboys who want that X/Y/Z app is to hint the Maemo developers about it (maybe setup a new forum thread like:"Android apps I want to see in Maemo/Meego") maybe some of them have some time to port it to QT/Quick and even make it better than the original Android one :-D Imho its far better use time for this than try to make a dalvik clone. Because I am sure it will never will work.

Btw. about twitter here is an app that maybe is what N900 one example what N900 is lacking atm but will progress faster now when QTQuick is getting more stable :-D

http://thehandheldblog.com/2011/01/1...-qml-download/

I am sure we will see more 2011..

Qt/Quick is here to stay ;)

smoku 2011-01-16 21:06

Re: Suggestion: port Dalvik JIT to Maemo
 
Quote:

Originally Posted by mikecomputing (Post 921801)
Lets give another Example: the open flash that I have forgoten the name of can it compete with Adobe closed one? No it cant and probadly never will. Same goes for an Dalvik clone too N900.

You are comparing a rewrite of a closed commercial app, to the port of the open source app with all sources open?
Don't you see the dissonance here?


Quote:

Originally Posted by mikecomputing (Post 921801)
And again why should developers here bother try it when those smart developers can do better apps directly in QT/Quick and make it work far better in QT than in Dalvik clone?

How many high quality apps would one write from scratch in a time needed to port open source Dalvik and getting access to all Android apps in existence?
And then having to do nothing for more Android apps to appear?

Quote:

Originally Posted by mikecomputing (Post 921801)
But atm. I dont see any good reason to port it.

Your point of view. OK. Just don't proclaim it a POV of the whole Maemo community, please.

Quote:

Originally Posted by mikecomputing (Post 921801)
My tip to all android fanboys [...]

Calling people names does not make you a partner for discussion.

EOT

jaimex2 2011-01-16 22:00

Re: Suggestion: port Dalvik JIT to Maemo
 
Quote:

Originally Posted by mikecomputing (Post 921199)
if developers is stupid enough to think Android or Iphone is only future then they is out of job in some years anyway.

Not with the momentum those two are gaining. There's at least a good 5 years of prosperous developing in both.

Out of a job, with C# or java? That will be the day.

gerdich 2011-01-16 22:50

Re: Suggestion: port Dalvik JIT to Maemo
 
Quote:

Originally Posted by mikecomputing (Post 920833)
if you want android apps get an android phone instead. ...

and btw. if there is apps in android that is more stable than maemo once, why not help fix maemoapps instead of saying to the deveelopers to feed google by porting dalvik/android to n900 instead?

thats only stupid imho. I prefer choices but that choices doesnt mean we all should feed google so maemo/meego community totals dies causee everybody wants reinvent everything from Android and in the end kill core maemo/meego apps.

Buy an android phone? Why? I'm waiting 2 month. Then the audio problem with NitDroid will be solved. Some Android phones are still on Android 1.5. n900 has already Gingerbread!!!

I like very much maemo and qt.
Android is only a toy for teenies, no quality, no performance, no respectable GUI, no stable main applications.


But the developers of NitDroid did a very impressive job. Congratulations and all my respect and my best wishes!

Maemo risks that the users of their only important device go Android.
Is this a good publicity for maemo? Is this a future for maemo programmers?

I like maemo. And because of this I find that Dalvik on Maemo is absolutely necessary.
With my vision NitDroid on n900 offers supplementary options to maemo and will not replace maemo.

If there will be no dalvik Maemo will lose users. And users is the only thing that maemo is missing.

Google offers much applications that are interesting:
Where is streetview on maemo?
Where is flash 10.1 on maemo?
...

The few programmers of Maemo will not be able to follow the speed of google for a long time.

Yes! Maemo applications are much more stable and performant than Android ones.
But for the moment the speed of application development is much higher on google side.

We NEED maemo users to have more applications and feedback.
Users want to have access to all modern applications.

Dalvik is a MUST.

ymartin59 2011-01-16 22:58

Re: Suggestion: port Dalvik JIT to Maemo
 
The problem is not to know what platform is better for mass public/business/geek... But how many times a company or a single developer will have to fully re-write their applications instead of just "porting".

GNU platform is a great success because it runs on almost all hardware/operating system from the same POSIX C source code. Small directives and compilation chain switches do the job !

Mobile market is so volatile that it is still war-time to define the "standards".

At the moment, to target as many users as possible, an application must be written in JavaME for old/new Symbian versions, in ObjectiveC/Cocoa for iOS iPhone, in Java/Dalvik for Android (or POSIX C for Linux), and Qt/C++ for new MeeGo/Symbian. [what about Samsung Bada ?]

Well, far enough, it is too much work (first dev, tests, fixes and maintenance to keep up-to-date !) and requires so many different competences, some targets are simply excluded. Hope comes from cross-compiling or porting required virtual machine.

For me, cross-compiling requires too much work, potentially on each application (at least if sources are available). Porting the VM is done once for all, applications run as soon as the used APIs are available.

I have started the job but I lack knowledge about Android build system and its specific sub-systems.
http://ymartin59.free.fr/wordpress/i...et-n900-maemo/

For those who want to help, you're welcome: first get android or android-x86 sources from Git and follow my track to get it compiled for your Linux or ChromeOS.

mikecomputing 2011-01-17 00:12

Re: Suggestion: port Dalvik JIT to Maemo
 
Quote:

Originally Posted by smoku (Post 921823)
You are comparing a rewrite of a closed commercial app, to the port of the open source app with all sources open?
Don't you see the dissonance here?

open or not but what I meant it is a huge job making it work on other platforms than android.

Quote:

How many high quality apps would one write from scratch in a time needed to port open source Dalvik and getting access to all Android apps in existence?
And then having to do nothing for more Android apps to appear?]

My point is you will neverl ever get full access to all andoid apps or get them working on n900 anyway. So why give endusers false hopes??? Android is using Linuxkernel yes but the rest of the os is far different than maemo it doesnt even use libc and the graphical system is not x11. how do you rewrite this in a good way? I am far from expert in this area but I dont think it just do it. also dalvik probadly is more memory and cpu hungry and as we all know N900 is outdated in today android hw specs.

So instead of dalvik port hint the developers what apps they want from android ported to maemo instead of dreaming of a working dalvik on n900.

I can as I said before understand if endusers want some cool android apps (or even iphone) but as I said better let developer know WHAT to port t instead of bashing about android has xxxx more apps. I mean is that really intresting to now? do people really install all those xxxxx apps?

I dont say the rest of the community/developers agree some will maybe try port dalvik and.

and what did you mean about "Calling people names does not make you a partner for discussion."

what name? cause i said Android fanboys? I heard people call me and other nokia fanboys or payed by Nokia could I care less. I just give my opionion. and fact is maemo forum seems to have alotlpeople here now basing about how bad maemo is and how good android is. so to mee there is alot of android fanboys/girls to ofcourse ;)

mikecomputing 2011-01-17 00:32

Re: Suggestion: port Dalvik JIT to Maemo
 
Quote:

Originally Posted by jaimex2 (Post 921850)
Not with the momentum those two are gaining. There's at least a good 5 years of prosperous developing in both.

Out of a job, with C# or java? That will be the day.

You are thinking exacly the same way as symbian engineers inside nokia atm ;) "why change we now symbian is best"

my point is changes happens, world changes... maybe it is Kina who comes with a totally new os then we use that instead.
Maybe not in two/three years ofcourse but still.

mikecomputing 2011-01-17 01:05

Re: Suggestion: port Dalvik JIT to Maemo
 
Quote:

Originally Posted by gerdich (Post 921884)
Maemo risks that the users of their only important device go Android.
Is this a good publicity for maemo? Is this a future for maemo programmers?

Do I care less if people leaves maemo in favor of Android? better this happens than reading a forum where 75 percent is bashing about how bad maemo is how bad Nokia is and so on. But to the point, I really dont think dalvik would help maemo in any way.

And about the developers it is far more important that Nokia fokusing on QT now both on symbian/maemo/meego. thinking dalvik would help the developers is not what I think, maybe if they prefer going Android but not if they prefer working with QT in that case it would only hurt...


Quote:

Google offers much applications that are interesting:
Where is streetview on maemo?
Where is flash 10.1 on maemo?
...

About streetview so you think Google would alow people to install theyr app on a branded dalvikvm? I dont think soo.

Its not only a problem getting dalvik to n900 it also is some legal rights etc...

But when was flash related to dalvik? do yout really think porting dalvik would ge flash 10. to n900 :O

I am sure you can give better app examples than this ;)
Quote:

But for the moment the speed of application development is much higher on google side.

We NEED maemo users to have more applications and feedback.
Users want to have access to all modern applications.

Dalvik is a MUST.
so you like maemo but want dalvik well arent you afraid dalvik would kill maemo at the end? I dont think it is possible to port and make it fully work... But lets say it is possibe why would any developer then wanna write core maemo apps then? Why not go Android all the way then?

Dalvik would just KILL maemo/meego and thats bad imho.

But yes Maemo/meego needs more professional apps! But thats a totally different story imho. atm. Nokia need to get some stuff done to make it happen. They have to get the damn QT4.7(version already in n900) upgrade done on theyr new phones like n8, c7, e7 that way we probadly also will se some of those apps on n900 too.

because I am sure many developers is pending to release some apps until damn ovistore supports QT 4.7 and the phones are synced with latest release!


HELL I am to much in this forum I should start write some cool QT apps for Maemo/Meego instead :D

gerdich 2011-01-17 11:44

Re: Suggestion: port Dalvik JIT to Maemo
 
I'm more confident in maemo than you.

If there is a good maemo application nobody will use the Dalvik one.

Dalvik is only for the applications that are missing.
This is a supplementary option and will help maemo and not kill it.
Maemo is performing much better. Dalvik is no real concurrent. It's only the door for applications that have not be ported to maemo yet.


| 1   2   | Next
All times are GMT. The time now is 22:32.

vBulletin® Version 3.8.8