« first day (868 days earlier)      last day (1377 days later) » 
04:00 - 12:0012:00 - 17:00

4:38 AM
The last message was posted 13 hours ago.
13 hours later…
Good Morning :)
 
Goood Morningss
 
Good Morning Everyone
 
gm frndzzzz ..........!
 
@SweetWisherツ where should come ?
 
4:53 AM
hi anyone can pls help me i m working on custom array adapter with listview and my getView method has some problem and when clicking on 1st checkbox row then 5th one is automatcally slected
 
@ErumHannan show your adapter code
 
@ErumHannan check it
@GurumoorthyArumugam not for u... it was for erum
 
@SweetWisherツ he is not having scrolling issue
 
3
A: ListView Viewholder checkbox state

josephusThis is a tricky one. I'm surprised Android has not yet simplified how this is implemented, up to this day - checkboxes on ListViews are supposed to be basic. Anyway, here's how I made it work: First, you need a separate array/holder/whatever for your checked state. It has to be the same length...

 
@W-I-Z-A-R-D PLS CHECK this
 
5:00 AM
@SweetWisherツ this one seems correct :)
 
how can i get all checkbox checked state on button click may i need to maintain array for that
 
yes maintain in array
 
Great :)
 
again my issue is on checkbox click i m getting position of checked listitem inside getView() and on click of 1st row and 5th row my position is same i.e 0
why this happening
 
5:05 AM
Great :)
 
no no pls wait
 
@ErumHannan then wht was removed one O_o
 
its happening again i m not getting whats the issue ?
 
hahahah
 
5:06 AM
removed one was by mistake
 
have u maintained in array ?
@ErumHannan I thought ur issue is resolved :(
 
i have maintained in an array but position of checked listitem is same there is some mistake in my adapter code
but i m not getting from yesterday whats the issue
how can i check that which row checkbox has been checked ???
this is the main issue
 
from position
 
yes the issue is same in getView() i m using position but on click of row 0 my position is 0 and on click of row 4 my position is still 0 i guess onScroll my listview items are reused
how can i avoid from such issue
 
@SweetWisherツ i know that but i like to know where we have to keep this ?
 
5:12 AM
@GurumoorthyArumugam in Getview
14 mins ago, by SweetWisher ツ
@ErumHannan check it
 
Hi All
I have a question, I want to display a gridview with image and text within a dialog.
This codes works fine for displaying a gridview with image and text:
But, how to display this within a diolog?
 
@ErumHannan try this i have modified the code pastie.org/9733786
 
trying
 
Gm All
 
5:27 AM
@ErumHannan free advice don't keep unwanted code it will confuse you and also others who want to help u
@maveňツ VGM :)
 
Hi all :)
 
Hi
 
@W-I-Z-A-R-D my app crashed
 
Good Morning @Aamirkhan @W-I-Z-A-R-D @maveňツ @ErumHannan @DroidDev @Unihedron @PiyushGupta
 
@VijayakumarNL Nice DP
@UnityBeginner Gm
 
5:32 AM
@Aamirkhan thanks bro
 
@UnityBeginner morning
 
0
Q: Android camera setPreviewDisplay failed?

navyaI am working on Video Capturing Feature using MediaRecorder.I have taken ViewPger with Recording, when user swipe from left to right & right to left ,it works but suddenly after swiping pager 2 or 3 times,my application crashes.I am getting "setPreviewDisplay failed Exception" at this line: m...

 
@SweetWisherツ@W-I-Z-A-R-D lalit3686.blogspot.in/2012/06/…
can someone pls help me in this tutorial how they are saving state ?
 
5:46 AM
@Kirti @Aamirkhan can any ne help me on scrolling listview issue
 
@Harish it helps me u may also try this code
 
@UnityBeginner VGM Buddy:)
@UnityBeginner VGM Buddy:)
 
@ErumHannan The same thing itried but while scrolling items are replacing with other..
 
@ErumHannan wat is the error
 
@Harish what's the issue ?
 
