1 of 1 people found this helpful
Take a look at how the barcode extension used to be implemented in rhodes 3.5, you can use it as a sample on how to get the activity of the rhodes app:
Using the API
RhodesActivity ra = RhodesActivity.safeGetInstance();
thanks a lot for your fast reply. I used the barcode extension as an example, but I still get one error, which I do not know how to fix.
When I set the ContentView of my Activity:
the build fails, since "simplelayout" is not known. I looked into the R file and there is no "simplelayout" mentioned, which means that the R file is not generated correctly. Do you have any idea why this is the case?