Read-only archive of the All About Symbian forum (2001–2013) · About this archive

Flash lite & sis file: different behaviour (Series 60 3rd Edition)

10 replies · 4 views · Started 27 August 2006

Hello!
We have packaged a Flash Lite file (swf) as a sis application for Series 60
3rd Edition. Our swf is a networked application. The sis file installs
correctly, although, everytime it accesses the network, the user is prompted
to select the network. If we download the same swf file through the mobile
phone browser (the swf executes embedded on the browser), the user can
access the network without any problem (the user isn't promped to select the
network on every access).
We have signed our application with the Basic developer certificate (one
IMEI only which gives us the following capabilities: Local Services,
Location, Network Services, Power Management, ProtServ, Read User Data,
Surroundings DD, SW Event, User Environment, Write User Data).

Can this be a capabilities problem (Network Control capability, which is
only available for Phone manufacturer approved certificates) ??

Any help would really be appreciated. We are getting out of time to finish
this mobile application, which must be packaged as a sis file.

Thanks in advance.
Regards,
Victor Batista

Hi Victor

Its unlikely to be due to the certificate you are using. My guess is that
when you're run in the browser process you get the browser process
capabilities, and that this includes the Network services, however for some
reason when you're run from a SIS stub the process is not getting this
capability.
Not sure how to verify this. Have you spoken to Macromedia?

Regards
H

"Victor Batista" <[email protected]> wrote in message
news:2su%[email protected]...
> Hello!
> We have packaged a Flash Lite file (swf) as a sis application for Series

60
> 3rd Edition. Our swf is a networked application. The sis file installs
> correctly, although, everytime it accesses the network, the user is

prompted
> to select the network. If we download the same swf file through the mobile
> phone browser (the swf executes embedded on the browser), the user can
> access the network without any problem (the user isn't promped to select

the
> network on every access).
> We have signed our application with the Basic developer certificate (one
> IMEI only which gives us the following capabilities: Local Services,
> Location, Network Services, Power Management, ProtServ, Read User Data,
> Surroundings DD, SW Event, User Environment, Write User Data).
>
> Can this be a capabilities problem (Network Control capability, which is
> only available for Phone manufacturer approved certificates) ??
>
> Any help would really be appreciated. We are getting out of time to finish
> this mobile application, which must be packaged as a sis file.
>
> Thanks in advance.
> Regards,
> Victor Batista
>
>

Hi Victor

The flash player is not a Symbian product, so the following is without
warranty (but based on the contact I received this from is likely)

"Hamish Willee" <[email protected]> wrote in message
news:[email protected]...
> Hi Victor
>
> Its unlikely to be due to the certificate you are using. My guess is that
> when you're run in the browser process you get the browser process
> capabilities, and that this includes the Network services, however for

some
> reason when you're run from a SIS stub the process is not getting this
> capability.
> Not sure how to verify this. Have you spoken to Macromedia?
>
> Regards
> H
>
>
> "Victor Batista" <[email protected]> wrote in message
> news:2su%[email protected]...[color=green]
> > Hello!
> > We have packaged a Flash Lite file (swf) as a sis application for Series

> 60
> > 3rd Edition. Our swf is a networked application. The sis file installs
> > correctly, although, everytime it accesses the network, the user is

> prompted
> > to select the network. If we download the same swf file through the
[/color]
mobile[color=green]
> > phone browser (the swf executes embedded on the browser), the user can
> > access the network without any problem (the user isn't promped to select

> the
> > network on every access).
> > We have signed our application with the Basic developer certificate (one
> > IMEI only which gives us the following capabilities: Local Services,
> > Location, Network Services, Power Management, ProtServ, Read User Data,
> > Surroundings DD, SW Event, User Environment, Write User Data).
> >
> > Can this be a capabilities problem (Network Control capability, which is
> > only available for Phone manufacturer approved certificates) ??
> >
> > Any help would really be appreciated. We are getting out of time to
[/color]
finish[color=green]
> > this mobile application, which must be packaged as a sis file.
> >
> > Thanks in advance.
> > Regards,
> > Victor Batista
> >
> >

>
>[/color]

Ahhhrrrggg. Cursed outlook!

What I was trying to say was that I believe the following answer, but its
not canonical.

The Standalone Flash player prompts for network access, because some movies
could run up a large network bill with the user being unaware the app ever
connected to the network. The warning/permission to use the network warning
should only happen once per run of the Flash Movie, though in some earlier
versions of the player, if the root movie is replaced with another swf file
I think you might get prompted again.

When in the context of the browser, it is considered obvious to the user
that they might incur network charges, so the warning is not issued.

Ie an implementation decision by the phone vendor, not directly related to
platform security.

Regards
Hamish

"Hamish Willee" <[email protected]> wrote in message
news:[email protected]...
> Hi Victor
>
> The flash player is not a Symbian product, so the following is without
> warranty (but based on the contact I received this from is likely)
>
>
> "Hamish Willee" <[email protected]> wrote in message
> news:[email protected]...[color=green]
> > Hi Victor
> >
> > Its unlikely to be due to the certificate you are using. My guess is
[/color]
that[color=green]
> > when you're run in the browser process you get the browser process
> > capabilities, and that this includes the Network services, however for

> some
> > reason when you're run from a SIS stub the process is not getting this
> > capability.
> > Not sure how to verify this. Have you spoken to Macromedia?
> >
> > Regards
> > H
> >
> >
> > "Victor Batista" <[email protected]> wrote in message
> > news:2su%[email protected]...[color=darkred]
> > > Hello!
> > > We have packaged a Flash Lite file (swf) as a sis application for
[/color][/color]
Series[color=green]
> > 60[color=darkred]
> > > 3rd Edition. Our swf is a networked application. The sis file installs
> > > correctly, although, everytime it accesses the network, the user is

> > prompted
> > > to select the network. If we download the same swf file through the
[/color]
> mobile[color=darkred]
> > > phone browser (the swf executes embedded on the browser), the user can
> > > access the network without any problem (the user isn't promped to
[/color][/color]
select[color=green]
> > the[color=darkred]
> > > network on every access).
> > > We have signed our application with the Basic developer certificate
[/color][/color]
(one[color=green][color=darkred]
> > > IMEI only which gives us the following capabilities: Local Services,
> > > Location, Network Services, Power Management, ProtServ, Read User
[/color][/color]
Data,[color=green][color=darkred]
> > > Surroundings DD, SW Event, User Environment, Write User Data).
> > >
> > > Can this be a capabilities problem (Network Control capability, which
[/color][/color]
is[color=green][color=darkred]
> > > only available for Phone manufacturer approved certificates) ??
> > >
> > > Any help would really be appreciated. We are getting out of time to
[/color]
> finish[color=darkred]
> > > this mobile application, which must be packaged as a sis file.
> > >
> > > Thanks in advance.
> > > Regards,
> > > Victor Batista
> > >
> > >

> >
> >[/color]
>
>[/color]

Hi Hamish!
Thanks for your reply.
We have tested our application (and others) on Flash Lite 2.0 and there
it works fine: The user is only propmted once to select the network.
Our problem arises with Flash lite 1.1, where the user always is
prompted to select the network, on a standalone sis. If we access the same
Flash movie through the browser, the user is only prompted once. We are
trying to refactor our sis. Instead of launching the Flash Player, we are
thinking to launch the KHTML Browser, which will automatically open the
Flash Movie. Unfortunatelly we can't find the UID of the KHTML (Safari)
Browser. We only can get the UID of the KWML Browser (which also comes with
S60 3rd Edition phones). Do you think this will work? Do you know the KHTML
UID?

Thanks in advance.
Regards,
Victor Batista