5:59 AM
@Kirti while scrolling the list which ever not have image in that it is showing the wrong image in the list but it needs to show default image
 
ok
lets see if get something i will tell u
@Harish
 
@Kirti if you execute it.. i'll get the clear understangin of my issue
 
ok
 
hey every one I wanna ask one question
I want to develop Iphone and android both in windows platform any tools that I should use?
I saw xamarin but its not universal
 
phonegap
 
6:06 AM
11-21 11:05:05.319: E/AndroidRuntime(28304): java.lang.IndexOutOfBoundsException: Invalid index 4, size is 3
@W-I-Z-A-R-D
 
@W-I-Z-A-R-D thanks for your input phonegap does work on both devices or should use diff formats?
 
if(selectedIds.contains(getPosition))
{
Log.d("check index exist in list","index exist:"+selectedIds.contains(13));
selectedIds.remove(getPosition);
}
where getPostion is 13 and my selectedIds: [0,1,2,13]
why its throwing error
array index out of bounds exception
 
@ErumHannan it means your having Array size as 3and your index is grater then 3
 
@SweetWisherツ
 
@Justcode means?
 
6:19 AM
@W-I-Z-A-R-D nothing... I'm just finding out phonegap tutorials let me check it thanks for suggesting
 
@Justcode welcome :)
@ErumHannan check the size of items and array
 
@ErumHannan yes?
 
@SweetWisherツ hi can you help me..?
 
issue ?
 
ok @W-I-Z-A-R-D cmy list size is 11-21 11:27:12.709: D/checkbox for(32220): selectedIds.size():3
but i want to check that either data = 3 exists inside list or not
i dnt want to check index number
i m using contains
@SweetWisherツ
 
6:30 AM
ur getPosition is 13 nd u r writing selectedIds.remove(getPosition); which means selectedIds.remove(13);
which simply out of bound
 
is there any possibility to check that item 13 index inside list ?
 
yes wait
iterate the loop. fetch the pos where u get true vale and remove from that pos
            int pos =-1;
		for (int i=0;i<array.size();i++)
		{
			if(array.get(i).contains(getPosition))
			{
				pos= i;
				break;
			}
		}
		if(pos!=-1)
		{
			array.remove(pos);
		}
@ErumHannan like this
if(array.get(i) == getPosition)
 
6:55 AM
 
7:25 AM
finally i reslved my issue thanks @W-I-Z-A-R-D @SweetWisherツ
 
@ErumHannan welcome :)
 
and one thing more how can i show dialog means is this tutorial
fine
or is there an best method to show dialog
i guess its too old approach
 
7:38 AM
131
A: How to create a Custom Dialog box in android?

chintan khetiyaHere i have create simple Dialog. like : custom_dialog.xml <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="80dp" android:background="#3E80B4" android:orien...

 
@ErumHannan good :) How ?
 
7:53 AM
anybody wrked with Printer commands?
@NareshSharma there?
 
Hi all :)
 
@SweetWisherツ hello :)
any one with C# exp?
 
not me
 
awww. u into vh platform?
@SweetWisherツ
 
7:59 AM
Android
 
@SweetWisherツ Oh K
good
 
@SweetWisherツ :/ no. whats issue?
 
@MysticMagic issue issuuue....
want to ignore page length when black mark is set to true...
 
black mark is set to true?
do u have that mark's state in a boolean?
or need to get that from hardware?
 
yo...:P mean whenver 1 black line comes on page, printing will b stopped implying black mark is set
@MysticMagic yes i have
 
8:10 AM
@SweetWisherツ getting event of black line, too.. right'?
 
we need to set header smthgn like !0 200 200 400 1 -> 400 means page length
@MysticMagic yes
 
which printer?
 
If i omit page length, it prints somthng weird :/
@MysticMagic Zebra MZ320
ma req : if the length is 0, black mark - true. it should print the TOTAL content ignoring length
wht happens now is : Length is 0 , so it prints nothing :/
 
