You Are Here:

Community: Developer Discussion Boards

Reply « Previous Thread | Next Thread »

#1 Old Question Some questions on autostart and appswitch - 2009-03-07, 09:48

Join Date: Jan 2009
Posts: 33
soontobeared
Offline
Registered User
Hi,
I have the following questions
1.To autostart my application on bootup, I am using the following command to pack my sis
Code:
python ensymble_python.py py2sis --appname=SecurePhone --vendor=Me --verbose --autostart SecurePhone\ SecurePhone.sis
But, this doesn't work.

2.Which of the following sis files do I use for appswitch module?
Code:
appswitch103_unsigned_devcertfree.SIS            OR
appswitch_selfsigned.sisx
And how do I use them? How do I pack them with my sis?

I really need to get the autostart thing working.Else my application would be of no use
Btw, I am using 3rd edition FP1 and Nokia N95 8GB.

Thanks&Regards.
Last edited by soontobeared : 2009-03-07 at 09:57. Reason: a typo
Reply With Quote

#2 Old Re: Some questions on autostart and appswitch - 2009-03-07, 09:56

Join Date: Oct 2007
Posts: 2,841
Location: Deva, Romania
bogdan.galiceanu's Avatar
bogdan.galiceanu
Offline
Forum Nokia Champion
Quote:
Originally Posted by soontobeared View Post
1.To autostart my application on bootup, I am using the following command to pack my sis
Code:
python ensymble_python.py py2sis --appname=SecurePhone --vendor=Me --verbose --autostart SecurePhone\ SecurePhone.sis
But, this doesn't work.
From Ensymble's readme file:
Quote:
--autostart
-g

Flag to control automatic startup of the application. On S60 3rd Edition
phones, an application can register itself to be automatically started
when the phone is turned on.

Note: Self-signed applications and applications with UID in the
unprotected range cannot register to be automatically started (see
options "--uid" and "--cert" above).
So you will need to get a UID in the protected range, and for that you would have to contact Symbian Signed. See also The Complete Guide To Symbian Signed for more information.

Quote:
Originally Posted by soontobeared View Post
2.Which of the following sis files do I use for appswitch module?
Code:
appswitch103_unsigned_devcertfree.SIS            OR
appswitch_selfsigned.sisx
And how do I use them? How do I pack them with my sis?

I really need to get the autostart thing working.Else my application would be of no use
Btw, I am using 3rd edition FP3 and Nokia N95 8GB.
You use appswitch103_unsigned_devcertfree.SIS, after you sign it with all capabilities. You can use Open Signed Online for that.

You can pack it with your sis using the mergesis command of Ensymble (more info in the readme file I mentioned above).

Oh and there is no 3rd edition FP3
Reply With Quote

#3 Old Re: Some questions on autostart and appswitch - 2009-03-07, 21:58

Join Date: Jan 2009
Posts: 33
soontobeared
Offline
Registered User
Hi Bogdan,

Appswitch works after signing it using Open Sign Online. But autostart doesn't work. Am i missing something? Or Open Sign Online doesn't support autostart ? If it doesn't, is there any work-around?
I really need the autostart feature.

Thanks&Regards.
Reply With Quote

#4 Old Re: Some questions on autostart and appswitch - 2009-03-07, 22:07

Join Date: Oct 2007
Posts: 2,841
Location: Deva, Romania
bogdan.galiceanu's Avatar
bogdan.galiceanu
Offline
Forum Nokia Champion
Hi,

Autostart only works for applications that have a UID in the protected range (meaning not in 0xE0000000...0xEFFFFFFF). But in order to sign your app with such a UID you will need to contact Symbian Signed and get a Publisher ID. More information can be found in The Complete Guide To Symbian Signed.

It's a shame it's so diffcult to get the autostart feature to work, but that's the way it is
Reply With Quote

#5 Old Re: Some questions on autostart and appswitch - 2009-03-07, 22:21

Join Date: Jan 2009
Posts: 33
soontobeared
Offline
Registered User
Hi ,
Thanks for the info.

I really cannot afford those 200$ .

Regards.
Reply With Quote

#6 Old Re: Some questions on autostart and appswitch - 2009-03-07, 22:27

Join Date: May 2008
Posts: 73
Location: Budapest, Hungary
VaradiZsolt
Offline
Regular Contributor
Quote:
Originally Posted by soontobeared View Post
Hi ,
Thanks for the info.

I really cannot afford those 200$ .

Regards.
If you're working on a freeware application, you can use a protected UID, put an unsigned SIS on the web, and let the users do the job.
Reply With Quote

#7 Old Re: Some questions on autostart and appswitch - 2009-03-07, 23:01

Join Date: Jan 2009
Posts: 33
soontobeared
Offline
Registered User
Hi,
I am just developing this application as part of my coursework at school.
Reply With Quote

#8 Old Re: Some questions on autostart and appswitch - 2009-03-07, 23:10

