uses of ISHELL_GetClassItemID() ? | developer.brewmp.com uses of ISHELL_GetClassItemID() ? | developer.brewmp.com

Developer

uses of ISHELL_GetClassItemID() ?

Forums:

:confused: what is the use of ISHELL_GetClassItemID() ?

You can use it in the context of extension.

You can use it in the context of extension.

hi,
I am using ISHELL_GetClassItemId() for getting the item id of the game/application which is placed on the server.
When credit is expired then I am opening the mobile shop, I want to open the
the same application from mobile shop. For this I am using the following code,
unit32 itemid;
itemid = ISHELL_GetClassItemID(m_pIShell,APP_AEECLSID)
ISHELL_BrowseURL(m_pIShell,"cmshop:ItemId=itemid");
APP_AEECLSID is the class id of the application which i want to Invoke from mobile shop. If I browse for "cmshop:Catalog" then the mobile shope is invoking properly.
Here I am getting itemid = -257 and message No items were found.
I am using this for LG6335.
How could I get the itemid of the game or application?
Is there any other way to find it?
Please help me.
Thanks & Regards,
Vishal

hi,
I am using ISHELL_GetClassItemId() for getting the item id of the game/application which is placed on the server.
When credit is expired then I am opening the mobile shop, I want to open the
the same application from mobile shop. For this I am using the following code,
unit32 itemid;
itemid = ISHELL_GetClassItemID(m_pIShell,APP_AEECLSID)
ISHELL_BrowseURL(m_pIShell,"cmshop:ItemId=itemid");
APP_AEECLSID is the class id of the application which i want to Invoke from mobile shop. If I browse for "cmshop:Catalog" then the mobile shope is invoking properly.
Here I am getting itemid = -257 and message No items were found.
I am using this for LG6335.
How could I get the itemid of the game or application?
Is there any other way to find it?
Please help me.
Thanks & Regards,
Vishal

Hmm, is this the actual code?
"cmshop:ItemId=itemid"
Shouldn't it be the value of itemid ?

Hmm, is this the actual code?
"cmshop:ItemId=itemid"
Shouldn't it be the value of itemid ?

hi,
itemid is user defined variable. It just store the value returned by
ISHELL_GetClassItemId()

hi,
itemid is user defined variable. It just store the value returned by
ISHELL_GetClassItemId()

hi,
itemid is user defined variable. It just store the value returned by
ISHELL_GetClassItemId()

hi,
itemid is user defined variable. It just store the value returned by
ISHELL_GetClassItemId()

Exactly, but suppose itemid = 7;
with
"cmshop:ItemId=itemid"
you're passing this exact literal string as a parameter, when I guess it should be
"cmshop:ItemId=7", right?

Exactly, but suppose itemid = 7;
with
"cmshop:ItemId=itemid"
you're passing this exact literal string as a parameter, when I guess it should be
"cmshop:ItemId=7", right?

hi,
I have convert this no. into buffer and then pass it as below,
char tempChar[50];
SNPRINTF(tempChar,sizeof(tempChar),"cmshop:ItemId=%u",itemid );
ISHELL_BrowseURL(m_pIShell,tempChar);
I got the 10 digit no. for itemid.
Still I got the same message No items were found.
I am confused that wether i am getting wrong itemid or the item is not placed at the server but the application is live on the server.
Regards,
Vishal

hi,
I have convert this no. into buffer and then pass it as below,
char tempChar[50];
SNPRINTF(tempChar,sizeof(tempChar),"cmshop:ItemId=%u",itemid );
ISHELL_BrowseURL(m_pIShell,tempChar);
I got the 10 digit no. for itemid.
Still I got the same message No items were found.
I am confused that wether i am getting wrong itemid or the item is not placed at the server but the application is live on the server.
Regards,
Vishal