series 40 .nfl Flash Lite packaging problem
I created a .nfl archive based upon the instructions in the recently released documentation. However I am not having much success getting this to work.
1) It is not clear how to install this on a phone. Do you transfer the .nfl archive to the phone with USB? Are .nfl files only for OTA transfer?
2) For USB install, Nokia PC Suite Application transfer does not recognize .nfl format. My only option is to use PC Suite file transfer.
3) After transfering the .nfl archive to the phone and viewing the entry in the gallery, my custom icon does not display. Instead the standard flash icon in the gallery for the .nfl archive.
4) The gallery does correctly display the file name I specified for the .nfl archive in the descriptor.inf file.
5) Phone displays a "Corrupt file" message when I try to launch the application.
I get the same behavior on the series 40 5th edition fp1 SDK and a Nokia 5310 xpress music phone (which should be series 40 5th fp1 according to Forum nokia specs).
I can provide my .nfl file if necessary.
Re: series 40 .nfl Flash Lite packaging problem
also my icon is 43 x 43 pixels png 8 bit (256 colors)
Re: series 40 .nfl Flash Lite packaging problem
It sounds like you have a bad descriptor file. I've uploaded an example nfl file here
[url]http://flashmobileblog.com/MyGarden.nfl[/url]
Simply change the nfl extension to zip to look inside.
Mark
Re: series 40 .nfl Flash Lite packaging problem
I've just posted a detailed blog post on my site about NFL and Flash Lite: [URL="http://www.flashdevices.net/2008/09/flash-lite-packaging-for-nokia-series.html"]http://www.flashdevices.net/2008/09/flash-lite-packaging-for-nokia-series.html[/URL]
Re: series 40 .nfl Flash Lite packaging problem
Mark, I successfully tested your example in the series 40 5th edition fp1 sdk, and on my Nokia 5310 Xpress music phone.
However, there does seem to be an issue with zip file compatibility.
As it turns out, the problem with my .nfl was not the contents of the archive but that the zip file itself was not recognized. So there are some zip archiving tools that create zip files that the series 40 system does not recognize.
Here are zip tools that seem to create compatible archives:
WinZip 12, created directly through the software interface
php script called creatZip.php
Here are some ways of creating archives that do not work:
WindowsXP "Send to Compressed (Zip) Folder" - requires right click on file or folder to see this menu option
Stuff It and Drop Stuff does not produce a compatible zip file for series 40.
WinZip "Add to Zip file" - - requires right click on file or folder to see this menu option.
Re: series 40 .nfl Flash Lite packaging problem
Hi,
I guess this link [url]http://flashmobileblog.com/MyGarden.nfl[/url] is unavailable now. I do not understand to increase the capabilities on the zip archive. Although, while installing, I did see that there was no mention of the .NFL extension. How can I now proceed for an NFL archive?
Re: series 40 .nfl Flash Lite packaging problem
[QUOTE=hp3;471707]I created a .nfl archive based upon the instructions in the recently released documentation. However I am not having much success getting this to work.
1) It is not clear how to install this on a phone. Do you transfer the .nfl archive to the phone with USB? Are .nfl files only for OTA transfer?
2) For USB install, Nokia PC Suite Application transfer does not recognize .nfl format. My only option is to use PC Suite file transfer.
3) After transfering the .nfl archive to the phone and viewing the entry in the gallery, my custom icon does not display. Instead the standard flash icon in the gallery for the .nfl archive.
4) The gallery does correctly display the file name I specified for the .nfl archive in the descriptor.inf file.[/QUOTE]
An NFL can be created, using any archiving tool (I have used a WinZip 14.0 and WinRar) archive the following contents with the same name as the application (Application_Name). :
1. descriptor.inf:
For creating this file, open a notepad and save the file as:
File Name: descriptor.inf
File Type: All files
Open the file and add the following text, replacing the application_version_no by the version of the application and the Application_Name as the name of the application:
FL-Version: application_version_no
FL-Icon: Application_Name.png
FL-Name: Application_Name
FL-Name-da-DK: Application_Name
FL-Root: Application_Name.swf
2. Application_Name.png (the application icon of the same name as the application of size 43X43).
3. Application_Name.swf (the SWF of the application)
[QUOTE=hp3;471707]
5) Phone displays a "Corrupt file" message when I try to launch the application.
I get the same behavior on the series 40 5th edition fp1 SDK and a Nokia 5310 xpress music phone (which should be series 40 5th fp1 according to Forum nokia specs).
I can provide my .nfl file if necessary.[/QUOTE]
[B]Please make sure that you do not place the above mentioned 3 contents in a folder to zip; simply select the 3 files and zip. From the command prompt, rename this archive using the following command in the proper directory:[/B]
move Application_Name.zip Application_Name.nfl
e.g. C:\Documents and Settings\Supriya>move MyApp.zip MyApp.nfl
Finally, there is no signing requirement for the .NFL (Ref: [url]http://discussion.forum.nokia.com/forum/showthread.php?t=165367[/url]) and it is now created and ready to be installed on a Nokia S40. (Ref: [url]http://www.flashdevices.net/2008/09/flash-lite-packaging-for-nokia-series.html[/url])
Re: series 40 .nfl Flash Lite packaging problem
Please provide correct technique as soon as possible ur tech is not working...