« first day (1220 days earlier)      last day (3737 days later) » 

12:03 AM
Yeah me too
 
interesting
for me it did a knowledge graph kind of thing like with wikipedia
attempting to just give me the answer
 
Nice.
Can't seem to get it to give me anything like that by varying terms or w/e :(
 
Finally can start fixing my bugs! Whew!
 
Good Day Android programmers :p
I know this is stupid but Is thier any way that we can test the chrome cast execution without the cast? Like an emulator or something?
 
12:25 AM
Nothing I can see.
 
12:49 AM
Thanks @AdamS T_T I guess i need to wait for the google chrome cast to be package. To test my code.
 
You should be able to find one on local eBay (or equivalent) if you're not in the US?
I got a friend in the States to ship me one, but I can find them online here for cheap.
(I'm in New Zealand)
 
1:09 AM
Yeah I can find them for ~$70NZ online here.
That's ~$58.60 US, and includes tax and shipping.
 
No I'm not in the US. I guess I'm gonna purchase on eBay.
 
Must have trouble getting people to ship to Mars, eh?
 
1:35 AM
I'll send curiosity to mars and sing happy birthday. :D
 
1:59 AM
Hello, Android!
@PearsonArtPhoto Back home, eh?
 
Yeah. I managed to avoid playing with my code base for about 2 hours, but when things started to quiet down a bit...
 
sounds fun ;-)
 
I fixed the 3 crashes in my code, hopefully there won't be any others...
 
that's a good thing
 
It was killing me... At least one of them bricked the app if the user did a fairly rare thing...
As in, it would never work quite right...
 
2:08 AM
strange
glad you finally have some time to fix it, though
I've only had one crash reported, but I can't seem to reproduce it.
 
Well, basically I switched the code to work using more standard practices recently, but I forgot that I previously was on a non-UI thread, and I got switched to a UI thread... There was network operations involved, and, well...
 
well, I'm going to start tackling spatialite this week
 
Good luck.
I actually only use 1 feature in it, it's really killing me to have such a huge library for just 1 feature...
I might use a second or third sometime, but...
 
which feature is that?
 
BTW, if you want my SpatialiteAssetHelper, just give me an email.
 
2:17 AM
what's your addy?
just sent you an email
 
Feel free to change the package.
 
I'm writing some of my own code atm. Basing it off of the SpatialLite example app.
 
Eventually I'm going to put it on GitHub, but...
 
that is a good idea ;-)
 
I'm too lazy to go through the work to do that at the moment...
 
2:20 AM
fyi, it will be on GitHub shortly...as part of my app
 
The one thing I use is Within. SELECT ID from table WHERE Within(makePoint(%q,%q),Geometry)
Still, I think it deserves a stand alone project...
 
I'm sure it does. Would probably make a decent library project.
 
Let me know if you have any problems with it.
 
sure thing
 
It's used the same way as SqliteAssetHelper.
public GeoDataHelper(Context context) {
super(context, DATABASE_NAME, null, DATABASE_VERSION);
 
2:25 AM
cool
 
@PearsonArtPhoto There was a question on SO recently about this. The other option is a bounded select with 'latitude gt x1 and latitude lt x2 and long gt y1 and long lt y2' or similar, I think - assuming you're looking for points within square bounds.
 
Not square bounds at all.
 
hmm...is there a reason you use setStackTrace() instead of passing the "cause" to the Exception constructor?
 
Well then, I've no idea how to do it in SQL :D
 
Probably not... I'll admit, I was trying to do the bare minimum to get it to do what I wanted to do, which is a bit part of the reason I haven't open sourced it yet.
 
2:27 AM
ic
 
I know it's rough, but it works for me at least so far.
 
so you use spatialite for your ham radio app?
 
coolio
 
For paid users, it'll allow them to figure out what county they are in without internet access.
 
2:28 AM
Question for you guys: Is Android Studio worth using? I'm using Eclipse right now...
 
I've only fired up AS once
 
It's a big upgrade from Eclipse, but it's still beta.
 
@hichris123 YES
 
Saw the difference in directory structure and wasn't ready to take that leap yet for my existing projects.
 
Yeah... I've read the layout thingy is pretty cool.
 
2:29 AM
Go for it
 
I've heard good things, though
 
I haven't personally used it, but basically if you're okay using Beta software, that might require some tweaking with upgrades, then go for AS. Otherwise, stick with Eclipse.
 
I answer that at least once a week
 
Is that a fair statement?
 
@Ahmad Then you should pin it. :P
 
2:29 AM
But I'll keep doing that if I can save someone's life for the better
Because AS is awesome.
 
So what's so cool about it?
 
lol
 
Everything.
From the refactoring tools to the layout
 
sigh I guess I'll just have to download it and see it for myself. :P
 
From its speed to its VCS integration
 
2:31 AM
<obligatory only use it if you are willing to deal with issues related to how quick the releases are still coming warning />
 
I love beta software. :) So I think I can handle it...
Come on, why are you so slow internet! 40 minutes?
 
