« first day (1369 days earlier)      last day (3594 days later) » 

1:00 PM
Don't worry, there's no need to look for it (unless you really want)
 
Alternatively, you could just do what your'e doing and parse it manually... :P
 
I've already made my own parsing throughout the app
change everything can be somewhat time consuming
 
Haha, yeah, that's true.
 
yet, thanks a lot the this "lesson"
 
Anyway, I'mma heading out. Back soon!
 
1:01 PM
see ya
 
cya adam!
 
"System.out.println("****************************** " + b);"
how's that supposed to work?
 
hello! Short question: If my main activity is http://pastie.org/9396420
how can I introduce this into a layout?
 
o/
 
Alex, add this after super.onCreate():
`setContentView(R.layout.your_layout);`
 
1:05 PM
ok and now?
 
@DenRimus how's that not supposed to work?
 
actually I try to add an ad banner from here:
https://github.com/StartApp-SDK/Documentation/wiki/Android-InApp-&-InApp-Plus-Documentation
you can see the banner code that I must paste into the main layout but I dont have one
my main java file is pastie.org/9396420
 
Yeah then create one.
 
Than create a layout file
 
two Ahmad's who just said the same thing
 
1:07 PM
how to do that? Im new to java :)
 
perfect
 
lol :D
 
Well, I'd strongly recommend you to read some Android tutorials and basic books
 
just add this etContentView(R.layout.your_layout); after super.onCreate() ?
 
This has nothing to do with being new to java but having common sense to create a new file with your IDE
Right click -> new file
that's the general rule
 
1:08 PM
I know that man
I created the xml in layout folder
now what to type in it? :)
 
Are you using Android Studio?
 
eclipse
 
> how's that not supposed to work?

well, never seen in android using system println
 
It's the same as Log.i(), den
 
wow
 
1:10 PM
But without a tag
the tag should be the activity name (?), I can't remember
 
Android experts, is it allowed to recommend people to switch from Eclipse to Android Studio already? Or are we still the "let's be cool, choose whatever you want" phase?
 
Always recommended
 
Then Alex, please, switch to Android Studio
for your own good
 
Through me a lot of people already converted to AS
1 message moved to Trash can
 
I will but for now I just want to see this working :D
 
1:11 PM
No posting code in chat, yo.
 
At least not a large block of code
 
You just paste this in your layout
the xml
thingy
you know?
 
ok
done
and how to include the main activity too?
or is it automatically included?
 
that's what that line I wrote does
 
Sorry dude, can't do tech support. Against my nature.
But yeah, what Guilherme wrote
 
1:13 PM
why android studio but now Idea13?
 
ok done.. but the ad still dont show :(
 
Alex, please, read some basic tutorials, basic concepts, etc.
 
^
 
It's the fastest and best way to learn
 
I pasted the banner lines inside the layout but they're not showing
 
1:14 PM
don't just try to put things together like crazy, different-color lego bricks
 
run the app
 
> Alex, please, read some basic tutorials, basic concepts, etc.

+1
 
actiolly this app is made in phonegap and i need andorid just for implementing an ad
I ran it :))
 
Then perhaps you may want to write a full question on SO, detailing that you're working with PhoneGap and only need some very basic assistance with Java to get what you need working.
note: I hate phrasal verbs.
 
1:18 PM
beleave me.. I wrote 5! I tried to implement phonegap into a webview where alot of errors came from and now I switched back to the default cordova webview. I still beleave there's a simpler way to do this just with the default webview
 
then you could have pointed us to one of your questions
(one, not all the 5)
 
those were questions that were related to what I tried to Implement the existing webview into a webview
I dropped down that stupid way and I try directly with tha main default cordova generated webview :)
and I just followed the steps again
but I'm blocked at that layout thing
I dont know why the banner isn't showing... I added theyr code into the new generated layout
no errors apperar..
 
Ahmad, should I give a reject reason if they aren't in the room?
 
why not? for the record...
 
these are the lines from logcat when I enter the app (and on the main screen the banner should appear) : pastie.org/9396462
I think they're not errors or?
 
1:24 PM
do you see that D/ in most of lines, right after the time stamp?
 
For the record is why I thought I should
 
that means Debug, and no, they're not errors
D = Debug
I = Info
W = Warning
E = Error
 
@codeMagic nope
just clean the list
 
ok man.. and than why isn't the banner appearing? Is the layout correct? pastie.org/9396472 Is the banner over my main activity (that includes the webview)?
 
@Bhupesh rejected, answer some questions
 
1:29 PM
Ok
Well, this is awkward...
 
or do I need a relative layout for that?
 
Someone just put a hefty bounty on my question from last year...
 
lol
which one?
 
so that the banner layer should be over the activity layer
 
The thing is, it is solved as far as I can tell but I haven't posted a solution because part of it was hardware related
The software-side is a little specific and I haven't taken the time to sort through and post any solution
This one...
http://stackoverflow.com/questions/15341445/ioexception-on-accept-thread
 
