« first day (770 days earlier)      last day (2705 days later) » 
04:00 - 13:0013:00 - 17:00

4:47 AM
hi
Good Morning all
 
4:59 AM
how are you jai?
 
@DroneDev I am good.. u?
 
@JaiSoni I am fine, Thanks!
 
5:17 AM
yo
 
Yo!
 
5:43 AM
sup?
 
6:02 AM
good morning@all
 
@berserk i m back but still wounded
 
lol
Healing jutsu!
morning @Anjali @maveň
 
@berserk okoo
removed your hunter hat?
 
0
Q: Device is not getting registered on GCM for push messages

Anjum I have build android application with GCM feature for push messages. I have 3 devices to test but one of my device is not getting registered. The device that is not getting registered is TAB with Android 4.4.2 Devices that are getting registered are smart phone, one with Android 2.3.6 and on wit...

 
@Anjum Code for registration?
 
6:10 AM
@berserk so...you are a medical ninja?!?!
 
@DroidDev hehe tbh, no :D
 
Good Morning Guys
 
yo
 
berserk-sama
 
6:26 AM
good morning guys
 
good morning @rekire
 
gm @DigveshPatel
 
@rekire VGM Droid-Cake-Man ^^
 
Whenever user uses the navigator to find the location when he was on online . The route specified to the user must be saved in the app. When the app is launched by the user , There must be a menu to show the list of items(Address) that were recently searched by the user . When an item is clicked , then it must navigate to the map that is saved along with the route suggested previously to that address even user is offline using google maps.
 
@Anjum post some of code so we getting idea
 
6:27 AM
@TheLittleNaruto :D
 
how to achieve ?
 
@gajini what have you implemented so far?
 
@Yousefkhan can we achieve that or not . its my basic idea
 
@Gajini Quick question: Do you use this account anymore? The last seen was March 21.
 
@TheLittleNaruto that account has been blocked
and i am not into android since from 1 year that is y i am unable to come here
 
6:29 AM
Ok thanks :)
 
yes that is achievable @gajini
 
@Yousefkhan ok can i have any quick approach for it ?
 
@gajini saving location with address is not big deal, what tricky part is in your case is saving route between two locations. Start from route,
 
@Gajini for that you have to visit every time google route api with starting and ending location
 
6:35 AM
@Yousefkhan @DigveshPatel thanks
 
@TheLittleNarut you don't have naruto hat lol
 
6:57 AM
+1
 
@berserk hehe, That's my TM to the all dev all over the globe who deserves it :)
I dont need to earn^^
 
lol
 
Instead SO should pay me Royalty xD
 
see my new hat lol
 
haha
cool one berserk-sama
 
7:00 AM
^^
 
@YashMehta @SimiRajan @ChrisD Heya, you cant chat here until you earn at least 20 reputation. Mean while you can see chat of others and learn if you find it useful. Also contribute on SO by asking and answering questions ^^
 
7:29 AM
Why on earth, I keep getting number from email column as well ?
Am I doing something wrong Here ?
I guess, there is something wrong with startActivityForResult intent.
Can I set multiple type for an intent ?
Naah! You cant do that.
 
wonders what TheLittleNaruto-kun is upto O_o
 
I just want to retrieve email and phone number as well. -_-
I am not sure how to achieve it with single intent.
This is what I did: pastie.org/9785679
 
link not opening for me
 
What ? pastie.org is not opening ?
@rekire You up there ?
 
7:46 AM
opening, but it shows me a white screen, nothing else
 
A white screen? wtf ? Cant you see 4 lines of code ?
 
