« first day (1774 days earlier)      last day (3187 days later) » 

10:04 AM
coming soon to every good app that wants to be compatible in 6.0, the "don't fuck with permissions if you want this app to work snackbar!"
now with more warning icons
 
10:16 AM
we plan on putting an entire page in for each permission
bit overkill but users are idiots
 
yup
 
For the first time in my career, I met someone using paint.net for app UI design.
 
i have used MS paint on the past
it's ok if you don't have anything better at hand
 
...
ok paint.net is fine, but ms paint?! like seriously?
 
10:28 AM
Access Requested.
 
had nothing more at hand
there ya go
 
man
its like wireframe, or flow diagram :P
How will you slice elements from it?
 
won't. but helped having a vision of what i wanted to achieve
 
so, wireframe...
 
made it 5 years ago.
XD
yup.
and flow too
 
10:30 AM
O_O How old are you?
 
22
4.5 years ago actually
 
lol I am 23
I started development 1 year 10 months ago
 
I use paint.net for editing graphics for my 2d game. I mostly use it because of the transparency support is great.
 
i started 2 years ago, but had a lot of ideas
when i started studiyng things
 
@matty357 How do you slice elements for different resolutions?
hmm yea I did some programming to in college
 
10:32 AM
lost me already haha
 
But made nothing productive :P
 
what do you mean slice for different res?
 
I mean providing design elements to developer.
ldpi, xhdpi, stuff...
 
oh sorry, I dont use different res images, I re-scale any image to fit the screen size/res
 
^dat
 
10:34 AM
as long as the image has a higher res than the devices screen, then it can be scaled appropriately.
I sometimes use 1920x1080 images and scale them for the device. Works very well and saves having a different res image
I am the only Android developer here, so anything android is done by me.
 
ok.. are you saying you load a high-res image even on low res devices?
 
well, I'm not an android developer.
 
1 min ago, by matty357
I am the only Android developer here, so anything android is done by me.
isConfused
 
why confused?
 
You said you are only android developer there, and then you said you are not an android developer :|
 
10:39 AM
haha
sorry
 
lol I was about to slap myself to check if I am okay :P
anyways
So, you develop in android or just design UI?
 
I came here as a student, I had only studied Java, played with a couple of other languages. I have only been doing android about 7 months, my job role is actually Visual Fox Pro development and current software support.
I'm not much of a designer to be honest. I just put things on the layout that are required, then kinda make them look ok.
there is no design process here ha.
i use this for scaling graphics pastebin.com/BVeE2r5B so even on a low res device, only the required size graphic is loaded to memory and displayed.
 
holy...
When you implement a screen in android using xml, how do you scale the image?
slaps my face
 
berserk, i use always HDPI as minimum quality
 
but we dont only use hdpi for all screens
 
10:43 AM
I add images programmatically after scaling
 
Guess I need more coffee.
 
and we have set a maximum of 800x450 / 450x600
for programatically added images
 
It may seem weird to you, but I have self taught Android, and its a method that works for any device and any screen, takes away a lot of pissing about with different res images.
I get the screen size, then calculate the requires image size
 
so i always scale images down the desired resolution
 
I guess you have designers that do things properly haha.
I just make things work haha.
 
10:46 AM
XD
we have designers, it's just that none of our apps is made to support low-tier phones
 
Our app is meant to work for any device with android 4+
 
we do have a minimum screen size, but for technical reasons, our clients ask for complicated apps taht require a lot of screen space
 
wait a sec, are you guys telling me you don't take images for different resolutions, instead scale each and every image?
 
depends berserk
if you mean drawable/ iamges
then yes
 
I think I have about 200+ copies installed on about 5 different make devices. Seems to be going ok so far
 
10:48 AM
yes exactly what I meant
 
has anyone tried his hands on android cts ?
 
cts?
 
but only for over HDPI
 
that is fine
 
and we do it "by hand". there is no way of calculating the correct pixel / dp
each phone is different
 
10:49 AM
compatibility test suite
 
