« first day (510 days earlier)      last day (2740 days later) » 

08:03
nops koi background image nhi hae sirf color hae red
@Rahul
@Erum screenshot dikhana
jaldi dekho
even actionbar layout ki height ko match parent krdiya hae phir bhi no effect
Height match parent kyu
main layout me padding rakha hai kya?
pehle height50dp diyatha but match parent just for testing but koi change nhi arhar hae
08:12
?attr/actionSize height ye set karna
Aur margin diya h
Diya h tumane
@Narendra kal tune bola tha aane ko
lo mai aa gya :P
@PankajSharma :P
@PiyushGupta hi
@Narendra hi how r u?
08:27
@Flash hi
whats up
Just nothing more. U ? @Flash Tari madam e to had kari yar call pan nai karti
@Rahul hi
@PiyushGupta :)
@maveň wel come buddy :))
@Flash K bhai k. Hu hoy to hu to andar jai ne kai avu real ma
08:29
@PiyushGupta o_0
@Flash hey i am good, thanks
@Flash ha j to
@Narendra welcome to ahbd
@Flash Haju @Narendra nathi avyo ahiya
08:30
okay
Avse haju
1 sep k bad
company?
@PiyushGupta hello
08:37
@Rahul mene wo alternate color wala kar diya he. But tumne jis tarike se bola tha wo muje karna he . Can u show me code ?
@Narendra hey
@PiyushGupta don't have code
@Rahul Ok how much line code it is ?
The idea was like you need find out screen height
That hieht divided by row height
@Rahul Yeah. I had.
08:41
That will return total item
@Rahul Yeah. But in getCount() i want to use that
Set that total item to list like
List lis =new ArrayList(size) likrlike that
I want like this return count>10?1:13-count
@Rahul
means agar 13 items he to nai set karna otherwise add hoge
@senti hey buddy
@PiyushGupta didn't get you
08:45
@Rahul @PiyushGupta chat app pr kam kiya sample code chahiye
hey i am using horizontallistview.how to display the selected item full view.example if i have 3 items means .3rd item show in halfview. if i click it show the full.without list scroll
@Narendra na bhai pan karvani icha che
@Rahul call nahi aaya
@Narendra resume send kiya h na
ha kal rat ko hi
@senti ohk let me check
08:48
Kk
@Rahul Can u pls show code in pastie because now i have written all new code
Write now I don't have
oH. Ok np !
@Rahul chat app ka sample code chahiye
@Dev
@Narendra Demo nathi pan mast link che QuickBox ni . Tu bije jato rais to bhabhi nu su thase bhai !
08:53
@Narendra thanks mate
;)
Dev
Dev
@Narendra maine chat app pr kaam ni kiya
@Dev ohhhk yo yo
@PiyushGupta ae link dekhi but isko jaldi khatam krni isiliye ok
Thanks
@Narendra can u tell me how to take multiple image one at time on tocuh even in android like suppose i have open camera and i have tocuh 1 time then first image should save then again second image on tocuh then third on tocuh once all image done then i wiant exit camrea
have any idea
@Narendra hey this is go slide and when click means zoom.
but my need is .view horizontal listview.if last item show half page only.I click that item means show full view
09:11
@senti check item click code use that for zoom item. and for last item use onScrollChange
event
@Narendra bas kar have ketlu coding karis ??
3
Q: Capturing Multiple Photos

MudassirI have successfully captured the single photo using camera in Android. But when I tried to capture 5 photos at once, app stops responding, camera preview turns to green and no picture is saved. What I saw in stack trace is as follows (partial) 03-17 14:19:54.804: INFO/QualcommCameraHardware...

