Languages

Menu
Sites
Language
use of undeclared identifier error

Hello 

I am making function "ListView" in Tizen Native App.

Error Issue >

user of undeclared identifier 'Application' / 'AppResource' / 'pAppResource'

code >

using namespace Tizen ::App; 

...

void

IDF_Main::GetBitmap(void)
{
    AppResource* pAppResource = Application::GetInstance()->GetAppResource();
    __pHome = pAppResource->GetBitmapN(LIST_IMAGE_PATH1);
}

 

Responses

2 Replies
Alex Ashirov

Hi,

Have you included the following:

#include <FApp.h>

?

eunjin chun

Thank you.

I have solved the problem.

I put "#include <FApp.h> " in Header file(.h).