« first day (1287 days earlier)      last day (3653 days later) » 

12:07 AM
how come i never come across such
while working with fragments how would you use oncreate and oncreateview differently? what type of code goes into oncreateview, if i initialise all variables in oncreate??
 
All View related code goes into oncreateview
 
cant edit, i ment im initialsing all variables in oncreateview, what do i use oncreate for
 
that complete lifecycle diagram is exactly why I hated the introduction of fragments
 
oncreateview is called everytime, so initialising all variables everytime wouldnt that be too heavy?
 
called every time?
Do you mean everytime you add a fragment?
 
12:17 AM
how does it work? i have 3 fragments in a left-right type slide screen
 
Ahmad, how does it work?
 
slide screen?
what?
 
na i ment the lifecycle
hang on il read up
 
and the ray of wisdom reveals itself through the clouds
 
Just finished a library that I open sourced. Now to integrate said library into my app, and I'll be doing great!
 
12:22 AM
what lib?
 
It's one that I doubt will be of any use to anyone who hangs out here, but it can be found at github.com/kd7uiy/trusted-qsl
Basically, it's a library to upload to an online service I use, related to Amateur Radio.
It's not the prettiest library I've ever used, but it'll do the job, and should be easy enough to integrate into anyone's program. I even made it pure Java.
 
> This module is multi-licensed and may be used under the terms of any of the following licenses
that's possible?
 
Did I do that? Strange...
 
GNU and MIT are entirely different licensing models
I doubt that you can do that
 
I prefer the MIT license, will have to look carefully at what I did...
Ahhh, I see what you mean. The particular module you mention I grabbed from another open source project, without modification.
 
12:27 AM
Ahh
 
I'm just going to leave it alone...
 
yeah just noticed that as well
 
Two of the 7 classes I grabbed from an external source, one that is openly open source, and another one that seems to be open source, but didn't specify a license. I attributed the original source for that one, I'll have to suppose that's good enough...
It's taken directly from a book, from the author's blog... If they wanted to keep it proprietary, then that's not the way...
 
Yeah I'm sure they won't mind then
Another thing though, you should delete commented out code, since you're using a VCS.
Specifically referring to this
 
Yeah, I thought there was a fair chance I was going to put that back in, so I left it commented, but it's reached the point now that I doubt I'll be using it, so...
Does the instructions to include it in your own project make sense?
 
12:36 AM
Yeah looks good
 
Good to know:-) Thanks!
 
:)
 
Wonder how long it'll be before someone besides me uses it...
 
Last thing: you should prevent anything that is tied to your development environment to be added to your git repository
for example the ".settings" directory
 
Just found out that I've only got about 2 weeks that I can devote to programming, then I'm going to have a few months that it'll be tough.
Hmmm. Good to know, I'll get rid of that right away.
 
