Re: Making Javascript Application embedded in a small gtk window.

2009-01-09 Thread monteslu
I paid good money for this cool little nokia tablet and will run 
whatever I can get to run on it.


Javascript has a bad rap as an ugly thing used for annoying popups. It's 
gotten much better, especially when using APIs like dojo and jquery.

If it helps:
Android, iPhone, and blackberry developers can use the opensource 
Phonegap ( http://phonegap.com ) .  It creates apps that are simply 
wrappers for the web browser but with a common javascript API to use the 
location, acclerometers,  vibration, etc.

Would be nice to see a maemo port of phonegap.

Luis



On Fri, Jan 9, 2009 at 2:50 PM , koos vriezen wrote:

> 2009/1/9 BenoƮt HERVIER :
>> Hello everybody,
>>
>> For different reasons, i'm thinking of doing apps using Javascript 
>> and
>> HTML. Why ? :
>>
>> - Portability
>> - More possibility in term of design (depends of operating system)
>>
>> But i have many questions for you as i ve ever write something in 
>> javascript :
>>
>> - How to store and retrieve data ? I know that there is some
>> possibility with some part of the specifications of HTML5. I read
>> somewhere that webkit support it.
>> - Does the maemo actual webkit port support this feature ?
>> - Does there is python binding for webkit ?
>> - I suppose that with javascript we can't access nor the filesystem,
>> nor the camera, isn't it ?
>>
>> And the main one is about performance on an n8x0 device, do you think
>> it s could be really use to make application, as when i see how many
>> time required to launch browser, or simply importing gtk python
>> binding, i really doubt that my idea is a great one.
>>
>> What do you think ?
>
> If I want to put scripts in a html page, I use javascript. If I want
> to retrieve information out of text I use perl or sed. If I want to
> write an app for maemo I use Hildon/Gtk, for Android Java and for KDE
> I use Qt/kdelibs.
> In short, I try to use the tools made for the job. Not that I think
> that Gtk is the best solution for GUI programming, but it is on this
> platforms _the_ preferred toolkit to develop against.)
> So why not stick with it?
>
> (Btw. Gtk or Qt code should be portable to Mac or Windows platforms
> and you get a fast and good resource efficient, though not smallest,
> solution)
>
> Koos
> ___
> maemo-developers mailing list
> maemo-developers@maemo.org
> https://lists.maemo.org/mailman/listinfo/maemo-developers
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Re: T

2008-03-05 Thread monteslu
And remember that ARM has zero interest in helping the maemo project utilize 
those CPU extensions. Simply purchasing the hardware is not good enough for 
them.

Luis

 sebastian maemo <[EMAIL PROTECTED]> wrote: 
> 2008/3/5, =?UTF-8?Q?Beno=C3=AEt=20HERVIER=20 <[EMAIL PROTECTED]>:
> >
> >
> > Remember that java is available due to the x86 cpu.
> 
> 
> Also remember that ARM cpu has got JAZELLE (Java support)
> ;-)

___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: web based local application GUIs

2007-11-27 Thread monteslu
local search will not talk to the GPS unit connected to a 770,800,or 810. 

You can go to local.google.com and put in a location, then do something like 
search for the nearest pizza point. Works great.

Also some windows mobile and j2me phones/PDAs can download a google maps app 
that talks to the gps device.

But what I'm talking about is a standard that any website can use automatically 
by embedding something like 

Re: web based local application GUIs

2007-11-27 Thread monteslu
Meanwhile, Microsoft teamed with Sprint 3 months ago to provide web 
applications that are location aware:
http://www2.sprint.com/mr/news_dtl.do?id=18020

The same sort of thing is attainable on an N810 using open standards when the 
connection is live, but the point still stands that the local service should be 
available offline.




 Jesse Guardiani <[EMAIL PROTECTED]> wrote: 