@PearsonArtPhoto Hrmm....what is EasyTracker?
 
40 minutes to download it? 0o
 
Okay... down to 14. Thank you Chrome.
 
I think it took me a minute, 2 tops
 
2:33 AM
@Ahmad I want your internet.
 
^^
 
Wait... why are you downloading at 1/3 of my internet speed?
 
hm?
How fast is the download?
 
It was downloading at 300 KB/s, I can reach about 1.4 MB/s.
 
EasyTracker = Google Analytics.
Forgot I had any of that in there... Sigh.
 
2:36 AM
Ah
 
Might have to clean that out...or else add another library dependency lol
 
Okay, now we're talking! Six minutes.
 
tis only in one spot, though, so that's not bad
 
So... what do I have to learn with Gradle coming from Eclipse?
 
Just replacing all the Google Analytics code with Log.e(TAG, e.getMessage(), e);
not quite as robust...but it will work for me for now.
 
2:42 AM
@hichris123 Gradle is a build system/dependency management system
So before using gradle you probably used Ant
 
Yeah, I've been using Ant.
 
or maven
You can import your Ant project with AS and everything will be automatically converted to gradle
This is new, a few releases earlier you had to convert everything yourself
There are still a few problems, but if you don't use the ndk or have anything too fancy, everything should work
 
Okay, sounds good. I'm not using the NDK and just using one library project... so everything should work.
 
what library?
 
That should do for now. No reason to make Google Analytics a requirement of adding SpatialiteAssetHelper...
 
2:46 AM
maybe it's available on maven central and you can ditch the local copy
 
I'm using ActionBar Pull-To-Refresh (the new one, not the old one).
 
Yeah that's available on maven central
The one from chris banes right?
 
Yep.
 
So add one of the lines here to your gradle.build file: plus.google.com/+ChrisBanes/posts/XGN5TghYvD5
and you won't have to have a local copy of the library
 
Ooh, cool. So does that mean that it would auto stay up-to-date?
 
2:51 AM
Yes/No
You can add that + sign at the end
then it'll automatically update
 
Huh. Any other differences?
 
You can do a lot more with gradle
Hmm let me find the google IO talk
 
I wish I could have gone to IO last year...
 
sigh me too
 
@PearsonArtPhoto So I take it you don't wrap your spatialite database into a ContentProvider, eh?
 
2:54 AM
But 1) I legally couldn't (alone) because I wasn't 18. 2) Didn't have the money.
And 3) Even if, then I wouldn't have gotten a ticket anyways...
 
You're a lot closer to being legally able to than I am. :P
 
haha :P how old are you?
 
Just old enough to pass COPA. :P 13.
 
cool
 
Or is it COPPA?
Apparently it is COPPA... whatever.
 
2:56 AM
Yeah COPPA
 
I'm hoping IO will be in the summer so I can actually watch the live-stream...
 
I watched almost everything (that was interesting to me)
 
Yeah, I watched some stuff but then got busy and never got back to it...
On another note, do you really have any Android unicorns?
 
At the bottom of the rules page.
 
I like it. :P
 
3:08 AM
Hmmm....my CPU burns up when I try to run my GeoQuiz tests.
@PearsonArtPhoto If I understand correctly, createOrOpen() will automagically copy database files from my assets folder to the databases folder on the device, right?
 
yum, smores martini
 
3:23 AM
GAH! My app is almost 16MB!
 
