maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   Metre App "Maemo Coding Competition Submission" (Name Changed from Ruler App) (https://talk.maemo.org/showthread.php?t=58907)

qwerty12 2010-07-23 15:16

Re: Ruler App "Maemo Coding Competition Submission"
 
Quote:

Originally Posted by Helmuth (Post 762314)
Its doesn't matter what kind of app you wan't to package. :)

Well, depends. I certainly would never recommend it for compiled apps. It doesn't understand the concept of building an app and nor does it understand the difference between all and any. So, with the former, if you're uploading a compiled app to free using it, you're only able to upload the binary.

Also, I'm sure I'm not alone in disliking the rules and control files generated by it. People should just learn to use Debian's packaging tools. God knows there's enough guides on how to use them.

AlMehdi 2010-07-23 15:36

Re: Ruler App "Maemo Coding Competition Submission"
 
Quote:

Originally Posted by knopow (Post 762293)
Errors were encountered while processing:
account-plugin-salut
E: Sub-process /usr/bin/dpkg returned an error code (1)

want to test app but recieve above error

It's solvable.. by removing some files in /var/lib/dpkg/info/. I am not sure of which. And what ever you do.. do not remove all the files in there. It will break your device.

Bratag 2010-07-23 15:51

Re: Ruler App "Maemo Coding Competition Submission"
 
The libs required are 12MB of space - are the optified?

EDIT: Looks like they are.

klen 2010-07-23 21:03

Re: Ruler App "Maemo Coding Competition Submission"
 
Quote:

Originally Posted by knopow (Post 762293)
Errors were encountered while processing:
account-plugin-salut
E: Sub-process /usr/bin/dpkg returned an error code (1)

want to test app but recieve above error

I flashed my N900 with the latest frameware and managed to install the metere_0.0.1-1_armel.deb package without any problems. The only libraries I needed to install were openCV libraries.

You can get it by:
apt-get install libcv4 libcvaux4 libhighgui4

Hope this helps.

Klen

gryllida 2010-07-25 03:05

Re: Metre App "Maemo Coding Competition Submission" (Name Changed from Ruler App)
 
Hi klen!

http://www.kimag.es/share/54555205.png

It works as intended. Crashed about five times in first ten minutes of usage. Something feature like crash stack trace might be useful to help troubleshoot the problem. Thanks so much, it's practically a great idea. ~~Gryllida

klen 2010-07-25 10:22

Re: Metre App "Maemo Coding Competition Submission" (Name Changed from Ruler App)
 
Quote:

Originally Posted by gryllida (Post 763754)
Hi klen!
http://www.kimag.es/share/54555205.png
It works as intended. Crashed about five times in first ten minutes of usage. Something feature like crash stack trace might be useful to help troubleshoot the problem. Thanks so much, it's practically a great idea. ~~Gryllida

Can you pleas let me know at which step does the app crash? I tried to crash it now and did not manage to do so.

Thanks for the feedback and I am happy to hear that is worked for you.

PS: You can also draw your own arrows on the screen by dragging from point A to point B.

Thanks again,

Klen

nicolai 2010-07-25 13:51

Re: Metre App "Maemo Coding Competition Submission" (Name Changed from Ruler App)
 
Hi klen,

It took me some time to figure out, I have to press the capture
icon to actually measure a distance, right?
What you wrote in step 2 sounds like, I have to
press the capture button only if the object does not fit
in screen and after moving away.

And the same here, the application crashed many times, mostly
after pressing the capture button.

regards
nicolai

klen 2010-07-25 19:37

Re: Metre App "Maemo Coding Competition Submission" (Name Changed from Ruler App)
 
Quote:

Originally Posted by nicolai (Post 764117)
Hi klen,

It took me some time to figure out, I have to press the capture
icon to actually measure a distance, right?
What you wrote in step 2 sounds like, I have to
press the capture button only if the object does not fit
in screen and after moving away.

Thanks for the feedback. I went through the help steps and agree with your comment. It was not clearly stated that you need to press "CAPTURE" in order to measure the object. Made some changes to PROCEDURE steps. Hope it makes more sense now.

Klen

gryllida 2010-07-28 13:46

Re: Metre App "Maemo Coding Competition Submission" (Name Changed from Ruler App)
 
Hi Klen!

http://www.kimag.es/share/54555205.png

It works as intended. Crashed about five times in first ten minutes of usage. Something feature like crash stack trace might be useful to help troubleshoot the problem. Thanks so much, it's practically a great idea. ~~Gryllida


----

Can you pleas let me know at which step does the app crash? I tried to crash it now and did not manage to do so.
Thanks for the feedback and I am happy to hear that is worked for you.
PS: You can also draw your own arrows on the screen by dragging from point A to point B.
Thanks again,
Klen

----

Hi Klen, I've tried testing your program at dark. It turns the light on when calibrating, but doesn't keep it on when the features have been found, leading to their quick loss.

I'm not able to get exact steps to reproduce, the crashes often happen during calibration, without any message, the application just closes off. Having detailed crash info might be very helpful, e.g. like this one includes a stack trace. ~~Gryllida

jd4200 2010-07-28 14:18

Re: Metre App "Maemo Coding Competition Submission" (Name Changed from Ruler App)
 
Voted just because you spelt metre correctly :p

Oh and the app looks preety slick!


All times are GMT. The time now is 08:09.

vBulletin® Version 3.8.8