ApplicationDescriptor appDescr = new ApplicationDescriptor(ApplicationDescriptor.currentApplicationDescriptor(),new String[]{});
CustomMessageStore messages = CustomMessageStore.getInstance(GUID);
ReadableListImpl inboxMessages = messages.getInboxMessages();
ApplicationMessageFolder inbox = reg.registerFolder(CustomMessage.INBOX_FOLDER_ID, _folderName, inboxMessages);
// Register as a listener for callback notifications
inbox.addListener(this, ApplicationMessageFolderListener.MESSAGE_DELETED | ApplicationMessageFolderListener.MESSAGE_MARKED_OPENED
| ApplicationMessageFolderListener.MESSAGE_MARKED_UNOPENED, appDescr);
// We've registered two folders, specify root folder name for the [View Folder] screen.
reg.setRootFolderName(_folderName);