« first day (730 days earlier)      last day (639 days later) » 

04:07
morning
04:40
Good Morning :)
04:56
gud mrng @LalitPoptani
05:15
@Leena very good morning
 
2 hours later…
07:39
Hello @LalitPoptani
08:09
@ManishAndroid hello
@LalitPoptani hello
is date ka formate kia hy? 2013-07-16T05:44:02.365Z
08:26
@AdilSoomro need to check
08:56
@LalitPoptani dude I have problem related custom listview with checkbox
fire your query
@LalitPoptani i have to select only 3 contacts, means 3 checkbox, didn't implement logic yet, Can I share my getView() code with you ?
@LalitPoptani yyyy-MM-dd'T'HH:mm:ss.zzz'Z' was the format
@ManishAndroid I won't see your code until I understand your problem :-)
@AdilSoomro (y)
@LalitPoptani ok, so i have told you my problem, I want to select maximum 3 checkbox in my custom listview.
how to implement this
are you there @LalitPoptani
09:11
Hai, any one here can help me out regarding DB??
@ManishAndroid what you have tried and what problem you are getting that should be the question!
@LalitPoptani I am using your code from github
got this in my Logcat
and what you expect as output?
change in your code just add a log
let me send screenshot
oh my dear, what is the problem that you are facing?
@AdilSoomro isko koi batao ke mein bahut rude insaan hu :P
You can see in screenshot
now whats your problem in this?
I selected only Java , python , but it shows some other values also selected, not visually in checkbox, just in logcat
Problem is : if I select only 2 values and then scroll listview , onCheckedChangeListener() method called on some checkboxes and shows it is selected, not visually, in logcat only.
Why ?
Did you got my problem ?
@ManishAndroid do you know when onCheckedChangeListener() is called and ListView recycling?
If you know that then you would easily know why that happens :-)
have you gone through this blog
09:26
hehe.. ;)
@LalitPoptani Yeah I know about it, but I have to create a check that user can only select maximum 3 checkboxes
for this I create a list<string> and added getNumber everytime in checkChanged()
@ManishAndroid then as of now go for visual output ;)
foget about logcat :D
@LalitPoptani yeah thats why when I go for visual output , i create a list nd added number when onCheckedChanged() called, when I select 3 check its ok but when I scroll listview, that list size becomes 17 or 20 quickly
so I want to know that where I can check that how much checkboxes is visually selected
Hope you got my problem now :)
@all hi
@ManishAndroid @LalitPoptani hi
@sanjay hello
09:31
@ManishAndroid Its because onCheckedChanged() is called everytime you scroll it means everytime you are adding values to list, which is wrong!
@ManishAndroid is it possible to find the person name & address using phone number?
@all hey there, I am first time here in this chat :)
@LalitPoptani Exactly, Thats why I am asking to where I write code for check how much checkbox selected, and get Data related to that checkboxes
@sanjay didn't get your question ? are you talking about real world ? You provide an phone number and get name and address of that person return ? Even Google can't do this yet
@Raybarg Welcome to casual chat :)
@ManishAndroid why not use onClickListener for Checkbox?
on clicking the checkbox just update the checkbox with its list and notify the adapter
@LalitPoptani instead of onCheckedChangeListener()
09:37
@ManishAndroid yes.im asking real world
or does android supports this @ManishAndroid
@ManishAndroid saying or asking? :P
@LalitPoptani how can I check if I data have been posted in db.
use pastie or pastebin!
:10625090 use pastie.org for long piece of code :) @UmerFarooq
09:39
this is my code for posting in db but this code is not creating new entry in database/
@UmerFarooq debug your code!
I didn't get what you mean by this "on clicking the checkbox just update the checkbox with its list and notify the adapter" @LalitPoptani
can you please help with some piece of code
No sorry no code help :D
okies I will just try some helpful code instead :-)
here is code and php script @LalitPoptani
onClick(){
checkbox.setChecked(true);
list.setItemChecked(true);
notifyDataSetChanged();
}
09:44
@LalitPoptani code has no bugs. I have debugged it. It is simple java code. I just want an opinion after you have look on my code that what possible mistake I am making.
@ManishAndroid ??
@LalitPoptani when I retrieve Content from database after posting it, it returns this which seems like an error
07-16 14:56:46.087: I/System.out(2132): <br /><b>Fatal error</b>: Call to undefined function mysql_connect_db() in <b>C:\xampp\htdocs\xmytestdb\post.php</b> on line <b>4</b><br />
10:06
@UmerFarooq so when you google this error, what did you find?
@LalitPoptani in onClick() when i set checkBox.setChecked(true) , on first click it check checkbox but on second click it didn't uncheck it :(
nothing related to android yet.
most of them are saying xampp is not working but when I try to run normal script it works
weird
@LalitPoptani are you there?
@ManishAndroid No
10:22
@LalitPoptani :D please help me yaar
well you are not thinking logically!
not debugging either
so you are not able to get exact idea
finishing work early should matter, finishing work efficiently with understanding matters ;)
@LalitPoptani Oh !! Done :)
Thanks for inspiring me :)
after debugging and thinking logically I got expected result :)
10:39
@ManishAndroid woow!! party :D
@LalitPoptani sure
 
2 hours later…
12:21
@AdilSoomro hiyalo
I am giving reference of CustView class in xml with its package name. Now, I want that when I change the package name in my Application or Class name of that CustomView it should automatically reflect in the xml also.
any solution from your side?
@LalitPoptani use refector method only.
19
A: Xml namespace declaration: auto-substitute package name

AlexeyTurns out that there is a postfix for that: res-auto. So all you need to do is write <ScrollView xmlns:android="http://schemas.android.com/apk/res/android" xmlns:custom="http://schemas.android.com/apk/res-auto" /> This will automatically use current package name.

there should be something like this ;)

« first day (730 days earlier)      last day (639 days later) »