@SweetWisherツ okies. m not actually aware with printer cmds.. w8
 
searchng fr some command to ignore length as well as orint the full content
@MysticMagic reference
 
user2672839
8:13 AM
hey can i ask here?
 
what?
 
answer :P
 
lol. I thought doubt
 
@NAP u can ask issue here.
 
8:27 AM
tryna get some feedback
 
@rancho ??
 
lots of images. say 100 small thumbs. I hear best option is lazy loading and spreading images across mult servers?
does this sound correct?
 
@rancho lazy loading.
 
and the multiple servers part? Do you have any ideas on how many servers would be adequate to request 100 images.
 
Not sure, but I guess that's not needed
 
8:36 AM
to explain better, for most part all of the images need to be on the screen at same time.
 
how to update SP values?
 
resolution can be greatly reduced.
 
Anyone good with Opencart?
 
i got it
 
cool, i'm stuck in it
 
8:39 AM
not file size im worried about, but number of requests
 
@3not7 sorry buddy no idea
 
ok man.
 
17
A: How to change values in the shared preference

CristianSharedPreferences prefs = ... // you already know how to use prefs and have one of this objects Editor editor = prefs.edit(); editor.putString("password", "new value"); editor.commit();

 
Morning!
 
mornings
 
8:42 AM
So happy to see that @github CEO @defunkt used my generator for his contributions calendar! https://github.com/defunkt http://t.co/F33f6S5Fy5
 
9:00 AM
Afternoon here
 
@3not7 :)
 
@Alif :)
 
Anyone worked with multiple listviews in same activity ?
 
@B.rohitNare issue
 
No mate need small help
and suggestion
 
9:14 AM
ok wat is it?
 
Using with the custom adapter class, what is the good way of implementing them. In my view seperate class and calling the object
or to implement all the adapter classes in same activity c lass
Or any good examples based on this query mate
 
@B.rohitNare Write every adapter class in separate file and call in an activity that is what i do
 
Well i felt the same easy way of using java :)
 
this the better way coz if we write all class in same activity it will be complicated
 
2
Q: How to handle time zone difference between server and native android application?

JustWorkSuppose that my server located in USA and I live in Russia. We know that they have different time zones. My application getting text(String) from server. And this text data has Date column in database to keep record date. When I get data, I also get date knowledge. So I can group them by time. ...

Any one have idea about such issue?
 
9:29 AM
wELL TWO ADdapter classes but thought would be a problem with parsing
but no option now need to call them in different classes
 
how to give padding to edittext after the drawerleft image?
any one please help
 
you will have the option android:drawablePadding=
 
9:45 AM
@B.rohitNare thanks buddy i will check
@B.rohitNare yup buddy it works great thanks
 
No worries
 
10:02 AM
How to switch between activities thrugh navigation drawer. M nt using fragment. Wen I m swapping activity on drawer item click. It is nt showing drawer icon
 
@Dory have you heard about ActivityGroup ?
 
No
 
search then
 
I have created a base activity which has the toolbar logic in it. N each activity extends base one. @SilentKiller
Activity grup is deprecated reeee
 
@SilentKiller i too search on this
 
10:18 AM
@Aamirkhan posted image second time
@Dory else you need to set actionbar at onresume as well as at oncreate
 
@SilentKiller m not getting u
 
10:43 AM
@Dory why so ?
 
11:11 AM
can anyone pls tell me i have saved all checked checkboxes status in arraylist now onBackkeypress and or on Home button my values are lost so i will retain in activity life cycle but can i write activity life cycle in array adapter class that extends from arrayadapter
 
anyone here in ios ?
 
not me
 
@SweetWisherツ how can i save arraylist that contains checked state in activity life cycle
 
@ErumHannan in sharedpref?
where u wanna save n why
 
actually i have clicked on 3checkboxes and now press back key and now open app again now there is no value slected
all checkboxes are unselected now
so i want to save checkboxes values on press of backkey
 
11:19 AM
then use shared pref
 
