« first day (867 days earlier)      last day (2608 days later) » 

4:52 AM
hi! how can I save captured screenshot in cache?
 
5:03 AM
Good Morning Guys.. :)
 
@MukeshRana good morning
 
GM all!
 
@iAnum good morning
 
how to save whole activity when onBackpressed() is trigged???
 
Good morning
 
5:34 AM
@TheLittleNaruto lol, I don't blame ya.
 
Hey everyone!
 
5:50 AM
@Aditya what do you mean by whole activity ?
 
good morning guys
I didn't get a confimation yet :(
 
6:17 AM
hy..gm all
anyone worked on samplerate
inaudio
 
@KetanAhir please check this app play.google.com/store/apps/…
 
@Aditya bad rating due watermakring enough feedback? :D
 
@rekire hi
 
6:34 AM
What is fullform of EGL (Khronos) interface?
 
The acronym EGL is an initialism, which starting from EGL version 1.2 refers to Khronos Native Platform Graphics Interface.[3] Prior to version 1.2, the name of the EGL specification was OpenGL ES Native Platform Graphics Interface.[4] X.org development documentation glossary defines EGL as "Embedded-System Graphics Library".[5]
http://en.wikipedia.org/wiki/EGL_%28API%29

praise be to google devta ;;)
 
@Abhishek :D It's just matter of taste.
Good Morning Guys :)
 
@TheLittleNaruto vgm
@Edge morning
@TheLittleNaruto do you have an idea about my keyboard issue?
 
@rekire Heya
@rekire Mind sharing code ?
Because I use dialog fragment and never faced such issue. So, I want to see what did you do in there.
 
that dialog is generated by some hunderd lines of code... that is a dialog fragment which contains a com.tjerkw.slideexpandable.library.ActionSlideExpandableListView and one of that list items is that textedit
the strange thing is when i don't use that listview it seems to work fine... however that special dialog is also much smaller not sure if this is the reason
 
6:49 AM
Let me try that then, I'll use ActionSlideExpandableListView keeping EditText as its row items. Give me some time.
 
no problem
I trying to fix that for at least 8 hours
 
That took a lot already.
 
http://stackoverflow.com/a/482129/1885516

total_hours_wasted_here = 8
 
7:05 AM
0
Q: Storing duplicate records in SQLite database table

SophieI am storing data into SQLite table, and if data already exist(s) then updating it, and i am able to do that but whenever i update my existing record it saves another copy of that record... DatabaseDataHelper.java:- public class DatabaseDataHelper extends SQLiteOpenHelper { // Database Ver...

 
wow how did you get that?
 
FYI: I use ActionSlideExpandableListView
 
Neo
Hi, I have a beginner question in java
 
And I dint do anything different.
Let me show you mah code @rek
 
7:15 AM
ah sh... i'm doing that too...
 
Neo
I want to understad why at line 15, methode1(a); doesn't change the value of the attribute valeur of the instance a;
 
DemoDialog demoDialog = DemoDialog.newInstance();
demoDialog.show(getSupportFragmentManager(), "confirm_checkout_dialog");
 
you set no title checking that for ref
 
Neo
7:20 AM
because inside methode1 we have : a=new A(2);
 
@rekire Actually i copied that class from a existing code.
 
@rekire Do you want me to check with title as well ?
 
@Neo That's because Java is pass-by-value, not pass-by-reference.
 
if it doesn't take to long it would be great
 
7:23 AM
Sure :)
 
no changes for me
 
with title (Sorry a blank title.) Is it fine ? @rekire
 
Neo
@Abhishek I'm confused, because I thought in Java we don't need pointers to modify the value of an argument of a method like in C++
 
no problem and thanks... I change the code now to use a seekbar that should be fine too.
 
You removed EditText ?
 
7:27 AM
for me it still don't work... I going to remove it now
 
I checked don't see the differnce from your code... I just have a underlaying fragment dialog not sure if this makes the difference
 
underlying ?
What do you mean ?
 
there is the activity on the activity is a fullscreen dialog fragment which opens a second dialog fragment which contains that listview with that edittext
 
Why dint you tell me at first place?
 
