We are writing a blackberry applciation which has social media integration, we are able to invoke the browser using BrowserSession and call the facebook link with the sharer link http://m.facebook.com/?sharer= , this works perfectly fine , however we have encountered a new method where we could embed the HTML page inside the application screen using Browserfield , unfortunately this library is available only post 5.0
I have some links which indicate that we may be able to use pre-processing directive to detect the version and build the library accordingly , to be specific
ifdef version_5.0_and_above
/* Use BrowserField */
else
/Invoke Browser/
Can someone shed some light on how this can be achieved?
Thanks for all the help in advance