« first day (785 days earlier)      last day (1460 days later) » 
03:00 - 11:0011:00 - 14:00

3:07 AM
Hello GM
 
4:00 AM
GM all :)))))
 
good morning
happy saturday
:)
 
4:15 AM
@PG_Android thnks for sharing
 
@SweetWisherツ Wel come!!
@SweetWisherツ Can you share me PhoneGap plugin for installing in eclipse. I want to learn and start work on it.
 
@SweetWisherツ Thanks. And can you help me whenever i need some help regarding to PhoneGap?
 
@PG_Android will try..bcz m also newbie...
 
@SweetWisherツ Ok. Thanks!!
 
4:21 AM
Hi All
 
@SweetWisherツ Ok. and all project will be in same workspace for phonegap?
 
Is there a way that i can get top android app list with their icons?
 
gm frndz ...........
 
@PG_Android ur wish
 
4:22 AM
@SweetWisherツ OK
 
@CoKoder define top
 
@SweetWisherツ, for example most downloaded free apps
 
@FruitNNuts... gm
0
A: How to get a list of all top apps on play store

OfearI got it (Thanks to @halfer) We need to do a POST to google play url: https://play.google.com/store/apps/collection/topselling_free And we need to send this parms with it: start=0 <-- Start from 0; num=60 <-- Give back 60 apps numChildren=0 <-- I have no idea ipf=1 <-- It seems to have a c...

 
@SweetWisherツ How are you ?? Aaj chhutti nahi he aapki ?
 
@SweetWisherツ, how to get response from that URL? for example i want to get icons and app names
 
4:30 AM
@SilentKiller Good Morning Sir!!!
 
@PG_Android Very Good Morning Sir ...!!!
 
@SilentKiller today were you at place where you live ?
@SilentKiller Oh Okay nope. I have seen today that person who was also with you in college days
 
@PG_Android have you took his photo? ;)
 
@SilentKiller No bro i was on bike ans he was also
 
@FruitNNuts... good..nop...
 
4:35 AM
@PG_Android you should shout..?? :D
 
@SweetWisherツ ok are you working from home also ?
 
@SilentKiller Yes. but not loudly. That person yourself??
 
@FruitNNuts... nah..i m at ofc only
 
@PG_Android i don't think so, but where you had seen him.?
 
@SweetWisherツ ok ok
 
4:38 AM
@SilentKiller Exactly when i was on bike he was almost passing petrol pump and going to roza side
@SilentKiller I haven't read yet
and u removed
 
@PG_Android stare at screen
 
@SilentKiller Oh Okay. Great. But he was with you also in Clg Days
 
yup.. need to see him then. ;)
 
@ArielCastillo Wel come to Smart Developers' Lab. For chatting in the room you at least earn 20 reputation.
@SilentKiller Yeah. check this stackoverflow.com/questions/25540266/…
almost developers faces this issue.
@SweetWisherツ where are you?
 
@PG_Android on earth
 
4:46 AM
@SweetWisherツ Ok. u have one google map issue. So exactly it was in fragment or in activity?
 
@PG_Android facing this issue ?
 
@PG_Android yup one of ma colleague had also faced.
 
@PG_Android fragment only...
need to remove it in onPause nd add again in onResume @PG_Android
 
@SweetWisherツ yeah before many times. But i have seen this stackoverflow.com/questions/25540266/… today so recall just it. So u have also sliding drawer?
 
@PG_Android no..no sliding drawer..
 
4:48 AM
@PG_Android PG mean PiyushGupta or PhoneGap ^,^ ^,^ ^,^
 
@SweetWisherツ Oh okay. Thanks
@SilentKiller ha ha . For you SK mean Sillent Killer or Salman Khan?
 
Assalamualaikum good Morning
 
@PG_Android both but not Shakti Kapoor.. ;)
@Aamirkhan WalaikumAssalam
 
@Aamirkhan Good morning...bhai
@SilentKiller Great answer.
 
4:52 AM
@SweetWisherツ instead of removing and adding GoogleMap again and again can't i just make it static and solve my issue.?
 
@SilentKiller No yar it also not solved. I have tried too that one
 
@SilentKiller havnt tried...
 
@PG_Android it is working here.
 
Morning
 
@SilentKiller Ok will try again
 
4:54 AM
:)
 
huh :/
 
@SweetWisherツ Need to use getChildFragmentManager()??
 
i didn't object
 
@PG_Android that's for Nested Fragment(Fragment as a container of another Fragment) and also when you implementing VIewPager control
 
@hotveryspicy Yeah i know that she is calling child fragment from another fragment. But i wan to know that if she have used stack arraylist or not for fragments.
 
4:58 AM
Any expert phonegap developer, want to do freelance project than let me know
My Contact Number:9016126810
 
@Aamirkhan than then
 