7:30 AM
I wrote it yesterday I forgot to tell it again :(
 
let me try that way again.
I guess, that can cause problem.
 
Neo
@Abhishek If methode1() doesn't change the value of the attribute, why methode2 doest it ?
 
@neo the basic funda is, objects are passed as references, and then those references are passed-by-value.

Lemme make a pastie to explain.
 
@rekire @TheLittleNaruto Hello!
 
@Appu hey what's up?
 
Neo
7:33 AM
ok
 
@rekire Tell me one thing, while launching second, do you dismiss first dialog ?
@Appu Hey
@rekire Again no problem for me with underlying Dialog Fragment as well.
 
I would say, make a sample demo and then implement the same in main project. @rekire
 
Neo
7:49 AM
@Abhishek ok, I understand your example, but what is a "reference" exactly in Java, is it like a pointer in C/C++ ?
 
not exactly a C/C++ pointer, but it works somewhat like one.
 
Neo
ok
 
@TheLittleNaruto no I don't close it
we have here right now a server crash
 
Ohh Okay.
@rekire Even I am not closing the first.
 
8:11 AM
I finally found a simple veg-restaurant near my office. I had to pay a little more for lunch, But I'll admit that's awesome.
:)
 
posted on March 24, 2015

New Cyanide and Happiness Comic

 
has anyone done image geotagging?
 
8:45 AM
That will cost you a custom infoWindow
 
9:01 AM
What are RESTful interactions?
 
@rekire Nothing much, what's up with you?
 
what is difference if i ask for response through an android application (GET response) and through visiting url on browser. Both display response, but what is the difference?
 
@Appu working right now on a bugfix or better a workaround and then on a release
 
@rekire Cool. How is your life?
 
@Appu sleepless^^
 
9:16 AM
My life is fine so far. ^^ @Appu
 
I was woken up again today at 5:30am
 
@rekire Why? Work or some other tensions? ;)
 
@TheLittleNaruto I know :P
 
:P
Wow! So my friend is just like me, He likes to stay awake in night. :)
 
9:18 AM
@TheLittleNaruto Any cool feature that you are working on now?
@rekire Oh! My colleague also said exactly same thing this morning, he doesn't let him lol... How old?
 
@Appu not cool feature but a cool concept, will tell you after release. (Confidential) :)
 
That's good. When is it planned to be released?
 
As soon as I'll complete it. I am kinda lazy ass. @Appu ;)
 
What's up?
 
Hey Neil, Long time eh ?
 
9:21 AM
Yeah, long time no talk
 
How are things ?
 
@rekire Good, wanna see if you can show some pic. But I think you wanna keep it confidential as you have removed your pings ;)
@TheLittleNaruto What's your estimate to complete.
 
Fine, I suppose, nothing much has changed really
 
@Neil Howdy! Very long time since I pinged you or invited you to one of the rooms :P
 
@Appu Hey, how have you been?
 
9:23 AM
@Appu I guess, till the end of March. :)
 
@Neil Good, tell me about you. How have you been? on vacation?
 
@Appu I have to check if I have your number for sending some pic via whatsapp
 
@Appu Yeah, why don't you ping me more often? For shame! Just kidding. I really should stop by more often
 
@Neil Not much and you came again, then this's like same old time, heh
 
@TheLittleNaruto It's not too long man, it's impending
 
9:24 AM
Only if I'll work hard in nights on my PC. ^^
 
Sometimes it feels like I bury my head in my computer to work, and when I lift it again, 6 months pass
2
 
@Neil Then you will ignore it if I ping often. That's the human nature :P But yes you should stop by
 
In my office I got a lot of work due to deadline.
 
@Appu When have I ever ignored one of your pings?
 
lol, Neil
 
9:26 AM
@Neil I am talking generally about human nature. Not you.
 
Oh, silly human nature always doing things you shouldn't
 
@TheLittleNaruto Oh okay.
@Neil You are still working for the same organization? or any change
 
Same company. They've been pushing a little for me to do more systems administrator work
That's not really my thing, so I think if that continues, I'll just start looking for an other job
 
hi@TheLittleNaruto
 
9:28 AM
Of course, you should if it continues.
@Jigsh hey
 
how to share text on facebook?
any idea about
 
@TheLittleNaruto hehe that's true, but I guess you don't cry^^
 
@rekire Pinging you in gmail.
@Neil Oh that doesn't sound okay, changing technology and designation is a bit odd.How about the boom? is it easy to find a new one?
 
Hi @rekire
 