damn!
from resources? or big librarys or what?
 
What's the app for?
 
some of both
I'm writing a geography quiz app. Most of the size is from the database.
 
Is it really big enough to need SQLite?
 
technically, I"m not using sqlite
I'm using a third-party library called spatialite
 
3:40 AM
Huh. What's the difference?
 
spatialite adds extensions for geospatial data
I hope it will make it easy to draw the outline of a given country
 
So like latitude & longitude?
 
yes, and polygons for country and region borders
 
4:04 AM
is there a way auto reload a listview when new data has been put in sqlite?
 
kabuto: how are you loading the data into your listview?
If you are using a SimpleCursorAdapter, you get this for free
 
loading the data into the listview yes
ah really now
i should know these things :(
 
I should rephrase my question: what kind of adapter are you using>
?
 
was doing custom adapter
 
In my baseball card app, I've never had to do anything to add new data to my ListView. IIRC, SimpleCursorAdapter does it for me.
You should probably extend SimpleCursorAdapter then.
 
4:15 AM
data will come from the net and i was thinking it could be added to the db then the listview will just be updated after its added without having to check the db for new records myself
 
It depends on your adapter.
 
would the one you suggested do that?
 
Yes, I'm pretty sure it will
 
coolio
 
@PearsonArtPhoto Hmm...spatiallite could definitely use a ContentProvider wrapper.
 
4:20 AM
i am gonna try it out!
 
good luck!
 
GeoQuiz going smoothly?
 
hmm, that doesn't really change anything does it?
when phones are being released they are generally very near or at the current API lvl
 
@kabuto178 not really. Trying to figure out spatialite
 
4:31 AM
it is the 1-2 years after release that the device doesn't get an update that raises API level that cause them to fall behind, and this doesn't seem to address that at all
also it only affects devices when they are produced.
so if a device was on 4.0 when it was produced, and that was before this month then it can continue to be sold forever
also, damn ICS doesn't seem like it was that long ago
 
ICS isnt that long ago indeed
@Code-Guru never used that myself
 
end of 2011
and goodnight
 
later foamy
 
hi
 
heya williams
 
4:45 AM
Hello, williams
 
.... here
-1
Q: Bug while accepting, upvoting and unaccepting

VochmelkaAs you can see in this topic, my reputation is 13. Even though I managed to mark both answers as useful. I have just accepted one of the answers, which gave me 2 reputation points and enabled me to upvote an answer, which I did for both of them. Then I unaccepted the answer, so I lost additional ...

sorry but your profile image is kind of nsfw — NullPoiиteя 2 hours ago
 
wtf
 
@PearsonArtPhoto which means implementing a SpatialiteCursor...which I almost definitely need, whether or not I use a ContentProvider.
that pic just cracks me up
so random
 
so random lol
 
5:12 AM
0
A: How to initialize TypeFace in an interface class

Code-GuruYour Utils class does not have a method named getAssets(). I assume you want to use the one from the Android Context class. This means you need to have a Context object to call getAssets(). Without more details about your exact app design, I can't help you any further.

 
5:29 AM
strange
 
My question
2
Q: Do Moderators not take action against the guy for offensive profile picture

WilliamsI am new on the Meta Stack Overflow. I am seeing now a days offensive profile avatar of the guys who are on the Stack Overflow. IMO, This simply is not good to have these offensive profile avator on this professional website because this is not either facebook etc. See here http://meta.stackover...

 
I don't find the avatar offensive...just unprofessional
and by the quality of the original question, I doubt the poster will be around for very long
 
morning
 
morning
 
user457812
6:24 AM
I don't find the image problematic.
 
user457812
There's no rule about professionalism on SO, last I checked anyway.
 
9:22 AM
Greetings
I hate writing specifications. I'll spend the entire week to write one. I so freaking bored.
 
9:44 AM
@yokeshganesan Access denied. Low rep and your chat history is uggy.
 
o/
 
\o Rezoom
 
o/ Warren
 
party
let's get the
started
 
10:04 AM
home automation, what do people here think about that?
views opinions?
 
What a awesome voice in such a small child....
Alex, I would love to have some money to test/build it :)
 
