11-08-2013 09:58 AM
Is there a way to detect if the app is being builded (or was built) by native or cascades? I just want to get the screen size like this: http://supportforums.blackberry.com/t5/Native-Deve
But to select the corresponding function if its native or cascades automatically.
Or does the native one works on cascades also?
Solved! Go to Solution.
11-08-2013 10:17 AM
The native approach would work, but there's no need to use it or to identify whether the app is native or Cascades...
Just use this in Cascades: https://developer.blackberry.com/native/reference/
11-08-2013 04:35 PM - edited 11-08-2013 04:43 PM
So, the answer is "no"?
Suppose that it is a dll, I mean ".so", and I dont know beforehand if it will be linked to native or cascades.
Or is there an environment variable (windows) that is set for cascades to determine which version to link to?
Also, if I can confirm that the "native" approach works with cascades, it would solve my issue
11-08-2013 04:56 PM
11-11-2013 08:10 AM - edited 11-11-2013 08:10 AM
Thanks. Now I understand that the only difference between cascades and "core" is the addition of some libraries when compiling. This clearify my question.