Software Archive
Read-only legacy content
Comunicados
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.
17060 Discussões

sqlite

Darwin_f_
Principiante
782 Visualizações

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

0 Kudos
3 Respostas
John_H_Intel2
Funcionário
782 Visualizações

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

Darwin_f_
Principiante
782 Visualizações

<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>

Darwin_f_
Principiante
782 Visualizações

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

Responder