Hi,

I am starting developing with the NDK I am struggling with the use of the 
native_activity interface use, I know I will need to make sure I will
not block my thread and that android_native_app_glue.h would be better for 
that but I would like start from that interface as a starting point of my 
learning process.

I am struggling with the follwing error:

myproject/jni/main.c:1:37: fatal error: android/native_activity.h: No such 
file or directory



I guess the problem is in my Android.mk which I report below:

LOCAL_PATH := $(call my-dir)                                               
                                                                            
                                                                            
          
include $(CLEAR_VARS)                                                       
                                                                            
                                                                            
         
LOCAL_MODULE    := pietrop-activity                                         
                                                                            
                                                                            
         
LOCAL_SRC_FILES := main.c                                                   
                                                                            
                                                                            
         
include $(BUILD_SHARED_LIBRARY)      

                                                                                
                                                                                
                                        

Could you give me a tip ?

                                            

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to