« first day (717 days earlier)      last day (2758 days later) » 

6:10 AM
Good Morning Guys :)
 
Good morning
I have a quick question. I want to convert a string (array.toString) to json array. I used this:
String mnames = "[John, Cokoder]";
JSONArray json = new JSONArray(mnames);
it works fine, but
if i do this
String mnames = "[John, Co koder]"; // Co koder with blank space
JSONArray json = new JSONArray(mnames);
I get an error
Any idea why?
 
What error you're getting ?
 
@TheLittleNaruto, Unterminated array at character 9
 
Put try-catch block
 
To see the error, Or just suppress the error?
 
6:22 AM
to suppress the error of course !
 
but, this is not a solution to fix the problem
 
Did you try already or just saying ?
 
just saying
 
I tried as well
as expected we just suppress the error, so what?
 
6:29 AM
so what? what ?
xD
 
Do you have any idea about solution rather than ignoring the error?
 
No No. I am a baby. I can do this much only xD
 
6:48 AM
Hi :)
I have a theoretical question for you
In java talking about polymorphism only refers to objects or also with methods overload?
 
7:22 AM
@Captivesave Polymorphism is a concept applied to every OO Language. So if talking about polymorphism, it refers to both
@TheLittleNaruto helloooo good afternoon
 
 
1 hour later…
8:40 AM
@iAnum Afternoon
 
hi. Can u help me solving an issue plz?
I can't set my dynamic imageview to size I want, it's taking whole original size.
here is small code
pastie.org/9674129
 
9:04 AM
@iAnum Try replacing this line:
LayoutParams lp1 = new LayoutParams(widthForRow1 , heightForRow1 );
 
hello
onactivityresult is never hit
i am calling startactivityforresult
and my acitivity is extending fragmentactivity
any help
?
 
9:57 AM
@TheLittleNaruto what should I replace it with?
 
I mean replace below line of code with the above line :
LayoutParams lp1 = new LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT);
@iAnum
 
@TheLittleNaruto I tried with this too. but didn't work
 
10:14 AM
Can you reprint your code for me, after the replacement ? ^^
Ohh Yes, use pastie.org
@iAnum
 
 
3 hours later…
1:15 PM
Hello
 

« first day (717 days earlier)      last day (2758 days later) »