« first day (782 days earlier)      last day (2693 days later) » 

5:19 AM
Good morning guys
 
@ChintanRathod good morning
good morning to all
0
Q: how to upload to server and save image in Sd card using asynk task in android

Edgeclass Uploadimage extends AsyncTask<String, Void, Void> { InputStream inputStream; private static final String ALLOWED_URI_CHARS = "@#&=*+-_.,:!?()/~'%"; @Override protected void onPreExecute() { super.onPreExecute(); pDialog = new Progress...

 
morning
 
5:47 AM
morning
i m using media scanner to scan gallery files after delete
but when i m trying to finish that activity onBackKeyPresses() i m getting error
 
Yo!
 
6:03 AM
Mrngsss
 
Gud mrng guys.. :)
 
@MukeshRana Yo!
 
good morning @SweetWisherシ @MukeshRana and all
 
Yo @DroidDev sup??
mrng @Harish
 
6:17 AM
posted on December 29, 2014

New Cyanide and Happiness Comic

 
@MukeshRana nothing much...
 
Good Morning Guys
 
seen all the episodes or just waiting for the ryt time.. @DroidDev ??
mrng baby-kun :)
 
SwordsMan-sama!
 
@MukeshRana Naruto was all done by saturday night. I spent sunday watching Attack on titans!
 
6:24 AM
@ErumHannan what error you're getting ?
 
hehe.. okay.. :)
 
@TheLittleNaruto
have added permission for <protected-broadcast android:name="android.intent.action.MEDIA_MOUNTED"/>
i m using min sdk 14
but again getting error
permision denial
 
Do you have put write external storage permission in your manifest ?
 
yes
 
ImageShownActivity.java: line number:657 ?
 
6:27 AM
yo
@DroidDev :D
like the titans?
 
Yo berserk-sama!
 
AndroidUtil.deleteFile(AndroidUtil.MOVE_IMAGE_PATH,context,AndroidUtil.DEFAULT_D‌​IR);
@TheLittleNaruto
 
yo baby-kun
 
How did you define "context" over here ?
 
passing context from activity
 
6:28 AM
@berserk :)
 
Did you initialize it ?
 
yes
 
YO @berserk
 
context = this;
inside onCreate
 
6:29 AM
yo @MukeshRana
 
Ok good
 
whats the issue
 
Cant we use different approach over here ?
Never Mind
Which device you're testing on ? @Erum
 
Android Version ?
 
6:36 AM
which different approach
 
10
A: MediaScanner ServiceConnectionLeaked

acjFor scanning a single file, or scanning a file from a context in which you can't bind to a service (e.g., from a BroadcastReceiver), user430926's comment deserves to be a separate answer: Uri contentUri = Uri.fromFile(file); Intent mediaScanIntent = new Intent(Intent.ACTION_MEDIA_SCANNER_SCAN_FI...

 
yes tried this as well but getting error
com.mygallery/com.mygallery.ImageShownActivity}: java.lang.SecurityException: Permission Denial: not allowed to send broadcast android.intent.action.MEDIA_MOUNTED from pid=29810, uid=10385
@TheLittleNaruto
 
Yes it wont work for 4.4 and upper version
 
but i m using min sdk version as 14
 
@TheLittleNaruto good morning
 
6:50 AM
@ErumHannan What is your LG device Android version ?
@Edge GM :)
 
4.2
@TheLittleNaruto
 
Then, that code shouldn't be a trouble
 
yes but its making me into trouble i think the issue arises when i m finishing my activity
if i m not finsihing my activity then its working fine
but i cant do without finishing activity
 
when you're calling deleteFle()
 
inside onResume
and in onBackKeyPresses i m finishing current activity
 
6:55 AM
in which activity's onResume, you're calling deleteFile() ?
 
7:12 AM
same activity ImageShownActivity
inside this activity onResume i m calling deleteFile
@TheLittleNaruto
 
7:27 AM
@berserk ya, such a cruel world :P
 
lol
 
 
1 hour later…
8:32 AM
hi
can I query on date_added in content resolver?
Cursor cursor = getContentResolver().query(
MediaStore.Images.Media.EXTERNAL_CONTENT_URI,
projection,
MediaStore.MediaColumns.DATE_ADDED + ">=? and "+MediaStore.MediaColumns.DATE_ADDED +"<=?",
new String[]{"" + date1,""+date2},
MediaStore.Images.ImageColumns.DATE_TAKEN + " DESC");
Here date1 and date2 are Date objects
 
8:54 AM
Hi all
Please take a look here
1
Q: How To Set Seek-Bar Value

IntelliJ AmiyaIn my application I've customized multiple color SeekBar .But unable to set value(0,20,40) like this .Here is My Desire out put . Here is my Xml <com.amiyo.CustomSeekBar android:id="@+id/seekBar" android:layout_width="match_parent" android:layout_height="wrap_content...

 
9:34 AM
@TheLittleNaruto there ?
 
@Erum Yes, I am sleeping :P
 
A baby cant do work all the time :)
 
this problem is still
in pending
 
I am sorry, I dont know what else can be done for that issue.
 
9:57 AM
hello devs
 
@TheLittleNaruto any good link for fragment inside fragmnet?
ni ni
tabs in side fragment
 
guys anyone worked on phonegap..?
 
10:15 AM
yes
i m getting issue in images alignment
can someone help me
 
@ErumHannan in layout?
 
yes in layout
 
how to compress the video in android
@DroneDev @TheLittleNaruto
 
@ErumHannan what issue?
 
wait i m posting laout snapshot
 
10:20 AM
okg
 
@Harish no idea, and i heard we cannot compress video.
 
@devil
pls see right side dots image and text below it while text is being set on run time
sometimes 100 , 10 , 2 so alignemnt is being changed how can i resolve
?
 
set text gravity center
 
android:gravity="center"
its already set
i m posting xml
 
ok
 
10:26 AM
here is the xml
 
firstly why taking relative n not the linear
 
there are so many things that i need to lplace in relative to another one
 
try in different screensizes n you will find different layout in screensizes
anyways
there is android:id="@+id/txt_folderempty" n android:id="@+id/btn_gallery"
which one is for the text that is showing below dots
?
 
10:45 AM
txt_imagecount is for text below image id : img_options
@devil
android:id="@+id/rlayout_rightside"
pls check this id of relativelayout
@devil thre ?
there ?
 
@ErumHannan yes
 
can u pls check code now i have updated
 
11:48 AM
can i change keyboard style ?
 
hello all
 

« first day (782 days earlier)      last day (2693 days later) »