Software Archive
Read-only legacy content
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

sqlite

Darwin_f_
Beginner
779 Views

I have developed an application with sqlite database but the database cell unresponsive.

0 Kudos
3 Replies
John_H_Intel2
Employee
779 Views

Please provide your simplified code, the plugin you used and the device you are attempting to test it on.

0 Kudos
Darwin_f_
Beginner
779 Views

<body>
        <script type="text/javascript">
            intel.xdk.device.hideSplashScreen();
                                
                        var db=openDatabase("dbmaesria","","maestria","454555");
                        db.transaction(function(t){
                            
                         var sql="create table if not exists cursos"  
                              + "(id_curso integer primary key autoincrement, "  
                              + " nombre_curso text not null,"
                              + " creditos_curso text not null,"
                              + " ciclo text not null)";
                            
                            t.executeSql(sql,undefined,function(){
                                                                       
                                        });
                            
                            
                            var sql="create table if not exists docente"  
                              + "(id_docente integer primary key autoincrement, "  
                              + " nombre_docente text not null,"
                              + " telefono_docente text not null,"
                              + " correo_docente text not null)";
                            
                            t.executeSql(sql,undefined,function(){
                                                                       
                                        });
                            
                        })
        </script>

0 Kudos
Darwin_f_
Beginner
779 Views

the database is created and then insert data into the XDK id, but when you step mobil phone alcatel the data does not respond, do not show me the data query

0 Kudos
Reply