Software Archive
Read-only legacy content

sqlite

Darwin_f_
Beginner
503 Views

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

0 Kudos
3 Replies
John_H_Intel2
Employee
503 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
503 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
503 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