GithubHelp home page GithubHelp logo

570622566 / fastandrdb Goto Github PK

View Code? Open in Web Editor NEW
20.0 2.0 7.0 441 KB

android 数据库管理

Java 59.32% JavaScript 31.96% HTML 8.72%
android android-database android-database-debug android-db-debug android-db-manager android-debug-database

fastandrdb's Introduction

由于在android开发中涉及到数据库方面的开发的过程中遇到很多麻烦和困扰,就着手写了个android数据库调试管理工具FastAndr-dbms,希望对大家有点帮助

二话不说,先上图

图一

图二

图三

界面还是比较小清新....

框架功能使用

功能

  1. 可视化数据编辑界面

  2. 可配置服务端口号

  3. 可增、删、改、查 数据库及SharedPreference的数据

缺陷

  1. 不可自定义sqlite语句查询

  2. 数据库获取到的boolean型数据只能0或1显示

使用

  1. gradle添加
compile 'cn.hotapk:fastandr_dbms:0.4.0'

如果gson冲突

 compile ('cn.hotapk:fastandr_dbms:0.4.0'){
        exclude group: 'com.google.code.gson'
    }
  1. manifest添加网络权限
<uses-permission android:name="android.permission.INTERNET" />
  1. 开启服务
 try {
           FDbManager.init(this).startServer();
        } catch (Exception e) {
            e.printStackTrace();
        }

默认端口号为8888,如要配置,按以下方式

 FDbManager  fDbManager= FDbManager.init(this);
fDbManager.setPort(9999);
fDbManager.startServer();
  1. web查看

浏览器打开 http://xxx.xxx.xxx.xxx:8888 即可

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.