« first day (1523 days earlier)      last day (3430 days later) » 

12:11 AM
:O
 
LOL
Gets games. NOOOOPE
 
lol what?
 
Good day android programmers
 
I get 5% cash back until Jan 1st at Amazon so I've been binge shopping
all the great deals
3 games for $100 and the AC Unity Bundle for $330
 
12:21 AM
Dave, you're getting games before the console :P
whole weekend without gaming :(
 
oh no I already have the console
That's just the play and charge kit
rechargeable battery + usb charging cord
I've got those 3, AC Unity, Minecraft and AC 4, though I beat that already on 360 so never downloaded it
Minecraft on the xbox one is hilarious, but the worlds are HUGE
Haven't found the end of it yet.
Anyway I gotta run, time to buy a white elephant gift then get drunk or something.
Try not to curse at people requesting access.
 
brb sitting down to dinner http://t.co/oJarwYYxf1
 
-.-
fuck you dave
:D
 
oh oh oh. Ima flag you carl.
flag the shit out of you!
 
Ima flag you back fucker!
 
12:34 AM
u wat m8?
 
lol
wow, that guy...
well at least he's down to -13 now
 
I starred that with the explicit hope that it gets flagged
aaand I'm out.
 
Weird. Using the android media store, for some reason it can't decode files from hangout attachments. Only photos & some other apps
 
later dave
 
@Jorgesys you've been given write access, welcome. Please read the room rules
 
12:39 AM
btw
the news article I posted a few days ago?
yeah I knew it was fake
 
Hello guys im new here!
 
@Jorgesys Welcome!
 
hellows
I think I've seen some of your answers
always nice to have active SO people join chat
 
Welcome @Jorgesys
 
Hello and Welcome @Jorgesys !!!1!
 
12:46 AM
someone is random staring again
 
Hmm i have all the right permissions. Anyone know of any hangout bugs?
 
do we encourage that Ahmad?
or discourage it?
are we allowed to swear now?
 
I'm just going to unstar them
 
whats the current theme, stars? :D
 
12:49 AM
the stars board on the right ->
 
the current theme is not swearing at users
 
someone keeps randomly starring some stuff
 
I think they want some of the hats of Winter Bash
 
Lol
 
oh it's the sumo judge hat
 
12:52 AM
actually not a bad idea, could be it
 
> give stars to 8 users in chat
yesterday was definitely better than today
at least so far
 
o/
 
silly lollipop :O
 
12:56 AM
I'd say that my website is coming along nicely. It's super responsive.
 
lol
 
and the typography!
classic
 
I'm really going for that 1990's look. Trying to get people to feel nostalgic
 
don't forget the blink tags then
and the marquee
 
Caroling w/the family
 
12:59 AM
:D
first thing I noticed: rocking that beard.
 
yeah, need to shave it down to a goatee again
 
nah leave it
#noshavedecember
 
Second thing I noticed, the little kid looks to be about as tall as the guy in the background.
Probs a hill
 
we're on stairs
 
oh shit. It's the 17th December
 
1:01 AM
16th
 
pff, europe is more future oriented
you americans live in the past
 
oh shit! Ahmads from the future
 
afk for a bit, pulling an all nighter and I should really get something done
 
cya Ahmad
I'm out too
 
 
1 hour later…
2:07 AM
@CarlAnderson Who's the old man?
Oh, this was over an hour ago...I'm a little late
 
2:28 AM
@Nits007ak Welcome. Please read the room rules room-15.github.io
 
 
1 hour later…
3:41 AM
so lonely in here
 
Majority of the people here are coding.
 
@Strider welcome. Please read the room rules room-15.github.io
 
@codeMagic ok sure
@codeMagic Can i ask my question ?
 
4:04 AM
You don't need to ask to ask...just ask. Just don't only ask
But I don't know if I will be much help because I need to get to bed
So I will talk to you all later
 
What's yo question Strider? I'll answer if I know what youre talking about
 
@eski You don't need to feel that way anymore. You're welcome :)
 
yay
 
4:21 AM
@LawGimenez i m passing json and its working nice.. but it take so much time to give me response
@codeMagic
And good way to execute it nicely .. !
 
that's a pretty vague question strider
 
@eski but i dont know why it happned like this..! because json is not so much complex task
 
the json parsing is taking too long, or the json creation?
 
may be you know much better things to pass json .! so please tell me.!
@eski json is not so much long.
 
you have to give more detail as to what is taking so long
have you timed different parts of your code?
that is where I'd start
 
4:35 AM
ok let me timed
 
Check the server first for the response time
 
@Cjames its working fine..! because same webservice nice execute in IOS
 
how large is the json?
there are a lot of questions to ask before we can start to help you
 
ok np for that.. i m ready to answer you
in that json there is 80 Array data
and in single array there is 70 object..
 
