Some questions about Nokia Image SDK



I'm learning to create a image app with Nokia Image SDK.But I meet some questions.I do as on tutorial.I use same code as tutorial.I don't know why it can't debug.
public partial class MainPage : PhoneApplicationPage
{
private FilterEffect _cartoonEffect = null;
private WriteableBitmap _cartoonImageBitmap = null;
private WriteableBitmap _thumbnailImageBitmap = null;
}
Error list display:Member names can't be the same as their enclosing type
If I chage member name,the code behind is not recognized.

Related to : Some questions about Nokia Image SDK
May SDK 1.2 (Nokia 7650) and SDK 2.0 (Nokia 6600) co-exist ?
Mobile Programming
Hi,
I need to install on the same PC the SDK 1.2 and SDK 2.0.
I need them at the same time..
Is it possible to make them co-exist ???
On the ReleaseNote they wrote:
Co-existence with earlier Symbian OS SDKs
-----------------------------------------
See SDK documentation for "How to manage development for multiple device types"
in Symbian Developer Library » Tools and Utilities » Kit management »
How to manage development for multiple device types
I Reach Symbian Developer Library >> Tools and Utilies
[url]http://www.symbian.com/developer/tech
May SDK 1.2 (Nokia 7650) and SDK 2.0 (Nokia 6600) co-exist ? !
Mobile Programming
Hi,
I need to install on the same PC the SDK 1.2 and SDK 2.0.
I need them at the same time..
Is it possible to make them co-exist ???
On the ReleaseNote they wrote:
Co-existence with earlier Symbian OS SDKs
-----------------------------------------
See SDK documentation for "How to manage development for multiple device types"
in Symbian Developer Library » Tools and Utilities » Kit management »
How to manage development for multiple device types
I Reach Symbian Developer Library >> Tools and Utilies
[url]http://www.symbian.com/developer/te..
URGENT!!: SDK for Nokia card phone 2.0 (Nokia PC Connectivity SDK 1.0 )
Mobile Programming
Can anyone give me the link / send the SDK for Nokia card phone 2.0?
I couldnt find the same at [url]http://www.forum.nokia.com/cardphoneforum/main/1,6566,1_99_6_20,00.html[/url] as mentioned in this website.
Any information related to this SDK would be greatful.
You may reply to [email]d.jagadeesan@gmail.com[/email]
Thanks in advance.
Problem in fetching the image from server using Nokia 6212 NFC sdk
Mobile Programming
Hi all,
Iam trying to fetch an image of around 15KB size from a local server and display it on the nokia 6212 nfc sdk emulator screen.Its working fine with 15KB image.But iam getting the following exception when i try to fetch more than 20KB image.
"java.util.zip.ZipException: unknown compression method
at java.util.zip.InflaterInputStream.read(Unknown Source)
at java.io.BufferedInputStream.fill(Unknown Source)
at java.io.BufferedInputStream.read(Unknown Source)
at sun.awt.image.PNGImageDecoder.produceImage(Unknown Source)
at sun.awt.image.InputStreamImageSource.doFetch(Unknown Source)
at sun.awt.image.ImageFetcher
Some questions about Nokia Image SDK
Mobile Programming
I'm learning to create a image app with Nokia Image SDK.But I meet some questions.I do as on tutorial.I use same code as tutorial.I don't know why it can't debug.
public partial class MainPage : PhoneApplicationPage
{
private FilterEffect _cartoonEffect = null;
private WriteableBitmap _cartoonImageBitmap = null;
private WriteableBitmap _thumbnailImageBitmap = null;
}
Error list display:Member names can't be the same as their enclosing type
If I chage member name,the code behind is not recognized.
How to Save an Image from Nokia Imaging SDK
Mobile Programming

I am having issues with some sample code that I am using from one of Nokia's Imaging SDK samples they provide. Essentially I am trying to save an image to IsolatedStorage. The code that I am reusing has been used successfully elsewhere in the solution, but when I try to use it there are no errors but it does not proceed with the following statements. Essentially in the StorePhoto method, once IBuffer buffer = await App.PhotoModel.RenderFullBufferAsync(); is called no error occurs but no code below that which is actually performs the save to isolated storage operation is ran, so no image is ever saved.

SavePage.xaml.cs

private static string _photoModelPath =
@"Lockscreenv1PhotoModel";
private static string _photoModelBufferFilename = @"buffer.data";

public async static void StorePhoto()
    {
        string _photoModelPath = @"Lockscreenv1LockScreen";
        string _photoModelBufferFilename = @"buffer.data";

        using (IsolatedStorageFile storage =
IsolatedStorageFile.GetUserStoreForApplication())
        {
            if (!storage.DirectoryExists(_photoModelPath))
            {
                storage.CreateDirectory(_photoModelPath);
            }

            if (storage.FileExists(_photoModelPath + @"" +
_photoModelBufferFilename))
            {
                storage.DeleteFile(_photoModelPath + @"" +
_photoModelBufferFilename);
            }

            IBuffer buffer = await
App.PhotoModel.RenderFullBufferAsync();  //code exiting method with no
error

            if (buffer != null)
            {
                IsolatedStorageFileStream originalFile =
storage.CreateFile(_photoModelPath + @"" + _photoModelBufferFilename);

                Stream bufferStream = buffer.AsStream();

                bufferStream.CopyTo(originalFile);
                bufferStream.Flush();
                bufferStream.Close();
                bufferStream.Dispose();

                originalFile.Flush();
                originalFile.Close();
                originalFile.Dispose();
            }                  
        }
    }

MainPage.xaml.cs

private async void _saveItem_Click(object sender, EventArgs
e)
    {
         Helpers.SaveHelper.StorePhoto(); //calling the StorePhoto
method here
    }

PhotoModel.cs (from Nokia Imaging SDK sample)

/// <summary>
    /// Renders current image with applied filters to a buffer and
returns it.
    /// Meant to be used where the filtered image is for example going
to be
    /// saved to a file.
    /// </summary>
    /// <returns>Buffer containing the filtered image
data</returns>
    public async Task<IBuffer> RenderFullBufferAsync()
    {
        using (BufferImageSource source = new
BufferImageSource(_buffer))
        using (FilterEffect effect = new FilterEffect(source) {
Filters = _components })
        using (JpegRenderer renderer = new JpegRenderer(effect))
        {
            return await renderer.RenderAsync();
        }
    }


Privacy Policy - Copyrights Notice - Feedback - Report Violation - RSS 2017 © bighow.org All Rights Reserved .