"Hamish Willee" <[email protected]> wrote in message
news:[email protected]...
> Ahhhrrrggg. Cursed outlook!
>
> What I was trying to say was that I believe the following answer, but its
> not canonical.
>
> The Standalone Flash player prompts for network access, because some
> movies
> could run up a large network bill with the user being unaware the app ever
> connected to the network. The warning/permission to use the network
> warning
> should only happen once per run of the Flash Movie, though in some earlier
> versions of the player, if the root movie is replaced with another swf
> file
> I think you might get prompted again.
>
> When in the context of the browser, it is considered obvious to the user
> that they might incur network charges, so the warning is not issued.
>
> Ie an implementation decision by the phone vendor, not directly related to
> platform security.
>
> Regards
> Hamish
>
> "Hamish Willee" <[email protected]> wrote in message
> news:[email protected]...[color=green]
>> Hi Victor
>>
>> The flash player is not a Symbian product, so the following is without
>> warranty (but based on the contact I received this from is likely)
>>
>>
>> "Hamish Willee" <[email protected]> wrote in message
>> news:[email protected]...[color=darkred]
>> > Hi Victor
>> >
>> > Its unlikely to be due to the certificate you are using. My guess is
[/color]
> that[color=darkred]
>> > when you're run in the browser process you get the browser process
>> > capabilities, and that this includes the Network services, however for

>> some
>> > reason when you're run from a SIS stub the process is not getting this
>> > capability.
>> > Not sure how to verify this. Have you spoken to Macromedia?
>> >
>> > Regards
>> > H
>> >
>> >
>> > "Victor Batista" <[email protected]> wrote in message
>> > news:2su%[email protected]...
>> > > Hello!
>> > > We have packaged a Flash Lite file (swf) as a sis application for
[/color]
> Series[color=darkred]
>> > 60
>> > > 3rd Edition. Our swf is a networked application. The sis file
>> > > installs
>> > > correctly, although, everytime it accesses the network, the user is
>> > prompted
>> > > to select the network. If we download the same swf file through the

>> mobile
>> > > phone browser (the swf executes embedded on the browser), the user
>> > > can
>> > > access the network without any problem (the user isn't promped to
[/color]
> select[color=darkred]
>> > the
>> > > network on every access).
>> > > We have signed our application with the Basic developer certificate
[/color]
> (one[color=darkred]
>> > > IMEI only which gives us the following capabilities: Local Services,
>> > > Location, Network Services, Power Management, ProtServ, Read User
[/color]
> Data,[color=darkred]
>> > > Surroundings DD, SW Event, User Environment, Write User Data).
>> > >
>> > > Can this be a capabilities problem (Network Control capability, which
[/color]
> is[color=darkred]
>> > > only available for Phone manufacturer approved certificates) ??
>> > >
>> > > Any help would really be appreciated. We are getting out of time to

>> finish
>> > > this mobile application, which must be packaged as a sis file.
>> > >
>> > > Thanks in advance.
>> > > Regards,
>> > > Victor Batista
>> > >
>> > >
>> >
>> >

>>
>>[/color]
>
>[/color]

Hi Victor
Never having tried it, and since the browser is Nokia software I couldn't
say. However based on what we've discussed I think there is a very good
chance this will work. I don't know the UID of the browser, but you should
be able to work this out by using RApaLsSession classes to find the UID of
the application which displays HTML files.
Regards
H

"Victor Batista" <[email protected]> wrote in message
news:[email protected]...
> Hi Hamish!
> Thanks for your reply.
> We have tested our application (and others) on Flash Lite 2.0 and

there
> it works fine: The user is only propmted once to select the network.
> Our problem arises with Flash lite 1.1, where the user always is
> prompted to select the network, on a standalone sis. If we access the same
> Flash movie through the browser, the user is only prompted once. We are
> trying to refactor our sis. Instead of launching the Flash Player, we are
> thinking to launch the KHTML Browser, which will automatically open the
> Flash Movie. Unfortunatelly we can't find the UID of the KHTML (Safari)
> Browser. We only can get the UID of the KWML Browser (which also comes

with
> S60 3rd Edition phones). Do you think this will work? Do you know the

KHTML
> UID?
>
> Thanks in advance.
> Regards,
> Victor Batista
>
> "Hamish Willee" <[email protected]> wrote in message
> news:[email protected]...[color=green]
> > Ahhhrrrggg. Cursed outlook!
> >
> > What I was trying to say was that I believe the following answer, but
[/color]
its[color=green]
> > not canonical.
> >
> > The Standalone Flash player prompts for network access, because some
> > movies
> > could run up a large network bill with the user being unaware the app
[/color]
ever[color=green]
> > connected to the network. The warning/permission to use the network
> > warning
> > should only happen once per run of the Flash Movie, though in some
[/color]
earlier[color=green]
> > versions of the player, if the root movie is replaced with another swf
> > file
> > I think you might get prompted again.
> >
> > When in the context of the browser, it is considered obvious to the user
> > that they might incur network charges, so the warning is not issued.
> >
> > Ie an implementation decision by the phone vendor, not directly related
[/color]
to[color=green]
> > platform security.
> >
> > Regards
> > Hamish
> >
> > "Hamish Willee" <[email protected]> wrote in message
> > news:[email protected]...[color=darkred]
> >> Hi Victor
> >>
> >> The flash player is not a Symbian product, so the following is without
> >> warranty (but based on the contact I received this from is likely)
> >>
> >>
> >> "Hamish Willee" <[email protected]> wrote in message
> >> news:[email protected]...
> >> > Hi Victor
> >> >
> >> > Its unlikely to be due to the certificate you are using. My guess is

> > that
> >> > when you're run in the browser process you get the browser process
> >> > capabilities, and that this includes the Network services, however
[/color][/color]
for[color=green][color=darkred]
> >> some
> >> > reason when you're run from a SIS stub the process is not getting
[/color][/color]
this[color=green][color=darkred]
> >> > capability.
> >> > Not sure how to verify this. Have you spoken to Macromedia?
> >> >
> >> > Regards
> >> > H
> >> >
> >> >
> >> > "Victor Batista" <[email protected]> wrote in message
> >> > news:2su%[email protected]...
> >> > > Hello!
> >> > > We have packaged a Flash Lite file (swf) as a sis application for

> > Series
> >> > 60
> >> > > 3rd Edition. Our swf is a networked application. The sis file
> >> > > installs
> >> > > correctly, although, everytime it accesses the network, the user is
> >> > prompted
> >> > > to select the network. If we download the same swf file through the
> >> mobile
> >> > > phone browser (the swf executes embedded on the browser), the user
> >> > > can
> >> > > access the network without any problem (the user isn't promped to

> > select
> >> > the
> >> > > network on every access).
> >> > > We have signed our application with the Basic developer certificate

> > (one
> >> > > IMEI only which gives us the following capabilities: Local
[/color][/color]
Services,[color=green][color=darkred]
> >> > > Location, Network Services, Power Management, ProtServ, Read User

> > Data,
> >> > > Surroundings DD, SW Event, User Environment, Write User Data).
> >> > >
> >> > > Can this be a capabilities problem (Network Control capability,
[/color][/color]
which[color=green]
> > is[color=darkred]
> >> > > only available for Phone manufacturer approved certificates) ??
> >> > >
> >> > > Any help would really be appreciated. We are getting out of time to
> >> finish
> >> > > this mobile application, which must be packaged as a sis file.
> >> > >
> >> > > Thanks in advance.
> >> > > Regards,
> >> > > Victor Batista
> >> > >
> >> > >
> >> >
> >> >
> >>
> >>

> >
> >[/color]
>
>[/color]

Hi Hamish!
Thanks for your reply.
We have managed hot to launch the KHTML Browser:
1) See TSS000340 - "Launching the Web browser on S60 3rd Edition to
open a specified URL"
in the Technical Library, downloadable from Forum.nokia.com under
"Knowledge base"
2) The Uid for the new s60 "Web" browser is 0x1020724D

Although, we still have problems launching the Browser, forcing it to
open a local swf.
The tests we have made with our sis:
1) Launch the KHTML browser and open one swf which is available on
the internet ("http://...."😉. Everything worked ok. The Browser opened the
swf, and the user was prompted only once for the network connection.
2) Launch the KHTML Browser and open a local html file (which was
part of the sis). Everything worked ok. The browser opened the local HTML
file.
3) Launch the KHTML Browser and open a local swf file (which was
part of the sis). We got an error: "Web: memory full...". (it's not problem
of the swf size, because we can open it correctly if downloaded from the
Internet).

It seems that the Browser isn't understading how to open the local swf
file, and raises the error. The src code is at the end of the message.

Can any one help us please?
Thanks in advance. Regards,
Victor Batista

