Languages

Menu
Sites
Language
Adding Tizen inmobi sdk to integrate inmobi ads in our application

Hello, i want to add inmobi ads in my application. But i want to test this feature before registering my application on inmobi. So I tried it using .zip file mentioned in link

https://developer.tizen.org/development/tizen-studio/extension-sdk/inmobi-tizen-ad-sdk-programing-guide#sdkupdate

tried to run NativeAdSample but getting error like " unresolved inclusion adlib.h ". 

I am not getting how to solve this. Will anyone help me plz?

Responses

8 Replies
Iqbal Hossain

hi bhoomika rathod,  I have downloaded the sample and tried it in my Tizen Studio. I am facing same problem for Native sample. May be this header file is missing  from the app. Hope Samsung will fix it soon. 

bhoomika rathod

But it shows header file in sdk folder.
 

bhoomika rathod

I have been added ads framework from package manager but still getting an error like

undefined reference to 'adlib_init'

undefined reference to `adview_add_interstitial_ad'

undefined reference to `adview_interstitial_load'

undefined reference to `adview_interstitial_ad_register_callbacks'

Any one have an idea how to solve this?

 

bhoomika rathod

While Nativeads sample included in inmobi sdk is working.

Iqbal Hossain

After downloading the Inmobi SDK, you found a folder 'files' along with sampleapps folder. 
Go to 

/files/binary/data/platforms/tizen-2.4/mobile/rootstraps/mobile-2.4-device.core/usr/include

copy adlib.h and put on inc folder of your project/sample.

bhoomika rathod

I have been applied this solution but still getting the same error.

Iqbal Hossain

From this url https://developer.tizen.org/development/tizen-studio/extension-sdk/inmobi-tizen-ad-sdk-programing-guide#sdkupdate 

"We recommend you to use the blog on Tizen Ads on Tizen community for any issues. If you still face issues, send them to tizen.ads@samsung.com. The API version of the tizen applications using AdSDK should be mandatorily 2.4 or more, otherwise the tizenstore will reject the applications."

You may follow these instructions to get help. 

dev madrad

add "adlib" to project external libraries in project settings.