@ResearchDevelopment check this may be help you
one more issue -> i have profilefragment class that contains ->actionbar ->i have defined its actionbar in onStart -> it contains viewpager + tab ->i want once tab changes or viewpager changes so its fragmetn load in container (working fine ) but the top main actionbar should be same ----> right now if i m not defining its actionbar in fragment classes then its showing black ? @Rahul @PiyushGupta
09:26
@Erum onPange change pe kuchh kiya h
09:59
@PiyushGupta @Erum @Narendra Collapsing toolbar from design lib not working
Any solution
?
@AnshulTyagi
@ArthTilva Use nathi karyu haju. Pan j divase karis e divase perfect karis
Sarras..
There something like parralax you need to add that in imageview
app:layout_collapseMode="parallax" in imageview @ArthTilva
Yes I added bro
You added now ?
10:07
@Rahul nhi onPageChange pe kia krna hae ?
Nupp its already added...check my code.. @Rahul
Ok
@Rahul onpagechage pe same fragment k actionbar ka customview dubara set krun kia ?
@Erum ye Pak me kya ko kia kyun likhte hai sabhi?
Onpagechange me Jo fragment ata usame action bar h @Erum
10:09
yes hae
but us fragment ka onStart shayd hmesha call nhi hta hae
Usako remove kar do
ok then ?
Bas aur kuchh nahi karna h
@AnshulTyagi Jaani.. Tum yaha ke sher ho :)
Jtnae fragment adapter me h usame se action bar nikal do
10:11
@PiyushGupta Haha..Hum toh sab jagah aise hi rehte hai chaahe..delhi ho ya gurgaon ya apna Zila Ghaziabad
Aur jaha pe Tab vaha pe set karna
@AnshulTyagi Ye mene Pankaj Sharma ko likha tha. "The Great Indian Android Developer Ever !" to usne to Room ka nam hi esi replace kar diya
@PiyushGupta Ab mujhe bhi change karna hai? :P
agr remove krdun tu phir upper ka actionbar black color ka ata hae jb k mene customview me red set kia hae @Rahul
@Erum to viewpager kaun se fragment me h
10:13
@AnshulTyagi na bhai na
tu to hero he yar
viewpager ->ProfileFragment me hae bhai @Rahul
onPagechange ya tab pe kese set krun smjh nhi arha hae
Ha to usame action bar h
ProfileFragment esame actionbar set karna
yes usme actionbar hae but jb me page change krti hon using swipe tu actionbar nhi ata hae
isme set krdiya ahe
@PiyushGupta ye mera whatsapp status hai bhaai...tum toh antaryaami ho :P
@AnshulTyagi Kya bat kar rahe ho. Mene ye Pankaj Sharma ko likha tha
10:16
@Erum then no idea
@PiyushGupta hero waali line?
Ha
@Rahul Itna ?
Display display = ((Activity) mContext).getWindowManager().getDefaultDisplay();
Point size = new Point();
display.getSize(size);
realwidth = size.x;
realHeight = size.y;
diagonal = Functions.getDiagonalOfDevice(mContext);

LayoutParams params = viewHolder.linearName.getLayoutParams();
listCount = params.height;
totalCount = listCount + (realHeight - listCount);
int myCount = realHeight / listCount;
Log.e("total Count", "" + myCount);
@Rahul pagechange pe actionbar kese set krun ye btao ?
Dekh Lo karke
@PiyushGupta wo toh abhi hai hi nahi
10:18
@Rahul pagechange pe actionbar kese set krun ye btao ?
OnStart pe jaise set kiya h
@Rahul call aaya tha mumbai se bola ki resume send kro
abhi krta hu to send
@Narendra OK
@PiyushGupta make one array set lent to mycount
Then in adapter return count array.lenght
And if(pos%2==0) set background(R.color.while )else red color like this
thanks
@Rahul But getCount() to pehli hi call hoti na bhai
10:24
Notifydataset change bhi hota jisame getCount dubara call hota h
@PiyushGupta tell me if u r stuck
@Rahul notifyDatasetChanged() isse ?
@Flash Yes. are alternate color mate bhai
ListView?
whr is code?
10:27
@Narendra Zealous ma resume send kari didho me
(y)
phone kar j 2 divas pachi k su thayu
Ha ok sure
@Rahul @Narendra @Flash @AnshulTyagi @ArthTilva Need help here stackoverflow.com/questions/32069976/…
@Narendra @PiyushGupta @Rahul - Here is example of my httpGet service url -
10:43
@DroidWormNarendra Hey did u check my above link ?
I am following this
13
A: Android HTTP GET parameters

Andrea MottoString url = "https://server.com/stuff" List<NameValuePair> nameValuePairs = new ArrayList<NameValuePair>(1); nameValuePairs.add(new BasicNameValuePair("count", "5")); HttpClient httpClient = new DefaultHttpClient(); String paramsString = URLEncodedUtils.format(nameValuePairs, "UTF-8"); HttpGet h...

