|   | 
              | 
            
               					 
               					 
               					
               
                  
                     
                        								
                        
                           
                              
                                 											
                                 
                                    
                                       | Classification: | 
                                       Java | 
                                        Category:  | 
                                       JNI | 
                                     
                                    
                                       |  Created: | 
                                       04/27/2004 | 
                                        Modified: | 
                                       06/16/2004 | 
                                     
                                    
                                       |  Number: | 
                                       FAQ-1040 | 
                                     
                                    
                                       |  Platform: | 
                                       Symbian OS v6.0, Symbian OS v7.0 | 
                                     
                                   
                               | 
                            
                           Question: To access the User Interface, make use of Dynamic Navigation Links or take advantage of the view architecture from within
                           JNI code, I need a valid CEikonEnv handle. Can I access such a thing from JNI code? 
                        								 Answer:  This is unfortunately not possible.   Every Symbian OS application (including PersonalJava apps) has a CEikonEnv handle associated with its main (User Interface)
                        thread which allows user code to interact with the UI. This handle is thread-specific and cannot be shared with other threads.
                        The AWT-Server is furthermore distinct both from the main Java thread and from the AWT event handler thread. So there is no
                        way to access the CEikonEnv from JNI code. 
                      | 
                   
                  
                     |   | 
                   
                
               				
             |