tho they will look big in hdpi phone
@ZdaR sorry, no clue :(
 
i usually ask for repeatable pattern images to our designers
 
Why is there no way of calculating?
 
@CptEric umm.. my designers use cut and slice tool
@matty357 second that
There are standard sizes.
 
1dp in a nexus one = 6px (made up). 1dp in a nexus 6 = 12px (same here, made up).
 
10:51 AM
does no one use the recommended calculateInSampleSize ? pastebin.com/BVeE2r5B
 
@matty357 I was talking about drawables. You do that stuff for each drawable?
@CptEric That is true. But there are some standard sizes in android: ldpi, mdpi, hdpi, xhdpi, xxhdpi, xxxhdpi.
 
yeah. but it never fits
 
My htc was hdpi, 1.5 pixels per dp
 
Completely correctly correct is impossible
it's an approximate standard size
 
yeah, coz of lot of devices
exactly
 
10:53 AM
yup
if i remember well, HDPI had a range of 100dp of difference
between smallest possible and highest possible
 
@berserk I haven't had to scale any yet ha
 
@CptEric wut? wut exactly?
@matty357 wut wut?
 
I think the drawables i have are for button backgrounds and things that contain text, so I use the different screen size folders values to set the text size, which scales the drawable with it. As long as my text sizes are correct, the backgrounds are correct
I use the scaling for images like logos
 
I'm not saying that I do anything correct, these are the methods I have 'made up' to combat problems I have ran in to.
Dinner time, be back soon.
 
11:01 AM
cya
@CptEric oh okay, got it
 
cya
see?
my phone has 1280x800,and is theorically XHDPI
but it's a low XHDPI
things are bigger than in a nexus 4
that is also a XHDPI
 
hmm
I faced same issue in a samsung device, I guess galaxy s4.
 
because nexus 4 has 1920x800 ( or whatever bigger res it has)
so dp can be calculated, but not as exactly as we could desire
 
its screen size was big, but poor resolution, and it was usign xhdpi slices.
@CptEric yeah
 
god, one of our clients is a jerk
requests app to be ipad compatible
we make it
we tell him images uploaded must be 800x450
to mantain 16:9 aspect ratio on tablets
uploads 1280x800 banner.
not our fault if looks shitty.
 
11:07 AM
xD
 
it's a disneyworld banner
so olaf has a derpy face now
and elsa is a midget.
 
My client is pissing me off for an icon from 2 days.
Everything was fine.
Then he said, make these changes in it.
With that changes, the icon was kinda creating an optical illusion.
 
anyone know how true or serious this is? msn.com/en-gb/money/markets/… I don't really do markets and stuff. Should i take the advice and stock up?
 
Are all sides of red box parallel to its opposite sides?
@matty357 No clue, I don't do that stuff either
 
looks like right side is bigger
 
11:16 AM
haha exactly
 
i don't do that sutff either and where i live we produce 50% of the national meat , fruit and vegetables exports
promise i won't starve.
 
See, all sides are parallel.
 
yup
 
this made me laugh, unlucky ha. msn.com/en-gb/news/world/…
 
To fix this, I shortened the white play icon inside the icon. But the client said, make it large...
I just want to slap him hard as I can.
 
11:18 AM
XD
add a darkened outset color
dunno
:(
 
anyone ever had server aborted SSL hansshake when pushing to github?
 
nope, sorry
 
nope, sorry
 
nope, sorry
 
RED - try syncing via http rather than ssl
 
11:31 AM
i love abstract classes
 
worked eventually, I think our office internet is going tits up
just moved in as well, not good signs
 
Cap - I've done that more than a few times - usually with Fragments/Custom views though
Where about's in Spain do you live btw?
 
Lleida, north-east.
 
Ah, my parents live in Xabia, so I visit pretty often
/Javea
 
11:46 AM
ooh , that's cool. south of valencia.
 
Hurray!!
 
congratz!
 
It's like... a whole nother person!
 
you made a very cute fork();
 
Congrats :)
 
12:01 PM
time to go lunchç
 
Thanks :)
And I am off again. Family time for the next two month. I guess I will be around some days though :)
 
okay!
 
Yay Warren, glad everything went ok. Congratulations.
check out the spacemen haha ustream.tv/channel/live-iss-stream
 
CONGRATS MAN @warren! :D
enjoy your family time :)
 
