Articles

Affichage des articles du novembre, 2021

Helper Class Android SQLiteOpenHelper SQLiteDatabase

import android.database.sqlite.SQLiteOpenHelper import android.database.sqlite.SQLiteDatabase import android.content.ContentValues import android.content.Context import android.database.Cursor class Helper (context: Context?):SQLiteOpenHelper(context,DATABASE_NAME,null,1) { override fun onCreate(db: SQLiteDatabase) { db.execSQL( "CREATE TABLE " + TABLE_NAME + "(" + KEY_ID + " INTEGER PRIMARY KEY, " + KEY_NOM + " TEXT," + KEY_VILLE + " TEXT," + KEY_LAT + " TEXT, " + KEY_LONG + " TEXT )" ) } override fun onUpgrade( db: SQLiteDatabase, oldVersion: Int, newVersion: Int ) { } fun addCentre(centre: Centre) { val db = this.writableDatabase val cv = ContentValues() cv.put(KEY_NOM, centre.getNom()) cv.put(KEY_VILLE, centre.getVille()) cv.put(KEY_LAT, centre.getLatitude()) cv.put(KEY_LONG, centre.getLongitude())

قواعد الخصوصية لتطبيق إستبيانات لسكان طينة

    Houssem Lahiani built the  إستبيانات لسكان  طينة   app as a Free app. This SERVICE is provided by Houssem Lahiani at no cost and is intended for use as is. This page is used to inform visitors regarding my policies with the collection, use, and disclosure of Personal Information if anyone decided to use my Service. If you choose to use my Service, then you agree to the collection and use of information in relation to this policy. The Personal Information that I collect is used for providing and improving the Service. I will not use or share your information with anyone except as described in this Privacy Policy. The terms used in this Privacy Policy have the same meanings as in our Terms and Conditions, which is accessible at  Manage Clinic Smartly  unless otherwise defined in this Privacy Policy. Information Collection and Use For a better experience, while using our Service, I may require you to provide us with certain personally identifiable information. The information that I r