The code we are using to launch the Flash Lite swf file:

_LIT(KFile,"\\offside\\offside.swf"😉;
TFileName aFileName(KFile());
_LIT(KFileProtocol,"file:///"😉;
const TUid KOSSBrowserUidValue = {0x1020724D};
RApaLsSession apaLsSession;
CompleteWithAppPath(aFileName);
param->Des().Copy(_L("4 "😉);
param->Des().Append(KFileProtocol);
param->Des().Append(aFileName);
CEikonEnv::InfoWinL(_L("Link to File"😉,param->Des());
TUid id(KOSSBrowserUidValue);
TApaTaskList taskList(CEikonEnv::Static()->WsSession());
TApaTask task = taskList.FindApp(id);
if(task.Exists()) {
task.BringToForeground();
HBufC8* param8 = HBufC8::NewLC(param->Length());
param8->Des().Append(*param);
task.SendMessage(TUid::Uid(0), *param8); // UID not used
CleanupStack::PopAndDestroy(param8);
} else {
if(!apaLsSession.Handle()) {
User::LeaveIfError(apaLsSession.Connect());
}
TThreadId thread;
User::LeaveIfError(apaLsSession.StartDocument(*param, KOSSBrowserUidValue,
thread));
apaLsSession.Close();
}
CleanupStack::PopAndDestroy(param);
User::Exit(0);

"Hamish Willee" <[email protected]> wrote in message
news:[email protected]...
> Hi Victor
> Never having tried it, and since the browser is Nokia software I couldn't
> say. However based on what we've discussed I think there is a very good
> chance this will work. I don't know the UID of the browser, but you should
> be able to work this out by using RApaLsSession classes to find the UID of
> the application which displays HTML files.
> Regards
> H
>
>
>
>
> "Victor Batista" <[email protected]> wrote in message
> news:[email protected]...[color=green]
>> Hi Hamish!
>> Thanks for your reply.
>> We have tested our application (and others) on Flash Lite 2.0 and

> there
>> it works fine: The user is only propmted once to select the network.
>> Our problem arises with Flash lite 1.1, where the user always is
>> prompted to select the network, on a standalone sis. If we access the
>> same
>> Flash movie through the browser, the user is only prompted once. We are
>> trying to refactor our sis. Instead of launching the Flash Player, we are
>> thinking to launch the KHTML Browser, which will automatically open the
>> Flash Movie. Unfortunatelly we can't find the UID of the KHTML (Safari)
>> Browser. We only can get the UID of the KWML Browser (which also comes

> with
>> S60 3rd Edition phones). Do you think this will work? Do you know the

> KHTML
>> UID?
>>
>> Thanks in advance.
>> Regards,
>> Victor Batista
>>
>> "Hamish Willee" <[email protected]> wrote in message
>> news:[email protected]...[color=darkred]
>> > Ahhhrrrggg. Cursed outlook!
>> >
>> > What I was trying to say was that I believe the following answer, but
[/color]
> its[color=darkred]
>> > not canonical.
>> >
>> > The Standalone Flash player prompts for network access, because some
>> > movies
>> > could run up a large network bill with the user being unaware the app
[/color]
> ever[color=darkred]
>> > connected to the network. The warning/permission to use the network
>> > warning
>> > should only happen once per run of the Flash Movie, though in some
[/color]
> earlier[color=darkred]
>> > versions of the player, if the root movie is replaced with another swf
>> > file
>> > I think you might get prompted again.
>> >
>> > When in the context of the browser, it is considered obvious to the
>> > user
>> > that they might incur network charges, so the warning is not issued.
>> >
>> > Ie an implementation decision by the phone vendor, not directly related
[/color]
> to[color=darkred]
>> > platform security.
>> >
>> > Regards
>> > Hamish
>> >
>> > "Hamish Willee" <[email protected]> wrote in message
>> > news:[email protected]...
>> >> Hi Victor
>> >>
>> >> The flash player is not a Symbian product, so the following is without
>> >> warranty (but based on the contact I received this from is likely)
>> >>
>> >>
>> >> "Hamish Willee" <[email protected]> wrote in message
>> >> news:[email protected]...
>> >> > Hi Victor
>> >> >
>> >> > Its unlikely to be due to the certificate you are using. My guess is
>> > that
>> >> > when you're run in the browser process you get the browser process
>> >> > capabilities, and that this includes the Network services, however
[/color]
> for[color=darkred]
>> >> some
>> >> > reason when you're run from a SIS stub the process is not getting
[/color]
> this[color=darkred]
>> >> > capability.
>> >> > Not sure how to verify this. Have you spoken to Macromedia?
>> >> >
>> >> > Regards
>> >> > H
>> >> >
>> >> >
>> >> > "Victor Batista" <[email protected]> wrote in message
>> >> > news:2su%[email protected]...
>> >> > > Hello!
>> >> > > We have packaged a Flash Lite file (swf) as a sis application for
>> > Series
>> >> > 60
>> >> > > 3rd Edition. Our swf is a networked application. The sis file
>> >> > > installs
>> >> > > correctly, although, everytime it accesses the network, the user
>> >> > > is
>> >> > prompted
>> >> > > to select the network. If we download the same swf file through
>> >> > > the
>> >> mobile
>> >> > > phone browser (the swf executes embedded on the browser), the user
>> >> > > can
>> >> > > access the network without any problem (the user isn't promped to
>> > select
>> >> > the
>> >> > > network on every access).
>> >> > > We have signed our application with the Basic developer
>> >> > > certificate
>> > (one
>> >> > > IMEI only which gives us the following capabilities: Local
[/color]
> Services,[color=darkred]
>> >> > > Location, Network Services, Power Management, ProtServ, Read User
>> > Data,
>> >> > > Surroundings DD, SW Event, User Environment, Write User Data).
>> >> > >
>> >> > > Can this be a capabilities problem (Network Control capability,
[/color]
> which[color=darkred]
>> > is
>> >> > > only available for Phone manufacturer approved certificates) ??
>> >> > >
>> >> > > Any help would really be appreciated. We are getting out of time
>> >> > > to
>> >> finish
>> >> > > this mobile application, which must be packaged as a sis file.
>> >> > >
>> >> > > Thanks in advance.
>> >> > > Regards,
>> >> > > Victor Batista
>> >> > >
>> >> > >
>> >> >
>> >> >
>> >>
>> >>
>> >
>> >

>>
>>[/color]
>
>[/color]


"Victor Batista" <[email protected]> wrote in message
news:[email protected]...
> Hi Hamish!
> Thanks for your reply.
> We have managed hot to launch the KHTML Browser:
> 1) See TSS000340 - "Launching the Web browser on S60 3rd Edition to
> open a specified URL"
> in the Technical Library, downloadable from Forum.nokia.com under
> "Knowledge base"
> 2) The Uid for the new s60 "Web" browser is 0x1020724D
>
> Although, we still have problems launching the Browser, forcing it to
> open a local swf.
> The tests we have made with our sis:
> 1) Launch the KHTML browser and open one swf which is available on
> the internet ("http://...."😉. Everything worked ok. The Browser opened the
> swf, and the user was prompted only once for the network connection.
> 2) Launch the KHTML Browser and open a local html file (which was
> part of the sis). Everything worked ok. The browser opened the local HTML
> file.
> 3) Launch the KHTML Browser and open a local swf file (which was
> part of the sis). We got an error: "Web: memory full...". (it's not
> problem of the swf size, because we can open it correctly if downloaded
> from the Internet).
>
> It seems that the Browser isn't understading how to open the local swf
> file, and raises the error. The src code is at the end of the message.
>
> Can any one help us please?
> Thanks in advance. Regards,
> Victor Batista

Report the problem to Nokia. It might be fixed in future releases.

You can also try opening a file:// yourself, using the CDocumentHandler
class.

--
Sander van der Wal
www.mBrainSoftware.com