I hate answering Facebook integration stuffs. I am sorry, and AFA sharing text is concerned, that's kinda easy. You may find their documentation developer sites. @Jigsh
 
9:30 AM
@Appu I honestly don't know, I haven't tried to look for a job yet
 
@rekire hahaha True that. :D
 
Though here, we have this nasty thing called a contract by project that lets companies hire people for a set period of time, at the end of which, they are under no obligation to rehire you
 
ok @TheLittleNaruto
 
That's nasty . , Neil
 
Stack on top of that, companies pay less in taxes under this contract, so everyone tends to use this as an insurance policy to hire new people
 
9:32 AM
@Appu I replyed :)
 
They make the ones trying to get hired take 100% of the risk, essentially
 
@Neil yeah, I remember Neil. But you said that you were made permanent after few months, didn't you?
 
Ohh boy, you need a change then
 
@Appu Oh yeah, I have a permanent position here, but if I got a new job, it wouldn't be the case
Some companies only hire people using this contract by project
That means anyone can get fired simply by not renewing the contract
 
@Jigsh Have you tried anything? If you get stuck somewhere then you can ask. Because as TheLittle said it's easy to share text which is basic functionality even.
 
9:34 AM
In theory, they're not supposed to use it as a permanent solution, so you can hire someone max up to 3 times before you're obliged to permanently hire or not hire
 
but all other share option work but not share on text on facebook
 
However, there is a grace period in which if they wait a month, they can again hire using contract by project, so a lot of people are forced to go without working for a month
Awful awful system
 
@Appu
write something here put text here in facebook @Appu
 
@rekire Very cute :)
@Neil Oh that's really awful
 
@Appu thx :D
 
9:42 AM
Seems SA is gonna lose the match
 
I wanted 'em to win though
 
good.
we won't have to deal with Gayle now.
 
They have been a deserving team for long.
@Abhishek Where the hell Gayle came from ?
WestIndies gets knocked out in quarters already
 
@TheLittleNaruto looks like a naming fail^^
2
 
@rekire haha Yeah :P
 
9:45 AM
what @rekire said
OTL
 
