项目作者: pkjvit

项目描述 :
A SDK for Android to view, debug and query on SQLite database, also supports all versions of Couchbase-Lite database. #CouchbaseLite #SQLite
高级语言: Java
项目地址: git://github.com/pkjvit/Android-Data-Debugger.git
创建时间: 2018-05-27T19:48:11Z
项目社区:https://github.com/pkjvit/Android-Data-Debugger

开源协议:Apache License 2.0

下载


Android-Data-Debugger

Android Data Debugger is a sdk tool which provides debug feature for Android Applications to view all databases and query on them using smart query templates. Supports SQLite database and all versions of CouchbaseLite database.

Functionality

  • Show all sqlite and couchbase databases
  • Show all tables of selected database
  • Gives a console where you can query on selected table
  • Provide Smart Query Templates which gives you predefined queries on the fly
  • Shows queried data in a page of default size 20 rows(can be change from pagination tool), for large data you can go particular page on the go using bottom Pagination view

Screen Shots







Preview

CbliteViewer

Requirements

  • Android 4.1+
  • Android Studio 3.0

Installation

Add the following in the dependencies section of the application’s build.gradle (the one in the app folder).

  1. implementation 'com.pkj.wow.android.datadebug:AndroidDataDebugger:0.1.0-5'
  2. // dependencies
  3. implementation 'com.pkj.wow.paginationview:PaginationView:1.0.2-8'
  4. implementation 'de.codecrafters.tableview:tableview:2.8.0'
  5. implementation 'com.android.support.constraint:constraint-layout:1.0.2'

Usage

To view your all database’s it needs context to redirect on screen which have all data and sync information regarding manger.

  1. // Initialise by passing application context
  2. DataDebug dataDebug = DataDebug.instance(getApplicationContext());
  3. // Start will show database screen
  4. dataDebug.start();

Licence

  1. Copyright 2018 Pankaj Jangid
  2. Licensed under the Apache License, Version 2.0 (the "License");
  3. you may not use this file except in compliance with the License.
  4. You may obtain a copy of the License at
  5. http://www.apache.org/licenses/LICENSE-2.0
  6. Unless required by applicable law or agreed to in writing, software
  7. distributed under the License is distributed on an "AS IS" BASIS,
  8. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  9. See the License for the specific language governing permissions and
  10. limitations under the License.