> that's typically an indicator that it needs to be fixed.
> 
> On 11/27/07, Allan Doyle <[EMAIL PROTECTED]> wrote:
> >
> > On Nov 27, 2007, at 16:31 , <[EMAIL PROTECTED]> wrote:
> >
> > >
> > >  Jesse Guardiani <[EMAIL PROTECTED]> wrote:
> > >> On 11/27/07, Tomi Ollila <[EMAIL PROTECTED]> wrote:
> > >>>
> > >>> On Tue 27 Nov 2007 16:27, "Jesse Guardiani" <[EMAIL PROTECTED]>
> > >>> writes:
> > >>>
> >  On 11/27/07, Tomi Ollila <[EMAIL PROTECTED]> wrote:
> > 
> > On Mon 26 Nov 2007 22:16, Igor Stoppa <[EMAIL PROTECTED]>
> > >>> writes:
> > 
> > > What's wrong with something that runs on-demand?
> > 
> > A separate gui client which starts the server and browser on
> > >>> demand?...but
> > LISCDNWiOM!! ;)
> > 
> >  lol. what? :)
> > >>>
> > >>> localhost inet sockets do not work in offline mode.
> > >>>
> > >>> Which, btw, is pretty weird (IMHO). I have not seen this behaviour
> > >>> in any
> > >>> other unix system; results of "ifconfig lo 127.0.0.1" has
> > >>> preserved over
> > >>> changes in any other interfaces (static and dynamic).
> > >>>
> > >>> Why can not the loopback interface be up all the time ??
> > >>
> > >>
> > >>
> > >> Yeah, well, I guess that rules out web interfaces for userland
> > >> applications,
> > >> eh? shame...
> > >>
> > >>
> > >> --
> > >> Jesse Guardiani
> > >> Software Developer / Sys Admin
> > >> [EMAIL PROTECTED]
> > >
> > >
> > > Sounds more like a bug that needs fixing rather than something to
> > > rule out.
> > >
> > > Luis
> > >
> >
> > This has been an issue for a long time:
> > https://bugs.maemo.org/show_bug.cgi?id=339
> > http://lists.maemo.org/pipermail/maemo-developers/2007-May/010076.html
> >
> > I guess this thread is doomed to recur every 6 months or so...
> >
> > Allan
> > >
> >
> > --
> > Allan Doyle
> > Director of Technology
> > MIT Museum
> > +1.617.452.2111
> >
> >
> >
> >
> > ___
> > maemo-developers mailing list
> > maemo-developers@maemo.org
> > https://lists.maemo.org/mailman/listinfo/maemo-developers
> >
> 
> 
> -- 
> Jesse Guardiani
> Software Developer / Sys Admin
> [EMAIL PROTECTED]
> ___
> maemo-developers mailing list
> maemo-developers@maemo.org
> https://lists.maemo.org/mailman/listinfo/maemo-developers

___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: web based local application GUIs

2007-11-27 Thread monteslu

 Jesse Guardiani <[EMAIL PROTECTED]> wrote: 
> On 11/27/07, Tomi Ollila <[EMAIL PROTECTED]> wrote:
> >
> > On Tue 27 Nov 2007 16:27, "Jesse Guardiani" <[EMAIL PROTECTED]> writes:
> >
> > > On 11/27/07, Tomi Ollila <[EMAIL PROTECTED]> wrote:
> > >
> > > On Mon 26 Nov 2007 22:16, Igor Stoppa <[EMAIL PROTECTED]>
> > writes:
> > >
> > > > What's wrong with something that runs on-demand?
> > >
> > > A separate gui client which starts the server and browser on
> > demand?...but
> > > LISCDNWiOM!! ;)
> > >
> > > lol. what? :)
> >
> > localhost inet sockets do not work in offline mode.
> >
> > Which, btw, is pretty weird (IMHO). I have not seen this behaviour in any
> > other unix system; results of "ifconfig lo 127.0.0.1" has preserved over
> > changes in any other interfaces (static and dynamic).
> >
> > Why can not the loopback interface be up all the time ??
> 
> 
> 
> Yeah, well, I guess that rules out web interfaces for userland applications,
> eh? shame...
> 
> 
> -- 
> Jesse Guardiani
> Software Developer / Sys Admin
> [EMAIL PROTECTED]


Sounds more like a bug that needs fixing rather than something to rule out.

Luis


___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: web based local application GUIs

2007-11-27 Thread monteslu
How about a GPS daemon similar to gpsd but with the capabiltiy to speak HTTP?
Would be nice if people making webapps could include a javascript source from 
the localhost that would give back an object with GPS info.

I've already written very lightweight implementations of this in Java and 
Python, however both rely on gpsd. I'm guessing one for the n810 could just 
call to the GPS APIs.

I'm sure there will be security concerns, but it should be easy to turn off and 
on, and wouldn't be a big deal for a mobile device. The daemon also doesn't 
need to give a highly accurate latitude and longitude to still be very useful.


Luis



 Zoran Kolic <[EMAIL PROTECTED]> wrote: 
> > 1.) Rpc (aka web services)
> > 2.) Dbus
> > 3.) Direct SQLite DB interaction
> 
> Whatever motivation was, I second the idea to use 770/800/810
> as device as user wants. Even smaller computers have place
> under the sun for more ambicious tasks. Web services could
> be love/hate, they solve the problem making different os-s
> share the project or business. Talking about web, I think
> ajax is nowadays must-have for success at first-time-visit
> customers. Btw, daemons and services could be less demanding
> than multimedia usage of the device.
> 
> Zoran
> 
> ___
> maemo-developers mailing list
> maemo-developers@maemo.org
> https://lists.maemo.org/mailman/listinfo/maemo-developers