8:00 AM
sorry, still just a white screen... :(
 
I have an application where user can add his/her emergency contact. Either he can manually enters it or he can browse it from list of contacts stored in his phone.
The problem is with browsing contact, I need both phone number and email as well.
 
what if contact doesn't contain any email/phone number?
 
Can it be possible, I assume either one would be available.
 
8:17 AM
@TheLittleNaruto I'm back
 
1
Q: How to use common request and response in soap asynctask throughout multiple activities android?

StarI am using Soap request and response using asynctask. I am sending json request and fetching the response. But How to use this asynctask to perform request and response in common class. So that I can use in multiple activites by passing request and fetch response. Please provide me solutio...

 
@Feeds who is he?
@The
 
8:41 AM
@ItachiUchiha That is a SO chat bot informing about important changes of the room settings and printing out rss feeds etc
 
@rekire I know about that :P
 
you mean that removed user?
 
I was trying to ping @TheLittleNaruto and I pinged the feed.
Yes I meant the removed user
 
how to change the pop up window as list view in android
 
2 hours ago, by TheLittleNaruto
@Gajini Quick question: Do you use this account anymore? The last seen was March 21.
 
8:53 AM
pastie.org/9785770 this code contains popup window , i need to show as listview
 
@ItachiUchiha that is a sock pupet see above
 
got it
 
@Pans customizing the dialogs are hard work
 
@rekire would u tel me ?
 
I wrote for that about 100 lines of code... what do you want to achieve exactly?
 
8:55 AM
 
@Pans I cannot share the full code but I can give hints
 
@rekire y u can not share
@rekire its ok tel me hints
 
@Pans what do you want to do?^^
 
:20504770 ya ok send me
 
@TheLittleNaruto how do you know which contacts you need to read out?
@Pans I send nothing if you don't tell me what you want
 
@rekire this code for pop up but i want to show listview also i try with new list activity instace of popup window
 
@TheLittleNaruto that should work in general, what is your problem now?
 
Both column index giving me email id only.
And If I remove pickContactIntent.setType(ContactsContract.CommonDataKinds.Email.CONTENT_TYPE);‌​
 
@Pans you could use a alertdialog and call setAdapter in the builder to apply a list
 
Then both index giving me number only
 
9:03 AM
@rekire i dont have idea will send some ex code
 
It's possible that you this overrides each other... you should be able to get both when reading the contentprovider
5
Q: Using ArrayAdapter with AlertDialog and .setAdapter

HSPalmMy code goes inside an OnOptionsItemSelected method. I've tried displaying a simple toast and it works fine, so at least I know I'm "getting there". ArrayAdapter<String> adapter = new ArrayAdapter<String>(this, android.R.layout.select_dialog_multichoice); adapter.add("whatever data1"); adapter.a...

 
@rekire Without setting any mimetype i.e. reading contentprovider leading to this error: android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.intent.action.PICK dat=content://contacts }
Is that Uri is not valid ?
 
Intent contactPickerIntent = new Intent(Intent.ACTION_PICK,
Contacts.CONTENT_URI);
startActivityForResult(contactPickerIntent, 0);
 
@TheLittleNaruto sure it is correct I would just use ContactsContract.CommonDataKinds.Phone.CONTENT_TYPE while I would try to read number and mail
 
@rekire this code how is use fr me
 
9:10 AM
that depends on your actual usecase however you create an adapter e.g. like in the question and put it to the alertdialog.builder and open it (like in the answer)
 
@rekire ok
 
Caused by: java.lang.IllegalArgumentException: Invalid column data1
@rekire @DroidDev
 
@TheLittleNaruto code?
 
Same as shared before, just a little change in StartActivityResult
@rekire
 
no idea
 
9:18 AM
somehow, pastie.org is not working for me
so its all here @The
 
@rekire u told me ill share some code will u sed me
 
please mind the indentation and brackets
and you'll have to find the one for email yourself
sorry.. @The
 
@DroidDev lol, no need to say sorry. ^^ I have copied it :D
 
@Pans I did something quiet differnt
 
:O
 
9:19 AM
@rekire oh k bt if u send it would be more help ful fr me
 
@TheLittleNaruto oh! ok, I think finding email will be easy from the point where I am looking for phone number and name
 
@Pans that won't help you
 
@rekire y?
 
@DroidDev Let me look into that
 
all the best :D
 
9:21 AM
because I'm changing the order of some views inside the dialog and so on... that is very hackish, but not related with that you want to do
 
@rekire fine
 
used PagerSlidingTabStrip? @TheLittleNaruto @rekire
for swipeable ribbon on fragment viewpager
 
E.g. here is my code to get the title textview of the dialog: TextView title = (TextView)dialog.findViewById(res.getIdentifier("android:id/alertTitle", null, null));
@berserk no idea about that
 
@DroidDev Thanks, still the same. I am getting both phone and email as phone. :/
 
afternoon guys.. :)
 
9:32 AM
yo
 
Isn't it fine:
String email = phones
.getString(phones
.getColumnIndex(ContactsContract.CommonDataKinds.Email.ADDRESS));
Here I meant the name of column.
@MukeshRana Yo
 
YO @berserk @TheLittleNaruto
 
Yeeees! I made it! I am the best! xD
Guys, Want to handle Contacts Uri? Go through the table flow of it. Worth giving some time on it.
 
