« first day (1123 days earlier)      last day (1122 days later) » 

3:21 AM
Good Morning...
 
4:06 AM
GM all
 
GM :D
 
@AnshulTyagi GM
@ArthTilva GM
@Joe'sMorgue GM
:P
 
GM @SweetWisherツ
How are you?
 
Fine :)
 
Yes, General manager
:P
 
4:07 AM
Lolzz
 
Hows going your work?
 
Itz guten morgan :P
@AnshulTyagi still not started
 
Lol
why nt?\
 
jst came
 
ok..I came 40 mins ago, had pasta in breakfast
 
4:10 AM
lol good
 
Ok. tell me a thing, I implemented Facebook and Google within an activity onClick of custom Buttons. And I found that I can login with FB only when if I have native app of FB. Why is it so?
 
5
A: How to disable facebook native app for user login

Dipak KeshariyaPlease update below code of your application. mFacebook.authorize(mActivity, permissions, Facebook.FORCE_DIALOG_AUTH, new LoginDialogListener()); instead of mFacebook.authorize(mActivity, permissions, new LoginDialogListener()); And see below link for more information Facebook ...

which code have u used?
 
SDK 2
 
checked the link?
 
ok
pastie.org/10326800 @SweetWisherツ
@SweetWisherツ I have added one more parameter in my code at the time of authorization which is Facebook.FORCE_DIALOG_AUTH. And before I was checking first apk of Fb is installed or not and then checked its enabled or disabled. After fulfill theses conditions I used to perform operations of Login. Now question is that I should remove code now for checking apk and enabled now?
 
4:44 AM
@SilentKiller Good morning Sir. Hows you now ? Be lated happy friendship day again !
 
5:04 AM
@SweetWisherツ didn't worked for me
 
@PiyushGupta Very Good Morning Sir.
 
Assalamualaikum
gm
 
@QuokMoon Assalamualaykum
walaykumassalam
 
@SilentKiller Sir I have one question. In listView suppose i have only 2 data and for remaining space i want to same background as i have applied to listView with alternate rows. How ?
 
5:36 AM
Good morning :) @SilentKiller @SweetWisherツ @PiyushGupta @Aamirkhan @ArthTilva
 
@Shadow <Morning Morning>
 
@Shadow Vgm. Dost. be lated Hpy frndSip day . @RobinHood
 
5:52 AM
@PiyushGupta you need to generate duplicate but empty entries
 
@SilentKiller Means ?
 
fake data
 
Is there no any other alternate way?
 
use recyclerView
 
But i have already implemented with ListView. and too much thing implemented so
 
6:03 AM
PayUMoney per kam kia he kisine?
 
not me
 
@SilentKiller Do u have TeamViewer?
 
@PiyushGupta belated same to you :-/
 
@SweetWisherツ hello
 
6:11 AM
@SweetWisherツ i view current date to 7 date.
the schedule start in thursday
if start date thursday means enable all dates.otherwise disable one by one
@SweetWisherツ skycinemaskw.com/movie-showtimes see this link
 
@SilentKiller bhai tu eclipse j use kare che ne haju?
 
6:29 AM
@PiyushGupta ?
17 mins ago, by senti
@SweetWisherツ i view current date to 7 date.
 
7:09 AM
1
Q: Auto Image Rotated from Portrait to Landscape

SophieI am taking photo and storing it into SD Card, and later viewing it from SD Card into ImageView, but getting as rotated ... I am capturing it in Portrait mode, but getting resultant image in Landscape mode... Is there something which I am missing ? I have posted code of both the classes TakePho...

 
@Sophie try mCamera.setDisplayOrientation(180);
 
@SweetWisherツ why don't you install eclipse today?
 
@senti wht d issue in dat ?
@AnshulTyagi itz not official anymore...
 
Bettr u move to AS now
@senti ?
 
7:13 AM
if i download AS
how will i import my code?
 
