Sprite demo

TomDest

Member
Licensed User
Longtime User
Dear Forum,

Are there any prerequisites for the sprite demo (that is coming with basic4ppc) to run on the device?

It runs perfectly on a PC, but on the device it is showing "An error occured on sub_main_app_start"...

Any help is appreciated!:sign0085:

Kind regards,

TomDest
 

TomDest

Member
Licensed User
Longtime User
Can you post the full error message?

"An error occured on sub_main_app_start.
Es kann keine Fehlermeldung angezeigt werden, da die optionale Ressource der Assembly, die die Fehlermeldung enthält, nicht gefunden wurde. Continue?"

Translation of the middle part in German:
"No error message can be shown as the optional resource of the assembly containing the error message could not be found."
 

TomDest

Member
Licensed User
Longtime User
For solution of that part of your problem, see http://www.b4x.com/forum/code-samples-tips/572-avoid-optional-resource-assembly-cannot-found.html#post2821

With the full message we can move on to the underlying problem!

Mike.

Yes, that worked. Now it is showing:
"An error occured on sub_main_app_start.
Could not find file '\Speicherkarte\backdrop.jpg. Continue?"

So the program is looking for a graphics file on the memory card ("Speicherkarte") and does not find it.

That explains the error.

Can one integrate that graphic while compiling? With the imglist-thing or else?

Thanks a lot!

TomDest
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…