Oh man... I WAS missing something. I think I was looking at this too
long. The folder my images were in wasn't down one level relative to
the location of the html. In this instance the html was just flat-out
wrong. Gaaar.

Thanks guys,
Jeremy

On Nov 18, 8:47 am, Jeremy Logan <[email protected]> wrote:
> True, but I'm not really building an app... I'm building a thing
> that's probably closer to an app framework. Basically the client can
> just dump in their content, change a few settings and churn out a "new
> app". I guess what I meant is that in the future I won't have full
> control over what the HTML looks like and it'd be nice if I could
> allow them to use the same code as they're currently using for their
> iPhone app.
>
> That said, I decided to go ahead and give the base tag a try (working
> on the assumption that I could alter the html programatically) and it
> didn't work either.
>
> <base href="file:///android_asset/ContentRoot/" />
>
> If I manually set the src of the img to an absolute URL (e.g.,
> file:///android_asset/ContentRoot/Photos/image.jpg) then it works
> fine. Am I missing something here?
>
> Thanks for the thoughts/help guys,
> Jeremy
>
> On Nov 18, 7:24 am, Mark Murphy <[email protected]> wrote:
>
> > Jeremy Logan wrote:
> > > Thanks for the suggestion, but if I could alter the HTML I'd just use
> > > absolute URLs instead or relative.
>
> > Well, by definition, you can alter the HTML. You are packaging it in
> > your app. It's not like it is being downloaded from some server that you
> > cannot touch.
>
> > --
> > Mark Murphy (a Commons 
> > Guy)http://commonsware.com|http://twitter.com/commonsguy
>
> > Android App Developer Books:http://commonsware.com/books

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to