native-activity Questions
2
Solved
After reading the related docs I don't get if I can create things like buttons or other UI elements used to get user inputs with just the use of C++/C code compiled with the NDK.
There are no prob...
Chandless asked 10/10, 2012 at 14:46
0
I looking for help with strange issue in Android UI.
I have a NativeActivity, subclassed in Java, like this:
public class MainActivity extends NativeActivity {
...
in AndroidManifest.xml:
<a...
Venenose asked 13/5, 2019 at 5:27
2
Solved
I've seen articles and articles on hiding the navigation bar for android application through java. However, what I would like to know, is how do I remove the navigation bar through a pure android c...
Persevere asked 9/12, 2016 at 11:54
4
Solved
In my Android app I have 4 libraries:
libTemplate.so
depends on libPorkholt.so
libPorkholt.so
depends on libpng15.so
depends on liblua.so
depends on libopenal.so
libpng15.so
liblua.so
libopena...
Nixie asked 21/9, 2012 at 5:20
2
Solved
Is there a standard for getting an error string from glGetError() (Android and iOS) and eglGetError() (Android) in OpenGL ES 1.1 or 2.0?
I'm using something like this:
#define AssertGL(x) { x; GL...
Edda asked 19/8, 2013 at 17:10
5
Solved
I'm writing an Android app using the NDK and NativeActivity. My app depends on a few bits of third party code that are shipped as assets. Currently I'm working on trying to extract those assets whi...
Lymanlymann asked 9/10, 2011 at 6:22
1
I having problem with a NativeActivity subclass I am working on, my goal would be to catch and handle key events from the Java code instead of
native code (this is mainly due because this), unfort...
Leveret asked 13/2, 2015 at 17:8
2
I have only been able to find solutions dated 2010 and earlier. So I wanted to see if there was a more up-to-date stance on this.
I'd like to avoid using Java and purely use C++, to access files (...
Eleaseeleatic asked 6/8, 2013 at 21:6
1
Solved
I know ActivityGroup is deprecated.
But I am trying to combine user interface of NativeActivty with some Java/Android API Views.
I am trying to make one hybrid user interface where a part of the ...
Hardman asked 6/10, 2014 at 13:34
2
Solved
I'm using purely native NDK in my project (Native Activity). It works fine when I add Prebuilt static libraries with my .so in Android.mk file. But when I try linking Prebuilt shared library, it sh...
Idyll asked 27/3, 2014 at 11:57
1
I have some problems with my Native Activity application. It works fine on 99% of devices. But sometimes users get the following error:
java.lang.RuntimeException: Unable to start activity Compone...
Betulaceous asked 14/12, 2013 at 13:31
3
Solved
i'm developing a computer vision application for Android.
That work involves getting camera frames as fast as possible, so I'm trying to build a android application directly in c++ using "android_...
Hysteresis asked 8/9, 2011 at 10:29
1
Solved
My android application compirises two Activities: ".MainActivity" and "android.app.NativeActivity". The latter is implemented purely in C++. On button click in ".MainActivity" I start a native one ...
Nisa asked 11/10, 2012 at 13:55
2
I call a NativeActivity from a JavaActivity. The entry point of my NativeActivity is
android_main(struct android_app* state)
At the end of this, I call
ANativeActivity_finish
However my na...
Terrier asked 10/11, 2011 at 22:5
2
Solved
I'm using pure C++ in my engine to create a game engine in android. There is no single java file. Basically it is a game which should only be stored to external memory. When I move my asset data ma...
Jakie asked 15/4, 2012 at 22:18
1
I have an Android project with a native activity.
This native activity uses a shared library named "main" (libmain.so file) for starting.
( with the code of ndk/samples/native-activity )
This app ...
Kovach asked 2/2, 2012 at 10:55
1
Solved
Is there a way to set the content of a NativeActivity to a component created in Java (such as a FrameLayout, ImageView, etc)? I have a need to use a NativeActivity (for getting touchpad input on Xp...
Priming asked 19/10, 2011 at 0:44
1
Solved
I have an application using NativeActivity. I want to call out into Java to do something that requires a Context (e.g., accessing TelephonyManager to query the IMEI).
How do I get a valid Context ...
Ishii asked 2/9, 2011 at 14:39
1
Solved
I'm porting a pure C++ game over to Android, and since my target is Android 3.0+ tablets, I opted to use NativeActivity in order to avoid Java completely. However, I am not able to see any function...
Pillsbury asked 29/6, 2011 at 18:54
1
© 2022 - 2024 — McMap. All rights reserved.