but how to add the names without values to nameValuePairs, as in my example @PiyushGupta @Rahul @Narendra
With ""
@DroidWormNarendra Uri.Builder try
@DroidWormNarendra one second
10:46
k
@PiyushGupta check this - myurl?login&user_id=testid
the parameter login has no value
how to add this to my namevaluePairs?
@Rahul okay, instead of using NameValuePair, I need to use UriBuilder
ryt?
What ever u Wang you use
You also use stringBuilder aslo
k, let me try
Just print log of uri.build.toString
@DroidWormNarendra
1) creare NameValuePair
2) pass it like http://pastie.org/10358674
3) and just concate to ur url + urlParameters
Namevaluepare desecrated
is it possible to load only fragment inside container in viewpager @Rahul
Yes
10:58
how ?
viewpager k inside koi framelayout le loon ? @Rahul
@Rahul see this - myurl?login&user_id=testid
login key has no value
the example you provided contains key value format
Put empty in that
viewpager k inside koi framelayout le loon ? @Rahul
Yes ha
Profile fragment ko replace karna h kya
11:13
@Rahul tried that, but it shows ---- login=&user_id=1, but I don't want '=' sign after login
Ok wait
DNC
DNC
@Rahul check Skype..
@DroidWormNarendra put key as it is like login&user_id
okay
great idea (y)
let me try
didn't work @Rahul
it got converted & to %26
and got response of missing parameters
nhi actually is time mere pass sirf viewpager scroll hota hae but as per requirement mjhe pura view scroll krna hae ? @Rahul
11:18
its encoded url @DroidWormNarendra
@Shvet no, why?
it will convert space and other special char
it should not convert & to %26 though
k, but it is :(
@Shvet login&user_id=1&other_params=value
I need to pass params like this
but unable to add the param "login"
as its without value
use if else if your login has value and put "login=" else only "login"
URLEncoder.encode("login&user_id","utf-8")
And see whether you getting response or not
Didn't get you
11:23
bt, I got you now
let me try
@Rahul Using pastie code for if there are 4 rows then it set alternate color but uske bad to blank hi set hota he bhai
@Rahul It still didn't work ---------- user_auth.php?login%2526user_id=1&at=0&password=vv&user_name=gh
showed like this
DNC
DNC
@Rahul ?
0
Q: develop for Vuzix M100 smart glasses

ShrutiI am developing for Google glass using Glass Development Kit + android studio. I am unable to run this apk file on Vuzix M100 smart glasses. So for this problem I checked its developer site .This website says that "We need to use eclipse IDE along with vuzix sdk to develop for same." Please sugg...

@DNC I'm in the office
DNC
DNC
11:26
@Rahul Ok, at what time can we talk?
@PiyushGupta why are you not adding some empty data
@DNC after 9:30
@Rahul Bhai i have tried that too alreadt
Wait
tu 9.30 office se niklta hai ?@Rahul ohh
kitna kam karta hai
11:33
@Rahul Ha bas yahi chaie
9 mins ago, by DroidWorm Narendra
@Rahul It still didn't work ---------- user_auth.php?login%2526user_id=1&at=0&password=vv&user_name=gh
@Kirti tere to kam kamm karta hu
hi
can u guys help me with this
http://stackoverflow.com/questions/32070525/how-to-show-an-appointment-against-a-range-of-timings-in-android
@DroidWormNarendra ask php guy
How he is sending curl
@Rahul he is client. The client provided the services
11:34
@Rahul wahi chahie
fir bhi 9.30 bapare
@Rahul
@Kirti office barah baje ata hu
@Rahul to tumne jo code diya usse wo hua he ??
@PiyushGupta see that
@Kirti office mai to km hi nhi kRata bas tp
sahi
11:45
@Rahul I replaced it like url = url.replaceAll("%2526","&"); from the final url
and the output seems okay
@Rahul jalse he tere bhai
@Narendra kay ka jalsa
Dev
Dev
@Rahul
java.lang.NullPointerException: Attempt to invoke virtual method 'float android.view.MotionEvent.getX()' on a null object reference
        at android.view.View.onTouchEvent(View.java:9414)
        at android.support.design.widget.CoordinatorLayout.onTouchEvent(CoordinatorLayout.java:449)
@PiyushGupta hastebin.com/alegazafob.avrasm little bit modifications
11:50
@Dev no idea
Dev
Dev
yr map hai screen , corrdinator se wrap hai ek fragment mein hai ye
or jo main scren hai continer uski parent b cordinator hai
@Dev bahut badi layout h
Dev
Dev
ye smj ni aa raha
sb check kr liya
touch event disable kr ni skta
@Dev check nested scrollview ending
@Rahul ok sorry i was in my PM's cabin.. This is for string array but i have custom object . So do i need to use this for (int i = 0; i < totalCount / 2; i++) {
strings[i] = "pos" + i;
}
11:54
@PiyushGupta what list size
Dev
Dev
@Rahul shi to hai
maine divider pr lgaya hai floating
@Rahul right now there are 4 data
@PiyushGupta so you can not set list size manually
Add add object manually
@Rahul Yeah i have tried that. But if i do then it throws null pointer....
11:56
Sahi h
for (int i = 0; i < totalCount / 2; i++) {
TimeSheetBean bean = new TimeSheetBean();
bean.setID("1");

}@Rahul
something like this way
@PiyushGupta noap
Dev
Dev
ye uper jo bhabhi baithi hui hai isko touch krtey he app crash ho jati hai yr
Take two list
11:58
Set second list size to totalcount
And in that add four object
you mean my secondList.size = totalCount ;
secondList.add(mycustomObecjt)
Yes
And you need pass in adapter second list
Ok let me try
ok
@Rahul But what about my first arrayList because in that my all data has been added
12:03
But also copied some data to second list
What about that
Check this
int totalCount = (int) (size.y / getResources().getDimension(R.dimen.height));
myTimeSheetList = new ArrayList<>(totalCount);
newTimesheet = new ArrayList<>();
int sizeData = newTimesheet.size();
for (int i = 0; i < totalCount / 2; i++) {
sizeData = totalCount;

}
Now no where use of myTimeSheetList
after that
Totalcount/2 should firstlistsize
So finally this one
int totalCount = (int) (size.y / getResources().getDimension(R.dimen.height));
myTimeSheetList = new ArrayList<>(totalCount);
newTimesheet = new ArrayList<>();
int sizeData = newTimesheet.size();
for (int i = 0; i < myTimeSheetList.size(); i++) {
sizeData = totalCount;
TimeSheetBean bean = new TimeSheetBean();
bean.setWeekEndDate(myTimeSheetList.get(i).getWeekEndDate());
newTimesheet.add(bean);

}
Yes
I m getting 0 size for newList
12:11
@PiyushGupta I don't what you doing wrong
Is it all ok ?
Try with object Array
in code
Yes
Dev
Dev
@Rahul ye screen thik lg rhi hai jo post ki maine?
12:13
@Dev ek number h
Bhabhi bhi acchi h
Dev
Dev
@Rahul client ka chu bnana hai
sale tabs remove ni kr rha design se
@Rahul bhabhai ka design $20 ka bna hai
@Rahul ye actionbar bhut dashing hae
Kaun Sa action bar
Hi All
are wahi actionbar ab uski height me problem arhi hae
12:18
Achha toh ab hum chalte hai :D
@Rahul ab heght 50dp diya hae wo set nhi hrahi hae
@Dev
Dev
Dev
@Erum show me
@Aniket bhai kaisa hai tu bhut din mein aaya, kirti or piyush tuej yad krtey hain bhut
@PiyushGupta @Kirti
HI
Dev
Dev
shayad tune muej bhut miss kiya
aatey he mera nam liya :P
in dono ko bhoolkr
12:20
right
@Aniket Hi bro, kya haal chaal...kahan busy ho gaye the janaab?
@Dev need one help...
Dev
Dev
@ArthTilva please ask
@Aniket h
Collapse toolbarlayout from design lib is working fine with Nested Scrollview but not working with Recyclerview.. @Dev
12:22
@Rahul Na hua yar usse.. Custom object list se
Dev
Dev
android 6 me fragment k onattch me ab activity ni contect milta hai
@ArthTilva rahul will help ypu in taht case, he had done something similar
@PiyushGupta wait
@Rahul dekh na bhai..
@ArthTilva everything looks fine in your code
yes it is working with nested scrollview
Dev
Dev
12:24
@ArthTilva code dikha
Dev
Dev
tuje kb kha dikhane ko
@Dev hastebin.com/imumeqasic.xml
Dev
Dev
screen shot kha hai tuje
@PiyushGupta
See everything working
12:31
upper check kro kaha hae tm ne dekhane ko mjhe
@PiyushGupta etna easy logic h koi bhi kar lega
ok let me try
for (int i = 0; i < 4; i++) {
isme muje model.size() lena padega na
i < 4 he waha
i < models.size()
@PiyushGupta the list which already data h
Tahare pas datapahale se h na
ha wo parsing se add ho raha he ArrayList me
Consider model me pahale se data h
Seee commnet logic start from here
I'm adding some data to my object array
Are damag lagayo kuch to
12:35
are ha bhai samja
let me check bhai..
@Rahul actionbar ka issue dekh l
@Erum nahi samachh raha muchhe
Has anyone here worked on dual sim support?
@Erum vo property use nahi kiya h mane
@Kirti thr
12:58
yes
@Rahul
@Rahul array list me andar hashmap hai ..i want to find hash map ka koi value kitni time occur ho raha hai

« first day (510 days earlier)      last day (2740 days later) »