Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
Questions about Android development and PDF
  • Page:
  • 1

TOPIC:

Get last error 7 years 8 months ago #10932

  • m.mojana
  • m.mojana's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 1
  • Thank you received: 0
Hi,
I see that many of the android SDK methods return a boolean to indicate the success. When the result is "false", is there a method that can be called to have a more detailed reason (like a getLastErrorMsg())? Is there another way to debug the failed calls? Usually the javadoc doesn't explain much about the methods preconditions...

Thank you and Regards

Please Log in or Create an account to join the conversation.

Get last error 7 years 8 months ago #10935

  • nermeen
  • nermeen's Avatar
  • Offline
  • Platinum Member
  • Platinum Member
  • Posts: 962
  • Thank you received: 87
Dear Mojana,

Your request is interesting and valuable.

Currently we do not support such an API, but we have forwarded your request to the developers and, almost certainly, we will improve the management of error messages.

But in the most of the cases the APIs that return a bool return a false if the license is not the appropriate level for the implementation of the API, (i.e. you are trying to use a feature that is not enabled for the currently used license type)
The APIs on which this improvement may have effect, are those that access the file system, but partly already return more detailed information.

Till we do that, if you need support for certain cases, please do not hesitate to ask.

Please Log in or Create an account to join the conversation.

Last edit: by nermeen.
  • Page:
  • 1
Powered by Kunena Forum