so there's 5600 json objects?
that's why
 
4:37 AM
@eski yes
but same things didnt take much time in IOS
 
it's probably a faster implementation
 
@eski any idea over that ?
 
are you restricted to json?
and why do you need 5600 objects at one time?
 
can you get the data just by Batch? @Strider
 
@eski its one wall page in that all data i need.
@Cjames Batch means ?
 
4:40 AM
are you able to post a gist?
 
in order to prevent from taking long
 
@eski no i cant
@Cjames ok let me check that batch
 
@Strider like facebook feeds. first you load like 10 data's and when you pull to refresh or "Load more.." then loads again another 10 data
 
then it's hard to give anything other than vague suggestions
 
@Cjames yes thas preety good things let me try this
@eski no dude not like that
 
4:43 AM
@Strider well good thing to know. Try to implement that and let me know if that helps
 
@Cjames ok sure
 
Sorry took my lunch. I've experienced that before, huge json
Just like Cjames recommendation, you need to use offsets
 
 
1 hour later…
6:00 AM
@LawGimenez ok dude
 
6:17 AM
Yo People!
 
6:32 AM
Good Morning *All
 
Morning
 
mr5
Hello all :)
@Cjames zup bro! :)
 
6:49 AM
Hoe hoe hoe yo @mr5 long time no see ,Merry x-mas by the way
 
mr5
@Cjames Yeah!! Been so very busy lately :) Merry x-mas to you too :)
How do you do?
 
Fine still waiting for the 13month pay
 
mr5
still in the same company?
 
yeah...
 
mr5
7:06 AM
Still into mobile dev?
 
yeah mobile and website
 
mr5
I've been looking for a job right now for about 2weeks..I still can't find any. I don't want to go home this Christmas
 
7:48 AM
that sucks man :(
 
Ahmad, Can I get phone number and email as well from a single intent ?
Setting multiple types doesn't work for a single intent. It overrides with last one.
 
mr5
thanks Ahmad for sympathy
Are you gonna pass the whole contacts database?
 
No, I just need selected contact's email and number.
 
Hey guys, I made a n00b github error. The title of each folder is 'Created the repository'. Any way I can change that?

https://github.com/Cawfree/ejml-f
 
mr5
Why don't you just pass the email and number as a string like a keyValuePair?
intent.putStringExtra("email", "blabla@blabla.com");
intent.putStringExtra("number", "1234567890");
??
 
7:56 AM
whaattt ? I dint get you.
My issue is not with storing these data. It's with while retrieving it.
 
mr5
I think I didn't get you also. What exactly do you want to achieve?
 
I have an application where user can add his/her emergency contact. Either he can manually enters it or he can browse it from list of contacts stored in his phone.
That's it.
 
mr5
@TheLittleNaruto I think it is achievable with the solution I have given?
 
mr5
You could retrieve it with
intent.getStringExtra("key");
 
8:07 AM
I dont understand
 
You two arent on the same page
 
mr5
So first, you do the storing thing, maybe after the button is clicked, then you retrieve it when returning from the result of another activity
@LawGimenez I think we're confused with the language used here ;)
heeeey
 
Im also looking for a job, for 2 weeks. We should get a drink
 
mr5
@LawGimenez Cheers bro!
Where are you searching for a job?
Any room creator online and active at the moment? My friend Royi Namir would like to join.
 
Here locally.
Or some freelance stuffs.
 
mr5
8:20 AM
The freelance stuff is kinda tricky. They will post a job then will not respond for the potential worker.
 
yeah kinda true
 
mr5
After sometime, it will be closed with 0 hire rate
 
Are you doing freelancing now?
While waiting for some job
 
mr5
I have submitted over 6 application form but still no one reply
Nah, I'm doing nothing now. Really bored.
 
All Android dev positions?
 
mr5
8:23 AM
I have submitted app forms from different sites like odesk, skillpages.
I'm interested with all kinds of position I know :)
 
Right
 
mr5
How about you, are you in freelance or something?
 
Nope, just creating my own app so I could publish it or something.
Im kinda overqualified, all the job postings are all entry levels. o_O
 
mr5
Don't you like to work there? How I wish I was you. I'm really looking for whatever dev position is available.
...badly
 
I want to work here yes. Im still waiting for 2 results
Or 3
 
mr5
8:33 AM
Where do you get the job? local?
 
morning
 
Yeh local companies here and some startups
How bout you and me create some project, just to get you out of boredom
 
mr5
o.O sounds interesting...
but I don't have internet connection in my apartment :)
 
Go to the cafe or something
 
mr5
Yeah..I'm always here at the cafe
 
8:36 AM
You got a workstation right?
at home?
 
mr5
Yepp
I was gonna buy a WiMax but have wasted it in internet cafe instead.
 
You own a cafe?
 
mr5
fuckingdecisions
I mean wasted
lol
 
If you own a cafe, youre fine with no job
 
mr5
No I don't own one. I should probably practice my English more... =P
 
8:41 AM
Haha so lemme know your plans
 
mr5
I don't want to go home this Christmas.
And I'm out of imagination to think of new ideas
 
Same lol
 
mr5
And I want a fucking job right now because I'm about to be broke. lel
After spending two weeks with no programming activities, I feel I just have lost my skills already.
 
haha I feel you bro
 
mr5
Whats your plan then?
 
8:47 AM
Get a job and finish this project of mine which I lack the motivation
 
mr5
Where could I buy a motivation? please tell me
 
Beats me
 
mr5
What project is that again?
 
Mine, just a little android app
 
mr5
About?
 
8:50 AM
And hopefully use some in-app style to support my poor soul
I'll tell you if youre interested
 
mr5
Please tell me the exact description of your idea.
How would you do that?
 
Where?
 
mr5
haha
here.
Or just the summary of it
 
9:07 AM
Morning guys/girls :)
 
