Hi all extension developpers,
For the android port of Spriter, I want to get a string which is dynamically created at edit time.
The EDITDATA structure is the following:
The scmfile string is created like this:
// Header - required
// Object's data
char scmlFile;//scml file buffer, dynamic size
//Update EDIDATA Structure
DWORD dwNewSize = sizeof(EDITDATA) + strlen(scmlFile) + 1;
// Asks MMF to reallocate the structure with the new size
LPEDATA pNewPtr = (LPEDATA)mvReAllocEditData(mV, edPtr, dwNewSize);
// If reallocation worked
if (pNewPtr != NULL)
// Copy the string
edPtr = pNewPtr;
By createRunObject for Android, I used the follwoing:
but if scmlFileName is correct, the scmlFileString is empty (scmlFileString="")when I debug my example application.
scmlFileName = file.readString();
scmlFileString = file.readString();
Do you have any idea how to solve this?