This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.medhat.BreadTikiaHms; | |
import android.Manifest; | |
import android.content.Intent; | |
import android.content.pm.PackageManager; | |
import android.net.Uri; | |
import android.os.AsyncTask; | |
import android.os.Build; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class SearchPeopleDeliveryActivity | |
في هاد الكلاس موجودة الدالة هاد تاعت الزر تقريبا | |
public void onDeliverClick(Person person) { | |
// تنفيذ عملية التسليم هنا | |
//boolean inserted = dbHelper.insertDelivery(person.getNumber(), person.getName()); | |
String today = new SimpleDateFormat("yyyy-MM-dd", Locale.getDefault()).format(new Date()); | |
boolean inserted = dbHelper.insertDelivery(person.getNumber(), person.getName(), today); |