Yo Pedro
@PedroOliveira Add "/babies" too xD
 
Yeah forgot about the babies. ahaha
 
9:49 AM
Hi All... Anyone online ?
 
We're in Matrix... everyone is online...
 
ah okay... I have a small doubt regarding SearchView
Has anyone worked on it?
 
Just tell us the doubt already. Someone who worked with it or know the answer will let you know trust me
 
How can we change the search icon which is inside the SearchView ?
 
10:04 AM
10
Q: How to change the default icon on the SearchView, to be use in the action bar on Android?

ValdemarI'm having a bit of trouble customizing the search icon in the SearchView. On my point of view, the icon can be changed in the Item attributes, right? Just check the code bellow.. Can someone tell me what I'm doing wrong? This is the menu I'm using, with my custom search icon icn_lupa. But wh...

Not that hard do search on google.
 
No. Not that. I will give the link
that's not what I want.. Wait I will give you the link with an answer that did not work for me
84
Q: Changing the background drawable of the searchview widget

MartynI'm trying to change the drawable that sits in the Android actionbar searchview widget. Currently it looks like this: but I need to change the blue background drawable to a red colour. I've tried many things short of rolling my own search widget, but nothing seems to work. Can somebody point...

Check the answer of Abdul Rahman... I have posted the comment with my issue
 
What searchview are you using? v7?
 
yes v7
 
And have you tried reflection to change the icon?
 
reflection?
I did try to change by the solution given in the above question... It did not work
 
10:11 AM
That's a simple thing to do with reflection. You just get the searchview and you drill down until you get your "imageview" that it's containing the search icon. Then you change it. Let me get you some stuff to work on
 
This issue occured after I updated my sdk
 
So was it working before?
 
yes it was working before
 
Have you change the theme of your app?
 
I didn't have to change that icon.. Now even If I get the id of the ImageView and try to change it.. it's not happening
No nothing changed in my app
 
10:14 AM
in what line do you get the error?
 
It does not show any line number in console.
It only shows "Style contains key with bad entry : 0x01010479"
and the image is not changed
 
That means that you're trying to find something by it's Id that doens't exist. Have you cleared your project?
 
Oh yay we had another meta.SO appearance last night
 
yes did that. Should I try to clean the library project too?
 
10:18 AM
Could you show us the code you currently have?
Hi Warren
 
sure. give me 2mins
 
be warned that Samsung, once again, fucked up everything: code.google.com/p/android/issues/detail?id=78377
was reported in an internal mail that Samsung had a package name conflict with the support library on 4.2 devices
 
Wasn't that the toolbar function?
 
Can I post code here?
 
10:20 AM
No
 
Use pastebin or something like that
 
I don't see any problem. Make sure you clear all your project to rebuild R again.
 