1:33 PM
xxx?
isn't that the guy you banned?
LOL
wut
 
No, that was Alex
That would have made it even better though :D
 
Look at the user id
it is alex
changed his name
 
huh. are you talking about me?
 
no no someone else
 
Oh, haha
 
1:34 PM
ok
is anybody still follwing my issue? :(
 
That's almost kind of creepy
 
yeah. it is.
 
setting custom animations to a fragment ruins the back stack!
 
since, you know it's almost his entire rep lol
setting up fragments ruins the architecture of your app
 
right?
 
1:35 PM
and everything around it
 
that dude has 24 points and a Fanatic badge. THAT is creepy
 
wow. that guy.
lol
 
I might have to use a handler or something daft to use popBackStack(); after 1000, the time of the animation
 
are you talking with me Ahmad? :)))
 
hehe no, the xxx guy lol
 
1:37 PM
s/Ahmed/Ahmad
 
s/Ahmad/My_Lord
 
Well, he has 3 open bounties right now
only one on his own post
 
the bounty is subtracted for the user's rep points, right?
 
yeah
is there a chance he has set that up by accident?
probably not right
 
I think he's just trying to get rid of them on purpose
 
1:38 PM
Is the layout correct? pastie.org/9396472 Is the banner over my main activity (that includes the webview)? Because I cannot see it -_-
 
Probably not. You get multiple opportunities to back out of the bounty
 
but is it subtracted when the bounty is offered or when its awarded?
 
Offered
 
anybody knows what is the first arg for callback in github.com/derekbrameyer/android-betterpickers hms picker ?
 
it looks alright, alex
 
1:39 PM
Otherwise, the user wouldn't be able to offer one
 
interstitials or other types appear
only the banner not :(
what could be the issue?
 
yay.
Nothing against nil's 30+ streak
but at least something
 
what's a streak?
 
oh I saw that if I force close the app from the home button and start it again I get this in logcat:
07-16 16:44:59.240: E/Web Console(28639): Viewport argument key "" not recognized and ignored. at http://www.startappexchange.com/:22
if I close it normally I dont get that error
 
@DenRimus It means that I've pushed something to a github repo 8 days in a row
 
1:49 PM
WTG, Ahamd!
 
pffff
so what? ))
Anyone can push every day )
/me not impressed
 
:|
yeah you're right
but I've got 164 commits in those 8 days
so it's not like I've only changed a word a day
 
well, that's impressive
 
may that be the cause?
 
@codeMagic okay looked it up but strangely I can't find anything. What does WTG mean :|
 
1:51 PM
way to go
 
Aaah!
 
so, what?
 
running AS, Genymotion and now Pixelmator. let's pray for my RAM :)
 
@Ahmad so do you have a sollution to my problem?
 
1:55 PM
Sorry, no I don't
 
ok thank you.
 
loll Guilherme
 
does anybody else know how to show the banner?
 
I have returned.
 
SO, anybody check out xiki yet?
Adam is back! Hide the coke.
 
2:00 PM
Ahmad I don't like that shark icon
 
Yeah me neither
but what about the product itself?
I think it's quite interesting
 
idk
 
not that I will need most of the features
 
ok, I am done. somebody ask what does "let your activity implement that interface" mean
 
but it's probably nice to have
LOL bb
 
2:01 PM
I don't have problem with CLI commands
I have problems with bad docummented software
 
heh :P
 
and he apologised for his english
 
if you can't easily find what command you need, then you're docummenting it wrong
 
Ahmad, yep, "way to go"
@blackbelt Wow! Did you respond to that? If so, I would love to read the response :D
 
cM of course I answered, and to my surprise, I was really polite
 
2:04 PM
Haha...good for you!
 
1
Q: How to add startapp ad banner to cordova project?

Alex StaneseThis is driving me crazy! I spend more than 5 days with it. What is wrong why is my banner not shwing? I followed all the instructions from: https://github.com/StartApp-SDK/Documentation/wiki/Android-InApp-&-InApp-Plus-Documentation this is my main java file: package com.Snap.What; import andr...

 
It's crazy how many people jump into Android without knowing basic Java
 
How do you guys handle Http timeouts?
Show an alertdialog?
 
today was really a bad day on SO
 
2:09 PM
RED_, it depends. Was the requested started because of some action from the user?
Is the user waiting to the action to "complete"?
 
No, waiting to complete
just as the app or a page starts
 
RED: By showing a toast - could not complete stuff
 
agreed, a toast
 
I tried adding an message to a ArrayList that I could then put on the screen but it wouldn't work
 
and only if the user needs to know that the request failed
 
2:10 PM
toast seems like a good idea yeah
 
btw, you can define a retry policy to try your request again
i guess you know that
 
red, depending on the exception I wil retry the request
 
it's 11h11 now, here. creepy stuff happens at this time
 