hmm, what features would you like to have?
i mean most are in dev, i dont understand why non have made it commercially
 
Remote toilet flushing.
 
microsoft has microsoft home; google had started with android@home project
but then faded it away, and now that seems to be coming back in action, with the next acqua etc
 
Remote "washing machine -> dryer" transfer.
 
10:11 AM
all that is basic stuff,
check out microsoft home on youtube
i wish i knew abt bill gates AMA before it happened
 
10:27 AM
"abt" ... CHATTY! :P
anyway: I would like to have a bit more useful stuff set up in my home
for example: one device at/in the wall to share music across my flat
temperature control
some todo list that is on the door so I am reminded of tasks on every leave/entrance
cool would be some kind of "open windows, lower temperature" so switch the rooms air even when I am not there
 
something that tells me if someone is ringing at my door and allows me to speak to him if I'm away
 
most of the things i guess are covered in the microsoft home,
"open windows, lower temp" isnt.
the music thing has been done amazingly by micro.
@Ocus yup, intercom :P
got what you're saying, that too is pretty simple compared to what these guys already have
 
Lol, yes. It's not very frequent in france
 
youtube.com/watch?v=_vsoBsgqoEg : check out all 3 parts
 
the most important part for me: Security
I just stepped a bit through the first video. If every charging place can access stuff from my device: I am out
 
10:44 AM
yup, also if everything inside your house is controlled through a server; if that single thing is hacked, the person could have access to your complete home
 
Depending on your house, a simple bluetooth network would be enough...
anyway it is a pretty interesting topic... sadly I am at work, so I have no real time to dive deep into it right now :)
 
no problem. :)
i guess thats the next thing google's gonna be focussing on, and microsoft too
 
user457812
11:33 AM
I'm good at web stuff. I just accidentally nuked my site.
 
user457812
Thankfully managed to restore it ten minutes later, which is fine since nobody reads it and I didn't have a backup
 
@Code-Guru Go for it. I've never messed with ContentProviders, although I'm starting to think about it in a few instances... Will be interesting to see what you come up with.
 
11:57 AM
Just topped 1000 downloads on my app. Cool!
 
@Archer Welcome! Please read the room rules.
37 upvotes on meta lol
39
A: What just happened to Stack Overflow?

AhmadThe StackStatus twitter account says this: Our network provider is experiencing a bit of increased traffic. We and they are investigating. Update: We have partially mitigated a DDoS attack against our network. We are continuing to watch traffic.

 
Hi guys. Long-time lurker, first time poster :p
 
:)
As it currently stands the room is pretty empty
 
Yeah, Ahmad and myself don't even count;-)
 
lol
In other new I started my internship today \o/
 
12:09 PM
Oh? What 'ca doing?
 
Creating offline content for WikiMedia
so lot's of scraping
and eventually developing a framework that will do it all for me
So yeah, having to program all day is kind of like holiday to me :)
 
Sounds fun.
 
Yeah
 
I have today off of my day job, so I'm going to do some work on my app.
 
nice :)
 
12:11 PM
Do you guys tend to write apps in Java, or do you use "other methods"?
 
Most of us write android apps in java
only nil doesn't
he prefers to use scala
 
Nil uses Scala.
 
I've never even heard of that
Just googling it...
 
I've toyed with using something like Titanium Studio, but most of us write native apps in Java.
 
It's a language that compiles on the JVM, so everything works as expected. You just have to build the app differently.
Non native apps suck, would never do.
 
12:13 PM
I've been a developer for as long as I can remember, mostly Windows commercially, but have specialised in web apps for the last 8 or so years. I'm looking at Phonegap for my first proper apps
 
Don't do that :/
 
I've bigged it up as a way to get my boss to agree to Android tablets as our main hardware, as everyone wanted to use iPads
Why do you say that?
 
Phonegap is pretty slow
And while most inexperienced users might not understand what a native app is
they will see the difference between them
 
I've tried a few apps built with Phonegap and they seemed okay to me. Do you know of any particular ones that have been slow?
 
Hmm can't think of any at the moment, because I usually don't use them
 
12:16 PM
Makes sense
 
Are you planning to write Android apps in the long run or is this just a side project?
 