yes done. No Success :(
 
Hum. Lets try something else. Change the Imageview..... line to ImageView searchIcon = (ImageView)searchView.findViewById(searchItem.getContext().getResources().getIde‌​ntifier("android:id/search_mag_icon", null, null));
 
10:35 AM
there is no getContext() for menu item
 
I would just grab my own image and place it there... done
 
how??
 
wait, what is the actual problem? Setting a custom image or getting the imageview reference?
 
setting custom image... after getting reference
 
10
Q: How to change the default icon on the SearchView, to be use in the action bar on Android?

ValdemarI'm having a bit of trouble customizing the search icon in the SearchView. On my point of view, the icon can be changed in the Item attributes, right? Just check the code bellow.. Can someone tell me what I'm doing wrong? This is the menu I'm using, with my custom search icon icn_lupa. But wh...

check the answer with 32 upvotes
 
10:55 AM
Sorry. I meant searchView
ImageView searchIcon = (ImageView)searchView.findViewById(searchView.getContext().getResources().getIde‌​‌​ntifier("android:id/search_mag_icon", null, null));
 
@GurumoorthyArumugam Rejected for using chat as tech support only, not particularly good q:a ratio
@everyoneElseOnTheAccessList I'm removing everyone for now, since I'm not sure how many of you are even around
 
Warren... It refers to search_button. I have to change for search_mag_icon
 
11:11 AM
Ohh Man, This is the time of celebration. I just reached to 3k reputation. Time for some close votes , hihihihi xD
 
Pedro... did that.. Now it shows NPE at "searchIcon.setImageResource(R.drawable.header_search);"
 
That means that there is no image with that id :\
 
nope. It's there.
I have set the same image for search_button
 
11:27 AM
I'm not sure how is your code but here that code is working. Using v7
 
hmmm..
 
You said you could change search_button'
?
 
yes
its changing
I tried doing the same for hint icon it didnt work.
 
morning
 
Call searchView.setIconifiedByDefault(true); before you try to get the icon
 
11:40 AM
app crashes
java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.ImageView.setImageResource(int)' on a null object reference
 
use a debugger or the view hierarchy viewer to investigate the layout you have
running into one NPE after another and just guessing will not solve anything
 
I hope you're not calling that method on a collapsed view. That would be newbish...
 
cool, I got flagged by a Samsung fan...
nice
 
Pedro. It is collapsed. Once I click on search icon the search view would expand
 
But when it's collapsed there is no imageview to change. you can only change the imageview when you opened it. I hope i'm not saying anything wrong.
 
11:49 AM
do anyone used opencv?
 
Yes I did try that.. It still says "java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.ImageView.setImageResource(int)' on a null object reference"
 
Just debug and see the view hierarchy
 
okay
 
this is where my icon is located
 
the ImageView is null
I think some problem with getting reference of that imageview
 
12:01 PM
I will start to scream: Please STOP EVERYTHING and START DEBUGGING!
 
I debugged and could find only this
 
breakpoint where the view is created/used the first time, go to the layout and navigate in the debugger through the layout and FIND your view. Than you know where to go in code to find it
probably like pedro said: it is hidden in some parent views or so
btw Pedro: I would try to use ViewGroup as casts instead of LinearLayout. Less specific and less likely to break on later updates
 
That was done by the IDE warren.
I don't even change the code. I was just drilling down in the debuger and opened the View on another window. That print is the title of the inspection
 
ah ok
 
12:56 PM
how much does google take from in-app purchases?
 
30% afaik
 
but I'm allowed to implement my own payment procedure, or I must use Google's like apple does?
 
If you use other payment procedure your app might end like the amazon one
was it amazon? don't remember ahha
 
?
what happened to it?
 
portuguese link
the concept was different. Amazon has an app that was a store.
 
1:02 PM
yes, I'm not selling apps
 
Google toc said that "you can't have an app whose primary objective is to be a store". Amazon claimed "this is not our app primary objective".. Google replied... "ok, we will change terms and conditions, brb"
5
 
I'm selling courses
 
tac* terms and conditions..
 
> Segundo a Google não é permitido que existam aplicações que levem à instalação de aplicações nos dispositivos Android que provenham de fora da Play Store
 
I'm not sure if you can use another payment method. My guess is no.
 
1:04 PM
Apple is very clear: if you're selling digital goods, use IAP; if they're real world goods and services, you can use regular methods
is this a bug?
the buttons are flashing
I can't get sick of this song
 
1:21 PM
Guil, the way we've interpreted those Play guidelines is as follows. With our iOS app we take the Netflix approach: we don't mention pricing. To get into the app you have to have an account you setup on the main website, the app is just for consumption. With play we are allowing account creation from the app, and the app talks about pricing, and subscribing to pricing, which just opens a web view and allows them to enter their billing details that way.
Since we don't want to lose 30% in IAP.
 
so the point is: google does not force us to use IAP. correct?
 
Yes, that's the way i get it - you can redirect your app to a website to complete payment, which apple does not let you do.
 
when you say "redirect to a website" does it mean opening a browser?
or I am allowed to make my own activity to handle payments?
 
That's where we argued a little bit and it got a bit fuzzy, right now we just open an activity that is a webview, that handles our payments
 
hmm.. I suppose since it's within the app, it doesn't matter if it's a web view or a native form.
the key matter is whether the purchase is made inside or outside the app
 
1:43 PM
Time to go home, Cya tomorrow People!
 
bb
 
Desoldering pumps are the best things ever
Managed to transplant an XBox 360 analogue module into my broken GameCube controller without messing it up
 

« first day (1523 days earlier)      last day (3430 days later) »