@SilentKiller Na yar
 
@PG_Android then please don't try this on SO. we can chat on gtalk
 
@SweetWisherツ why?
and what's wrong on that message?
 
@SilentKiller yeah yeah sorry man!!!
 
5:01 AM
:)
 
@SilentKiller but u didn't call not on GTalk
 
busy with work that's why
 
Okay. Nope
 
have u done file reading in PG ?? @Aamirkhan
 
@SweetWisherツ Nope
 
5:05 AM
OKie
 
hello all
 
howzzz yu? @SweetWisherツ
 
can you tell regarding what is cardview?
 
5:12 AM
@UnityBeginner CardView
 
will the cardview give more stylish look?
 
@UnityBeginner you can give animation, design and more then that too.
 
can you pls explain a lil
that yu are saying
animation n design on listview
i didn't understand what kind of animation n design?
 
@Aamirkhan @SilentKiller Aslam oalekum
Good mornning
 
5:20 AM
@QuokMoon WalaikumAssalam
 
@SilentKiller can yu suggest which one will be good
 
@UnityBeginner create 2 or 3 samples then ask to TL.
 
@SilentKiller ok thanks
 
@QuokMoon WalaikumAssalam
 
Sun
5:35 AM
0
Q: How to implement condition on view change using ViewPager

SunIn my program i am using Fragments with ViewPager, where each and every Fragment contains 3 checkboxes, and i want to put a condition if user has not checked any of the checkbox don't switch to other fragment when swipe. I know what could be the condition, but i don't know where to put ? This c...

 
6:04 AM
@SilentKiller there?
 
@UnityBeginner yes.?
 
can you pls tell what is Planet n PlanetHolder in this
its giving error on both
 
PlanetHolder is a ViewHolder which we create for views
 
do i write ViewHolder in place of PlanetHolder
 
class PlanetHolder {
    TextView planetNameView;
}
@UnityBeginner
 
6:07 AM
n what is Planet?
ok i create this class
 
Custom Object
 
I am using the second one ListView i.e to change background color
 
Planet p = planetList.get(position);
bro pls firstly solve my this prob
Planet p = planetList.get(position);
this line is giving error on Planet n planetList
 
@UnityBeginner please check that source code
 
6:13 AM
is it for round corners not for changing bckground color?
 
please check first
 
do i have to make this planet class?
 
its having a very large code
 
create class pls
 
6:15 AM
ok i am creating
 
Adi
hii... can anyone tell me please what does it mean 08-30 11:44:15.047: I/System.out(7957): [CDS]rx timeout:0
08-30 11:44:15.047: W/System.err(7957): rto value is too small:0
anyone have nay idea
 
@Adi explain please we are not Google
 
public class Planet {
private String name;

public Planet(String name) {
this.name = name;
}

public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}

}
 
Adi
yeah sorry... I m trying to connect my android app with a servlet
@SilentKiller
 
will this much code be enough @SilentKiller
 
6:17 AM
@UnityBeginner yup
 
Planet p = planetList.get(position);
what will be planetList?
we haven't created the oject of Planet class
 
Adi
my first activity is running successfully but in the second activity when i click on the button I m getting this error....... the servlet is in the server
@SilentKiller
 
@Adi show that button code please.
 
In PlanetHolder there is only this much of code
public class PlanetHolder {

	TextView planetNameView;

}
 
Adi
sure
 
6:19 AM
@UnityBeginner yup
 
2 mins ago, by Unity Beginner
Planet p = planetList.get(position);
what will be planetList?
 
@SilentKiller sad yarr now
 
@PG_Android why so.?
@UnityBeginner i think i should create a sample and mail you
tha is ArrayList<Planet> and this is call SpoonFeeding and i hate that
 
yr its last
 
@SilentKiller My important file is deleted and i forgot to back up it
 
6:21 AM
@PG_Android windows or ubuntu.?
use data backup soft then
 
Windows
 
use Databackup soft buddy.
 
Adi
pastie.org/9514441 @SilentKiller
 
@Adi will you debug and check till which line code is getting executed. as code looks good without error
 
Adi
yes
it is executing till it is getting paras
params
 
6:29 AM
valueIWantToSend[0] here.?
 
Adi
if u can see my code I have printed the values which is going to the server i.e. current date and username
after that i m getting error @SilentKiller
 
what are those values.?
 
Adi
System.out(7957): CurrentDate 2014-08-26
System.out(7957): username aditi
after this it is showing this System.out(7957): [socket][1] connection /203.199.134.131:8080;LocalPort=53113(0)
@SilentKiller
 
@UnityBeginner use pastie.org
 
6:33 AM
@SilentKiller i used simple this code n it gave me this
 
@UnityBeginner now manipulate different colors
 
@SilentKiller Happy
 
i used this simple code
because that code was going above my head
is it ok @SilentKiller
or it has any limitation?
 
