santos.tiago
Newbie

Posts: 23
|
 |
« on: 26 February , 2008, 09:08:01 » |
|
Hi there,
I want to develop applications for a N80, using KuneriLite, but I have some doubts about it: - How can I develop a KuneriLite application? Can I write a flash application and just use KuneriLite to "adapt" it to FlashLite in the N80? How can I make a System Call? (like accessing the camera) And how can I export it to the mobile phone?
Thanks a lot, Tiago Santos
|
|
|
|
|
Logged
|
|
|
|
|
KL Admin
|
 |
« Reply #1 on: 26 February , 2008, 10:19:54 » |
|
Hi Tiago, Correct, you can write flash application(SWF) first and then use KuneriLite to generate S60 application from it. Feel free to test free KL version. Free version does not(cannot) allow multiple installation/instances, but otherwise you will get the idea. KuneriLite and its plug-ins will run in the background, there is no need to worry about them, they will start and close automatically. You design only the plug-in (loadVariable) calls using Flash. You can access the phone camera feature with our camera plug-in, http://wiki.kunerilite.net/index.php?title=Camera_pluginCamera example gives the idea, how to access it: http://wiki.kunerilite.net/images/f/f4/KLCameraExample.zip3rd application, for e.g. Symbian application developed by you, you can access using System plug-in, with argument klAll=(UID of your application). You will need some Symbian development knowledge to implement this. It must be console or S60 UI application capable of reading calling arguments or read them from file(easiest). Application could then write variables into file, which Flash Lite application can read (as a response). Please let us know if there is still doubts in this matter. Cheers, Jukka
|
|
|
|
« Last Edit: 26 February , 2008, 10:22:21 by jusahama »
|
Logged
|
|
|
|
santos.tiago
Newbie

Posts: 23
|
 |
« Reply #2 on: 26 February , 2008, 12:01:17 » |
|
Hi all, Jukka, thanks for your quick answer. At this momment, I know nothing about flash (I'll learn soon), so forgive me if I say something wrong because of this lack of knowledge in this matter. Well.. this are my questions: 1 - If I develop a flash lite application that uses system resources (like capturing the camera's image) and export it to my N80 will it work? If so, why should I use KuneriLite? What are the advantages of its use? 2 - What does KuneriLite do? Is it built over flash lite and allows "only" the use of the (yet) 9 plugins it comes with? If not, where is KuneriLite's API (or a list of commands)? 3 - I just installed the camera plugin in the N80 and it worked perfectly. How can I build an application that makes use of this capture? (I haven't yet read the camera plugin wiki page, so forgive me if the answer is there  Again, thanks a lot, Tiago Santos
|
|
|
|
|
Logged
|
|
|
|
|
C00L
|
 |
« Reply #3 on: 26 February , 2008, 12:26:32 » |
|
Welcome to Kuneri Forums Tiago! Don't worry, not many people are Flash experts here, feel free to ask any kind of questions  1 - If I develop a flash lite application that uses system resources (like capturing the camera's image) and export it to my N80 will it work? If so, why should I use KuneriLite? What are the advantages of its use? You can not utilize camera using Flash Lite. Only way to do that is to use 3rd party (KuneriLite), that's the advantage  2 - What does KuneriLite do? Is it built over flash lite and allows "only" the use of the (yet) 9 plugins it comes with? If not, where is KuneriLite's API (or a list of commands)? KuneriLite is a layer between Flash Lite and S60. Flash Lite asks for commands, KuneriLite does the job on S60 and returns the result back to Flash Lite. Please check http://wiki.kunerilite.net . You will find all required information about commands and more there. 3 - I just installed the camera plugin in the N80 and it worked perfectly. How can I build an application that makes use of this capture? (I haven't yet read the camera plugin wiki page, so forgive me if the answer is there Wink Great to hear it worked well  It depends what you would like to do with it. For instance you would like to create an application that uploads the pictures you taken to your blog?  cheers, Ugur.-
|
|
|
|
|
Logged
|
Kuneri Support Team
|
|
|
santos.tiago
Newbie

Posts: 23
|
 |