I'd rather go down the native route to suit my long-term goals, but I know a lot of our customers will want our apps on their iDevices and will cause a stir
Good timing
I'd like to make a career move
At the moment the project is a 1-off. More work may come if it goes down well
 
Ah I see
Hmm it can take a long time to learn Android and iOS
 
I really don't want to learn anything iOS. I adopted Android straight from WM and really want to go that way long term
I've just not got into the development side of it because it would interfere too much with my current career path.
I think I'll have to take a step back from senior positions and start at a junior level again if I want to go Android professionaly
 
Some experience can transfer, but yeah.
 
12:21 PM
Yeah, I've had a play with Android dev in Java before now and syntactically I had no issues, but obviously I knew nothing about the framework. It has similarities to .Net in some ways, but not in any way that means I can move across without a lot of starting over
 
Yeah, totally understand
 
There's also time restraints as well (surprise, surprise), which means that writing an app using HTML5 & Javascript is much more sensible than me fumbling with Java. Screen layouts is probably my biggest concern. I don't get it
 
Handling layouts with XML (that's how you can do it with the native approach) isn't that difficult though
 
I've heard many people say it's quite easy. Maybe the book I was using was just terrible at explaining it.
 
Which one were you reading?
 
12:26 PM
It was a SAMS one - one of their 21 days books. I usually trust them as I moved from Pascal to VB (I feel dirty admitting that) in about a week with one of their books and learnt OOP from that basis.
 
You can start here. The training pages are really good.
 
Thanks - that certainly looks more comprehensive than it used to
I have to clear this up - I DO NOT programme in VB. It was a stepping stone into visual and event driven programming :p
 
haha :D
I can't imagine how it has to be doing VB professionally
Must be horrifying
 
I've learned almost everything I know from the android documents.
 
That's reassuring to know
 
12:29 PM
Although I did learn a lot from several Coursera courses recently.
 
BTW - what's your app that you mentioned 1,000 downloads earlier?
 
Oh you crossed the 1000 downloads?
congrats!
 
1001 as of 2 days ago.
Thanks:-)
 
Nice
I have zero use for it personally, but it looks good
 
12:34 PM
Yeah, that's what pretty much everyone in this room says.
 
lol
 
Actually, I was in a store on Saturday and heard some people talking about how there isn't a good solution to do exactly what my program does. I should have mentioned it a bit stronger, but...
Right now I'm trying to make a Google Maps based Dialog Preference... It's surprisingly tricky...
 
Do they have a nice SDK for working with GM?
 
I expect them to after recently working with GM for a web app
Good - Google are pretty good at being developer-friendly, I find
 
12:39 PM
Yep
Although the documentation lacks a lot of things
and the API's aren't always straightforward
But that's what Stackoverflow is there for.
 
No. There were some issues with what I was doing as well - it was a typical "locate your nearest store" thing.
Yeah - SO answered most of my questions too
 
I should say that I've learned most of Android from Stack Overflow/ Android documents combined, and a dash of google.
 
I find SO invaluable.
3
Whenever I see it in search results, I pretty much rest easy that I've found my solution
 
True
 
I should be able to get an Android silver badge soon, maybe even today if I'm lucky...
 
12:47 PM
Nice.
 
<- Already has the gold one
 
I just went over the 10K mark this morning, and was then swamped with "do you want to moderate these 250 posts?"
 
Yeah, that's always fun.
 
I'm already on a break from moderating another site for a couple of months - I didn't expect to have more moderating to do :p
 
LOL.
Just for the fun of it, I tossed my hat into the ring for SO monitor. I'm pretty sure I won't get it, but I'm curious to see how close I make it.
 
12:55 PM
It would be interesting to see behind the scenes on SO. It appears to be run very smoothly from the outside
Saying that, it's not like a forum is it
I've never seen a question posted with the title, "I can haz cheeseburger?"
 
Oh, I know enough to know that SO doesn't run as smoothly as everyone things it does.
 
lol - intriguing
I think the people that look after it do a remarkable job though
 
For the amount of traffic it gets, yes.
 
I only recently found out that's it's built using ASP.Net as well, which made me smug and self-satisfied about my career choice :p
 

« first day (1220 days earlier)      last day (3737 days later) »