my app is going to be used in a bad internet area so a timeout>show toast>pull to refresh
need to check if my pull to refresh will still appear though
 
you intend to show something like "Could not load stuff; pull to try again"?
 
2:13 PM
pretty much
 
then yes, I believe that a toast is the best option
but if you look, if I'm not wrong, Facebook doesn't tell when it can't refresh your feed
unless you have no connection at all
 
Yeah I saw that
Ah the ArrayList idea did work once I set the timeout to 10 haha
only problem is they cant' retry/refresh
I prefer this since it's persistant
 
2:33 PM
Did ya'll see this this morning?
 
nice one, adam
 
fancy
 
nifty
 
Haven't seen that. Looks nice
 
3:05 PM
 
Haha...nice!
 
this looks dangerous
 
But fun
 
especially for mothers with kids lol
 
If you hit a big bump or crack, that baby is toast
But still, I would have used one when my kids were younger
@MachoProgrammer answer some more questions of quality
 
3:11 PM
^
 
3:22 PM
0
Q: Auto Categorization Of Android Application

Zombie UnixHow do I automatically categorise an android application ? I need to write a code to do it. There exists an api & android application CatApplus http://forum.xda-developers.com/showthread.php?t=1419810. But it is not freely available. Can anyone suggest any alternative or any other way to solve th...

 
morning everyone
 
doing something like that one above. But i'm thinking market-api takes lot of time if there are too many apps
 
o/
 
any suggestions..?? can i use a db instead.?
 
your question is too broad for me to provide an answer
 
3:26 PM
Okay cool.
 
you're free to wonder aloud about it more
I just don't understand your problem enough to say something
like, why do you need to categorize so many apps programatically
 
3:44 PM
carl!
wassup?
 
not much
going on vacation tomorrow
 
oh cool :D
where are you going?
 
Lake Chelan is a narrow, 50.5-mile-long lake in Chelan County, northern Washington state, U.S. It is the largest natural lake in Washington state. Name The name Chelan is a Salish Indian word, "Tsi - Laan," meaning 'Deep Water'. Geography Fed by streams from the Cascade Range and the Chelan Mountains, Lake Chelan has a maximum depth of (although some sources cite 1,420 feet), making it the third deepest lake in the country and the 26th deepest in the world. The surface of the lake is 1,098 feet (335 m) above sea level, while the average width of the lake is one mile. Basin The city of...
 
nice! :)
have fun
 
yeah, should be fun, as long they get the forest fires under control :-P
 
3:46 PM
I'm also kinda official in holidays now
heh
 
ouh that sounds bad :/
 
it'll be fun though
taking a ferry to the far side of the lake
no tv, no wifi, no phone
Stehekin is a small unincorporated community in Chelan County, Washington. It is part of Wenatchee–East Wenatchee Metropolitan Statistical Area. Located at the northwest end of Lake Chelan, it lies just south of the North Cascades National Park. It is within Lake Chelan National Recreation Area, a unit administered by the National Park Service. Stehekin has about 75 permanent residents, though its population swells during the summer with vacationers and seasonal workers. The name "Stehekin" comes from a Native American word meaning "the way through." Sights to see in Stehekin inc...
 
Yeah, I should do that as well from time to time. Just shut off of the rest of the world.
That looks really beautiful
 
yeah, the Seattle area is super beautiful
 
3:50 PM
How long are you on vacation?
 
just through Monday
 
o.0
awesome.
I have yet to see such a city in germany.
 
I should go somewhere someday
 
I've been to three countries this year
kinda traveled really much, to be honest
dunno why.
 
3:52 PM
That's quite a bit in half a year, I would say. Good for you
 
I would really like to visit the US someday. A friend of mine left yesterday for SF.
Whatsapping me and making me jealous and all.
 
cM, countries in Europe are so small and close together, that's like saying I visited 3 states this year.
 
^
Exactly
 
The most I've traveled in quite awhile is Detroit and Minnesota. Both for work and both in the winter time
Yeah, well that would still be a lot for me
 
I can go to Denmark in less than 6 hours
same applies for the Netherlands
Belgium
France will take a bit longer
but you get the idea
We're driving down to Paris in a few days
So yeah, yay for Europe.
 
3:55 PM
heh
I'll be driving for 3 hours tomorrow and will only cover half of the state
 
I just checked. I can get to the most south tip of denmark in less than 3 hours.
2 hours, 30 minutes
 
Well, I'm going to get some lunch. Maybe Chinese so I can feel like I'm traveling
 
3 hours and only half the sate 0.o
LOL magic.
 
our free wednesday lunch today is chinese lol
and pizza
o_O
 
Chinese and pizza? What a strange combination. But both are good so...
 
damn, the US is massive.
 
I haven't even been to Canada and I'm only like 4 hours from there...maybe 6
 
My aunt lives in NY. Maybe I should pay her a visit. I think some day, I'll even do that.
 

« first day (1369 days earlier)      last day (3594 days later) »