« Reply #4 on: 26 February , 2008, 12:34:02 » |
|
Hi all! Ugur, thanks a lot for your answer!  Yes, to build an application that allows me to upload a photo to a website would be a great starting point. How can I do that? Can you confirm if I am doing the right thing: 1- First, I have to create a flash application (how do I import Kuneri Lite's library? Is it needed?) 2 - Then I use Kuneri's Wizard to create the .sis file, and I add the features I needed while developing the swf. 3 - I export it to the mobile phone. Is it correct? Again, thanks a lot!  Tiago Santos
|
|
|
|
|
Logged
|
|
|
|
santos.tiago
Newbie

Posts: 23
|
 |
« Reply #5 on: 28 February , 2008, 05:23:17 » |
|
Hi all, Ugur, right now I'm learning flash and I hope that, by the end of the day, I'll be doing a KuneriLite application to access N80 webcam and send a picture over the Internet. Meanwhile, could you still tell me how to "create an application that uploads the pictures you taken to my blog?"  Thanks a lot, Tiago Santos
|
|
|
|
|
Logged
|
|
|
|
|
C00L
|
 |
« Reply #6 on: 28 February , 2008, 07:03:27 » |
|
Hi Tiago, I guess it's more of a web API issue, other than Flash Lite. We have a sample to upload a picture to web server, but we haven't tried to a blog. Just check your blog API, and I am sure they tell you how to do that in details. From Flash Lite side, you just need to take the picture, make sure the file exists and then use UL/DL plugin to call your API on web server. Hope gives an idea  cheers, Ugur.-
|
|
|
|
|
Logged
|
Kuneri Support Team
|
|
|
|
C00L
|
 |
« Reply #7 on: 28 February , 2008, 07:04:44 » |
|
1- First, I have to create a flash application (how do I import Kuneri Lite's library? Is it needed?) 2 - Then I use Kuneri's Wizard to create the .sis file, and I add the features I needed while developing the swf. 3 - I export it to the mobile phone.
1 - You don't need to import anything. Just call the right plugin and command using loadVariables 2 - That's true 3 - Yes Hope helps  Ugur.-
|
|
|
|
|
Logged
|
Kuneri Support Team
|
|
|
santos.tiago
Newbie

Posts: 23
|
 |
« Reply #8 on: 28 February , 2008, 07:15:49 » |
|
Hi, Ok, Ugur! I'm going to do this today and I'll let you know the result!  Once again, thanks, Tiago Santos
|
|
|
|
|
Logged
|
|
|
|
santos.tiago
Newbie

Posts: 23
|
 |
« Reply #9 on: 03 March , 2008, 05:25:19 » |
|
Hi, all, Well, I have been learning actionscript and kuneri seems easy to use. The camera makes it really easy to take a picture and save it or send it to the Internet. Right now I was trying to save a film. The thing is, when I finish shooting the film an error occurs "kuneri response 0". What does this mean? Where is the video kept? Thanks a lot,  Tiago ----- Edit - The film is stored over "my gallery", as espected!  But does the "response 0" means anything?
|
|
|
|
« Last Edit: 03 March , 2008, 05:32:24 by santos.tiago »
|
Logged
|
|
|
|
|
KL Admin
|
 |
« Reply #10 on: 03 March , 2008, 05:39:23 » |
|
Hi, great to hear that things have proceeded there well, mostly  Response code 0, means that everything went fine, no errors (negative value) were returned. Video storage path is controlled with klPath variable, if folder name is not given but just filename, application path (calling swf folder) is used instead. If you want to store into "Gallery", please give klPath=c:\\data\\videos\\ Cheers, Jukka
|
|
|
|
|
Logged
|
|
|
|
santos.tiago
Newbie

Posts: 23
|
 |
« Reply #11 on: 03 March , 2008, 06:05:59 » |
|
Hi all, Jukka, thanks again for your quick answer. I'm still trying to figure out one thing: how can I stream the video? I don't find that possibility on the API, so I was thinking about using the features of flash to stream flv, but the supported format for kuneri is .3gp. Is there any other way to do this? Thanks a lot,  Tiago Santos
|
|
|
|
|
Logged
|
|
|
|
|
KL Admin
|
 |
« Reply #12 on: 03 March , 2008, 06:08:55 » |
|
Hi, unfortunately not possible and not coming  FLV is not natively supported by S60, and we are not planning to do it for now. 3GP is S60 default video format. Cheers, Jukka
|
|
|
|
|
Logged
|
|
|
|
santos.tiago
Newbie

Posts: 23
|
 |
« Reply #13 on: 03 March , 2008, 06:15:51 » |
|
Hi, Jukka  Hmm... what about 3gp streaming? Thanks  Tiago Santos
|
|
|
|
|
Logged
|
|
|
|
|
C00L
|
 |
« Reply #14 on: 04 March , 2008, 06:33:09 » |
|
Hi Tiago,
First; streaming is possible in 2 ways;
- Via FLV and Flash Lite 3 - Via 3PG and Real player.
If you use Flash Lite 3, you can stream FLV videos. If you use 1.1, you can stream 3GP videos from a streaming server.
Second; I might not understand your question very well but;
- You use only one port to communication with KuneriLite - You can use any other port to communicate with any server on internet
Hope helps:)
Ugur.-
|
|
|
|
|
Logged
|
Kuneri Support Team
|
|
|
|