HI All... Anybody active?
 
10:19 AM
Happy Christmas^
 
hi@TheLittleNaruto
 
need help
 
What is it ?
 
Anyone good at unix?
 
10:29 AM
sorry @The I'll look into issue, once I get some free time
 
want to add free recharge or coupan facility in app @TheLittleNaruto
what i should refer ?
 
@DroidDev You might missed some post of mine, see one of my message post just above of the comic
@Jigs I am not sure. But anyone would be fine.
 
its ok
 
@TheLittleNaruto oh! got it, great!
 
@DroidDev Yeah! :D
 
10:44 AM
@TheLittleNaruto lol
 
I wonder if @rekire has seen above comic yet. Oo
 
hi all
i need a help in android listview
 
11:01 AM
@TheLittleNaruto well now after the ping, if I would be more religious I would be disgusted
 
@rekire :(
 
however in my case it's just not funny^^
 
my images are getting stretched
 
11:14 AM
too bad for you, @Erum :(
 
lol
 
whats the reason ??? image sizes are fine but still
 
how abt helping her?
 
its getting stretched
 
helping her* ^ @berserk
 
11:15 AM
thats what i wrote
read carefully :P
 
@berserk :D
 
i have put imges in all folder
 
drawables? @ErumHannan
 
@berserk Bad-Ass
 
yes hdpi , mdpi , xhdpi , xxdpi
 
11:16 AM
lol
 
all folders have images
 
@berserk don't get silly :P
 
lol
then whats the prob Erum?
 
13 mins ago, by Erum Hannan
my images are getting stretched
 
oh
screenshot? :3
 
11:18 AM
is this problem of theme ?
 
have u given fixed dimensions to view?
fixed width/height
 
i have given match parent match parent
 
xml code?
 
ok
the button that contains this drawable is getting stretched
android:background="@drawable/down"
here is the xml
@berserk
 
lol
u fixed height of the relative layout
 
11:25 AM
which relative layout ??
pls tell id
rlayout_top???
this has already closed
 
where is this view?
with 4 images?
the layout is huge
 
no no
wait
this is inside relative layout that contains imageview (left) and textview and then button on right side the right side button is creating issue
 
can u highlight the line no in pastie?
coz layout is huge lol
 
check this now
i have shorten the layout only last button is getting stretched
<Button
android:id="@+id/btn_silentcamera"
whatever images i m puttin in this button all are getting stretched ??
 
don't set on button
use imageview instead
 
11:32 AM
ok trying
 
@berserk Great Explanation! xD
 
sarcasm? :3
 
@berserk well done :))
 
hi all .. please help me with this stackoverflow.com/questions/27524634/…
1
Q: Download and View PDF inside android application from Webservice

ShrutiI am trying to download and open a PDF file inside android application i.e. without using any other application(pdf viewer,etc) installed on phone. Please tell me is it possible?? So far What I have done is : PdfViewerActivity.java public class PDFViewerActivity extends Activity { privat...

 
11:37 AM
:)
@ErumHannan ok?
 
testing on device
 
@Shruti use google docs viewer in webview
 
yes working
 
Your welcome :)
 
thanks
anyone used OpenCv ??
here
 
11:48 AM
query?
 
@ErumHannan hey
 
getting issues in saving image captured from camera
 
@ErumHannan HI
 
@berserk
 
@ErumHannan sorry for not responding
my internet connection went down
 
11:53 AM
do anyone know how to save image through camera with open cv libaray?
 
@TaimurAyaz np
 
@ErumHannan did you manage to show the animation?
 
yup i manage it
 
great :)
 
getting issues in saving image captured from camera using opencv library @berserk
 
11:55 AM
what issue?
 
can u pls help @Galmani
@berserk
@Galmani is facing issue
pls ask him
 
ok tell
 
do you know how to save image through camera with open cv libaray? @berserk
@berserk there?
 
tbh no :D
but whats the issue?
 
@berserk this is my code
when i click on mCaputreButton, Mat rgba convert into bitmap and then bitmap save to the image
sometime image save perfectly with the effects i am applying and sometime it save image without applying effects and effect is applying on camera
 
12:06 PM
any idea of how can i make icon for background cache apps in android ?
 
so @berserk what should i save
 
@TaimurAyaz @berserk
 
@TheLittleNaruto there
need help
 
@navya
do you used opencv library?
 
no @Galmani
 
