Chris, sounds OK to me. I suppose using the WebView is to bridge between
Flash and Java as you indicated and to allow instant application updates
(instead of requiring install of a rich interface application).

However, the plumbing looks awful, I think you'd agree. I've wondered if
Adobe hasn't missed the boat by not having made Flash the mobile app
platform of choice, but that's another discussion.

On Tue, Dec 29, 2009 at 1:45 PM, chris harper <ch393...@gmail.com> wrote:

> Hey Sena
>
> It looks like I have to do a little more research between Flash 9 and
> FlashLite. I will do that tonight. Thank you.
>
> Unfortunately I have the Sprint HTC HERO which as I recently found out is
> less open to find ROM updates. I will search for the Sense 2 that you
> referred to. I might get lucky. :-)
>
> I am doing a proof of concept right now for an app that I want to do.
> For my app to work I will need to interact certain system actions on the
> phone with code in Flash (actionscript 2 which FlashLite supports).
> I have not found a way for Java (i.e. an android app) to interact with
> actionScript directly.
>
> The bridge I found is javascript.
>
> ActionScript WILL interact with javascript.
> Java also interact with javascript as seen here with WebView.
> http://code.google.com/p/apps-for-android/
> Check out the *WebViewDemo.*
>
> So what I am trying to do is when an action happens ( for example the phone
> ringing or other events on the phone)  that triggers a call to javascript
> which will then in turn send an action to the actionScript within flash
> which will then perform an animation or something.
> If I can only find a way to actually display the flash content within
> WebView.
>
> I might be out in right field on this and if I am please feel free to give
> me a virtual slap around but this is the only way I can find to do what I
> want.
>
> -Chris
>
> On Tue, Dec 29, 2009 at 1:20 PM, Sena Gbeckor-Kove <s...@imkon.com> wrote:
>
>> Hi Chris,
>>
>> From what I kwow there are quite a few differences between Flash 9 and
>> Flash Lite. A quick Google should fill you in.
>>
>> You'll definitely need one of the standard Hero roms unless somebody has
>> hacked the Flash files onto a custom rom. If you must have something more
>> recent you might want to track down the Sense 2 rom. I know that runs on
>> Hero. There are videos of it floating about. Or just wait, for 2 months for
>> HTC to drop the official 2.x update.
>>
>> I must say I'm intrigued as to why you want to create such a WebView when
>> only Hero owners will be able to use it at present. Of course once Flash
>> 10.1 turns up for Android everybody should be able to play.
>>
>> Q2 2010?
>>
>> S
>>   On 29 Dec 2009, at 17:51, chris harper wrote:
>>
>>
>> Sena - I picked up a book on writing Flash content for mobile devices and
>> from I understand from the book is that FlashLite is based off of Flash 9.
>> They are essentially the same thing. Where anything written for Flash 9
>> (with actionscript 2) can be run in FlashLite. That is my current
>> understanding between the two. There might be minor differences.I did
>> flash my HTC HERO about a month ago and that thought did cross my mind that
>> maybe the FlashLite got messed up in the process. So my current thought
>> process is to FLASH HTC's newest ROM onto my Hero:
>>
>> http://www.htc.com/uk/SupportViewNews.aspx?dl_id=671&news_id=254
>>
>> I think this will be my best bet for getting the most updated Flash from
>> HTC onto my HERO and (hopefully if the moons align) be able to write a
>> little WebView client to read .swf files.
>>
>> -Chris
>>
>>
>>
>> On Tue, Dec 29, 2009 at 7:00 AM, Sena Gbeckor-Kove <s...@imkon.com>wrote:
>>
>>> If you've flashed you Hero with somethign else you'll have removed the
>>> Flash Plugin. Unless you have a cracked ROM that includes Flash.
>>>
>>> S
>>>
>>>
>>>   On 28 Dec 2009, at 20:30, chris harper wrote:
>>>
>>>   Ok. It is becoming clear now.
>>>
>>> Flash is licensed per device. So even though you have different devices
>>> all running Android, only the ones that are licensed for Flash can implement
>>> it. Is that correct?
>>>
>>> I didn't mention that I do have an HTC Hero (as well as my android
>>> development phone). It is running Firmware version 1.5.
>>> I also tried doing the WebView as stated in the article testing on this
>>> device and also got the same result as my android development phone when
>>> trying to view a .swf (a screen full of random characters).
>>>
>>> From what you told me it sounds like I need to go down the road of
>>> continuing to test my WebView stub on my HTC Hero and maybe looking into why
>>> my flashlite plugin doesn't seem to be working with my WebView stub code?
>>>
>>> Does that sound about right to you Mark?
>>>
>>> Thank you again, this really does help me alot.
>>>
>>> -Chris
>>>
>>>
>>>
>>> On Mon, Dec 28, 2009 at 12:10 PM, Mark Murphy 
>>> <mmur...@commonsware.com>wrote:
>>>
>>>> chris harper wrote:
>>>> > According to this article it is had been done and is possible:
>>>> >
>>>> http://www.flashmobileblog.com/2009/08/12/flash-development-with-android-part2/
>>>>
>>>> The very first sentence of that post:
>>>>
>>>> "As we already know by now the HTC Hero supports Flash in the browser,
>>>> and by double tapping on Flash content it will be played in full screen
>>>> mode."
>>>>
>>>> You will note that this says "HTC Hero". The HTC Hero is a device, for
>>>> which HTC licensed a Flash (Lite) implementation.
>>>>
>>>> > But again like I stated before, after downloading the latest source
>>>> > code, building it, flashing it to my development phone and flash still
>>>> > not working I am having my doubts (and greatly wondering how this guy
>>>> > said it is working).
>>>>
>>>> That is because he is referring to the HTC Hero.
>>>>
>>>> > Do you know if this is even somewhat possible (maybe a FlashLite
>>>> plugin
>>>> > I am missing or something?).
>>>>
>>>> This presumably will work on an HTC Hero -- I haven't tried it. It will
>>>> not work on devices that did not license Flash (Lite) from Adobe. It
>>>> most definitely will not work from the Android open source tree, because
>>>> Flash is not open source.
>>>>
>>>> --
>>>> 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
>>>> android-developers@googlegroups.com
>>>> To unsubscribe from this group, send email to
>>>> android-developers+unsubscr...@googlegroups.com<android-developers%2bunsubscr...@googlegroups.com>
>>>> For more options, visit this group at
>>>> http://groups.google.com/group/android-developers?hl=en
>>>>
>>>
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Android Developers" group.
>>> To post to this group, send email to android-developers@googlegroups.com
>>> To unsubscribe from this group, send email to
>>> android-developers+unsubscr...@googlegroups.com
>>> For more options, visit this group at
>>> http://groups.google.com/group/android-developers?hl=en
>>>
>>>
>>>
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "Android Developers" group.
>> To post to this group, send email to android-developers@googlegroups.com
>> To unsubscribe from this group, send email to
>> android-developers+unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/android-developers?hl=en
>>
>>
>>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com<android-developers%2bunsubscr...@googlegroups.com>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

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

Reply via email to