12:05 PM
God I love it here.
 
lol
 
congrats Warren :)
 
amazing, congrats warren
 
btw there was some discussion here about f.lux so I started using a similar program, redshift, recently and it's really great :) thanks for that discussion
 
congos Warren :D
 
12:38 PM
Suddenly I can't connect to my carrier anymore, does anyone think it's an issue with the dev preview? I don't think so, because it's worked all week, and this isn't the first time my phone died and I had to turn it back on, but now it's not working.
What's really weird is that I had data on my way to work this morning.
Yay Warren! Sorry, late to the party.
 
Adam, no cell connection at all or no data? tried airplane mode on+off?
I've sometimes issues with mobile data which are fixed after toggling airplane mode
 
WHAT THE FUCK
LOL
IT WORKED
 
:)
 
At least it says I do. Text still won't go out. It might need a few seconds to do some background work.
 
you can use *#*#INFO#*#* and click phone info to get detailed info
 
12:45 PM
gah I just went to send a damn text.
 
@Lakhan denied for low A:Q ratio
 
@WarrenFaith congrats
 
@Lone_passerby this room requires a min 100 rep and some Android answers
 
codeMagic I think I found you a friend
I have 200k rep and I'm still an idiot. — Mysticial 12 hours ago
 
Good morning, all
 
12:48 PM
Haha Mc
 
o/
 
Lolz...thanks, Mac
 
Morning to you, afternoon for me cM
 
I still want to call you brodeMagic after last night.
But I don't want people to think bM stands for bowel movement.
 
Go ahead, Mac
 
12:49 PM
work is so dam boring today, not done a single thing, just ran ccleaner, spybot and an antivirus scan on someone's machine
 
:D
Congrats, Warren!!!
 
I hate work colleagues that say, "my computer is really slow, can you make it fast for me?" yeah, just let me get codeMagic's magic wand and make that happen for you, OR you could stop going on bullshit sites and getting your machine infected
 
NO ONE TOUCHES THE WAND!
 
"bullshit sites"
Don't watch porn at work, folks.
 
"bullshit sites"
 
12:53 PM
speaking of antivirus, AVG got back to me and otld me they fixed their detection for my app/whitelisted it
 
Don't be an ass hole at work folks
 
matty, install them internet exploder 6
 
exploder :D
 
googling....
lol
 
Just set up a list of blacklisted sites and when they try to navigate to them they get the gif of Newman from Jurassic Park going "ah, ah, ah!"
 
12:54 PM
I shall just put a slice of bread in the cd-drive and make breakfast too.
haha I made a mistake
 
Working silently at desk when disk drive pops out perfectly toasted bread. How high am I?
 
What do cows drink?
Mc, its the future
 
Fucking Toss Pots!
 
I still can't send a message dafuq.
I could try changing hangouts to my default sms app and see if it's an issue with messenger
 
hangouts apparently deleted a message I received yesterday :/
 
1:07 PM
Dang.
 
@codeMagic No need
 
But it's fun to say
 
HaHa
you could say Wank Bag
Piss Pot
Nob Jockey is a good one
 
But I'm not allowed to say toss pot?
 
meh
Nob Jockey is better
 
1:14 PM
Doesn't sound as cool
 
Nob Jockey sounds..bad.
 
Its like a horse jockey, but he rides a nob
 
I wish I could understand what you guys are talking about. :-|
 
Anyone know of any standard which says you should use "values-sw480" over "values-normal" ?
 
English insults haha
 
1:18 PM
Which one is preferable oh knob gobblers?
;)
 
haha
 
Not sure, Graeme. I guess it protects you if there's ever a change in what 'normal' represents.
But I don't think that would happen?
 
Hey @netpork ; what's up buddy ? long time! eh ?
 
oh no, again a message vanished from hangouts (stream) :/
 
vanished ?
 
1:28 PM
yes
got one, replied, hit back, open stream again, both vanished
 
Really ? I mean; you must have deleted...
 
yes, really
in the contacts list I can still see the excerpt from my reply
 
I was able to send a message through hangouts now. Must be an issue with Messenger.
 