9:55 AM
I am feeling sorry for South Africans. They played really well. :(
 
10:48 AM
dey missed grant elliott at least 2 times - once a catch went down. another a run out chance. u can't win knockout matches if u give opportunities
if u miss opportunities
 
Correct
 
@TheLittleNaruto yeah, but they missed lot of catches and run outs in last 5 overs :(
 
but that happens when you play under pressure
 
HttpResponse httpResponse = httpClient.execute(httpPost);
exception socket timeout
while my data is submitted on server
how i can check timeout befor sending data
 
@rekire @Appu Our room's fb page likes reached to 236 in total :)
@maveric try-catch ?
 
10:58 AM
@TheLittleNaruto i have done it ..but i dont want to submitt data on on connection time out
 
@TheLittleNaruto That's great. you know what even I wanted SA to win. But they have lost just at the edge due to some blunders.
 
@maveric Data won't be submitted if Socket Time out exception occurs. So, dont worry.
@Appu Yeah! true. :(
 
yah i thought so but in my case data is submitted on server and after that exception arise
 
@TheLittleNaruto But you know why I wanted SA to win because if India comes to final it would be easy for them to win over SA as they have already won.
:P
 
@Appu lol :D That's not my reason though :D
 
11:13 AM
@maveric use some pastie site to paste long code and share url over here to make the room clean.
 
@TheLittleNaruto ok but have u got the error plz
 
Hello Alll
 
hi@PiyushGupta
 
@TheLittleNaruto wow nice :D
 
11:23 AM
@rekire hi
 
@PiyushGupta hi
 
@rekire
 
@rekire i have one issue with view holder listview
on button click of list item
 
has anyone done image geotagging?
 
@PiyushGupta you should use getItemPosition
@ParthaChakraborty AFIK that is only an exif field
 
11:29 AM
override method? @rekire
 
i didn't get u. @rekire
 
Exchangeable image file format (officially Exif, according to JEIDA/JEITA/CIPA specifications) is a standard that specifies the formats for images, sound, and ancillary tags used by digital cameras (including smartphones), scanners and other systems handling image and sound files recorded by digital cameras. The specification uses the following existing file formats with the addition of specific metadata tags: JPEG discrete cosine transform (DCT) for compressed image files, TIFF Rev. 6.0 (RGB or YCbCr) for uncompressed image files, and RIFF WAV for audio files (Linear PCM or ITU-T G.711 μ-Law PCM...
 
@rekire my prblm is diff
 
when you call that method with the view which you get in the onclick callback, then you know the position
 
Yes.. right. But the problem is to display data in list item when clicked on button from list item
Like in my adapter there is button. Now click on button one pop up opens with list view. Now click on that list item new ASyncTask calling and now in that response how can i set text for button
which is clicked
@rekire
 
11:40 AM
@PiyushGupta in that case you need to store the response in the adapter and notify from the adapter that the data has changed. then the view will update itself
 
hi @PiyushGupta
 
@Edge hi
 
One thing i have to ask
regarding service
 
@rekire Listen , there is one Sign in button in my custom listview. Now when i click on that button one Asynctask calls and open pop up with listview. Now click on that list item new AsyncTask again call and in the response i want to set Sign In time for that sign in button but i couldn't set because holder object did not accessible there though i have used reference of holder class but the position of text for button changed
 
you should not update the view of a listview directly. if possible always go the way via the adapter
 
11:47 AM
http://paste.ofcode.org/32UFVVxYXByv6S9tHVqjXxx look this my code in on receive method at this line context.bindService(serviceIntent, mServiceConnection,
Context.BIND_AUTO_CREATE); Service componet is not allowed to bind the service
please suggest me how to fix it
@rekire @PiyushGupta
 
@rekire I already used adapter
Wanna show my code?
 
@PiyushGupta but? I have right now not enough time... I hope that hints are enough help
 
Yeah .. i already did what i knew. But the things not going properly
 
hm as far I understand you, you need to update an element in a listview. I understood that you want to update the views directly but that fails. so you should update the views in getView in your adapter only to make sure that everything works fine
 
@PiyushGupta pass holder object in asynctask constructor and use it there.
 
12:02 PM
@KetanAhir check my issue if u have any suggestion please suggest
snag.gy/kU7gN.jpg this exception coming
 
@Edge I have seen it. But sorry I don't anything.
@Edge error clearly says that you can not use bindService() in broadcastreceiver.
 
yes but using this code i am able to connect Signal R when net is or network is on and disconnected when network is Off but when we On data connection from Notifcation manger then app Becomes crash but its connected and service starting
 
12:27 PM
yo
@rekire prob solved?
 
@berserk I use now a seekbar^^
 
12:55 PM
Hi all
I need to call a webservice from android.. i have a wsdl url, its using soap.
how to generate client classes from the wsdl so that it is compatible with android?
@rekir
 
no idea I never generated such code
 
@rekire @TheLittleNaruto @iAnum
:(
using wsimport i am able to do it in normal java program
 
no idea dude sorry
 
but it relies on java sdk classes for XML marshalling and network calls... those classes are not compatible here
np :)
 
12
Q: How to generate java classes from WSDL file

Farhan I am working towards an android application. I need to use a web service. I have a wsdl file but I want to convert that into java so that I can use its functions in my Java programs. Is there any way of converting a wsdl file into Java?

 
1:02 PM
WSDL stands for ?
@iAnum
 
5 mins ago, by rekire
no idea I never generated such code
 
WSDL stands for Web Services Description Language.
@MohamedIqzas see above link
another link for generator: wsdl2code.com/pages/home.aspx
 
@rekire umm what?
 
@iAnum thanks bro... I will try it. but still i am in doubt whether the android sdk will go easy with the required jars
 
I don't know. u have to research n give it a shot
 
1:07 PM
I know its strange question.
Can we load js in MediaPlayer class? :|
dafaq I just asked
 
I know what a seekbar is ._.
I meant about taht keyboard problem.
 
@berserk I replaced that edit text with the seekbar since I just wanted to enter a number
 
Ohh bro! xD @iAnum
 
Hello Everyone :)
 
1:21 PM
hey
 
@TheLittleNaruto Can we open remote PDF file in webview without using Google Viewer?
 
I guess, you can do by using some server side language and can make some API for that.
 
Oh mine :(
 
2:04 PM
@rekire Won't call it a solution tho :P
 
@berserk it's a workaround
 
exactly
 

« first day (867 days earlier)      last day (2608 days later) »