Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Britt Mathis
    @bmuk
    for the gcm server api key
    hkmushtaq
    @hkmushtaq
    50.46.145.247
    Britt Mathis
    @bmuk
    @hkmushtaq what's your email?
    hkmushtaq
    @hkmushtaq
    Britt Mathis
    @bmuk
    just sent you the key
    hkmushtaq
    @hkmushtaq
    got it
    hkmushtaq
    @hkmushtaq
    did you already set up the android client
    Britt Mathis
    @bmuk
    I'm having some connection issues; did you get the gcm server link?
    Jacob Chen
    @jchen114
    var parameters: [String: String] = ["userId":"(major:(majorID), minor:(minorID))", "deviceToken":deviceToken, "deviceType":"ios"]
    Britt Mathis
    @bmuk
    deviceToken is my registration id?
    Jacob Chen
    @jchen114
    AsyncHttpClient client = new AsyncHttpClient();
    client.get("http://example.com/file.png", new FileAsyncHttpResponseHandler(/ Context / this) {
    @Override
    public void onSuccess(int statusCode, Header[] headers, File response) {
    // Do something with the file response
    }
    });
    hkmushtaq
    @hkmushtaq
    AsyncHttpClient client = new AsyncHttpClient();
    client.get("http://example.com/file.png", new FileAsyncHttpResponseHandler(/ Context / this) {
    @Override
    public void onSuccess(int statusCode, Header[] headers, File response) {
    // Do something with the file response
    }
    });
    Jacob Chen
    @jchen114
    client.post("http://blah.com", new JSONHttpResponseHandler)
    Jacob Chen
    @jchen114
    var parameters: [String: String] = ["userId":"(major:(majorID), minor:(minorID))", "deviceToken":deviceToken, "deviceType":"ios"]
    Britt Mathis
    @bmuk
    so I have my paramMap, now I just do client.post("icebreaker.duckdns.com", new JSONHttpResponseHandler)?
    hkmushtaq
    @hkmushtaq
    I believe client.post has a params parameter
    either that or you can set the params for the client with something liek client.setParams()
    Jacob Chen
    @jchen114
    yo
    my uilabel is misbehaving
    i don't know whats wrong with it
    hkmushtaq
    @hkmushtaq
    whats it doing
    Jacob Chen
    @jchen114
    the text is going off screen
    hkmushtaq
    @hkmushtaq
    same screen?
    did u set the width of the label
    OHHH
    I know why
    cause u set the width to a certain setting
    u've got to set the leading and trailing space to container to a certain value instead
    cause the storyboard u are using is wider than your phone screen and making the width an explicit value would make it go off the screen if it is > your phone width
    Jacob Chen
    @jchen114
    Jacob Chen
    @jchen114
    damnn
    almost done ham
    almost done
    Thats the broadcast receiver
    Jacob Chen
    @jchen114
    is that for the
    notification stuff?
    hkmushtaq
    @hkmushtaq
    yea
    Jacob Chen
    @jchen114
    true
    hkmushtaq
    @hkmushtaq
    its from when I wrote the sup android app
    Jacob Chen
    @jchen114
    we are like at the last step
    true!
    damn
    with this app we have to pitch it to the right people
    who can we talk to
    hkmushtaq
    @hkmushtaq
    lol this would be perfect for matchmaking haha
    Jacob Chen
    @jchen114
    like speed dating
    or something