Android App Kotlin Simple Project list of items using Room sqlite Class upload data to api
Budget: $30 – $250 USD
I am writing the android version of my iOS App, since I am new to Android, I would like a sample app of some basic functionality:
1. Item Class
2. Should be able to import ( init from ) and export json string
3. Should store the data in a local sqlite file
4. Should list items in Activity with a Recycler View
5. Should navigate to another Activity using Intent PutExtra
6. The detail Activity should display the data with ("Save" insert or add) , "Delete" and ("Back" = cancel )
7. There should be a background thread that Uploads the data via api ( POST with JSON of Item object )
8. There should be a method to Request via api ( GET ) that will get the data.
API are already working. I am. not looking for a complete app, I just want sample data, so I can do it myself.
I have written 2 other Android apps in Java and over 30 iOS apps.
JSON is: {"istime":1,"colour":"#FFCC00FF","deleted":0,"sync":1635851594.2223229,"unitcost":22,"company_guid":"31c00ecc-1aaa-4bda-bd27-a07d1754fc90","tax_guid":"1CA885DB-3FF6-4779-B29F-B029B70CB36A","guid":"2502CD36-0D4A-4ED0-BDFC-9CDA59A212A5","item":"Fit new kitchen","desc":""}
Class like this:
@Entity(tableName = "item")
data class Item(
@SerializedName("item") val item: String,
@SerializedName("company_guid") val company_guid: String,
@SerializedName("desc") val desc: String,
@SerializedName("unitcost") val unitcost: Double,
@SerializedName("tax_guid") val tax_guid: String,
@SerializedName("istime") val istime: Int,
@SerializedName("colour") val colour: String,
@SerializedName("deleted") val deleted:Int,
@SerializedName("sync") val sync: Double,
@PrimaryKey(autoGenerate = false) @SerializedName("guid") val guid: String) {
}
1. Item Class
2. Should be able to import ( init from ) and export json string
3. Should store the data in a local sqlite file
4. Should list items in Activity with a Recycler View
5. Should navigate to another Activity using Intent PutExtra
6. The detail Activity should display the data with ("Save" insert or add) , "Delete" and ("Back" = cancel )
7. There should be a background thread that Uploads the data via api ( POST with JSON of Item object )
8. There should be a method to Request via api ( GET ) that will get the data.
API are already working. I am. not looking for a complete app, I just want sample data, so I can do it myself.
I have written 2 other Android apps in Java and over 30 iOS apps.
JSON is: {"istime":1,"colour":"#FFCC00FF","deleted":0,"sync":1635851594.2223229,"unitcost":22,"company_guid":"31c00ecc-1aaa-4bda-bd27-a07d1754fc90","tax_guid":"1CA885DB-3FF6-4779-B29F-B029B70CB36A","guid":"2502CD36-0D4A-4ED0-BDFC-9CDA59A212A5","item":"Fit new kitchen","desc":""}
Class like this:
@Entity(tableName = "item")
data class Item(
@SerializedName("item") val item: String,
@SerializedName("company_guid") val company_guid: String,
@SerializedName("desc") val desc: String,
@SerializedName("unitcost") val unitcost: Double,
@SerializedName("tax_guid") val tax_guid: String,
@SerializedName("istime") val istime: Int,
@SerializedName("colour") val colour: String,
@SerializedName("deleted") val deleted:Int,
@SerializedName("sync") val sync: Double,
@PrimaryKey(autoGenerate = false) @SerializedName("guid") val guid: String) {
}