12:40 AM
and I believe the .classpath and .project files are from eclipse?
what are you doing in these next months? (if you don't mind asking)
@FabianCookless Welcome. Please read the room rules.
 
Busy with my day job.
 
Hai!
 
Ah I see
yo CG
 
Talking about projects. Have you had any time to think about the map drawing/coloring one?
 
A little bit.
Mostly only to think about how it's a shame I'm not going to get to it much earlier...
 
12:44 AM
Erm I meant @FabianCook, not Cookless. Sorry, copy paste mistake.
 
I'm still grasping around for a project...
Haven't found anything that really grabs my attention
 
If you want to take it on, I can still provide some guidance for it, but not a whole lot more than that for a while...
I'm hopeful I can finish the next two tasks with my main program before I become really busy, then I'll be in a holding pattern for a few months.
 
I would like to do that. I'm just not sure that what I would like to use it for is the same as what you do. That means I'll probably come up with a completely different interface that might not be useable for your use cases.
 
Try to make something that can be used fairly generally.
If it makes a specified size of Drawable, I can probably use it.
 
hmm...I'll look at it
 
12:55 AM
Thats fine, I realised.
 
I must say, it's nice to have an entire library that's only a few kBs...
There, removed all of the setting files, and I even added the jar file.
 
should .classpath and .project not be in VC?
 
1:12 AM
in Charcoal HQ on The Stack Exchange Network Chat, 1 min ago, by Doorknob
@PearsonArtPhoto I can see that you handled that flag. This is highly troubling
^ @PearsonArtPhoto FYI (see transcript for context)
 
LOL.
And what was flagged? Drumroll:
in Charcoal HQ on The Stack Exchange Network Chat, 8 mins ago, by Seth
@Doorknob This is so offensive.
 
That was my flag. :P
(we're... testing stuff. :P)
 
Hmmm...
There's an awful lot of mods on the main SE site, I doubt a flag goes for longer than a few minutes without a mod seeing it and responding appropriately...
 
in Charcoal HQ on The Stack Exchange Network Chat, 19 secs ago, by hichris123
... so basically what you're saying is anyone who's 10k and above on SE can see who flagged something, and who handled that flag?
^ @PearsonArtPhoto That's why we were testing.
 
For starters, anyone who's a moderator can see any flag on the main SE chat server.
 
1:17 AM
Yeah, though neither Doorknob nor I are mods on SE.
 
@Doorknob Oh welcome welcome
@Code-Guru nope
 
how come?
 
Oh hello!
 
Everything that has to do with your development environment shouldn't be in your git route
 
Hai, Dorknob!
 
1:24 AM
because people will either use another IDE than you are (and won't need the eclipse file you generated) or it might cause trouble if these files aren't overridden
 
@Code-Guru Hey, I remember you from when I used to talk in Java chat! ;) Long time ago...
 
@Ahmad hmm...I put them in there because it makes it easier for others to import it into the same IDE.
@Doorknob yup
 
Won't eclipse generate them automatically if you import the project?
 
You have to create a project "from existing source" if those files aren't there.
Those files are the project, essentially.
 
Now, to try and write a new fragment layout...
 
I'm a moderator, anything's possible being a mod;-)
 
lol
 
afaict, .classpath and .project don't have anything specific to the underling file system.
 
I hate to say it but when people post a (less explanatory) dupe of my answer several minutes later, I want to strangle a unicorn
0
A: Clicking back button causes force close / NullPointerException

codeMagicdata is null. You need to check before that line if data is null. Since you are pressing the Back button, you aren't sending an Intent back with setResult() like would normally be done. public void onActivityResult(int requestCode, int resultCode, Intent data) { super.onActivityResult(requestCod...

 
not a cat?
 
1:28 AM
It's true that you can start off easily when those files are committed
but that's not the point
I'm just saying that a library shouldn't include files that might be out of use for someone with a different dev environment
 
Nope, a unicorn
 
Just support all dev environments!
 
It's not that bad though
so no worries
it's just a personal preference I guess
 
perhaps
nice to know what other's think.
I try to be careful about anything that refers to an absolute directory on my system. That's always a good way to break things.
 
Yeah that's really bad, always keep things as general as possible
I was working on an open source project and I just hardcoded the paths in a hurry just like that
Fortunately the other collaborator was running a unix based system as well. But the whole application wouldn't have worked if he where on windows (because of the path separator)
Later I changed it to work on windows as well by using os.path.join(path1, path2)
 
1:47 AM
doesn't windows support / as a path separator these days?
0
Q: startActivityForResult does not send extras properly

marjanbazI have a quiz game with 15 levels. After each level I present a popup with some info (game level, and some level rules). After level 15, a present final popup with info on how many points user has won. I use startActivityForResult to open the popups and send some extras and it works fine, until t...

ugg! A switch with almost 20 cases!
 
 
1 hour later…
3:05 AM
I should try that kinda switch hehe
 
 
1 hour later…
4:31 AM
morning
 
4:43 AM
morning
Sigh. Why can't people just read the documentation.
0
Q: Why/when do we need using fragment in Android

user1820526Sometimes I have some concerts about fragment. Before Fragment released, I often use Activity and View for develop Android. In Android ICS+, we have Fragment. I read many tutorials "how to use Fragment in Android" and I see that, Fragment just a View have lifecycle like Activity. So, the question...

 
may be they don't like to read :P
 
5:26 AM
 
> "What would be a crazy number?" Ev asked.

I blurted out the biggest number I could possibly imagine: "Five hundred million dollars."
How things changed
 
I'm surprised that was the biggest number he could imagine
 
5:47 AM
 
5:59 AM
 
6:23 AM
lol
 
6:52 AM
 
what about it?
 
Gah, y u no show image properly
That's where I was all last night and this morning
 
ANZAC related?
 
yeah
 
Not sure why you've tagged me :P
 
7:45 AM
 
good morning
 
afternoon
 
8:43 AM
When someone misreads the spec...
 
9:20 AM
o/
 
OLD! Repost!:D
 
SHH
:p
 
 
1 hour later…
10:31 AM
@johnsakthi rejected. Your chat history shows that you join just to ping and ask for tech support.
@Prog rejected. You join multiple rooms to ask the same question, you do random pings and you paste code into chat.
 
\o
 
11:29 AM
@user406090 rejected for using default username.
he got hardcore banned for 6h 30 minutes
chat profile link is converted...
@Pr0bability rejected. You seem to join chat only to get "fast and easy" tech support.
 
11:59 AM
warren: Illaya is a known sexist troll
what did he say this time?
he was harassing someone from the js room just days ago
 
he created a "All in One Room" and pinged everybody and everyone in the C# room to join
he nearly got an insta ban... never saw 35 flags hovering over my avatar :D
 
LOL
 
 
2 hours later…
1:33 PM
hallo
 
hey!
 
:D
whats new
 
1:49 PM
just got this from a colleague: codebabes.com (who clicks on it and complain about a possible not given "NSFW" is just plain stupid!)
 
:O
 
haha
rofl
"sexy like me "
wow, the quiz is pretty extreme!
 
2:23 PM
 
2:34 PM
who the f stars everything?
 
some troll
 
This is not funny.
Are people that are not on the write list allowed to star stuff?
 
not that I know of
but I have a guess who is to blame
 

 English-speaking Bulgarian Developers

New Rules - must read! A room strictly for English-speaking Bu...
Went there
and stared a message stuff
(and I don't have write access )
So I guess I know who's responsible for the trolling here. Calls for a meta post.
 
there seem to be a bug... I can star in the transcript but not unstar
to unstar I need to join the room
 
2:40 PM
Hmm I can't star in the transcript
There definitely seem to be a few bugs
 
you can star in the left dropdown menu
 
Ahh
yeah that works
 
why does @Aamirkhan stop by daily?
 
Now I guess we know why
He's probably the troll
 
that is what I thought as well
 
2:46 PM
@zigi Sorry for using your Bulgarian Developers room as a test room
And yeah, welcome, you've got write access. Please read the room rules.
 
hey
 
Yes I have already, thank you :)
 
hi tgm
 
o/
 
\o
 
2:48 PM
@Ahmad, don't apologize, I was just wondering what's going on since you guys were coming in and leaving for a few times.
 
We are spies
 
hehe
 
Apparently, not very good spies since we were caught
 
we were just testing this
14 mins ago, by Ahmad
Are people that are not on the write list allowed to star stuff?
 
haha I guess you have to learn Bulgarian first to understand what's happening
usually they aren't
 
2:49 PM
That's actually why I went in there...to see what Bulgarian looked like
As expected, I didn't understand a damn thing
 
what troll? what is he doing?
 
to be honest, you won't even understand much even if you go through google translate since latin is not the accepted alphabet of the country but we still use it like a virtual slang just to write
 
that emmanuel
 
who did ?
 
he is randomly starring?
 
2:53 PM
what's the problem with that?
 
random starring makes the "star" system just useless
 
doesn't seem good if you star any message like "hi", "hey" "OK" etc
 
can you star if not given write access?
 
Afaik, yes you can
but you need at least 20 reputation for that for Gallery room
 
 

« first day (1287 days earlier)      last day (3653 days later) »