but my arraylist is in adapter class can i write actvity life cycle in array adapter ?
 
if u wanna maintain
or SQLdb
@ErumHannan arrayAdapter must b invoked from activity only..Right ?
 
yes
but my array is in adapter class
 
pass it frm activity only
 
@ErumHannan are you trying something or directly asking query here ?
 
11:21 AM
that arraylist is for maintaining checkbox status
 
@SweetWisherツ SP
 
how can i pass from activity
 
@W-I-Z-A-R-D sry m SW :P
@ErumHannan google
 
@SweetWisherツ :D who is SP ?
 
evenings :)
 
11:27 AM
Hi All, Anyone work for AWS in Android.
 
not me
 
@DroidDev don't sleep
@johnsakthi Amazon Web Services?
 
lol
 
@DroidDev :P
 
@MysticMagic yes.
 
11:35 AM
@johnsakthi no :P
@DroidDev great :P
 
done
 
lol
That was James bond.. I took his services to kill my enemies..:x :P
 
@Liza oo7 :P
 
:D
 
11:37 AM
@SilentKiller 10--
 
PageNotFound
 
@Liza oops! you know a mere mortal can't kill devil, right?
 
lols
 
...and @SilentKiller is already a killer, so please hire someone better, like, an angel or something.... :P
 
but i told u that was Special gun..for you @DroidDev :P
 
11:40 AM
@Liza should i laugh on this joke..?? xD already laughing
 
@Liza well.....what kind of special....??
 
@DroidDev it has flower instead of bullets.. ;)
 
@DroidDev with water. for holi
 
@DroidDev lolzzz
 
ROFL
@SweetWisherツ That's a secret people. Read the name of room. Please don't read my secret :P
 
11:42 AM
hahaha.. I read it :P
 
Anyone worked with listview inside scrollview ?
 
@DroidDev lolx....No Angel Available..Only 007 :P
 
hey room!
 
hello user
 
11:42 AM
@SilentKiller NO :P
 
@Aamirkhan Use NoSQL. Problem solved.
:D
meta joke..
 
@Unihedron you are everywhere :P
@SweetWisherツ hey
 
@Unihedron lolzz
 
@MysticMagic okay thanks
 
11:44 AM
Nov 15 at 15:39, by SweetWisher ツ
@Liza May I know you ?
 
@ItachiUchiha only everywhere? ;)
 
lolz, know you?
@Unihedron Stop Stalking me :P
 
Wait, I thought you were the one stalking me? I was here first! :D
 
hiihahahhaha
 
@Liza sadly, that can't kill me, as you might have read in above messages, that specially of gun was flowers and water, those things are not enough to kill me :P
You've gotta perform better man :P
 
11:45 AM
yo man :P
 
TEA
 
T
 
@DroidDev @SilentKiller ok ok i forgive you both.. As i am very kind hearted :x :p Enjoy your lives!! xD
 
@Unihedron lolz, I have been in this room for as long as I can remember
@Liza Lolz, xD
 
@Liza phew! In regard of this forgiveness, I won't call you MAN again :)
 
11:54 AM
@ItachiUchiha Heya!
 
@PiyushGupta hey man
 
@all hi
 
@ItachiUchiha after long time
 
yeah
 
@NareshSharma kha hoo sir ..........
 
11:56 AM
Where were you @ItachiUchiha
 
jz off the hook
 
Good Evening Everyone
 
@ItachiUchiha Okay
 
@NareshSharma Good Evening Bro
 
@Rishi I'm in India. :)
 
11:58 AM
@NareshSharma Very good evening Mr. Sharma.. How are yoU?
 
@Aamirkhan Hey aamir bhai
@MysticMagic I'm perfect you say
 
@NareshSharma omg ji not in moon
 
@NareshSharma Me perfectly imperfect, boss :)
 
@Rishi plan for mars.
 
04:00 - 12:0012:00 - 17:00

« first day (868 days earlier)      last day (1377 days later) »