Active Topics

 


Reply
Thread Tools
Flandry's Avatar
Posts: 1,559 | Thanked: 1,786 times | Joined on Oct 2009 @ Boston
#41
Originally Posted by Bundyo View Post
It is optional to reduce battery life... - WRT will be integrated in Maemo 6, but the choice to use it is entirely your own.
Well, i guess that depends on the degree to which it is integrated, doesn't it? I'm wary of any core functionality and apps being shifted/added to WRT.

If it really will come "free", with no additional memory or processing requirements, unless a 3rd-party app is installed, it is truly optional and that's great. I obviously don't have to buy step 5, but i'd really really like to see it succeed and be something amazing, and that's the origin of my comments.

Originally Posted by qgil View Post
The main benefit of the Web Runtime is fast development with a programming language widely known. This has the potential of producing plenty more apps with a lower cost.
Yes, i already guessed that was the motivation as i wrote earlier. It's just not a good one at this point (ie not in Nokia's best interest) because it doesn't address the most important obstacles to sales of maemo devices (also as described before), unless its addition does not in any way impact the operation of a maemo device without 3rd-party applications running on it.

Originally Posted by voracity View Post
I don't think Flandry is being straightforward with his concerns. I doubt he is worried about WRT affecting battery life. Even if it was shown that WRT had a positive effect on battery life, he would still be unhappy with WRT.
What? Paranoid i may be, but disingenuous i'm not (and i don't appreciate you claiming i am if you don't actually read my argument). My reasons are clearly stated in the earlier reply for all to see. Yes, i do dispute that WRT will promote worthhwhile/useful development. However, my primary concern is that maemo needs to be more battery-conservative, as reflected in that post. Regardless, as i said in the first two paragraphs, i'm content with WRT in maemo devices i'd be willing to buy if it's only using up storage unless and until a third-party app using it is installed and run. I am skeptical that will be the case, but would accept a statement from those responsible for implementing it on faith. I want maemo to succeed and don't think WRT is an important part of that, and possibly a detriment.

Furthermore, i don't believe the demographic you claim to represent is significant enough to matter if the WRT absorbs resources (whether developmental or on the device itself) that prevent the next maemo device from being more svelte and having a longer battery life (as described in my earlier post), which would exclude the much, much larger demographic that buys iPhones but doesn't want to develop in any way.

Simplified venn diagram of the point:
(((System Language Developers) WRT developers) smartphone users)
where # smartphone users >>> all developers

Pappy taught me there's no such thing as a free lunch. My preference is for efficiency over having WRT, and i think that's also most important for Maemo's growth (by the metric of device sales and satisfied users, not # apps in repo).

I feel comfortable that i've qualified that posititon. If people will stop taking one part of my statements out of context and instead answer the overall analysis or simply ignore me, i'd appreciate it. And i'll also shut up.
__________________

Unofficial PR1.3/Meego 1.1 FAQ

***
Classic example of arbitrary Nokia decision making. Couldn't just fallback to the no brainer of tagging with lat/lon if network isn't accessible, could you Nokia?
MAME: an arcade in your pocket
Accelemymote: make your accelerometer more joy-ful

Last edited by Flandry; 2009-12-29 at 16:42. Reason: Negated a double negative
 

The Following 2 Users Say Thank You to Flandry For This Useful Post:
Posts: 10 | Thanked: 8 times | Joined on Dec 2009 @ Tampere, Finland
#42
Originally Posted by voracity View Post
That's not to say I don't have my concerns. I am quite disappointed to see that WRT will use webkit rather than gecko (on philosophical grounds). So, out of curiosity, why was webkit chosen?
because webkit is integrated into qt, and WRT is actually based on qt. therefore, qtwebkit is preferred
 
Posts: 10 | Thanked: 8 times | Joined on Dec 2009 @ Tampere, Finland
#43
Originally Posted by go1dfish View Post
Ok here's some others then:
Will it be possible to embed the Web Runtime in a 'normal' C/C++/Python based Qt application on Maemo, similar to the way you would embed a QWebView?
yes, you can
 

The Following User Says Thank You to xizzhu For This Useful Post:
qgil's Avatar
Posts: 3,105 | Thanked: 11,088 times | Joined on Jul 2007 @ Mountain View (CA, USA)
#44
The concern about power management is relative and needs to be put also in its context. Even if in principle a well written native application will be more power efficient than a web runtime application, in practice the user might get no negative impact if the application is useful for simple actions.

For instance, I miss an application telling me where to go to take the quickest public transport to reach my home, based on my location and know timetables.

Imagine a developer goes ahead with a Web Runtime app because it's actually easy to program. I don't need to have a permanent widget polling data to tell me the nearest / fastest ways to reach my home. It happens perhaps once a week that I'm in such situations and I would just need one minute of use time of such app for being useful.

I also see the Web Runtime as a good development path for mobile developers. It's a good entry point for regular web developers giving a try to some basic ideas e.g. optimized clients of web services. Once they start in mobile development they get into more complex ideas, perhaps they hit some limitations in terms of APIs or performance and they start being interesed and learning in more native-ish programming. Qt offers an interesting transition path between pure Web Runtime and pure native Qt.
 
Posts: 25 | Thanked: 22 times | Joined on Dec 2009
#45
Originally Posted by Flandry View Post
What? Paranoid i may be, but disingenuous i'm not (and i don't appreciate you claiming i am if you don't actually read my argument).
I did indeed read your arguments. I came to this thread after reading this one in which you make several comments along those lines, such as this on Java (and, given the context, Javascript):