@Adi servlet services are working fine.
?
 
Adi
not using any service just simple async task to connect with servlet
what do u exactly mean by services @SilentKiller
 
6:36 AM
web services.
 
Adi
not using web service
i created a servlet for using it in android
 
httppost = new HttpPost("http://203.199.134.131:8080/First/Hello");
what this then.?
 
Adi
yes this is running fine
this is java servlet
i created this on localhost and then tried to run the app on emulator. it worked fine
but now i deployed the servlet on server
and when i m trying to connect using server ip
it is working properly till the first activity
 
23 mins ago, by Adi
hii... can anyone tell me please what does it mean 08-30 11:44:15.047: I/System.out(7957): [CDS]rx timeout:0
08-30 11:44:15.047: W/System.err(7957): rto value is too small:0
 
Adi
but after that it stops r53113(0)esponding
 
6:39 AM
this one is not your app error its of system(OS)
 
Adi
and what about this : String responseText = origresponseText.substring(1,origresponseText.length() -2 );


//Error in the above line: Caused by: java.lang.StringIndexOutOfBoundsException: length=0; regionStart=1; regionLength=-3
@SilentKiller
and what do u mean by system error?
 
@Adi instead of subString() please String first
 
Adi
ok
let me try it
 
@Adi it mean that your responseText length is 0 while you are fetching index 1
length=0; regionStart=1
 
Adi
yes do u think this is becoz i m not getting any response from servlet
and this is becoz it gets time out
 
6:46 AM
Bye guys
have a nice weekend
 
@Aamirkhan bye
 
Adi
yes do u think this is becoz i m not getting any response from servlet
and this is becoz it gets time out @SilentKiller
 
@Adi try to print this line // Log.d("TEXT", text); in readContent method
 
Adi
ok
 
@SilentKiller happy got my deleted file
 
6:49 AM
@PG_Android Congo then. :)
 
@SilentKiller on touch on an item its not changing its color
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">

    <item android:drawable="@drawable/even_row" android:state_enabled="true"/>
    <item android:drawable="@drawable/list_selector_pressed" android:state_pressed="true"/>
    <item android:drawable="@drawable/even_row" android:state_focused="true"/>

</selector>
i used this code
 
@UnityBeginner have you set selector.?
 
yes thats why its showing @drawable/even_row this colour
24 mins ago, by Unity Beginner
user image
 
@UnityBeginner where you had setSelector show that code.
@Adi have you print that line what you got..??
 
TextView txt = (TextView) rowView.findViewById(R.id.txt);
		if (position % 2 == 0)

			txt.setBackgroundResource(R.drawable.listview_selector_even);

		else

			txt.setBackgroundResource(R.drawable.listview_selector_odd);

		txt.setText(web[position]);
 
6:58 AM
@UnityBeginner this is not selector. this is you are just setting color to the textview
 
yes you are right
it means i haven't set the selector
how do i set on this txt?
 
@UnityBeginner then you need to set that
 
Adi
@SilentKiller it is showing error before that so how can i print it
 
that selector is for ListView not for TextView.
text = sb.toString();
Log.d("TEXT", text);
@Adi showing error here.?
 
in the activity class
ListView lv.setSelector is it?
 
7:00 AM
search on google. @UnityBeginner
 
Adi
@SilentKiller i m getting error while posting params on server
then how can i see anything in the response
this text is response reading@SilentKiller
 
@Adi just comment that line posting params on server and then check what you got.
 
Adi
ok
if i will comment dat line i will have to comment all the code@SilentKiller
 
httppost.setEntity(new UrlEncodedFormEntity(nameValuePairs)); just this line @Adi
 
Adi
7:05 AM
it is linked see na please@SilentKiller
 
@Erick e bhura
 
@Adi checked.?
 
Adi
@SilentKiller what u r saying will move all my code
i cant comment this line or postparams line
 
httppost.setEntity(new UrlEncodedFormEntity(nameValuePairs)); just comment this line
 
Adi
7:23 AM
ok
@SilentKiller i m getting response
but that is from the wro part of servlet
 
@Adi what you got in response.?
wro.?
 
Adi
sorry wrong
i have two if else in the servlet
 
mean the params you are passing having issue.
 
Adi
no
 
as i just commented that params only
please check the given method.
 
Adi
7:26 AM
i i have issue in that then y this is running fine on localhost
 
round and round and round
 
Adi
what
 
lunchtime
 
@SilentKiller Oh. today is not half day?
 
Full Day :P @PG_Android
 
7:31 AM
@SilentKiller Yeah know that brother
@SilentKiller Okay bro
 
Crunch time
 
@SweetWisherツ u same full day??
 
8:12 AM
@PG_Android hmmm..
 
@SweetWisherツ OK
 
