Reply
Thread Tools
Posts: 434 | Thanked: 325 times | Joined on Sep 2009
#31
I managed to make my first application for the N900, because of MADDEN!!!

OK, it's a very simple test application. It's only a rudimentary currency converter. Also the size of the text input box and the push buttons is much too small, but it works!

I wonder what settings I should use with Qt Creator to have it look OK in N900?

Anyway, thank you very much for this wonderful tool! I just hope the version with the full emulator will come soon.
 

The Following 2 Users Say Thank You to Sasler For This Useful Post:
noobmonkey's Avatar
Posts: 3,203 | Thanked: 1,391 times | Joined on Nov 2009 @ Worthing, England
#32
Originally Posted by Sasler View Post
I managed to make my first application for the N900, because of MADDEN!!!

OK, it's a very simple test application. It's only a rudimentary currency converter. Also the size of the text input box and the push buttons is much too small, but it works!

I wonder what settings I should use with Qt Creator to have it look OK in N900?

Anyway, thank you very much for this wonderful tool! I just hope the version with the full emulator will come soon.
W000p - sounds great - i'm still a bit scared to use dev software but wanna try - i think my first step will be to pull info from the device - like battery info etc, doesnt require sorting anything i assume, so is a good first test
 

The Following 2 Users Say Thank You to noobmonkey For This Useful Post:
Posts: 62 | Thanked: 97 times | Joined on Dec 2009 @ Finland, Kerava
#33
Originally Posted by Sasler View Post
I managed to make my first application for the N900, because of MADDEN!!!
Nice to hear. congratulations!

The first application, and so far the only one, I have done for N900
is mad-developer. I used of course MADDE. Now there are two applications. Cool.
 

The Following 2 Users Say Thank You to rontti For This Useful Post:
Posts: 434 | Thanked: 325 times | Joined on Sep 2009
#34
Hmm... Today I'm having some difficulties in connecting to my device. Yesterday I was able to connect using WLAN (for some reason using USB failed). But today what happens is this:

When I do:

mad-admin create n900 -a 10.1.1.101

I get:

Device runtime 'n900' initialized!

But it doesn't ask for password like it did yesterday. And when I do this:

mad remote n900 ping

I get:

Runtime '' not found

But with "mad list" I see this:

Targets:
fremantle-qt-0942 (default)
maemo412-1 (installed)

Runtimes:
n900 (installed)


Am I missing something?
 
Posts: 434 | Thanked: 325 times | Joined on Sep 2009
#35
Just a quick update:

If I uninstall and install again mad-developer_1.3.130_armel.deb on the device, it will ask for the password. But the result is the same "runtime ' ' not found". Also it won't ask the password again, when trying to create a new run time.
 
Posts: 62 | Thanked: 97 times | Joined on Dec 2009 @ Finland, Kerava
#36
Originally Posted by Sasler View Post
Hmm... Today I'm having some difficulties in connecting to my device. Yesterday I was able to connect using WLAN (for some reason using USB failed). But today what happens is this:

When I do:

mad-admin create n900 -a 10.1.1.101

I get:

Device runtime 'n900' initialized!

But it doesn't ask for password like it did yesterday. And when I do this:

mad remote n900 ping

I get:

Runtime '' not found

But with "mad list" I see this:

Targets:
fremantle-qt-0942 (default)
maemo412-1 (installed)

Runtimes:
n900 (installed)


Am I missing something?
The remote command need -r option like
mad remote -r n900


Runtime creation process is following.

You have to have 'developer' user in device, which is created when
mad-developer packet is installed, because 'mad remote' interface
commands use 'developer' as a user.

Developer have to have password when creation is done. When mad-developer packet is installed the developer has no password. Password can be created by mad-developer.

When creation is completed password is not needed anymore, because creation creates rsa keys that are used further on.

When runtime is created you can use it as long as IP address of the device remains same.

Last edited by rontti; 2009-12-25 at 13:57.
 
Posts: 434 | Thanked: 325 times | Joined on Sep 2009
#37
Originally Posted by rontti View Post
Runtime creation process is following.

You have to have 'developer' user in device, which is created when
mad-developer packet is installed, because 'mad remote' interface
commands use 'developer' as a user.

Developer have to have password when creation is done. When mad-developer packet is installed the developer has no password. Password can be created by mad-developer.

When creation is completed password is not needed anymore, because creation creates rsa keys that are used further on.

When runtime is created you can use it as long as IP address of the device remains same.

Could it be possible that in your case the device IP address has been changed?
I got a fixed IP on the device, so that hasn't changed. However, I had the extras-devel disabled the first time this morning. I then enabled it. I also restarted my device. But none of this helped.

I now simply create a debian package and installed it manually into my device (by first coping it to the device from windows) to try out my little app. However, now I have to find our how to launch the app as the installation doesn't seem to make a shortcut for it.

Anyway, as Technology Preview this is great... Now if it only would work, it would be even better!
 
Posts: 62 | Thanked: 97 times | Joined on Dec 2009 @ Finland, Kerava
#38
Sasler:
Did you notice my earlier comment about -r option?
mad remote -r n900 ping
 
Posts: 434 | Thanked: 325 times | Joined on Sep 2009
#39
Originally Posted by rontti View Post
Sasler:
Did you notice my earlier comment about -r option?
mad remote -r n900 ping
No, I did not. I will try it when I get the chance.
 
Posts: 434 | Thanked: 325 times | Joined on Sep 2009
#40
Just to prove how useful MADDEN is, even at this early stage, here is a screenshot from my first ever application (it's a very simple currency converter from Euro to Lithuanian Litas or the other way around) for the N900 (or any mobile device, to be precise ):
Attached Images
 

Last edited by Sasler; 2009-12-25 at 15:29.
 

The Following 8 Users Say Thank You to Sasler For This Useful Post:
Reply

Tags
madde


 
Forum Jump


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