> The code we are using to launch the Flash Lite swf file:
>
> _LIT(KFile,"\\offside\\offside.swf"😉;
> TFileName aFileName(KFile());
> _LIT(KFileProtocol,"file:///"😉;
> const TUid KOSSBrowserUidValue = {0x1020724D};
> RApaLsSession apaLsSession;
> CompleteWithAppPath(aFileName);
> param->Des().Copy(_L("4 "😉);
> param->Des().Append(KFileProtocol);
> param->Des().Append(aFileName);
> CEikonEnv::InfoWinL(_L("Link to File"😉,param->Des());
> TUid id(KOSSBrowserUidValue);
> TApaTaskList taskList(CEikonEnv::Static()->WsSession());
> TApaTask task = taskList.FindApp(id);
> if(task.Exists()) {
> task.BringToForeground();
> HBufC8* param8 = HBufC8::NewLC(param->Length());
> param8->Des().Append(*param);
> task.SendMessage(TUid::Uid(0), *param8); // UID not used
> CleanupStack::PopAndDestroy(param8);
> } else {
> if(!apaLsSession.Handle()) {
> User::LeaveIfError(apaLsSession.Connect());
> }
> TThreadId thread;
> User::LeaveIfError(apaLsSession.StartDocument(*param, KOSSBrowserUidValue,
> thread));
> apaLsSession.Close();
> }
> CleanupStack::PopAndDestroy(param);
> User::Exit(0);
>
>
>
>
> "Hamish Willee" <[email protected]> wrote in message
> news:[email protected]...[color=green]
>> Hi Victor
>> Never having tried it, and since the browser is Nokia software I couldn't
>> say. However based on what we've discussed I think there is a very good
>> chance this will work. I don't know the UID of the browser, but you
>> should
>> be able to work this out by using RApaLsSession classes to find the UID
>> of
>> the application which displays HTML files.
>> Regards
>> H
>>
>>
>>
>>
>> "Victor Batista" <[email protected]> wrote in message
>> news:[email protected]...[color=darkred]
>>> Hi Hamish!
>>> Thanks for your reply.
>>> We have tested our application (and others) on Flash Lite 2.0 and

>> there
>>> it works fine: The user is only propmted once to select the network.
>>> Our problem arises with Flash lite 1.1, where the user always is
>>> prompted to select the network, on a standalone sis. If we access the
>>> same
>>> Flash movie through the browser, the user is only prompted once. We are
>>> trying to refactor our sis. Instead of launching the Flash Player, we
>>> are
>>> thinking to launch the KHTML Browser, which will automatically open the
>>> Flash Movie. Unfortunatelly we can't find the UID of the KHTML (Safari)
>>> Browser. We only can get the UID of the KWML Browser (which also comes

>> with
>>> S60 3rd Edition phones). Do you think this will work? Do you know the

>> KHTML
>>> UID?
>>>
>>> Thanks in advance.
>>> Regards,
>>> Victor Batista
>>>
>>> "Hamish Willee" <[email protected]> wrote in message
>>> news:[email protected]...
>>> > Ahhhrrrggg. Cursed outlook!
>>> >
>>> > What I was trying to say was that I believe the following answer, but

>> its
>>> > not canonical.
>>> >
>>> > The Standalone Flash player prompts for network access, because some
>>> > movies
>>> > could run up a large network bill with the user being unaware the app

>> ever
>>> > connected to the network. The warning/permission to use the network
>>> > warning
>>> > should only happen once per run of the Flash Movie, though in some

>> earlier
>>> > versions of the player, if the root movie is replaced with another swf
>>> > file
>>> > I think you might get prompted again.
>>> >
>>> > When in the context of the browser, it is considered obvious to the
>>> > user
>>> > that they might incur network charges, so the warning is not issued.
>>> >
>>> > Ie an implementation decision by the phone vendor, not directly
>>> > related

>> to
>>> > platform security.
>>> >
>>> > Regards
>>> > Hamish
>>> >
>>> > "Hamish Willee" <[email protected]> wrote in message
>>> > news:[email protected]...
>>> >> Hi Victor
>>> >>
>>> >> The flash player is not a Symbian product, so the following is
>>> >> without
>>> >> warranty (but based on the contact I received this from is likely)
>>> >>
>>> >>
>>> >> "Hamish Willee" <[email protected]> wrote in message
>>> >> news:[email protected]...
>>> >> > Hi Victor
>>> >> >
>>> >> > Its unlikely to be due to the certificate you are using. My guess
>>> >> > is
>>> > that
>>> >> > when you're run in the browser process you get the browser process
>>> >> > capabilities, and that this includes the Network services, however

>> for
>>> >> some
>>> >> > reason when you're run from a SIS stub the process is not getting

>> this
>>> >> > capability.
>>> >> > Not sure how to verify this. Have you spoken to Macromedia?
>>> >> >
>>> >> > Regards
>>> >> > H
>>> >> >
>>> >> >
>>> >> > "Victor Batista" <[email protected]> wrote in message
>>> >> > news:2su%[email protected]...
>>> >> > > Hello!
>>> >> > > We have packaged a Flash Lite file (swf) as a sis application for
>>> > Series
>>> >> > 60
>>> >> > > 3rd Edition. Our swf is a networked application. The sis file
>>> >> > > installs
>>> >> > > correctly, although, everytime it accesses the network, the user
>>> >> > > is
>>> >> > prompted
>>> >> > > to select the network. If we download the same swf file through
>>> >> > > the
>>> >> mobile
>>> >> > > phone browser (the swf executes embedded on the browser), the
>>> >> > > user
>>> >> > > can
>>> >> > > access the network without any problem (the user isn't promped to
>>> > select
>>> >> > the
>>> >> > > network on every access).
>>> >> > > We have signed our application with the Basic developer
>>> >> > > certificate
>>> > (one
>>> >> > > IMEI only which gives us the following capabilities: Local

>> Services,
>>> >> > > Location, Network Services, Power Management, ProtServ, Read User
>>> > Data,
>>> >> > > Surroundings DD, SW Event, User Environment, Write User Data).
>>> >> > >
>>> >> > > Can this be a capabilities problem (Network Control capability,

>> which
>>> > is
>>> >> > > only available for Phone manufacturer approved certificates) ??
>>> >> > >
>>> >> > > Any help would really be appreciated. We are getting out of time
>>> >> > > to
>>> >> finish
>>> >> > > this mobile application, which must be packaged as a sis file.
>>> >> > >
>>> >> > > Thanks in advance.
>>> >> > > Regards,
>>> >> > > Victor Batista
>>> >> > >
>>> >> > >
>>> >> >
>>> >> >
>>> >>
>>> >>
>>> >
>>> >
>>>
>>>

>>
>>[/color]
>
>[/color]

Hi

It may be that the browser doesn't know how to handled the swf type
directly. So it works in embedded HTML because the browser is able to
handled the swf file if its embedded in html.
Sander's suggestion to call Nokia a good idea. Gross hack, but perhaps you
could dynamically generate a small fragment of HTML to launch the file in
the browser with?
Regards
H

"Sander van der Wal" <[email protected]> wrote in message
news:[email protected]...
>
> "Victor Batista" <[email protected]> wrote in message
> news:[email protected]...[color=green]
> > Hi Hamish!
> > Thanks for your reply.
> > We have managed hot to launch the KHTML Browser:
> > 1) See TSS000340 - "Launching the Web browser on S60 3rd Edition
[/color]
to[color=green]
> > open a specified URL"
> > in the Technical Library, downloadable from Forum.nokia.com under
> > "Knowledge base"
> > 2) The Uid for the new s60 "Web" browser is 0x1020724D
> >
> > Although, we still have problems launching the Browser, forcing it to
> > open a local swf.
> > The tests we have made with our sis:
> > 1) Launch the KHTML browser and open one swf which is available
[/color]
on[color=green]
> > the internet ("http://...."😉. Everything worked ok. The Browser opened
[/color]
the[color=green]
> > swf, and the user was prompted only once for the network connection.
> > 2) Launch the KHTML Browser and open a local html file (which was
> > part of the sis). Everything worked ok. The browser opened the local
[/color]
HTML[color=green]
> > file.
> > 3) Launch the KHTML Browser and open a local swf file (which was
> > part of the sis). We got an error: "Web: memory full...". (it's not
> > problem of the swf size, because we can open it correctly if downloaded
> > from the Internet).
> >
> > It seems that the Browser isn't understading how to open the local
[/color]
swf[color=green]
> > file, and raises the error. The src code is at the end of the message.
> >
> > Can any one help us please?
> > Thanks in advance. Regards,
> > Victor Batista