just disabled Messenger, let's see if this stops the issues
Adam, yeah think so, too, started yesterday after the update where Messenger became active
 
Yeah, size bucket boundaries will never change
only new ones will be added
 
1:30 PM
I don't like that everytime I go to the main screen I get a snackbar 'signed in as...'
like, I GET IT
I think that's a bug.
 
^
 
What update with messenger?
 
got one via Google Play
 
Oh. Well can I rollback? lol
 
previously the app was installed but disabled
 
1:32 PM
Are you using the dev preview?
 
yep
 
do you think that's part of our problem?
The playstore listing says updated on Aug 17. :/
 
could be although I don't see how
 
Just kidding my message didn't go through on hangouts.
It said it did, but now it's gone, kinda like what you said. Maybe they're not going out at all?
but the person responded? wtf is going on here
 
I also got the tick mark below my message
gonna check logcat now
 
1:36 PM
I might flash this back just to see if it's an odd 6.0 bug. But if it is they need to know
 
mr5
Hello. Uhh...
Anyone have an idea on
how could I make an extended `LinearLayout`
predefined through XML with children already,
that I'm already able to access each child instance inside of that extended class?
 
It's a pretty well documented concept
must be 100's of tutorials out there on how to make a basic custom view
 
I'm confused. You mean like <LinearLayout><TextView/></LinearLayout>?
I'm gonna flash back to factory settings. I don't need the dev preview anyways if M is out next month.
 
mr5
@McAdam331 Yes, except all of Views are extended.
 
Well if it extends from View, you could still access the instance using findViewById() right?
 
mr5
1:48 PM
@Graeme Uhm, yeah, I think I'm still confused on how to explain it well. I'll try to clarify it
But this time, I'm limited only to getChildAt because I'm accessing the View's inside a LinearLayout
 
I don't understand what the problem is?
 
Sure, if you know the index. I think findViewById is easier, unless you're iterating through them.
you're not limited to getChildAt.
 
mr5
Uh yes you're right.
But the concept is, the LinearLayout is predefined in XML
 
Right, I get that. I do that all the time.
 
mr5
and I think there's no setContentView for LinearLayout
 
1:52 PM
I think? Unless I misunderstand what you mean by predefined.
 
o.O
mr5 - addView() ?
 
Well setContentView is for the entire layout file (XML)
and findViewById() will dig through that entire layout file to find your id. It doesn't need to be the base tag.
 
setContentView is a method in the Activity - if you want to add children to a LinearLayout, you inflate them and then add them using addView()
 
mr5
@Graeme That's what I have used before, now I'm trying to create the LinearLayout through XML
 
mr5, I'll make you a basic gist.
 
1:53 PM
... I have no idea what you're on about
 
and you can tell me if it's on the right track
 
mr5
I think I'm better of putting my code in paste.org
so you could get some idea of my problem
 
kay
 
Would anyone like to ring my office and pretend there is an emergency, as I am very bored and kind of ran out of work to do.
 
1:57 PM
@matty357 hahaha
 
Matty, level 10 emergency? Do you need me to cry?
 
Cry, then laugh, then cry, then sob, then say ask for me
 
"E/DataBuffer(10017): Internal data leak within a DataBuffer object detected! Be sure to explicitly call release() on all DataBuffer extending objects when you are done with them. (Owner:size=1)"
 
mr5
@McAdam331 @Graeme

XML
http://www.paste.org/80043

Java
http://www.paste.org/80044
 
1:58 PM
only suspicious logcat message I've found
 
@McAdam331 Thats ace haha
 
mr5
@McAdam331 @Graeme

XML
http://www.paste.org/80043

Java
http://www.paste.org/80044
Oh sorry for the delay. My internet is very poor like my English skills :'(
 
@WarrenFaith Congrats!
 
sending/receiving messages works, but after exiting stream they're gone
 
LOL your english skills are fine.
 
1:59 PM
aaaaaaaah! I see
 
mr5
what did you see?
yay! tnx :)
 
Did you see my gist? I think you can still use this.findViewById() inside the View class itself. Am I right, Graeme?
 
In all 3 (4) constructors, add a super(); then an init();
 

« first day (1774 days earlier)      last day (3187 days later) »