Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
New Developer
ashengjie
Posts: 83
Registered: ‎02-22-2009
My Device: Not Specified
Accepted Solution

how to create subfolder in the inbox ? did BB api support it ?

i want create subfolder in the inbox  like this:

 

inbox

 

Please use plain text.
Developer
BBDeveloper
Posts: 3,951
Registered: ‎07-15-2008
My Device: Not Specified

Re: how to create subfolder in the inbox ? did BB api support it ?

ashengjie, Are you able to reach inbox using FileConnection?

Use Search. "Accept Solution" If the problem is resolved.
Please use plain text.
New Developer
ashengjie
Posts: 83
Registered: ‎02-22-2009
My Device: Not Specified

Re: how to create subfolder in the inbox ? did BB api support it ?

the qustion is how to get the inbox path , i do not know whether we can creat subfolders in  sms inbox,

but i think we can creat subfolders in  mail inbox, plesase tell how to do it ,like this

inbox

--folder1

--folder2

 

Please use plain text.
Developer
BBDeveloper
Posts: 3,951
Registered: ‎07-15-2008
My Device: Not Specified

Re: how to create subfolder in the inbox ? did BB api support it ?

SMS inbox it is not possible.

Use Search. "Accept Solution" If the problem is resolved.
Please use plain text.
New Developer
ashengjie
Posts: 83
Registered: ‎02-22-2009
My Device: Not Specified

Re: how to create subfolder in the inbox ? did BB api support it ?

so how to create in the mail inbox ?
Please use plain text.
Developer
BBDeveloper
Posts: 3,951
Registered: ‎07-15-2008
My Device: Not Specified

Re: how to create subfolder in the inbox ? did BB api support it ?

Please check this Thread.

 

http://supportforums.blackberry.com/rim/board/message?board.id=java_dev&message.id=1414&query.id=228...


Use Search. "Accept Solution" If the problem is resolved.
Please use plain text.
New Developer
ashengjie
Posts: 83
Registered: ‎02-22-2009
My Device: Not Specified

Re: how to create subfolder in the inbox ? did BB api support it ?

is it means that  we must use version 4.6.0?

tell me more details , had better have some code

Please use plain text.
Developer
BBDeveloper
Posts: 3,951
Registered: ‎07-15-2008
My Device: Not Specified

Re: how to create subfolder in the inbox ? did BB api support it ?

Check this link.

http://na.blackberry.com/eng/deliverables/5820/Create_folders_that_display_in_message_list_511390_11...


Use Search. "Accept Solution" If the problem is resolved.
Please use plain text.
Developer
Posts: 432
Registered: ‎02-23-2009
My Device: Not Specified

Re: how to create subfolder in the inbox ? did BB api support it ?

you can reach to Inbox folder using this piece of code

 

Store store = Session.getDefaultInstance().getStore();
Folder[] folders = store.list(Folder.INBOX);

 

but you cannot create any subfolder in it; instead of it you can insert your mails here in default inbox folder

Deepesh Gupta
Please use plain text.
Developer
Posts: 432
Registered: ‎02-23-2009
My Device: Not Specified

Re: how to create subfolder in the inbox ? did BB api support it ?


If your problem was get solved then please mark the thread as "Accepted solution" and kudos - your wish.

Deepesh Gupta
Please use plain text.