Skip to content

Commit 215d482

Browse files
authored
Added support to add new column from excel
Added support to add new column from excel while importing, if the column is not exists.
1 parent 1be32bd commit 215d482

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

README.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,16 @@ The sample app in the repository is available on Google Play:
1010
<a href='https://play.google.com/store/apps/details?id=com.ajts.androidmads.sqlite2xlDemo&utm_source=AndroidMads&utm_campaign=AndroidMads&pcampaignid=MKT-Other-global-all-co-prtnr-py-PartBadge-Mar2515-1'><img alt='Get it on Google Play' src='https://play.google.com/intl/en_us/badges/images/generic/en_badge_web_generic.png'/></a>
1111

1212
## Features
13+
### 1.0.2
14+
1. Added support to add new column from excel while importing, if the column is not exists.
15+
### 1.0.1
1316
1. Added Functionality to Import Excel into SQLite Database.
1417
2. Added Functionality to Export Blob into Image.
1518
3. Added Functionality to Export List of tables specified.
1619
## How to Download
1720
add the following library in your app level gradle file
1821
```groovy
19-
compile 'com.ajts.androidmads.SQLite2Excel:library:1.0.1'
22+
compile 'com.ajts.androidmads.SQLite2Excel:library:1.0.2'
2023
```
2124
## How to Use
2225
#### The steps to use this Library
@@ -88,6 +91,12 @@ The following snippet is used to initialize the library for Importing Excel
8891
```java
8992
ExcelToSQLite excelToSQLite = new ExcelToSQLite(getApplicationContext(), "helloworld.db");
9093
```
94+
or
95+
To drop table while importing the Excel, use the following
96+
```java
97+
ExcelToSQLite excelToSQLite = new ExcelToSQLite(getApplicationContext(), "helloworld.db", true);
98+
```
99+
91100
##### The following code is used to Import Excel from Assets
92101
```java
93102
excelToSQLite.importFromAsset("assetFileName.xls", new ExcelToSQLite.ImportListener() {

0 commit comments

Comments
 (0)