___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] Status of Java on the N770 ??

2006-02-02 Thread monteslu
There isn't an open source J2ME implementation out there.

I'm currently trying to implement one but could use a bit of help :)

I think a derivative of GNU Classpath and jamvm could work.
The archives on this list show that jamvm/classpath(J2SE) can be compiled for 
the device, but there are some GTK bindings problems.
Once fixed, it may still not be practical given the limited hardware on the 770.

The J2ME CLDC 1.1 and MIDP 1.0 specs are pretty small. I think it would be nice 
to implelment CLDC1.1 as a subset of classpath .20, and the MIDP1.0(or the much 
larger MIDP 2.0) as jni calls to  GTK/Hildon.
Once that is complete, jbluez or a bluetooth package on top of 
javax.comm(rxtx's implementation) could be added to support JSR82.

I know the screen is larger than what most J2ME targets are, but there is no 
reason we can't use all the pixels in new development, or do some kind of 
zooming on older Midlets.

Nokia could also give us a hand by replacing the jamvm component with something 
of their's that could use the ARM Jazelle extensions to really speed up java on 
the device.

Having j2me on the device would instantly get us hundreds more applications and 
games. It would also open it up for cross-platform development and other IDE's 
like eclipse.


thoughts?


-Luis


> 
> From: Fabrice DI MEGLIO <[EMAIL PROTECTED]>
> Date: 2006/02/01 Wed PM 07:05:13 EST
> To: maemo-developers@maemo.org
> CC: maemo-users@maemo.org,  Fabrice DI MEGLIO <[EMAIL PROTECTED]>
> Subject: [maemo-developers] Status of Java on the N770 ??
> 
> Hi,
> 
> I have just bought a nice 770 a couple of days ago and would like to 
> develop / port some Java applications on it (as probably some other 
> developers).
> 
> My first experiments with finding something usable has been not very 
> successful:
> 
> - blackdown Java 1.3.1 for ARM processor does not seems to install nor 
> run correctly
> - jamvm seems to start but is very restricted due to current GNU 
> classpath implementation and does not provide any JIT.
> 
> So could I get a status, infos and your experience about Java running on 
> the 770 ??
> 
> Unfortunately, if it is not possible today I will probably need to give 
> it back :-((
> 
> Best,
> 
> Fabrice
> 
> PS1: yes , I have already installed scratchbox and looked at the C/C++ 
> way of developing application for it but I really need running Java.
> 
> PS2: sure it would be great to run a Java VM CDC 1.1 with Personal 
> Profile on it ;-))
> ___
> maemo-developers mailing list
> maemo-developers@maemo.org
> https://maemo.org/mailman/listinfo/maemo-developers
> 

___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


[maemo-developers] Java Question for the Nokia guys.

2006-01-19 Thread monteslu
Not sure if this is the right place to ask, but I've seen some emails on this 
list from people with @nokia.com addresses.

I've read the archives, and so far don't see anything conclusive with regards 
to a working java implementation J2ME or J2SE.


I noticed a post in the archives about this output from /proc/cpuinfo


Processor   : ARM926EJ-Sid(wb) rev 3 (v5l)
BogoMIPS: 125.03
Features: swp half thumb fastmult edsp java 
CPU implementer : 0x41
CPU architecture: 5TEJ
CPU variant : 0x0
CPU part: 0x926
CPU revision: 3
Cache type  : write-back
Cache clean : cp15 c7 ops
Cache lockdown  : format C
Cache format: Harvard
I size  : 32768
I assoc : 4
I line length   : 32
I sets  : 256
D size  : 16384
D assoc : 4
D line length   : 32
D sets  : 128

Hardware: Generic OMAP1510/1610/1710
Revision: 17100016
Serial  : 033302008b5f702f





Does the Features line mean the 770's ARM chip has the potential for hardware 
acceleration for java?

If that's the case is Nokia working on a JVM for the device? I like writing 
applications more than hacking at JVMs, so I don't want to spend too much time 
doing hildon specific bindings or trying to get a slim enough version of 
gnuclasspath and kaffe/gcj/jamvm working efficiently.


Thanks,
Luis

___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


[maemo-developers] 1.1 status?

2006-01-13 Thread monteslu
Hi guys,
I just got my 770 yesterday and now I want to start developing for it.
Seems like the 1.1 installer script is broken.

Any ideas?

Luis


___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers