+ Start a Discussion
akshay21akshay21 

android templateapp no response

hello, 

 

i changed the soql query under onfetchaccountsclick to - "SELECT Name FROM Book__c" 

here book is the custom object created as per given apex tutorial which by default has a name attribute.

but on clicking fetch accounts in the app i get error message as- invalid type and sObject of type Book__c is not supported.

 

the actual error quite long but cant tell u now as its in a screen shot...please reply soon...

 

regards,

akshay.

 

Gaurav KheterpalGaurav Kheterpal

1) Whatever your SOQL is, can you try running it from SOQL explorer or anywhere outside the app to validate that it's valid?

2) Can you try logging the whole error string instead of trying to capture the screenshot?

 

I may be able to help.

 

Cheers!
Gaurav