maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Newbie (https://talk.maemo.org/forumdisplay.php?f=26)
-   -   App. development on Windows? (https://talk.maemo.org/showthread.php?t=21918)

jerrytouille 2008-07-14 14:37

App. development on Windows?
 
Hey guys, is there a way to develop Maemo app. on Windows or you have to have Linux?

Thanks!

qwerty12 2008-07-14 14:39

Re: App. development on Windows?
 
You can use vmware: http://maemovmware.garage.maemo.org/

Or search this forum for andLinux. (Just a note, I wouldn't recommend andlinux if you plan on uploading to extras as generating a ssh/gpg key will not work in andlinux.)

Benson 2008-07-14 20:10

Re: App. development on Windows?
 
Hadn't known of that obstacle, but if it's just key generation that doesn't work, you could generate the key on the tablet, and transfer it to the machine.

My tendency (Windows-side) is Cygwin rather than coLinux, but I don't do any tablet development there, and while it should work, rebuilding the SDK for Cygwin/NT would be a major project in itself; I'm not advising that for this in particular...

You could always do cygwin/NT+coLinux side-by-side, but that would wind up confusing me at least.

lcuk 2008-07-14 20:32

Re: App. development on Windows?
 
I do all a lot of my development work with Windows.

I use an open source editor (komodo edit)

I use WinSCP and copy files between my n810 and windows (or occasionally my linux laptop configured similarly).

When i am away from anywhere I can edit using pygtkeditor directly on the tablet.

I have gcc on the tablet and compile directly on there using ssh.

It may not work for every project and compilation time is certainly slower than my desktop, but coupled with time to transmit the binary and execute it means its faster for incremental compilations.

Oh, this is C by the way

here is an overview of my app
http://www.internettablettalk.com/fo...ad.php?t=21259

OSEmuTech 2008-07-15 02:44

Re: App. development on Windows?
 
Quote:

Originally Posted by Benson (Post 202930)
My tendency (Windows-side) is Cygwin rather than coLinux, but I don't do any tablet development there, and while it should work, rebuilding the SDK for Cygwin/NT would be a major project in itself; I'm not advising that for this in particular...

You could always do cygwin/NT+coLinux side-by-side, but that would wind up confusing me at least.

Unfortunately it won't work as Cygwin has no root account.

Jaffa 2008-07-15 12:28

Re: App. development on Windows?
 
Quote:

Originally Posted by qwerty12 (Post 202815)
You can use vmware: http://maemovmware.garage.maemo.org/

Or search this forum for andLinux. (Just a note, I wouldn't recommend andlinux if you plan on uploading to extras as generating a ssh/gpg key will not work in andlinux.)

I'm using andLinux on a Windows laptop when I'm away from my Linux desktop, and have no problem signing and uploading from it. Admittedly, I've been using the same key I generated on a full-blown Linux box, is the problem getting enough entropy or something?

timsamoff 2008-07-15 13:55

Re: App. development on Windows?
 
Don't forget about Wubi!

Tim

Benson 2008-07-15 17:00

Re: App. development on Windows?
 
Quote:

Originally Posted by OSEmuTech (Post 203059)
Unfortunately it won't work as Cygwin has no root account.

That just means it's not straightforward; it shouldn't be all that huge an obstacle. See http://debian-cygwin.sourceforge.net...ap/readme.html for info on setting up root. But there's a continual series of obstacles to be overcome, and it's just too much work for me to consider.

qwerty12 2008-07-15 17:01

Re: App. development on Windows?
 
Quote:

Originally Posted by Jaffa (Post 203158)
I'm using andLinux on a Windows laptop when I'm away from my Linux desktop, and have no problem signing and uploading from it. Admittedly, I've been using the same key I generated on a full-blown Linux box, is the problem getting enough entropy or something?

Good point, it's making a key that is a problem.

BoxOfSnoo 2008-07-16 03:16

Re: App. development on Windows?
 
Quote:

Originally Posted by lcuk (Post 202945)

When i am away from anywhere I can edit using pygtkeditor directly on the tablet.

I have gcc on the tablet and compile directly on there using ssh.

It may not work for every project and compilation time is certainly slower than my desktop, but coupled with time to transmit the binary and execute it means its faster for incremental compilations.

Oh, this is C by the way

here is an overview of my app
http://www.internettablettalk.com/fo...ad.php?t=21259

Man I find that seriously cool. I played a bit with PocketC on the palm and it's nice to see the tablet being put to good use that way. It makes me want to try it!

I would have to learn C again though.

As far as compiling speed... I used to compile Clipper code on a 286. It really wasn't that bad. It teaches you to think through your code first. Actually I think I did some stuff on an XT... Modula-2 maybe? I obviously didn't stick with that for too long.

muki 2008-07-16 08:14

Re: App. development on Windows?
 
Arrrr, memories of TopSpeed Modula2, arrrrrrr

lcuk 2008-07-16 08:33

Re: App. development on Windows?
 
Quote:

Originally Posted by BoxOfSnoo (Post 203452)
As far as compiling speed... I used to compile Clipper code on a 286. It really wasn't that bad. It teaches you to think through your code first. Actually I think I did some stuff on an XT... Modula-2 maybe? I obviously didn't stick with that for too long.

The compilation time for building the edited modules is well within my frustration threshold for C, as I said once all the transfers and executes take place I dont think theres a major difference (at least for incremental).

You are right about thinking about what you code before building and not waiting for the compiler to catch your mistakes.

Its good mind training to walk through modules and code blocks with a virtual debugger tracking the expected values and saying to yourself "this may fail if that fails", "wtf thats not meant to happen" etc.

jaeezzy 2008-08-13 03:48

Re: App. development on Windows?
 
I use Jalimo in eclipse in my windows laptop to build application for my IT and do the transfer using WinSCP. When I tried packaging my application I could only find the tutorial which was using scratchbox. So, I download andLinux, scratchbox and maemo SDK 4.0.1 but in the end the graphical interface which should show up seemed to be not how it should be. So, I'm in chaos. Should I stick to jalimo or it worth reinstalling andLinux and all in my windows laptop. Btw, what difference does it make? Plus I've no knowledge of C, C# and only little C++. Java is my main programming language. Thanks

Jaffa 2008-08-15 14:50

Re: App. development on Windows?
 
Jalimo is still a little under development for main application development. In particular, one of the example SWT apps uses 90% CPU when just sitting there doing /nothing/.

Once that's fixed, I'm sure usage will take off and using non-Linux systems to build deb files (and source packages for the autobuilder) will become a lot easier/documented.

lemmy 2008-08-15 15:27

Re: App. development on Windows?
 
Help me out here - is C particularly difficult to learn? I've done a fair bit using PHP and Perl for web and Visual basic on Windows.
If not, which flavour of C?


All times are GMT. The time now is 15:10.

vBulletin® Version 3.8.8