« first day (544 days earlier)      last day (1163 days later) » 

12:03
hi @all
can anyone tell me how to reduce the font size of the listitem in the listview
@Danny set textsize = -sp;
- means size
@minkle gone..??? :D
Yeah looking for error
wait
nahi nnahi
Actually my boss is running behind me for that popup window
12:10
hahaha
@minkle to bhi answer kyu nahi diya.!! nahi hai kya.. :D
i don't know about android development
in list view .. there are images displayed in list but after 11th image it is repeating again
@minkle show ur code part
pastebin.com/2bXFxLtu
use pastie
@Minkle plz use pastie.. my net speed is too slow..
images come from web services??
how many images in server side??
60 to 70
images are there
12:18
@Minkle yeah @shyam is right..
@shyam thanks for reminding me.. :)
Omi
Omi
image repeat ka solve kro..
kya tum dono timepass kr rhe ho! :P
@omi image loader use kare ek baar phir pata chalega... btw, timepass nai kar raha hoon me to.. ;) :D
@Er.NikhilAgrawal ??
@PiyushMishra jaago bhai,,kha gye tum
Doing your stuff only
12:27
ok
waitng
Value <!DOCTYPE of type java.lang.String cannot be converted to JSONObject
yhi error hai sir
I think the request which you are making for the json response
12:29
yup
is giving you the actual page insted of the json string
any solution
?
see the url which you are using in code
has Paaremetre
see this
booking_number
Which gives error
12:33
but it is
BookingNI
0n gicing 72
So I tink its the misatke of parametre
12:34
both are giving error
Have you tried with another
yup
bhai sb krne k bad he help k liye ata hu yah
ha woh to sahi hai
are yar
dekh
konsi library use kar rha hai json parsing mai
without async task
androihive pr jo h json parsing me
ek kam kar mere pas ek code hai usse retrive kar le
parse tu apne ap kar lena
chalega
aur koi dikkat aye to uska code bhi hai
12:42
haha
[email protected] bhai mail krdo
smj lunga
@AdilSoomro @Pallavi @all I am stuck at one thing. can you help?
gud eve @all. have anyone used "scoreloop" for android?
@pankajarora
12:45
yes
try {
DefaultHttpClient httpclient = new DefaultHttpClient();
HttpGet httpget = new HttpGet(
"http://182.18.134.190/PhpTest/qdc2/retriveorderstatus.php?BookingNo=72");
HttpResponse response = httpclient.execute(httpget);
BufferedReader in = new BufferedReader(new InputStreamReader(
response.getEntity().getContent()));
StringBuffer sb = new StringBuffer("");
String line = "";
String NL = System.getProperty("line.separator");
while ((line = in.readLine()) != null) {
sb.append(line + NL);
}
in.close();
Yeh le
String result = sb.toString();
Is result mai hai tera json string ab isko parse kar lena
BookingNo=72
bhai ye code mai more then 20 times kr chuka hu
iissee pehle wale project me
Maine abhi test kara apni application mai wo to chal rahi hai
ha to kya dikkat hai aisme
pankaj we should avoid talking inn hindi
12:47
right
@Er.NikhilAgrawal I wanna update the listview when a button on each listview item is clicked.
thoda emotional ho gya tha,,,hahahha
So whats the problem in using that
You wanna update the whole list
I mean the row which holds the button has to be changed.
Pankaj I am asking whats the problem
Ok so what do you wanna change in that means color
text
12:51
color and text too.
@appu the last lines are for you
I understand.
But better please mention.
@So you have to use
SetOnItemClickListener
on the ListView for dynamic changes
@Er.NikhilAgrawal "http://182.18.134.190/PhpTest/qdc2/retriveorderstatus.php?BookingNo="+bookingnu‌​mber);
string is like this
@Er.NikhilAgrawal Sorry?
12:54
booking no is entered by user
hardcode ni krna
code is running only if we hardcode booking no
Appu are you using custom adapter
Not possible
@pankaj
The url has to woirk you probably doing some mistake
@Er.NikhilAgrawal yes
@Er.NikhilAgrawal public void onClick(View v) {
enterbookingnumber = (EditText)findViewById(R.id.enterbookingnumber);
String bookingnumber = enterbookingnumber.getText().toString();
try {
DefaultHttpClient httpclient = new DefaultHttpClient();
HttpGet httpget = new HttpGet(
"http://182.18.134.190/PhpTest/qdc2/retriveorderstatus.php?BookingNo="+bookingnumber);
HttpResponse response = httpclient.execute(httpget);
BufferedReader in = new BufferedReader(new InputStreamReader(
response.getEntity().getContent()));
@Er.NikhilAgrawal Yes. I am using custom adapter.
How come button on the listview item is possible with normal adapter.
@Er.NikhilAgrawal done
thnaks
@Abhi Hey, there?
12:59
Okkk pankajanytime
tujhe gmail chat mai add kar raha hu connected rehna
can i have ur gmail id
?
ok
are meri puri wall bhari padiu hai
meri wall dekh
@Appu
which adapter are you using
@pankaj mil gayi info
arrayadapter.
hm..........
13:03
mean you are projecting only single string value
add me on fb
right
tu add kar le
mai accept kar lunga
req sent bhai
mujhe pata nahi teri link
button pr to tum he click krogy
ya paswrd btao
m kr deta hu
no. Customadapter which extends arrayadapter
kar di maine
okk...
@appu ok let me see
@Appu Yes
@Abhi Need help on custom adapter.
13:07
@appu see this
4
Q: Dynamically change the row layout of a ListView

jingyinI'm working on a chat module in an app, where I want the messages from two participants on opposing alignment (other user left-aligned and my own msg right-aligned). Right now, my row layout is passed in through a static layout xml (with msg and avatar left-aligned). Is there a way to modify the ...

@appu see the answer given by Amokrane Chentir
This is way which I have used
100% working
@Er.NikhilAgrawal How come it solves my problem? I have button on listview item which means that is there in the adapter class and so is the onclicklistener.
It's a general thing. That question is about dynamically changing which means of not through xml wise.
@Appu: Hi, Is it possible to put our apk file in a server and can we install in our device by going through the link in browser?
@Appu I will catch you from home. ok? come and ping me @tamil yes possible, cab server side people
13:22
@Appu: Do we need to add anything in code? can you explain how to implement this?
Thanks in advance
Bubye friends
Hey guys...think you can help me wth my question? stackoverflow.com/q/16543986/2066079
@tamil Yes. As abhi said catch server side people, they could code so that when a particular link is clicked on the browser, the file automatically gets downloaded. In case of device browser it gets in the routine downloads folder. So clicking on that apk would prompt to install dialog.
@Abhi cya later then.
Ok Thank you
I would put a bounty out, but I still have to wait a few hours
14:18
@PiyushMishra: there?
@Pallavi: there?
@MahaveerMuttha yes buddy
but about to leave
any problem?
yaa small
one
k
carry one
on*
i am using one ImageView to which i have assigned image but in another activity i want to overrite another image on it
so what i did is
SearchButton = (ImageView) findViewById(R.id.imgBtnSearch);
SearchButton.setImageDrawable(null);
SearchButton.setVisibility(View.VISIBLE);
SearchButton.setImageDrawable(getResources().getDrawable(
R.drawable.log_off));
but as it contains pre assigned image i am unable to assign new image
didn't get you well
you have one one imageview
in one activity
14:22
new image gets assigned but old image is still there (because it is bigger image i can see it in background)
see i have topbar common to all activities
Omi
Omi
first set image to a null drawable
so i need to change one image of topbar
Omi
Omi
imgView.setImageDrawable(null);
@Omi: did
14:23
@MahaveerMuttha now @Omi bhaiya is here you dont have to fear
please check it above
:)
lolllzz
Omi
Omi
:D
@Omi: but still that image is there at background
@MahaveerMuttha in your xml are you giving any background resources
Omi
Omi
in iOS/Cocos2d, 8 mins ago, by Omi
Countdown to Google I/O has begun
14:25
@PiyushMishra: @Omi: this is my xml pastie.org/7911611
@MahaveerMuttha your android:background="@drawable/search1"
search1 size is bigger than what you are applying on it
use setbackgroundresources
or should i use src than background to layout?
didnt get you
yah use source
setbackgroundresource
14:29
okk let me try
SearchButton.setImageDrawable(null);
SearchButton.setVisibility(View.VISIBLE);
SearchButton.setImageDrawable(getResources().getDrawable(
R.drawable.log_off));
remove this
no need
except visibility part
:)
@PiyushMishra: no bro i just changed background to src in xml and it worked fine
:)
@PiyushMishra: @Omi: thanks for your valuable time... :)
@MahaveerMuttha told you when @Omi bhaiya is here you dont have to fear
Omi
Omi
Piyush is the master.
^^ star above @MahaveerMuttha :D
@MahaveerMuttha its like @Omi dont want to take the credit and throwing to the others yah acha ladka hai sahi kar rha hai seekh jayega jaldi
:D
Omi
Omi
ye to appki side chala gya
mujhe koi apna backup chahiye :P
picture abhi baaki HAI @PiyushMishra :)
haha jarur
@ChulbulPandey pandey ji nazar nahi aa rahe
pata nahi emulator chala ki nahi chala
Omi
Omi
aaj to room khaali ho gya!
na na lot of quires
when i logged again after few hours i saw more than 128 messages were there
:D
so thought better not to read any
Omi
Omi
40 messages to appke liye hi the
@PiyushMishra kha gye bhai :P
14:39
haha only one message ok 2 were there
:)
rest all were asking about omi omi
Omi
Omi
2 hours ago, by pankaj arora
@PiyushMishra jaago bhai,,kha gye tum
haha
yah i am talking about this only
Omi
Omi
dekhna kal zaroor aayega vo aur sabse pehle
Omi
Omi
@PiyushMishra bhai yaaar ek problem hai.. solve krdo :D
14:41
actually i just read the problem of @Appu and i have the solution for that
but he is gone now
yah i know
he is facing some issue with json
Omi
Omi
tension na lo.. tumhe to main hi busy rakhoona
Omi
Omi
main to yaha bahut der rehta hn..koi bhi aayega
how come i dont know ios
Omi
Omi
you should wait for Piyush he is the master :)
iOS is so easy compared to Android.
14:43
haha yah and i will refer pandey ji
Omi
Omi
haha
he came to iOS room today
in iOS/Cocos2d, 8 hours ago, by json
@BobApple are swagat karo pandey ji aaye hai room me..
@Omi yah want to try my hand on it its being a long with android
i started with 1.5 now 4.2 is in the market
:D
Omi
Omi
1.5 :0_0
i started with 4.0
:)
time to go buddy
you can refer pandey ji
Omi
Omi
see you.
 
1 hour later…
15:47
hello
Omi
Omi
anyone watching Google I/O ?
iOS and Android, which one easy to learn?
Omi
Omi
iOS
google I0?
Omi
Omi
yes
15:52
A conference
?
Omi
Omi
its like WWDC
where google organizes programmers and press to show new stuff
present keynotes on development.
ok
for their smart phone? Nexus
Omi
Omi
5 min to start
you can watch here
thanks!
oh free live lecture?
16:14
wow,
GEO Fancing..
Omi
Omi
these guys are killing it
1% battery use per hour !!
they are going to bury iOS!
hahah
 
2 hours later…
18:04
hi everybody

« first day (544 days earlier)      last day (1163 days later) »