Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

4
  • Do you know of a way to achieve this in native Android development? I'd be interested in any resources. Commented Feb 4, 2019 at 10:50
  • @fgysin: Check this question. Commented Feb 5, 2019 at 20:35
  • Yeah, thanks, but that is for C++... I'm looking for a way to achieve this natively in Android. I'm certainly not going through the hassle of NDK on Android just to avoid the above anti pattern. Commented Feb 6, 2019 at 6:49
  • @fgysin What do you mean by native? Whatever language you use for writing the code, if it supports compile directives you can use it. Commented Feb 6, 2019 at 18:13