Groups | Blog | Home
all groups > macromedia mobile and devices flashlite > january 2005 >

macromedia mobile and devices flashlite : Flash Lite and the photo camera? Need to use J2ME?


wdeboer
1/21/2005 3:51:35 PM
Does anyone happen to know if it's possible to access photos which are shoot
with the photo camera of the mobile phone?

If so, since which version of Flash Lite is this support?

Anyone happen to know if you can communicate with J2ME midlet from within
Flash Lite?
byte_sm
1/22/2005 10:13:10 AM
hi!

i think is very difficult to do with only flash,
because flash lite cannot load dinamically jpg:
the jpegs must be embedded in a swf file...

ciao
Communic8
1/22/2005 2:15:07 PM
Hi,

well, let's say yes, it is possible. It depends on what you mean to do.
If you want just to display them through a swf, you can create a button and by
using the command fscommand you can launch the application ImageViewer and load
the image you need.

Example:

on (keyPress "<Enter>") {
path
="z:\\system\\apps\\ImageViewer\\ImageViewer.app,c:\\Nokia\\images\\foto(001).jp
g";
fscommand("Launch", path);
}

This works well with Series 60 devices.

ciao

Andrea
Team Macromedia Member - Mobile and Devices
wdeboer
1/22/2005 7:04:37 PM
Well, what I want to do is the following, making a photo with the mobile phone,
and then be able to pick a photo in for example flash and add some text to it,
and send away to the web or through MMS. I dont' really care.

As long I can do:

1. Use photos made wit the mobile phone
2. Select/pick a photo and use it within Flash Lite
3. "markup" it, and then send the results through web and/or MMS. I don't
care if it needs to via Flash Lite -> J2Me/Symbian -> MMS/Internet.

So when I can communicate with a J2ME midlet or Symbian application from
within Flash Lite that would be awesome. I repeat AWESOME.
biskero
1/22/2005 7:33:12 PM
Ciao

when you say '(because loadMovie isn't support in v1.0-v1.1)' what do you mean ?

You can use loadMovie, the only restriction is that you can load Flash 4 swf clips.

Alessandro
wdeboer
1/22/2005 7:51:33 PM
Well, I am told that you can't load SWF, well I thought that I read that in the
Flash Lite guide weeks ago. Oh well, I will need to check that then, so both
version 1.0 as 1.1 support this?

What about loading movies from the internet ?

biskero
1/22/2005 8:00:51 PM
Hello,
FL1.1 supports loadMovie
FL1.0 not

so you can load a clip (need to be flash 4 compiled)
You can do this:
loadMovie('http://......./file.swf','')

Ciao
Alessandro
wdeboer
1/22/2005 8:09:00 PM
Great! That's the solution for Flash Lite 1.1 enabled mobile phones, I suppose
I need to really use J2ME somehow for Flash Lite 1.0 :( Do you know how to use
J2ME stuff?

I suppose somehow through fscommand() and launch it, but then in a way it's
wont be visible :)

biskero
1/22/2005 8:20:42 PM
Hello,
not too familiar with J2ME, just started to get into it.
yes you can use fscommand to lunch other apps.

Alessandro
wdeboer
1/22/2005 8:46:28 PM
Kevin Weiner
1/22/2005 10:58:23 PM
[quoted text, click to view]

J2ME can't communicate with native apps on the same device, except
possibly through sockets (which I do not believe are supported in FL).

---------------------------------------------------------------------
AddThis Social Bookmark Button