@AnshulTyagi u can migrate ur project from eclipse to AS
 
@AnshulTyagi right now don't take a risk to migrate your project to AS
 
@SweetWisherツ this logcat date view in listview
 
@senti OK, so ?
 
skycinemaskw.com/movie-showtimes see this link i want this type
 
7:14 AM
seen, show what hv u tried
 
nd whts the o/p ?
 
@PiyushGupta I have no solution. i need solution now.
 
if the start date is Thursday
{
    // enable all
}else{
    // disable all
}
@AnshulTyagi u can take help of @maveň . he wrked on twilio
@senti i knw wht u wanted, shw me wht u tried and wht r u getting as output. in shrt, whts the issue with ur current code
 
7:19 AM
but @SweetWisherツ I think its not an error of twilio coz this is working fine in demo @maveň
 
u said itz not wkrng :(
 
Omg. No. I told you on sat and sent you working demo also
 
with services?
 
yes.
 
then issue with ur project only na ?
 
7:22 AM
:24840961http://paste.ofcode.org/VExFb99Yv3AgLr8TFUYKEG i give this only thursday color block all other gray
 
developer.android.com/sdk/index.html#Other @SweetWisherツ I'm downloading AS now. Do I need anything except this?
Yes @SweetWisherツ
 
@AnshulTyagi nop
 
ok thanks.
 
How to upload array of images using AFNetworking:
is this correct:
manager.POST( urlCreateAccount, parameters:postParams,
constructingBodyWithBlock: { (data: AFMultipartFormData!) in
data.appendPartWithFileURL(urlsArray, name:"photo[]", error: nil);
}, @AnshulTyagi @senti @SweetWisherツ
 
@senti then its desirable. rght ?
 
7:22 AM
desirable means?
 
@YSRfan never wrked n AFNetworking:/
 
@AnshulTyagi bhai if u r in last stage then don't migrate !!!
 
@senti is this wht u want ??
 
but solution ka kya karun :( @PiyushGupta
 
my schedule start thursday to 7 days.
 
7:23 AM
@AnshulTyagi but this wont solve ur issue. u need to find the cause regardless of the editor u r using.
2 days ago, by SweetWisher ツ
try to comment lines one by one
@senti OK so u want to disable all Buttons expect thur. right ?
 
if today is friday means the 7th day thursday .that thursday i want disable or background change like wise
 
I just tried @SweetWisherツ
 
@SweetWisherツ if today is saturaday means the 6th day thursday 7th day friday.that thursday ,friday i want disable or background change like wise
 
@AnshulTyagi Then ?
 
but always headache
no work
 
7:26 AM
@senti nt getting buddy
 
i created new class without any intercom code but still same error @SweetWisherツ
 
@SweetWisherツ skycinemaskw.com/movie-showtimes r u see this link
 
u jst need to disable all buttn which comes after thursday. right?
@senti yeas i hv seen
@AnshulTyagi then intercom code is not the Cause.
@senti ur list will have 7 items.
 
@SweetWisherツ yes
 
@senti good, then check the position of item which has day as - "Thursday". And if the position is greater than that position, disable the list item. Clear??
 
7:28 AM
I think..I'm trying to find an issue
 
@AnshulTyagi wht ?
 
Now I have just view
 
wht's dat
 
a dashboard
 
7:30 AM
but i have intercom in Login Activity. I call it as I get login successfully
 
comment those lines for now
 
@SweetWisherツ cant get
 
@senti why?
 
ok @SweetWisherツ
 
@SweetWisherツ its simply complecate
 
7:33 AM
@senti WHAT ?
@senti shw ur adapter nd list item class
 
@SweetWisherツ hi
 
@AnshulTyagi ?
 
@AnshulTyagi tu kar lega tension na le
 
@Sophie HI, tried ?
 
7:36 AM
@SweetWisherツ please try to get my wish
:P
1
Q: Auto Image Rotated from Portrait to Landscape

SophieI am taking photo and storing it into SD Card, and later viewing it from SD Card into ImageView, but getting as rotated ... I am capturing it in Portrait mode, but getting resultant image in Landscape mode... Is there something which I am missing ? I have posted code of both the classes TakePho...

 
@Sophie hehehe :P
wht's the orientation of img in gallery ?
 
I tried with ExifUtil class as well (Land)
 
@senti i knw this, man, i asked for code
 
ok
 
Capturing in Portrait but getting resultant image in Landscape in Gallery
@SweetWisherツ
 
7:39 AM
@Sophie try with values in setDisplayOrientation
0,90,180,270
 
@maveň did you get this type of error in twilio?? pjsua_acc.c ....SIP registration failed, status=302 (Moved Temporarily)
 
@SweetWisherツ ok let me check this
 
@PiyushGupta bhaai 20 days hone waale hai isme hi
 
87
A: why image captured using camera intent gets rotated on some devices in android

Jason RobinsonMost phone cameras are landscape, meaning if you take the photo in portrait, the resulting photos will be rotated 90 degrees. In this case, the camera software should populate the EXIF data with the orientation that the photo should be viewed in. ExifInterface ei = new ExifInterface(photoPath); ...

tried this too ?
ExifInterface ei = new ExifInterface(photoPath);
int orientation = ei.getAttributeInt(ExifInterface.TAG_ORIENTATION, ExifInterface.ORIENTATION_NORMAL);

switch(orientation) {
    case ExifInterface.ORIENTATION_ROTATE_90:
        rotateImage(bitmap, 90);
        break;
    case ExifInterface.ORIENTATION_ROTATE_180:
        rotateImage(bitmap, 180);
        break;
    // etc.
}
 
0,90,180,270 @SweetWisherツ not worked
 
7:48 AM
@senti You can try this way
@Sophie try above code
brb Lunch time
 
yes LunchTime
 
hello all
 
@SweetWisherツ now app doesn't return to main activity. It just closes. No error. I get force close dialog of debugger each time and some error in console pastie.org/10327038
BRB
 
@SweetWisherツ hello i want to create circle with gradiant can u tell me how to do it with layer-list
 
8:10 AM
@AnshulTyagi The client should try at the address in the Contact field. If an Expires field is present, the client may cache the result for that period of time
Twilio is bit complex to configure
1
Q: Cannot Register SIP with Twilio SDK

Federico MartinezI've been struggling trying to integrate Twilio SDK to my cordova app. When I call Twilio.Device.Setup with capability token, I receive this log: 2015-06-24 17:12:03.000[239:26713] PJSIP(2): pjsua_acc.c ....SIP registration failed, status=302 (Moved Temporarily) 2015-06-24 17:12:03.005[239:...

@AnshulTyagi ~hint make webservices for the client connection to twilio server
 
@maveň Actually I have webservices and I don't have any problem in outgoing or incoming. Even I have implemented code for background services to get incoming calls. I'm successfully getting also n talking too.
But I get error this in a particular case
 
8:31 AM
@SilentKiller There ?
I have sent my working project to onShore person. Now in eclipse he has imported it and also lib project. Now he run the project it showed "Conversion to Dalvik format failed with error 1". For that i am using his TeamViewer and i have clean project and remove dependencies and also set Java compiler to 1.7 still it shows that error @SilentKiller
 
They don't help. they ask server code @maveň
 
@senti done ?
 
8:47 AM
@AnshulTyagi if they are not able to help you then no one can help you
 
@Sophie any luck ?
 
@SilentKiller bhai badha jagi gaya. Now you pls
 
ugh @maveň i think this error isn't at twilio's end because it works in a sample code
 
@AnshulTyagi login here twilio.com/login
do you have account?????
 
Yes, I do
I have 2 pending tickets too @maveň
 
8:51 AM
ok
u are not capable enough to make ur points clear to them
 
I have done. I have given code them as they asked
 
9:06 AM
@SweetWisherツ no friend
 
:(
@Sophie show ur code
 
2
Q: Auto Image Rotated from Portrait to Landscape

SophieI am taking photo and storing it into SD Card , and later viewing it from SD Card into ImageView, but getting as rotated ... I am capturing it in Portrait mode , but getting resultant image in Landscape mode... Is there something which I am missing ? CameraSurfaceView.java: class CameraSurfa...

don't know exactly what to try ?
@SweetWisherツ
 
@SweetWisherツ should I create a new project?
 
@AnshulTyagi if u have time, try
1 hour ago, by SweetWisher ツ
ExifInterface ei = new ExifInterface(photoPath);
int orientation = ei.getAttributeInt(ExifInterface.TAG_ORIENTATION, ExifInterface.ORIENTATION_NORMAL);

switch(orientation) {
    case ExifInterface.ORIENTATION_ROTATE_90:
        rotateImage(bitmap, 90);
        break;
    case ExifInterface.ORIENTATION_ROTATE_180:
        rotateImage(bitmap, 180);
        break;
    // etc.
}
 
why not? I'll copy and paste only
 
9:09 AM
@AnshulTyagi OK then do it
 
@SweetWisherツ tried still not done
 
it should wrk
 
9:24 AM
@SweetWisherツ i used this and done: stackoverflow.com/questions/20478765/…
please post it as your answer
so i can accept that
 
then wht were u doing wrong ?
 
had to use : ExifInterface.ORIENTATION_UNDEFINED instead of NORMAL
@SweetWisherツ
 
Ufff small mistake
 
:)
 
Thnks :)
:P
 
9:36 AM
yes @SweetWisherツ it's working. Now I'm gonna add each line again
of intercom
 
I have downloaded AS now
Help me if I'll need.
 
right now, dnt move to it.
 
I'm not moving there
 
continue with ecliipse only
 
9:38 AM
AS isn't good?
 
It is but bit complex
 
@SilentKiller not reply ?
 
ok.. I want to learn it too. These days some companies ask me about it @SweetWisherツ
 
@PiyushGupta nobody replies when you need help
 
9:40 AM
u can follow guidlines
@AnshulTyagi O_o
we're here to help only.
but only when we're free to do so.
@Magnus'Peacegrove' u require 20 repo to chat here
 
@SweetWisherツ I know nobody can write complete code for you. They can give you a lil idea according of experience.
 
edited once more :P
 
9:58 AM
@user1474602 access granted
 
@SweetWisherツ sorry here internet problem
now i show my code?
 
Ok
2 hours ago, by SweetWisher ツ
@senti You can try this way
i hv shown u the way
 
10:27 AM
 
use for each loop instead
 
whtever loop
he will need position so i used this one.
doesn't matter, i just showed him a way
 
@senti your code look correct, whats the problem?
 
do u knw his requirement >?
 
10:39 AM
Don't use any kind of loop in getview(), it will hangup your UI.
 
itz nt in getView
its before setting adapter
 
ooh,
 
@RobinHood meri ek help karde
 
yes, please
 
@SweetWisherツ amazing
 
10:44 AM
wrked?
 
I wanna show a keyboard in proportional to pop up Window on button click. I know u think that its a silly que but i have tried all the thing but not working
@RobinHood
 
here not work net .but i think it work
 
@PiyushGupta not clear
 
when i click on button popupWIndow is opwning. At that time i also want to openkeyboard
 
50
A: Open soft keyboard programmatically

VigneshI have used the following lines to display the soft keyboard manually inside the onclick event, and the keyboard is visible. InputMethodManager inputMethodManager=(InputMethodManager)getSystemService(Context.INPUT_METHOD_SERVICE); inputMethodManager.toggleSoftInputFromWindow(linearLayout.get...

 
10:49 AM
@RobinHood I have tried but my problem is diffrent
 
jaldi bata, nahi to so jauga me
 
@RobinHood Check this imgur.com/obhm6Re
I am facing issue this
@RobinHood checked ?
 
11:23 AM
@SweetWisherツ if firstday thursday means all date enable how?
 
ok, then return count
 for(int i =0; i<listItems.size();i++)
        {
           Date_POJO  entity = listItems.get(i);
             if(entity.getStrDate().equals("Thu"))
                 return i;

        }
        return  listItems.size();
 
@SweetWisherツ not work
 
does it wrk in all other cases?
try this @senti
brb
 
@SweetWisherツ thanks it work
 
11:50 AM
@SweetWisherツ its again started creating problem
 
@senti grt :)
 
12:10 PM
@SweetWisherツ i say u
 
0
Q: How Can I Filter Custom ArrayList

SophieHow to implement Filter in a Custom ArrayList using EditText, I am parsing JSON data into ListView using an ArrayList. I would like to allow user to filter records using Person Name or City in EditText public class Persons { private String name; private String city; ....... /...

@SweetWisherツ can you help me ?
 
@senti what ?
@Sophie use filterable
38
A: Custom Listview Adapter with filter Android

A.AndersonYou can use the Filterable interface on your Adapter, see a good example below: original source : https://gist.github.com/fjfish/3024308 See other example here : http://software-workshop.eu/content/android-development-creating-custom-filter-listview public class SearchableAdapter extends BaseA...

wkrng code
 
ok thanks let me check
be frank sister i am getting confuse How can i use this in my program ?
@SweetWisherツ
 
12:25 PM
ok i am trying my best but not sure that i can do it
 
 @Override
            public void afterTextChanged(Editable arg0) {
                //adapter.getFilter().filter(s.toString().trim());
                }
            });
 
@SweetWisherツ I posted Adapter class code as well
1
Q: How Can I Filter Custom ArrayList

SophieHow to implement Filter in a Custom ArrayList using EditText, I am parsing JSON data into ListView using an ArrayList. I would like to allow user to filter records using Person Name or City in EditText public class Persons { private String name; private String city; ....... /...

 
have a look to my code
 
ok
 
u just need to implemetn Filterable
do it step wise
@Sophie
 
12:32 PM
@SweetWisherツ i am trying will revert you soon
 
OK, u'll require to take two arraylists
1.holding original data
2. holding filtered data
u will use filtered array in all overriden methods of adapter
 
@SweetWisherツ great
 
@SilentKiller Jago bhai...
 
@SweetWisherツ
 
12:45 PM
adapter.getFilter().filter(s.toString().trim());
written this?
 
yes
 
getFilter is not overriden
 
editSearch.addTextChangedListener(new TextWatcher() {

@Override
public void onTextChanged(CharSequence cs, int arg1, int arg2, int arg3) {
// When user changed the Text

System.out.println("Text ["+cs+"]");
adapter.getFilter().filter(cs.toString());
}
 
13 secs ago, by SweetWisher ツ
getFilter is not overriden
 
means ?
 
12:46 PM
@Override
    public Filter getFilter() {
        return mFilter;
    }
sry leaving time, BYe
use @Override befre getFilter @Sophie
 
i am already overriding it
as you can see in my code
i did exactly you guided me
@SweetWisherツ
 
@SilentKiller
 
1:04 PM
@Sophie what u want ?
 
 
3 hours later…
4:04 PM
@Aamirkhan Ghar ja bey
:P
 
 
4 hours later…
7:41 PM
Abby T. Miller on August 3, 2015
Welcome to Stack Exchange podcast episode #66, recorded live at Stack Exchange HQ in New York, NY on July 7, 2015. Today's podcast is brought to you by The Association of Ex-Fog Creek Summer Interns (AEFCSI). Today's show is hosted by the usual suspects Jay Hanlon, David Fullerton, and Joel Spolsky, plus ex post facto Producer Alex.
 

« first day (1123 days earlier)      last day (1122 days later) »