Join Date: May 2008
Posts: 73
Location: Budapest, Hungary
VaradiZsolt
Offline
Regular Contributor
Quote:
Originally Posted by soontobeared View Post
I am just developing this application as part of my coursework at school.
Doesn't your school have a DevCert you could use?
My university (BUTE) has one, for example.
In any case, what I proposed would still work.
Reply With Quote

#9 Old Re: Some questions on autostart and appswitch - 2009-03-07, 23:47

Join Date: Jan 2009
Posts: 33
soontobeared
Offline
Registered User
Hi,
I think I didn't get what you were trying to say in post #6. Could you please elaborate on that?
1.How can I get a protected UID without signing?
2.And what do you mean by
Quote:
put an unsigned SIS on the web, and let the users do the job
I just want my application to autostart on boot when I am showing it to my professor

Thanks&Regards
Reply With Quote

#10 Old Re: Some questions on autostart and appswitch - 2009-03-07, 23:57

Join Date: May 2008
Posts: 73
Location: Budapest, Hungary
VaradiZsolt
Offline
Regular Contributor
Quote:
Originally Posted by soontobeared View Post
I think I didn't get what you were trying to say in post #6. Could you please elaborate on that?
1.How can I get a protected UID without signing?
2.And what do you mean...
1) All you have to do is: give your package and application a protected UID. There's no magic in that, instead of 0xE1234567, use something like 0xC1234567. So if the number doesn't start with an E, it's a protected UID.

2) You have to get a DevCert. Symbian Signed is out of the question, but there are certain chinese sites that will give you one for free. I don't think the forum policy would allow me to go deeper, but Google and checking blogs like symbian underground will help you.
Reply With Quote

#11 Old Re: Some questions on autostart and appswitch - 2009-03-08, 00:46

Join Date: Jan 2009
Posts: 33
soontobeared
Offline
Registered User
Hi Varadi,
Can i contact you over email ?

Btw, Any idea if this works for PyS60?
HTML Code:
http://www.newlc.com/en/EzBoot.html
I tried merging it with my sis, but I get the error
Code:
SISField contents too short
Regards.
Reply With Quote

#12 Old Re: Some questions on autostart and appswitch - 2009-03-08, 01:16

Join Date: May 2008
Posts: 73
Location: Budapest, Hungary
VaradiZsolt
Offline
Regular Contributor
Quote:
Originally Posted by soontobeared View Post
Hi Varadi,
Can i contact you over email ?
Sure.

Quote:
Btw, Any idea if this works for PyS60?
HTML Code:
http://www.newlc.com/en/EzBoot.html
I tried merging it with my sis, but I get the error
Code:
SISField contents too short
Regards.
It looks like it's for S60 1st and 2nd Edition only
Reply With Quote

#13 Old Re: Some questions on autostart and appswitch - 2009-03-08, 01:23

Join Date: Mar 2003
Posts: 937
Location: Espoo, Finland
JOM's Avatar
JOM
Offline
Forum Nokia Champion
Auts!!!

Quote:
Originally Posted by VaradiZsolt View Post
1) All you have to do is: give your package and application a protected UID. There's no magic in that, instead of 0xE1234567, use something like 0xC1234567.
It doesn't quite work that way... You cannot just make up your own UIDs, due obvious problems. Request (for free) some UIDs of your own from http://www.symbiansigned.com

More info at http://developer.symbian.com/wiki/display/pub/UID+Guide, search for title "How do I get new UIDs?".

Cheers,

--jouni
Reply With Quote

#14 Old Re: Some questions on autostart and appswitch - 2009-03-08, 01:35

Join Date: May 2008
Posts: 73
Location: Budapest, Hungary
VaradiZsolt
Offline
Regular Contributor
Quote:
Originally Posted by JOM View Post
It doesn't quite work that way... You cannot just make up your own UIDs, due obvious problems. Request (for free) some UIDs of your own from http://www.symbiansigned.com

More info at http://developer.symbian.com/wiki/display/pub/UID+Guide, search for title "How do I get new UIDs?"
You can get them for free? I'm seriously surprised, that's definitely unusual from them.
But personally I'm still out of luck, as SS.com won't let me register with neither my gmail, nor my university address, so it's random UIDs and disabled signature checks for me.

Thanks for the correction anyway,
Zsolt

EDIT: I fail to see the obvious problem with faking a UID for a mere assignment.
It's not like it's going to get signed and distributed later.
Last edited by VaradiZsolt : 2009-03-08 at 01:57.
Reply With Quote

#15 Old Re: Some questions on autostart and appswitch - 2009-03-08, 21:04

Join Date: Jan 2009
Posts: 33
soontobeared
Offline
Registered User
Hi JOM,
I got some protected UIDs as you said and packaged my sis with one of them. Then I got my sis signed here
HTML Code:
https://www.symbiansigned.com/app/page/public/openSignedOnline.do
But, still autostart doesn't work


VaradiZsolt,
Can you mail me the things you were talking about in your previous posts?I tried emailing you following the link on your profile, but you have the option of receiving emails disabled.

Thanks&Regards
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules

You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia