As stated previously, on iOS the PDF will show in a stagewebview.

On Android this doesn't work.... but I have an ANE that will do what you
need:
https://github.com/jonbcampos/unitedmindset-ane-repo

My logic for apps has been:
if !support > goto stagewebview and display
if supported > open with ane

enjoy


On Thu, Feb 7, 2013 at 1:53 PM, Angelo Lazzari <[email protected]>wrote:

> I tried to write/read from the same place (applicationStorageDirectory
> or userDirectory) but the error that come up is nearly the same:
>
> Error #2044: Unhandled ErrorEvent:. text=Load error.
> However, i'll look up in internet tring to follow your advices!
>
> Thanks to everyone!
> Angelo
>
> On Thu, Feb 7, 2013 at 8:47 PM, Om <[email protected]> wrote:
>
> > It looks like you are writing the pdf to:
> >
> > File.userDirectory.resolvePath("testPageAngelo.pdf");
> >
> > But trying to load it from:
> >
> > File.applicationStorageDirectory.resolvePath("testPageAngelo.pdf")
> >
> > This might be causing the error.
> >
> > Thanks,
> > Om
> >
> > On Thu, Feb 7, 2013 at 11:33 AM, Angelo Lazzari <
> [email protected]
> > >wrote:
> >
> > > I'm sorry.
> > >
> > > here it is
> > >
> > > http://pastelink.me/dl/41027d
> > >
> > > Thx
> > > Angelo
> > >
> > >
> > > On Thu, Feb 7, 2013 at 8:27 PM, Om <[email protected]> wrote:
> > >
> > > > The attachment didnt come through.  Can you put it up somewhere else
> > and
> > > > post the link here?
> > > >
> > > > Thanks,
> > > > Om
> > > >
> > > > On Thu, Feb 7, 2013 at 11:23 AM, Angelo Lazzari <
> > > [email protected]
> > > > >wrote:
> > > >
> > > > > Hi Om,
> > > > > i've created a simple Flex Mobile Project with the attached mxml.
> > > > >
> > > > > When i run it con the AIR simulator i obtain an
> > > > >
> > > > > Error #2044: Unhandled error:. text=PDFError
> > > > > That's the way i do it? Where i'm doing wrong?
> > > > >
> > > > > thanks,
> > > > > Angelo
> > > > >
> > > > >
> > > > > On Thu, Feb 7, 2013 at 8:14 PM, Om <[email protected]> wrote:
> > > > >
> > > > >> >
> > > > >> > I found a lot of sites/blog that speak about stagewebview and
> > > > >> > navigatetourl...etc etc but nothing seems to work properly.
> > > > >>
> > > > >>
> > > > >> Can you explain why this dint work?  StageWebview should
> > theoretically
> > > > >> work.
> > > > >>
> > > > >> Thanks,
> > > > >> Om
> > > > >>
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > > Angelo Lazzari
> > > > > mobile: 0039 347 0090 452
> > > > > mail: [email protected]
> > > > >
> > > > >
> > > > > ----------------------------
> > > > > Verificate la corrispondenza del destinatario; in caso contrario
> > > vogliate
> > > > > notificare ciò al mittente e, consci della responsabilita'per l'uso
> > > > > indebito, cancellare il messaggio e sue copie / Verify the
> > > correspondence
> > > > > of the addressee; otherwise, notify that to the sender and,
> conscious
> > > of
> > > > > the responsibility for the undue use, destroy the message and its
> > > copies.
> > > > > ----------------------------
> > > > >
> > > >
> > >
> > >
> > >
> > > --
> > > Angelo Lazzari
> > > mobile: 0039 347 0090 452
> > > mail: [email protected]
> > >
> > >
> > > ----------------------------
> > > Verificate la corrispondenza del destinatario; in caso contrario
> vogliate
> > > notificare ciò al mittente e, consci della responsabilita'per l'uso
> > > indebito, cancellare il messaggio e sue copie / Verify the
> correspondence
> > > of the addressee; otherwise, notify that to the sender and, conscious
> of
> > > the responsibility for the undue use, destroy the message and its
> copies.
> > > ----------------------------
> > >
> >
>
>
>
> --
> Angelo Lazzari
> mobile: 0039 347 0090 452
> mail: [email protected]
>
>
> ----------------------------
> Verificate la corrispondenza del destinatario; in caso contrario vogliate
> notificare ciò al mittente e, consci della responsabilita'per l'uso
> indebito, cancellare il messaggio e sue copie / Verify the correspondence
> of the addressee; otherwise, notify that to the sender and, conscious of
> the responsibility for the undue use, destroy the message and its copies.
> ----------------------------
>



-- 
Jonathan Campos

Reply via email to