12-20-2010 10:26 AM
My question is how to get personal email contacts from a BB device in a .NET web application?
var args = new blackberry.invoke.MessageArguments('email@example.com
args.view = blackberry.invoke.MessageArguments.VIEW_NEW; // New
Can this piece of code be used in any web application(e.g. a .net web application)?
As the subject says, I'm looking at how to get personal contacts list(emails) from bb device in a .net web page.
Any help/advice is welcomed!
Solved! Go to Solution.
12-20-2010 11:28 AM
The snippet of code you provided can be used within a BlackBerry application created using the BlackBerry WebWorks application framework (not the native BlackBerry browser).
The following sample application may be a helpful learning resource: "Using PIM information sample code".
12-20-2010 01:13 PM
Thanks Adam for your quick response.
I'm not using the Blackberry WebWorks Framework.
Maybe I wasn't very clear in my initial question.
We have developed some web applications in .net using Visual Studio and .net frameworks.
At some point we need to access the personal contact list from the bb device. In fact we need to retrive the emails from this list.
12-21-2010 08:45 AM
You cannot do this if your users access your web content using the BlackBerry browser because the browser does not expose address book info.
Does that make sense? For the type of functionality you require, you will need to move away from the browser as your delivery mechanism and into a separate client application (WebWorks).
Hope that helps,
12-21-2010 11:12 AM
Thanks again for your response.
So what you're saying is there is no way we can do this(invoke address book from device) in Visual Studio in ASP.NET(Web application on Blackberry Browser).
What if we want to develop a Widget for BB device?(I assume this is a client app on BB device)
Now, looking at the documentation for "Installing the Blackberry web plug in" at
If you look at the bottom there is "Java® Development Kit"
How this works with Visual Studio? I mean by the end am I going to develop in Jaava or .NET?
So if I install all the requirements according to the list can I develop a client application in .NET that after I can download it to a Blackberry device?
Hopfully this does not sound too stupid. But if does please do not hesitate to laugh