8:53 AM
i am trying to set different colors on items in listview
n i got this using this [code](pastie.org/pastes/9514685/…)
i want to change the color of item on click n i used listselector
but its not working
pls tell where i am doing wrong
 
@UnityBeginner link is not valid
 
@SilentKiller
@SilentKiller pls tell where i am making mistake
 
thanks
 
9:18 AM
@SilentKiller in tis code no where the selector is attached
 
@UnityBeginner wht is list_bg.xml then?
 
where it attached mam?
 
list.xml -> `<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent" android:layout_height="wrap_content"
android:layout_margin="2dp" android:background="@color/list_bg">`
 
@SweetWisherツ agreed but it is the background not the selector
 
@UnityBeginner then please search on Google first there are several demos...
 
9:22 AM
ok
 
@SilentKiller @SweetWisherツ Time to leave. Bye bye happy weekend..!!
 
i am understanding that i am irritating yu people
but yr am am so much frustrated, i am trying this from morning n am not able to do that
anyways thank you all
 
@PG_Android bye tc
 
@UnityBeginner have u followed any demo??
 
9:24 AM
@UnityBeginner as you are trying from morning that's why i said search by your own because we remember what we read and search not what we suggested.
 
so many @SweetWisherツ
ok i try self
 
@UnityBeginner follow only one sample and try to create same it shows and still it fire error then ask us we are here
 
ok
thanks
 
9:47 AM
@SilentKiller followed this tut
http://android-codes-examples.blogspot.in/2011/03/customized-listview-items-selection.html
its giving the same as it is showing
tried to change the color of items
 
no long code. use pastie
 
items colors also gets change but the same problem comes again the selector doesnot works again
 
have to tried to download SourceCode.?
 
its working as it shown in its tut
it used single color for all item in listview
 
@SweetWisherツ hi
hi @UnityBeginner
change the background of the layout
try this
 
10:03 AM
this i am doing
tell where i am wrong
 
like this Layout layout = (Layout) rowView.findViewById(R.id.layout);
layout .setBackgroundResource(R.drawable.odd_row);
like this
got it my point @UnityBeginner
 
LayoutInflater inflater = context.getLayoutInflater();
inflater.setBackgroundResource(R.drawable.odd_row);
do i do this?
 
no yr
tell me ur text view in which layout
tell me
 
oks you want to say i take the id of textview's layout
n i set its background resource
 
yr
show the layout
 
http://pastie.org/private/4edblaiws5txqbldfbcwaa
like this Layout layout = (Layout) rowView.findViewById(R.id.layout);
layout .setBackgroundResource(R.drawable.odd_row);
@UnityBeginner got it
?
 
i was also saying the same
Layout layout = (Layout) rowView.findViewById(R.id.ll1);
layout .setBackgroundResource(R.drawable.odd_row);
ok i try this
 
always change the bakgrd of the main parent
k
 
ok
Cannot cast from View to Layout
error
 
10:25 AM
@UnityBeginner only Layout ?? itz LinearLayout
Simple create a selector nd set it as background in list item row xml @UnityBeginner
dont use android:listSelector="@drawable/list_selector" @UnityBeginner
 
android:listSelector="@drawable/list_selector"
this i am using in listview
 
wrkng ?
 
then do what i told u
2 mins ago, by SweetWisher ツ
Simple create a selector nd set it as background in list item row xml @UnityBeginner
 
@SweetWisherツ am so sorry not getting how to do this?
 
10:30 AM
u already created selector na
 
ok got it
 
nw u must b having list item xml
 
am so sorry mah brain is out of my head this time
 
@UnityBeginner hmm try n lemme knw
 
@SweetWisherツ i tried that earlier
 
10:32 AM
then ?
show ur selector then
 
pls give a min this time even i am not getting what i am doing
i show yu what i did
pls give me a min
 
@SweetWisherツ
it is changing the color leaving the place of text item @SweetWisherツ
 
@UnityBeginner make tv transparent
 
TextView background Transparent
 
10:45 AM
no its not
 
TextView txt = (TextView) rowView.findViewById(R.id.txt);
if (position % 2 == 0)

layout.setBackgroundResource(R.drawable.even_row);

else

layout.setBackgroundResource(R.drawable.odd_row);
this is giving problem
on click this color is not changing
 
@UnityBeginner comment this line and check
 
then it will work
but th problem is it will not change the colors of items then
lemme try that n take screenshot of that also
@SilentKiller @SweetWisherツ
 
if (position % 2 == 0)

layout.setBackgroundResource(R.drawable.even_row);

else

layout.setBackgroundResource(R.drawable.odd_row);
u have to pass slector only here..make two selector..n set it here @UnityBeginner
 
i did that also earlier
oks lemme try this again
 
03:00 - 11:0011:00 - 14:00

« first day (785 days earlier)      last day (1460 days later) »