>
> Report the problem to Nokia. It might be fixed in future releases.
>
> You can also try opening a file:// yourself, using the CDocumentHandler
> class.
>
>
> --
> Sander van der Wal
> www.mBrainSoftware.com
>
>
> > The code we are using to launch the Flash Lite swf file:
> >
> > _LIT(KFile,"\\offside\\offside.swf"😉;
> > TFileName aFileName(KFile());
> > _LIT(KFileProtocol,"file:///"😉;
> > const TUid KOSSBrowserUidValue = {0x1020724D};
> > RApaLsSession apaLsSession;
> > CompleteWithAppPath(aFileName);
> > param->Des().Copy(_L("4 "😉);
> > param->Des().Append(KFileProtocol);
> > param->Des().Append(aFileName);
> > CEikonEnv::InfoWinL(_L("Link to File"😉,param->Des());
> > TUid id(KOSSBrowserUidValue);
> > TApaTaskList taskList(CEikonEnv::Static()->WsSession());
> > TApaTask task = taskList.FindApp(id);
> > if(task.Exists()) {
> > task.BringToForeground();
> > HBufC8* param8 = HBufC8::NewLC(param->Length());
> > param8->Des().Append(*param);
> > task.SendMessage(TUid::Uid(0), *param8); // UID not used
> > CleanupStack::PopAndDestroy(param8);
> > } else {
> > if(!apaLsSession.Handle()) {
> > User::LeaveIfError(apaLsSession.Connect());
> > }
> > TThreadId thread;
> > User::LeaveIfError(apaLsSession.StartDocument(*param,
[/color]
KOSSBrowserUidValue,[color=green]
> > thread));
> > apaLsSession.Close();
> > }
> > CleanupStack::PopAndDestroy(param);
> > User::Exit(0);
> >
> >
> >
> >
> > "Hamish Willee" <[email protected]> wrote in message
> > news:[email protected]...[color=darkred]
> >> Hi Victor
> >> Never having tried it, and since the browser is Nokia software I
[/color][/color]
couldn't[color=green][color=darkred]
> >> say. However based on what we've discussed I think there is a very good
> >> chance this will work. I don't know the UID of the browser, but you
> >> should
> >> be able to work this out by using RApaLsSession classes to find the UID
> >> of
> >> the application which displays HTML files.
> >> Regards
> >> H
> >>
> >>
> >>
> >>
> >> "Victor Batista" <[email protected]> wrote in message
> >> news:[email protected]...
> >>> Hi Hamish!
> >>> Thanks for your reply.
> >>> We have tested our application (and others) on Flash Lite 2.0 and
> >> there
> >>> it works fine: The user is only propmted once to select the network.
> >>> Our problem arises with Flash lite 1.1, where the user always is
> >>> prompted to select the network, on a standalone sis. If we access the
> >>> same
> >>> Flash movie through the browser, the user is only prompted once. We
[/color][/color]
are[color=green][color=darkred]
> >>> trying to refactor our sis. Instead of launching the Flash Player, we
> >>> are
> >>> thinking to launch the KHTML Browser, which will automatically open
[/color][/color]
the[color=green][color=darkred]
> >>> Flash Movie. Unfortunatelly we can't find the UID of the KHTML
[/color][/color]
(Safari)[color=green][color=darkred]
> >>> Browser. We only can get the UID of the KWML Browser (which also comes
> >> with
> >>> S60 3rd Edition phones). Do you think this will work? Do you know the
> >> KHTML
> >>> UID?
> >>>
> >>> Thanks in advance.
> >>> Regards,
> >>> Victor Batista
> >>>
> >>> "Hamish Willee" <[email protected]> wrote in message
> >>> news:[email protected]...
> >>> > Ahhhrrrggg. Cursed outlook!
> >>> >
> >>> > What I was trying to say was that I believe the following answer,
[/color][/color]
but[color=green][color=darkred]
> >> its
> >>> > not canonical.
> >>> >
> >>> > The Standalone Flash player prompts for network access, because some
> >>> > movies
> >>> > could run up a large network bill with the user being unaware the
[/color][/color]
app[color=green][color=darkred]
> >> ever
> >>> > connected to the network. The warning/permission to use the network
> >>> > warning
> >>> > should only happen once per run of the Flash Movie, though in some
> >> earlier
> >>> > versions of the player, if the root movie is replaced with another
[/color][/color]
swf[color=green][color=darkred]
> >>> > file
> >>> > I think you might get prompted again.
> >>> >
> >>> > When in the context of the browser, it is considered obvious to the
> >>> > user
> >>> > that they might incur network charges, so the warning is not issued.
> >>> >
> >>> > Ie an implementation decision by the phone vendor, not directly
> >>> > related
> >> to
> >>> > platform security.
> >>> >
> >>> > Regards
> >>> > Hamish
> >>> >
> >>> > "Hamish Willee" <[email protected]> wrote in message
> >>> > news:[email protected]...
> >>> >> Hi Victor
> >>> >>
> >>> >> The flash player is not a Symbian product, so the following is
> >>> >> without
> >>> >> warranty (but based on the contact I received this from is likely)
> >>> >>
> >>> >>
> >>> >> "Hamish Willee" <[email protected]> wrote in message
> >>> >> news:[email protected]...
> >>> >> > Hi Victor
> >>> >> >
> >>> >> > Its unlikely to be due to the certificate you are using. My guess
> >>> >> > is
> >>> > that
> >>> >> > when you're run in the browser process you get the browser
[/color][/color]
process[color=green][color=darkred]
> >>> >> > capabilities, and that this includes the Network services,
[/color][/color]
however[color=green][color=darkred]
> >> for
> >>> >> some
> >>> >> > reason when you're run from a SIS stub the process is not getting
> >> this
> >>> >> > capability.
> >>> >> > Not sure how to verify this. Have you spoken to Macromedia?
> >>> >> >
> >>> >> > Regards
> >>> >> > H
> >>> >> >
> >>> >> >
> >>> >> > "Victor Batista" <[email protected]> wrote in message
> >>> >> > news:2su%[email protected]...
> >>> >> > > Hello!
> >>> >> > > We have packaged a Flash Lite file (swf) as a sis application
[/color][/color]
for[color=green][color=darkred]
> >>> > Series
> >>> >> > 60
> >>> >> > > 3rd Edition. Our swf is a networked application. The sis file
> >>> >> > > installs
> >>> >> > > correctly, although, everytime it accesses the network, the
[/color][/color]
user[color=green][color=darkred]
> >>> >> > > is
> >>> >> > prompted
> >>> >> > > to select the network. If we download the same swf file through
> >>> >> > > the
> >>> >> mobile
> >>> >> > > phone browser (the swf executes embedded on the browser), the
> >>> >> > > user
> >>> >> > > can
> >>> >> > > access the network without any problem (the user isn't promped
[/color][/color]
to[color=green][color=darkred]
> >>> > select
> >>> >> > the
> >>> >> > > network on every access).
> >>> >> > > We have signed our application with the Basic developer
> >>> >> > > certificate
> >>> > (one
> >>> >> > > IMEI only which gives us the following capabilities: Local
> >> Services,
> >>> >> > > Location, Network Services, Power Management, ProtServ, Read
[/color][/color]
User[color=green][color=darkred]
> >>> > Data,
> >>> >> > > Surroundings DD, SW Event, User Environment, Write User Data).
> >>> >> > >
> >>> >> > > Can this be a capabilities problem (Network Control capability,
> >> which
> >>> > is
> >>> >> > > only available for Phone manufacturer approved certificates) ??
> >>> >> > >
> >>> >> > > Any help would really be appreciated. We are getting out of
[/color][/color]
time[color=green][color=darkred]
> >>> >> > > to
> >>> >> finish
> >>> >> > > this mobile application, which must be packaged as a sis file.
> >>> >> > >
> >>> >> > > Thanks in advance.
> >>> >> > > Regards,
> >>> >> > > Victor Batista
> >>> >> > >
> >>> >> > >
> >>> >> >
> >>> >> >
> >>> >>
> >>> >>
> >>> >
> >>> >
> >>>
> >>>
> >>
> >>

> >
> >[/color]
>
>[/color]

Hi!

Unfortunately it isn't working with the <object / <embed HTML tags.

We can launch the browser, forcing it to open a swf which is on the Internet
(available through http://..../foo.swf). In this case, the browser correctly
launches the Flash Lite Plugin.

If we try to open a local swf, we get error "Web: memory full...". The
browser isn't understanding the ".swf" extension for local files, ie, it
isn't launching the Flash Lite plugin as it should. How can we force this
(our source code is at the end)?

Thanks in advance,

Victor Batista

"Hamish Willee" <[email protected]> wrote in message
news:B%[email protected]...
> Hi
>
> It may be that the browser doesn't know how to handled the swf type
> directly. So it works in embedded HTML because the browser is able to
> handled the swf file if its embedded in html.
> Sander's suggestion to call Nokia a good idea. Gross hack, but perhaps you
> could dynamically generate a small fragment of HTML to launch the file in
> the browser with?
> Regards
> H
>
> "Sander van der Wal" <[email protected]> wrote in message
> news:[email protected]...[color=green]
>>
>> "Victor Batista" <[email protected]> wrote in message
>> news:[email protected]...[color=darkred]
>> > Hi Hamish!
>> > Thanks for your reply.
>> > We have managed hot to launch the KHTML Browser:
>> > 1) See TSS000340 - "Launching the Web browser on S60 3rd Edition
[/color]
> to[color=darkred]
>> > open a specified URL"
>> > in the Technical Library, downloadable from Forum.nokia.com
>> > under
>> > "Knowledge base"
>> > 2) The Uid for the new s60 "Web" browser is 0x1020724D
>> >
>> > Although, we still have problems launching the Browser, forcing it
>> > to
>> > open a local swf.
>> > The tests we have made with our sis:
>> > 1) Launch the KHTML browser and open one swf which is available
[/color]
> on[color=darkred]
>> > the internet ("http://...."😉. Everything worked ok. The Browser opened
[/color]
> the[color=darkred]
>> > swf, and the user was prompted only once for the network connection.
>> > 2) Launch the KHTML Browser and open a local html file (which
>> > was
>> > part of the sis). Everything worked ok. The browser opened the local
[/color]
> HTML[color=darkred]
>> > file.
>> > 3) Launch the KHTML Browser and open a local swf file (which was
>> > part of the sis). We got an error: "Web: memory full...". (it's not
>> > problem of the swf size, because we can open it correctly if downloaded
>> > from the Internet).
>> >
>> > It seems that the Browser isn't understading how to open the local
[/color]
> swf[color=darkred]
>> > file, and raises the error. The src code is at the end of the message.
>> >
>> > Can any one help us please?
>> > Thanks in advance. Regards,
>> > Victor Batista

>>
>> Report the problem to Nokia. It might be fixed in future releases.
>>
>> You can also try opening a file:// yourself, using the CDocumentHandler
>> class.
>>
>>
>> --
>> Sander van der Wal
>> www.mBrainSoftware.com
>>
>>
>> > The code we are using to launch the Flash Lite swf file:
>> >
>> > _LIT(KFile,"\\offside\\offside.swf"😉;
>> > TFileName aFileName(KFile());
>> > _LIT(KFileProtocol,"file:///"😉;
>> > const TUid KOSSBrowserUidValue = {0x1020724D};
>> > RApaLsSession apaLsSession;
>> > CompleteWithAppPath(aFileName);
>> > param->Des().Copy(_L("4 "😉);
>> > param->Des().Append(KFileProtocol);
>> > param->Des().Append(aFileName);
>> > CEikonEnv::InfoWinL(_L("Link to File"😉,param->Des());
>> > TUid id(KOSSBrowserUidValue);
>> > TApaTaskList taskList(CEikonEnv::Static()->WsSession());
>> > TApaTask task = taskList.FindApp(id);
>> > if(task.Exists()) {
>> > task.BringToForeground();
>> > HBufC8* param8 = HBufC8::NewLC(param->Length());
>> > param8->Des().Append(*param);
>> > task.SendMessage(TUid::Uid(0), *param8); // UID not used
>> > CleanupStack::PopAndDestroy(param8);
>> > } else {
>> > if(!apaLsSession.Handle()) {
>> > User::LeaveIfError(apaLsSession.Connect());
>> > }
>> > TThreadId thread;
>> > User::LeaveIfError(apaLsSession.StartDocument(*param,
[/color]
> KOSSBrowserUidValue,[color=darkred]
>> > thread));
>> > apaLsSession.Close();
>> > }
>> > CleanupStack::PopAndDestroy(param);
>> > User::Exit(0);
>> >
>> >
>> >
>> >
>> > "Hamish Willee" <[email protected]> wrote in message
>> > news:[email protected]...
>> >> Hi Victor
>> >> Never having tried it, and since the browser is Nokia software I
[/color]
> couldn't[color=darkred]
>> >> say. However based on what we've discussed I think there is a very
>> >> good
>> >> chance this will work. I don't know the UID of the browser, but you
>> >> should
>> >> be able to work this out by using RApaLsSession classes to find the
>> >> UID
>> >> of
>> >> the application which displays HTML files.
>> >> Regards
>> >> H
>> >>
>> >>
>> >>
>> >>
>> >> "Victor Batista" <[email protected]> wrote in message
>> >> news:[email protected]...
>> >>> Hi Hamish!
>> >>> Thanks for your reply.
>> >>> We have tested our application (and others) on Flash Lite 2.0 and
>> >> there
>> >>> it works fine: The user is only propmted once to select the network.
>> >>> Our problem arises with Flash lite 1.1, where the user always is
>> >>> prompted to select the network, on a standalone sis. If we access the
>> >>> same
>> >>> Flash movie through the browser, the user is only prompted once. We
[/color]
> are[color=darkred]
>> >>> trying to refactor our sis. Instead of launching the Flash Player, we
>> >>> are
>> >>> thinking to launch the KHTML Browser, which will automatically open
[/color]
> the[color=darkred]
>> >>> Flash Movie. Unfortunatelly we can't find the UID of the KHTML
[/color]
> (Safari)[color=darkred]
>> >>> Browser. We only can get the UID of the KWML Browser (which also
>> >>> comes
>> >> with
>> >>> S60 3rd Edition phones). Do you think this will work? Do you know the
>> >> KHTML
>> >>> UID?
>> >>>
>> >>> Thanks in advance.
>> >>> Regards,
>> >>> Victor Batista
>> >>>
>> >>> "Hamish Willee" <[email protected]> wrote in message
>> >>> news:[email protected]...
>> >>> > Ahhhrrrggg. Cursed outlook!
>> >>> >
>> >>> > What I was trying to say was that I believe the following answer,
[/color]
> but[color=darkred]
>> >> its
>> >>> > not canonical.
>> >>> >
>> >>> > The Standalone Flash player prompts for network access, because
>> >>> > some
>> >>> > movies
>> >>> > could run up a large network bill with the user being unaware the
[/color]
> app[color=darkred]
>> >> ever
>> >>> > connected to the network. The warning/permission to use the network
>> >>> > warning
>> >>> > should only happen once per run of the Flash Movie, though in some
>> >> earlier
>> >>> > versions of the player, if the root movie is replaced with another
[/color]
> swf[color=darkred]
>> >>> > file
>> >>> > I think you might get prompted again.
>> >>> >
>> >>> > When in the context of the browser, it is considered obvious to the
>> >>> > user
>> >>> > that they might incur network charges, so the warning is not
>> >>> > issued.
>> >>> >
>> >>> > Ie an implementation decision by the phone vendor, not directly
>> >>> > related
>> >> to
>> >>> > platform security.
>> >>> >
>> >>> > Regards
>> >>> > Hamish
>> >>> >
>> >>> > "Hamish Willee" <[email protected]> wrote in message
>> >>> > news:[email protected]...
>> >>> >> Hi Victor
>> >>> >>
>> >>> >> The flash player is not a Symbian product, so the following is
>> >>> >> without
>> >>> >> warranty (but based on the contact I received this from is likely)
>> >>> >>
>> >>> >>
>> >>> >> "Hamish Willee" <[email protected]> wrote in message
>> >>> >> news:[email protected]...
>> >>> >> > Hi Victor
>> >>> >> >
>> >>> >> > Its unlikely to be due to the certificate you are using. My
>> >>> >> > guess
>> >>> >> > is
>> >>> > that
>> >>> >> > when you're run in the browser process you get the browser
[/color]
> process[color=darkred]
>> >>> >> > capabilities, and that this includes the Network services,
[/color]
> however[color=darkred]
>> >> for
>> >>> >> some
>> >>> >> > reason when you're run from a SIS stub the process is not
>> >>> >> > getting
>> >> this
>> >>> >> > capability.
>> >>> >> > Not sure how to verify this. Have you spoken to Macromedia?
>> >>> >> >
>> >>> >> > Regards
>> >>> >> > H
>> >>> >> >
>> >>> >> >
>> >>> >> > "Victor Batista" <[email protected]> wrote in
>> >>> >> > message
>> >>> >> > news:2su%[email protected]...
>> >>> >> > > Hello!
>> >>> >> > > We have packaged a Flash Lite file (swf) as a sis application
[/color]
> for[color=darkred]
>> >>> > Series
>> >>> >> > 60
>> >>> >> > > 3rd Edition. Our swf is a networked application. The sis file
>> >>> >> > > installs
>> >>> >> > > correctly, although, everytime it accesses the network, the
[/color]
> user[color=darkred]
>> >>> >> > > is
>> >>> >> > prompted
>> >>> >> > > to select the network. If we download the same swf file
>> >>> >> > > through
>> >>> >> > > the
>> >>> >> mobile
>> >>> >> > > phone browser (the swf executes embedded on the browser), the
>> >>> >> > > user
>> >>> >> > > can
>> >>> >> > > access the network without any problem (the user isn't promped
[/color]
> to[color=darkred]
>> >>> > select
>> >>> >> > the
>> >>> >> > > network on every access).
>> >>> >> > > We have signed our application with the Basic developer
>> >>> >> > > certificate
>> >>> > (one
>> >>> >> > > IMEI only which gives us the following capabilities: Local
>> >> Services,
>> >>> >> > > Location, Network Services, Power Management, ProtServ, Read
[/color]
> User[color=darkred]
>> >>> > Data,
>> >>> >> > > Surroundings DD, SW Event, User Environment, Write User Data).
>> >>> >> > >
>> >>> >> > > Can this be a capabilities problem (Network Control
>> >>> >> > > capability,
>> >> which
>> >>> > is
>> >>> >> > > only available for Phone manufacturer approved certificates)
>> >>> >> > > ??
>> >>> >> > >
>> >>> >> > > Any help would really be appreciated. We are getting out of
[/color]
> time[color=darkred]
>> >>> >> > > to
>> >>> >> finish
>> >>> >> > > this mobile application, which must be packaged as a sis file.
>> >>> >> > >
>> >>> >> > > Thanks in advance.
>> >>> >> > > Regards,
>> >>> >> > > Victor Batista
>> >>> >> > >
>> >>> >> > >
>> >>> >> >
>> >>> >> >
>> >>> >>
>> >>> >>
>> >>> >
>> >>> >
>> >>>
>> >>>
>> >>
>> >>
>> >
>> >

>>
>>[/color]
>
>[/color]

I'm out of ideas sorry. I suggest contacting macromedia directly.
Regards
Hamish

"Victor Batista" <[email protected]> wrote in message
news:[email protected]...
> Hi!
>
> Unfortunately it isn't working with the <object / <embed HTML tags.
>
> We can launch the browser, forcing it to open a swf which is on the

Internet
> (available through http://..../foo.swf). In this case, the browser

correctly
> launches the Flash Lite Plugin.
>
> If we try to open a local swf, we get error "Web: memory full...". The
> browser isn't understanding the ".swf" extension for local files, ie, it
> isn't launching the Flash Lite plugin as it should. How can we force this
> (our source code is at the end)?
>
> Thanks in advance,
>
> Victor Batista
>
>
>
> "Hamish Willee" <[email protected]> wrote in message
> news:B%[email protected]...[color=green]
> > Hi
> >
> > It may be that the browser doesn't know how to handled the swf type
> > directly. So it works in embedded HTML because the browser is able to
> > handled the swf file if its embedded in html.
> > Sander's suggestion to call Nokia a good idea. Gross hack, but perhaps
[/color]
you[color=green]
> > could dynamically generate a small fragment of HTML to launch the file
[/color]
in[color=green]
> > the browser with?
> > Regards
> > H
> >
> > "Sander van der Wal" <[email protected]> wrote in message
> > news:[email protected]...[color=darkred]
> >>
> >> "Victor Batista" <[email protected]> wrote in message
> >> news:[email protected]...
> >> > Hi Hamish!
> >> > Thanks for your reply.
> >> > We have managed hot to launch the KHTML Browser:
> >> > 1) See TSS000340 - "Launching the Web browser on S60 3rd
[/color][/color]
Edition[color=green]
> > to[color=darkred]
> >> > open a specified URL"
> >> > in the Technical Library, downloadable from Forum.nokia.com
> >> > under
> >> > "Knowledge base"
> >> > 2) The Uid for the new s60 "Web" browser is 0x1020724D
> >> >
> >> > Although, we still have problems launching the Browser, forcing it
> >> > to
> >> > open a local swf.
> >> > The tests we have made with our sis:
> >> > 1) Launch the KHTML browser and open one swf which is
[/color][/color]
available[color=green]
> > on[color=darkred]
> >> > the internet ("http://...."😉. Everything worked ok. The Browser
[/color][/color]
opened[color=green]
> > the[color=darkred]
> >> > swf, and the user was prompted only once for the network connection.
> >> > 2) Launch the KHTML Browser and open a local html file (which
> >> > was
> >> > part of the sis). Everything worked ok. The browser opened the local

> > HTML
> >> > file.
> >> > 3) Launch the KHTML Browser and open a local swf file (which
[/color][/color]
was[color=green][color=darkred]
> >> > part of the sis). We got an error: "Web: memory full...". (it's not
> >> > problem of the swf size, because we can open it correctly if
[/color][/color]
downloaded[color=green][color=darkred]
> >> > from the Internet).
> >> >
> >> > It seems that the Browser isn't understading how to open the local

> > swf
> >> > file, and raises the error. The src code is at the end of the
[/color][/color]
message.[color=green][color=darkred]
> >> >
> >> > Can any one help us please?
> >> > Thanks in advance. Regards,
> >> > Victor Batista
> >>
> >> Report the problem to Nokia. It might be fixed in future releases.
> >>
> >> You can also try opening a file:// yourself, using the CDocumentHandler
> >> class.
> >>
> >>
> >> --
> >> Sander van der Wal
> >> www.mBrainSoftware.com
> >>
> >>
> >> > The code we are using to launch the Flash Lite swf file:
> >> >
> >> > _LIT(KFile,"\\offside\\offside.swf"😉;
> >> > TFileName aFileName(KFile());
> >> > _LIT(KFileProtocol,"file:///"😉;
> >> > const TUid KOSSBrowserUidValue = {0x1020724D};
> >> > RApaLsSession apaLsSession;
> >> > CompleteWithAppPath(aFileName);
> >> > param->Des().Copy(_L("4 "😉);
> >> > param->Des().Append(KFileProtocol);
> >> > param->Des().Append(aFileName);
> >> > CEikonEnv::InfoWinL(_L("Link to File"😉,param->Des());
> >> > TUid id(KOSSBrowserUidValue);
> >> > TApaTaskList taskList(CEikonEnv::Static()->WsSession());
> >> > TApaTask task = taskList.FindApp(id);
> >> > if(task.Exists()) {
> >> > task.BringToForeground();
> >> > HBufC8* param8 = HBufC8::NewLC(param->Length());
> >> > param8->Des().Append(*param);
> >> > task.SendMessage(TUid::Uid(0), *param8); // UID not used
> >> > CleanupStack::PopAndDestroy(param8);
> >> > } else {
> >> > if(!apaLsSession.Handle()) {
> >> > User::LeaveIfError(apaLsSession.Connect());
> >> > }
> >> > TThreadId thread;
> >> > User::LeaveIfError(apaLsSession.StartDocument(*param,

> > KOSSBrowserUidValue,
> >> > thread));
> >> > apaLsSession.Close();
> >> > }
> >> > CleanupStack::PopAndDestroy(param);
> >> > User::Exit(0);
> >> >
> >> >
> >> >
> >> >
> >> > "Hamish Willee" <[email protected]> wrote in message
> >> > news:[email protected]...
> >> >> Hi Victor
> >> >> Never having tried it, and since the browser is Nokia software I

> > couldn't
> >> >> say. However based on what we've discussed I think there is a very
> >> >> good
> >> >> chance this will work. I don't know the UID of the browser, but you
> >> >> should
> >> >> be able to work this out by using RApaLsSession classes to find the
> >> >> UID
> >> >> of
> >> >> the application which displays HTML files.
> >> >> Regards
> >> >> H
> >> >>
> >> >>
> >> >>
> >> >>
> >> >> "Victor Batista" <[email protected]> wrote in message
> >> >> news:[email protected]...
> >> >>> Hi Hamish!
> >> >>> Thanks for your reply.
> >> >>> We have tested our application (and others) on Flash Lite 2.0
[/color][/color]
and[color=green][color=darkred]
> >> >> there
> >> >>> it works fine: The user is only propmted once to select the
[/color][/color]
network.[color=green][color=darkred]
> >> >>> Our problem arises with Flash lite 1.1, where the user always
[/color][/color]
is[color=green][color=darkred]
> >> >>> prompted to select the network, on a standalone sis. If we access
[/color][/color]
the[color=green][color=darkred]
> >> >>> same
> >> >>> Flash movie through the browser, the user is only prompted once.
[/color][/color]
We[color=green]
> > are[color=darkred]
> >> >>> trying to refactor our sis. Instead of launching the Flash Player,
[/color][/color]
we[color=green][color=darkred]
> >> >>> are
> >> >>> thinking to launch the KHTML Browser, which will automatically open

> > the
> >> >>> Flash Movie. Unfortunatelly we can't find the UID of the KHTML

> > (Safari)
> >> >>> Browser. We only can get the UID of the KWML Browser (which also
> >> >>> comes
> >> >> with
> >> >>> S60 3rd Edition phones). Do you think this will work? Do you know
[/color][/color]
the[color=green][color=darkred]
> >> >> KHTML
> >> >>> UID?
> >> >>>
> >> >>> Thanks in advance.
> >> >>> Regards,
> >> >>> Victor Batista
> >> >>>
> >> >>> "Hamish Willee" <[email protected]> wrote in message
> >> >>> news:[email protected]...
> >> >>> > Ahhhrrrggg. Cursed outlook!
> >> >>> >
> >> >>> > What I was trying to say was that I believe the following answer,

> > but
> >> >> its
> >> >>> > not canonical.
> >> >>> >
> >> >>> > The Standalone Flash player prompts for network access, because
> >> >>> > some
> >> >>> > movies
> >> >>> > could run up a large network bill with the user being unaware the

> > app
> >> >> ever
> >> >>> > connected to the network. The warning/permission to use the
[/color][/color]
network[color=green][color=darkred]
> >> >>> > warning
> >> >>> > should only happen once per run of the Flash Movie, though in
[/color][/color]
some[color=green][color=darkred]
> >> >> earlier
> >> >>> > versions of the player, if the root movie is replaced with
[/color][/color]
another[color=green]
> > swf[color=darkred]
> >> >>> > file
> >> >>> > I think you might get prompted again.
> >> >>> >
> >> >>> > When in the context of the browser, it is considered obvious to
[/color][/color]
the[color=green][color=darkred]
> >> >>> > user
> >> >>> > that they might incur network charges, so the warning is not
> >> >>> > issued.
> >> >>> >
> >> >>> > Ie an implementation decision by the phone vendor, not directly
> >> >>> > related
> >> >> to
> >> >>> > platform security.
> >> >>> >
> >> >>> > Regards
> >> >>> > Hamish
> >> >>> >
> >> >>> > "Hamish Willee" <[email protected]> wrote in message
> >> >>> > news:[email protected]...
> >> >>> >> Hi Victor
> >> >>> >>
> >> >>> >> The flash player is not a Symbian product, so the following is
> >> >>> >> without
> >> >>> >> warranty (but based on the contact I received this from is
[/color][/color]
likely)[color=green][color=darkred]
> >> >>> >>
> >> >>> >>
> >> >>> >> "Hamish Willee" <[email protected]> wrote in message
> >> >>> >> news:[email protected]...
> >> >>> >> > Hi Victor
> >> >>> >> >
> >> >>> >> > Its unlikely to be due to the certificate you are using. My
> >> >>> >> > guess
> >> >>> >> > is
> >> >>> > that
> >> >>> >> > when you're run in the browser process you get the browser

> > process
> >> >>> >> > capabilities, and that this includes the Network services,

> > however
> >> >> for
> >> >>> >> some
> >> >>> >> > reason when you're run from a SIS stub the process is not
> >> >>> >> > getting
> >> >> this
> >> >>> >> > capability.
> >> >>> >> > Not sure how to verify this. Have you spoken to Macromedia?
> >> >>> >> >
> >> >>> >> > Regards
> >> >>> >> > H
> >> >>> >> >
> >> >>> >> >
> >> >>> >> > "Victor Batista" <[email protected]> wrote in
> >> >>> >> > message
> >> >>> >> > news:2su%[email protected]...
> >> >>> >> > > Hello!
> >> >>> >> > > We have packaged a Flash Lite file (swf) as a sis
[/color][/color]
application[color=green]
> > for[color=darkred]
> >> >>> > Series
> >> >>> >> > 60
> >> >>> >> > > 3rd Edition. Our swf is a networked application. The sis
[/color][/color]
file[color=green][color=darkred]
> >> >>> >> > > installs
> >> >>> >> > > correctly, although, everytime it accesses the network, the

> > user
> >> >>> >> > > is
> >> >>> >> > prompted
> >> >>> >> > > to select the network. If we download the same swf file
> >> >>> >> > > through
> >> >>> >> > > the
> >> >>> >> mobile
> >> >>> >> > > phone browser (the swf executes embedded on the browser),
[/color][/color]
the[color=green][color=darkred]
> >> >>> >> > > user
> >> >>> >> > > can
> >> >>> >> > > access the network without any problem (the user isn't
[/color][/color]
promped[color=green]
> > to[color=darkred]
> >> >>> > select
> >> >>> >> > the
> >> >>> >> > > network on every access).
> >> >>> >> > > We have signed our application with the Basic developer
> >> >>> >> > > certificate
> >> >>> > (one
> >> >>> >> > > IMEI only which gives us the following capabilities: Local
> >> >> Services,
> >> >>> >> > > Location, Network Services, Power Management, ProtServ, Read

> > User
> >> >>> > Data,
> >> >>> >> > > Surroundings DD, SW Event, User Environment, Write User
[/color][/color]
Data).[color=green][color=darkred]
> >> >>> >> > >
> >> >>> >> > > Can this be a capabilities problem (Network Control
> >> >>> >> > > capability,
> >> >> which
> >> >>> > is
> >> >>> >> > > only available for Phone manufacturer approved certificates)
> >> >>> >> > > ??
> >> >>> >> > >
> >> >>> >> > > Any help would really be appreciated. We are getting out of

> > time
> >> >>> >> > > to
> >> >>> >> finish
> >> >>> >> > > this mobile application, which must be packaged as a sis
[/color][/color]
file.[color=green][color=darkred]
> >> >>> >> > >
> >> >>> >> > > Thanks in advance.
> >> >>> >> > > Regards,
> >> >>> >> > > Victor Batista
> >> >>> >> > >
> >> >>> >> > >
> >> >>> >> >
> >> >>> >> >
> >> >>> >>
> >> >>> >>
> >> >>> >
> >> >>> >
> >> >>>
> >> >>>
> >> >>
> >> >>
> >> >
> >> >
> >>
> >>

> >
> >[/color]
>
>[/color]