12:13 PM
suggest anyone that knows about opencv
 
ANYone worked on autotune
 
autotune?
like Sweet Brown and Dodson? :3
 
no
 
@ErumHannan sorry can;t understand what you are saying
 
1 hour ago, by maveň
@berserk don't get silly :P
 
12:20 PM
Anyone here using Android studio?
 
@navya I dint work on Auto Tune. What is it ?
 
lol ok
 
@TheLittleNaruto its sound effect like high the pitch of sound accrding to uur voic
 
@berserk how's my new hat ?
 
cool
congo
 
12:24 PM
tanks
 
@navya nice :)
 
@berserk ?
 
@TheLittleNaruto i am suffuring this big issue yr....:(
 
big issue ? What is it ?
 
@berserk i miss ur hunter hat
 
12:25 PM
@TheLittleNaruto did you use onpencv?
 
@TheLittleNaruto i have to implement tt
and its very tuf yr
 
@Galmani No
@navya Let me see.
 
@TheLittleNaruto ok thnks.....one more thing
i have to ask
 
Can you give me it's API link ?
 
ya sure
@TheLittleNaruto
but it is not prorper code
 
12:28 PM
@navya Do you have NDK configured in your PC ?
 
no
@TheLittleNaruto
 
Then How will you check it ?
 
means?
i didint understand
@TheLittleNaruto
????
 
I mean how you'll run the code ?
It wont compile.
 
on eclipese
ya it is giving error
 
12:33 PM
0
Q: Unable to add a dependency in Android Studio

Taimur AyazI am trying to add a dependency in my app which has the minimum sdk version newer than my apps so I am getting the following error Error:Execution failed for task ':app:processDebugManifest'. Manifest merger failed : uses-sdk:minSdkVersion 9 cannot be smaller than version 14 declared in libr...

 
That is why told you. Ask your Networking Team to configure NDK in your PC. Then try to import it again. @navya
 
ok you mean first i will have to configure ndk then i run tht?
@TheLittleNaruto
 
Yes :)
 
ok
@TheLittleNaruto
i more question
 
Yes Please
 
12:36 PM
i want tio send video via mms
 
:D
 
i have done
by intent
but it is giving me somany option
 
@maveň I changed :3
 
@berserk lol that hat berserk-sama! xD
 
i want only message option @TheLittleNaruto
 
12:37 PM
:D
 
@berserk nice hat
 
ty ^^
 
@TheLittleNaruto i dont want to send tht via intent'
 
@berserk now do code don't hunt :D
 
@navya You can filter it for only one App Client.
 
12:39 PM
like??
 
like in your case, You can restrict to message cllient only by setting intent's type
 
@maveň hehe ok and nice hat :D
 
Intent intentt = new Intent(Intent.ACTION_VIEW);
intentt.setData(Uri.parse("sms:"));
intentt.setType("vnd.android-dir/mms-sms");
@navya
 
ok@TheLittleNaruto chck ur mai;
mail
 
Got it. See above code.
 
12:43 PM
@TheLittleNaruto yaa but how i give my file path??
 
How were you setting before ?
 
wait
Intent intent = new Intent(Intent.ACTION_SEND);
File f = new File(mFileName);
// intent.putExtra("sms_body", "Hi how are you");
intent.putExtra(Intent.EXTRA_STREAM, Uri.fromFile(f)); // videoUri set previously
intent.setType("video/3gp");
startActivity(intent);
@TheLittleNaruto
 
Add one more line there:
intentt.setData(Uri.parse("sms:"));
 
ok
@TheLittleNaruto
running...wait...0o
 
12:48 PM
@berserk ur/mine ?
 
@TheLittleNaruto it is givivng error
12-17 18:19:35.205: E/AndroidRuntime(18982): android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.intent.action.SEND dat=sms: flg=0x1 (has clip) (has extras) }
 
Ah! Wait...
 
humm
:(
?
 
ok @TheLittleNaruto
 
12:55 PM
Just add your number there @navya
 
ok
@TheLittleNaruto
 
@TheLittleNaruto pastie.org still not opening for me :/
just wanted to check
 
@DroidDev Can you ask your networking team ? Might they have blocked ?
 
@TheLittleNaruto haha, I work in a small firm. There is no networking team and they haven't even blocked fb. I doubt they even know about pastie.org
 
04:00 - 13:0013:00 - 17:00

« first day (770 days earlier)      last day (2705 days later) »