Originally Posted by Flandry View Post
Not having java supported in my mind avoids diluting the quality of available software by having cheap & dirty java versions of apps pop up that never work as well as the alternatives would--alternatives that either won't get made or won't get refined because the nasty java version is "good enough".
But I'll grant you that I guessed incorrectly and will take you at your word that battery life (or device resources in general) is your first concern, the quality of the software ecosystem is second and anything else ranks below those two.

In which case, I think you have little to worry about. For many applications, interpreter overhead really can be ignored --- for example, updating a weather or stock widget or any other kind of status widget; simple user interfaces for things like media players; small-scale file and email management; system maintenance tools; instant messaging; dictionaries; etc. Yes, they can be coded poorly, but so too can native apps. (And some of the core apps on the N900 have already proved this! --- though I should note, I'm still waiting on my N900 to arrive.)

For other applications (particularly games, but also many other apps) concerns about the interpreter's performance will swamp any concerns about battery life, so people will be forced to write natively (or, more likely, not at all).

But instead of batting fuzzy opinions back and forth, you can partly test this out for yourself. Find applications that have been implemented as both a web application and native application (to an equal standard, of course), run them both on your N900 for a long period, and compare the effect on battery life. Even better would be to cut some code yourself, so that you can guarantee the applications are as similar as possible. My guess is that those cases in which the web application depletes the battery faster will also have woeful performance in comparison to the native app.

Originally Posted by Flandry View Post
Furthermore, i don't believe the demographic you claim to represent is significant enough to matter if the WRT absorbs resources (whether developmental or on the device itself) that prevent the next maemo device from being less svelte and having a longer battery life (as described in my earlier post), which would exclude the much, much larger demographic that buys iPhones but doesn't want to develop in any way.

Simplified venn diagram of the point:
(((System Language Developers) WRT developers) smartphone users)
where # smartphone users >>> all developers

Pappy taught me there's no such thing as a free lunch. My preference is for efficiency over having WRT, and i think that's also most important for Maemo's growth (by the metric of device sales and satisfied users, not # apps in repo).
Are you saying that device sales and satisfied users are completely unrelated to the number of repo apps available? I actually hope you're right (but I have very different motivations).

Your Venn diagram also suggests that anything WRT developers can do, native developers can do too, which I doubt very much. More than that, you seem to be suggesting that any useful thing WRT developers would do, a native developer will do (so long as WRT developers don't exist), which is clearly false.
 
Posts: 25 | Thanked: 22 times | Joined on Dec 2009
#46
Originally Posted by xizzhu View Post
because webkit is integrated into qt, and WRT is actually based on qt. therefore, qtwebkit is preferred
Thanks, I thought something like that might be the case, but in what ways do QtWebKit and Qt interact? Does QtWebKit already have web developer-facing bindings to Qt APIs, or is it just easy to embed in Qt apps? (I would have thought Gecko would be easy to embed, too, though.)

I assume another reason is for consistency with WRT on S60 and to cut down on code duplication. Understandable, but still disappointing.
 
Posts: 10 | Thanked: 8 times | Joined on Dec 2009 @ Tampere, Finland
#47
Originally Posted by voracity View Post
Thanks, I thought something like that might be the case, but in what ways do QtWebKit and Qt interact? Does QtWebKit already have web developer-facing bindings to Qt APIs, or is it just easy to embed in Qt apps? (I would have thought Gecko would be easy to embed, too, though.)

I assume another reason is for consistency with WRT on S60 and to cut down on code duplication. Understandable, but still disappointing.
QtWebkit is already part of Qt, so no extra effort is needed to use webkit by WRT

if I understand your question correctly
 
Posts: 7 | Thanked: 0 times | Joined on Nov 2009
#48
I have scanned through this thread quickly so apologies if I have missed something, but how does Qt's QML fit into this picture?

When QML was released, I assumed it would become Nokia's "recommended" approach for developing cross-platform apps.

Paul Drummond
 
Posts: 25 | Thanked: 22 times | Joined on Dec 2009
#49
Originally Posted by xizzhu View Post
QtWebkit is already part of Qt, so no extra effort is needed to use webkit by WRT

if I understand your question correctly
Partly, thanks. I should probably read up a bit more on the WRT internals at some point, but I'm expecting that there will be some kind of javascript API to access Qt- or device-specific functions. I was wondering if that's already in QtWebKit in some way ... OK, did a bit of reading and that does seem to be the case (it's called Platform Services). You'd just use something like this bit of javascript:

Code:
var so = device.getServiceObject("Service.Calendar", "IDataSource");
And since all that stuff seems to be working already, I guess there's little point from Nokia's perspective on doing it with Gecko.

Re: QML. Hmmm. I really do hope this kind of stuff gets standardised, otherwise none of it will last... And why isn't this kind of thing being done under the auspices of HTML5?
 
Posts: 10 | Thanked: 8 times | Joined on Dec 2009 @ Tampere, Finland
#50
Originally Posted by voracity View Post
Partly, thanks. I should probably read up a bit more on the WRT internals at some point, but I'm expecting that there will be some kind of javascript API to access Qt- or device-specific functions. I was wondering if that's already in QtWebKit in some way ... OK, did a bit of reading and that does seem to be the case (it's called Platform Services). You'd just use something like this bit of javascript:
Qt provides the possibility to create hybrid application, you can take a look at e.g. http://qt.nokia.com/forms/whitepaper...tepaper-hybrid

WRT will provide some device-specific JS APIs, e.g. contact, calendar, etc. and yes, WRT has already provided such services.

To me, I think it's mainly due to the integration of Webkit into Qt
 
Reply


 
Forum Jump


All times are GMT. The time now is 16:21.