انا المبرمج المحترف مشروع متجر المشتريات الجزء الاول اندرويد
شارك من خلال
عزيزى الزائر الكريم
نحن قد قمنا بعمل تطبيق اندرويد يحتوى على كافة السلاسل التعليمية الخاصة بقناة انا المبرمج المحترف
لكى تستطيع ان تشاهدها بكل سهولة ؛
وللتحميل قد قمنا يعمل تطبيق اندرويد اخر يشمل على الكتب والمؤلفات الخاصة بمحمد الفايد
نتمنى ان هذا التطبيق يعجبكم
لتحميل me on Facebook
يرجى متابعتنا على الفيس بوك - محمد code
Override
protected void onActivityResultint requestCode int resultCode Intent data {
superonActivityResultrequestCode resultCode data
if requestCode RESULT_LOAD_IMG resultCode RESULT_OK
null data {
Get the Image from data
Uri select_ datagetData
String s get_resselect_
file_ new Files
String fName file_getNametoStringtrim
file_name fName
file_path s
Uri select_image datagetData
String[] filePathColumn {MediaStoreImagesMediaDATA}
Get the cursor
Cursor c getContentResolverqueryselect_image
filePathColumn null null null
Move to first row
cmoveToFirst
ToastmakeTextthis stoString ToastLENGTH_LONG
int columnIndex cgetColumnIndexfilePathColumn[0]
imgDecodableString cgetStringcolumnIndex
cclose
Set the Image in ImageView after decoding the String
imgView_setImageBitmapBitmapFactory
decodeFileimgDecodableString
} else {
ToastmakeTextthis You havent picked Image
ToastLENGTH_LONGshow
}
}
private String get_resUri u {
String[] pro_j {MediaStoreImagesMediaDATA}
SuppressWarningsdeprecation
Cursor c managedQueryu pro_j null null null
int c_index c
getColumnIndexOrThrowMediaStoreImagesMediaDATA
cmoveToFirst
return cgetStringc_index
other
- how to connect C with Oracle database
- Connecting C with Oracle 11g
-C with oracle
- Getting Started with Oracle and NET
- Best way to connect Oracle with Visual Studio NET
Connect Aspnetc with Oracle