« first day (272 days earlier)      last day (4690 days later) » 
04:00 - 19:0019:00 - 00:00

4:13 AM
Morning
 
5:01 AM
good morning
@ThunderRabbit : hiiii :)
 
5:15 AM
hi
 
hiii
 
6:08 AM
hmm, I got an error report for my app today
a stackoverflow error
Need to fix it when I get home, provided I can reproduce it :P
 
user457812
Looks like the Objective-C room finally croaked
 
what happened?
 
user457812
It's frozen
 
user457812
Too long without activity
 
lol
 
user457812
6:11 AM
Which means it's time to create a new gallery room for Mac/iOS dev
 
KGO
 
user457812
One that I control with an iron fist! >:D
 
I approve of your fist of iron.
 
user457812
Stack Overflow's chat system thinks the C# room, which already exists, is the same as a MacOS & iOS room O_o
 
clearly a MS language is the same as an Apple OS
 
user457812
6:13 AM
Clearly.
 
Is it just me, or does bottled water always taste like crap?
 
user457812
It does.
 
user457812
I just bought a water filter and use that instead. It's about the same as if you bought bottled water, unless you bought carbonated water or something.
 
I only bought it because I forgot to bring my water bottle
filtered tap water is the best
 
user457812
Filtered water + ice, can't go wrong.
 
6:17 AM
yep
Hmm, this stackoverllow bug is annoying me
I can't reproduce it on my phone :/
 
user457812
Hm, I'm not entirely sure how people request write-access to a gallery room, so I will just assume it works
 
the chat room gives them an option to do it when they join
 
user457812
Well, hopefully it does something to notify me
 
user457812
Though it probably won't matter, the new Mac/iOS room will probably die with me alone in it
 
user457812
Since the only other room is apparently the iPhone/iPad room, which doesn't have a lot of people in it that would cooperate if I use the same rules as Octavian
 
6:31 AM
@Glitch indeed.
 
6:54 AM
I'm going home, cyas
 
user457812
Toodles
 
user457812
Uh-oh, Stack Overflow is getting errors O_o
 
cya @Glitch
 
user457812
6
Programming and Programming Languages (in Hindi)

Proposed Q&A site for programmers and developers who speak Hindi

Currently in definition.

 
user457812
This is somewhat interesting.
 
7:00 AM
....
 
user457812
I think me and Octavian were talking about something like that, still not sure about the utility of it though
 
user457812
What I do know is Manjot's currently trying to get people to follow it, which I won't just because I don't speak Hindi >_>
 
I'm pretty sure 99% of posted questions will either be rejected by the question filter or closed as NARQ.
 
user457812
Probably. I suspect it would just end up being the posted equivalent of Android Solver and the iPhone/iPad room.
 
yeah,
I'm going to follow it. If anything, that place needs a watch guard :P
 
user457812
7:04 AM
G'luck with that :P
 
user457812
It would be an interesting experiment, at least.
 
I'm dreading it already.
questions with ??????????!!!!!!!!!!!
40 comments on each question
 
user457812
Heh
 
user457812
Well, it's not like we don't already have a surplus of both of those
 
heh
 
user457812
7:07 AM
"Android में कैसे दो लाइनों के चौराहे के बिंदु (intersection point of two lines) हासिल कर सकते हे?" This sounds familiar.
 
Funny all the questions are only on Android :P
no prizes for guessing why
 
user457812
Thought I saw a WP7 question..
 
well, yeah barely.
 
user457812
"Windows Phone 7 me web se gaana kaise stream karte hain???" Also, your ??? prediction came true already.
 
:p
 
Another prediction is that there will be a million and one chat rooms. The main questions page will be deserted :P
 
It was originally created "for children issues, house wives issues and villagers problems" lulz
 
ROFLMASNORT
there's no way to view the history :(
damn
 
user457812
I'm still going over the discussion...
 
user457812
0
A: Hindi Language & Programming Q&A in Hindi

DoriI've edited it. Old category: Culture Old title: Hindi Language & Programming Q&A in Hindi Old description: Proposed Q&A site for many Indian users face problem in asking question in English,So for better Q&A developers can Programming Q&A in Hindi,children,fa...

 
user457812
7:19 AM
You can view some of the changes there.
 
indeed
in Tavern on the Meta on Meta Stack Overflow Chat, 21 hours ago, by Manjot
1
Hindi Language & Usage

Proposed Q&A site for many Indian users face problem in asking question in English,So for better Q&A developers,children,families,farmers,villagers etc can ask there question in Hindi or English both.

Currently in definition.

I'm still in disbelief, that's all.
 
user457812
I need to find some new scifi to read.
 
harry potter? :P
 
user457812
If I had a gallon of piranhas and some cayenne pepper right now...
 
is that sarcasm?
 
user457812
7:32 AM
Something like that.
 
because you don't like HP?
 
how to decide an application is put in /system/app or /data/data?
hi
 
user457812
Just for suggesting it was science fiction :P
 
no one answer me?
 
well, there is some sort of science behind the magic
the science of magic :P
hi judy :)
 
7:36 AM
@Phelios hi
 
user457812
@Judy Got an SO question? 'Cause that sounds like SO question material to me. I can definitely imagine someone asking that down the road, at least.
 
@nil what? sorry, I can't follow you
 
user457812
What didn't you understand?
 
Sorry, my English is very bad
 
user457812
I'm just trying to figure out what you didn't understand so I can explain it, that way you might know how to deal with it in the future.
 
7:44 AM
I understand this sentence.^_^
Thank you
If you said so native sentence, I can't catch with you.
 
user457812
Alright. If you ever have trouble understanding someone's English, don't hesitate to ask them for help understanding it.
 
OK, I see. Thank you for your patience.
 
8:27 AM
Talkative: Posted 10 messages, with 1 or more starred, in chat. ^_^
Sorry, my English is very bad--->this is interesting. ^_^ haha
 
 
2 hours later…
10:10 AM
2
Q: How to reverse the direction of marquee of a TextView

KhawarI want to reverse the direction of marquee in the TextView. By default, the text moves from Left to Right, I want it to move from Right to Left. How can I do this?

 
10:47 AM
word
 
10:58 AM
does no one know the answer to my question?
 
@ThunderRabbit which one?
 
heehee it's me being funny. The question is "does no one know the answer to my question?" The question itself cannot be logically answered!
 
Android being open source is awesome
Just fixed a nasty bug in my app by looking at the implementation details of an activity
 
11:06 AM
sweet
 
Go to work this morning, and checked my dev console
full of stack overflow bugs
I was like OH SHIII
So glad that these people didn't give me bad star ratings
 
me too!
 
I'm actually happy that they reported the bugs :P
 
woah; were they all reported by users (not logged automagically) ?
 
The sad thing is, the bug was in the fallback mechanism of the fallback mechanism, which means my app is next to useless for them
 
11:09 AM
oh man
 
they had user comments attached
 
All Droid users
so, note to self, never buy a Droid
 
well there's your problem
 
yep ^_^
 
11:10 AM
shit light sensor AND camera
I might flag droid phones as incompatible
 
I approve this measure
uh-oh gotta go!
 
However, I tested on a friends Atrix today, and it was awesome
really nice light sensor
 
escape @ThunderRabbit, be FREEEEE
 
oh man I wish!
see youuu!!
 
11:11 AM
d'aww
In other news I'm getting stalked by the self appointed head of the bollywood nyancat gang.
 
oh dear
what's he doing?
 
He stole some pics of mine from my dailybooth account. Also this
 
I think it's because he can't actually afford an Android device, so he needs to release his frustration by annoying others.
 
11:29 AM
I don't really care about what he does. It's just that why don't some people realize that they are being morons. Even after being told so.
He is literally trying to find workarounds instead of being a better person.
 
What are we talking about?
 
Lets change the topic :)
I've never made a proper app. Though I plan to make one. For the lulz.
10 Million users on Google plus
 
Yep, G+ is win
 
Hey guys, does anyone know of a nice camera tutorial?
 
What to you want to do with the camera? Take a pic? record a vid?
 
11:53 AM
@Reno take a pic. Trying this now: marakana.com/forums/android/examples/39.html
 
Seems legit
 
@Merlin hey there, do you have write access?
 
The best way to use the camera in android is to use the camera intent rather than struggling with the Camera API. mobile.tutsplus.com/tutorials/android/…
@Reno yes, thanks ;)
 
@Merlin thanks but how come?
 
11:57 AM
Sorry I should have said quickest/easiest rather than best ... it does depend what your goal is.
 
Ok. What I don't like is that Step 1 is:
1. Drop in the code to launch the camera
2. Retrieve and display the resulting photo
 
@Adam, I tried the camera api and had problems with rotation on the device, but maybe you can get it to work. It's best not to re-invent the wheel though ;)
 
@Merlin I don't have to worry about rotation. Hmm ok but this Step 1 is way too vague
 
I didn't like that either ... I cheated and passed the data back through the intent
but the deeper I've gotten into android the more I realize that this is how it likes to do stuff. It's all about what happens when your phone rings
The other good reason for avoiding the Camera API is that IIIRC it changed at API level 8
 
+1 to the camera api being a PITA
 
12:08 PM
@Glitch sounds like you went through the same hell I did
 
@Merlin "The other good reason for avoiding the Camera API is that IIIRC it changed at API level 8" huh?
 
the only bit that changed in API level 8 is access to front facing cameras and some small extras
 
@Adam. API level 8 is Android 2.2 so the camera API changed after Android 2.1.
 
So you're saying not to use it because some users (who haven't upgraded) can't use it?
the app that is
 
I'm saying quickest and easiest way to use camera is with intents. It depends what functions you are using in the camera API that will determine compatibility. Personally I gave up with the API as I had time constraints and the intent system provided me with a solution that fitted my requirements
 
12:13 PM
The intent system is pretty cool
 
You can find the changes to the camera API here developer.android.com/sdk/android-2.2.html
 
See I couldn't use that for my app, because I take the first preview frame and skim off the luma data
 
@Glitch true :)
 
@AdamLynch It's as @Merlin says, depends what do you want to use camera for. I had to use API because of strict requirements we had for file size, image size, quality, compression, etc. This is part of the solution I came up with stackoverflow.com/questions/5157984/…
Intents are good if you do not want to reinvent the wheel (-.
 
@Audrius reading now but my app isn't allowing rotation
so I'm trying to see what's I actually need
 
12:17 PM
Intents are very powerful, it's just really hard to come from other platforms and wrap your brain around how/why google took this approach.
 
Non of the camera implementations I saw out there allow rotation, they just store rotation metadata within picture, so that viewer would rotate it for you.
 
----------------

Ok guys, what I need to do is to allow the user to take a picture (3 actually, but I can just duplicate the code), and just store it (and not show it to them).

This app doesn't allow rotation and I'm 90% sure it will never be available in the Market.

So what do you suggest now?
API or intents or what?
 
if its just getting 3 pics, use the intent
 
Dianne hackborn is the brain behind intents and binders
 
if you want to manipulate the data, use the API
 
12:21 PM
Ok @Glitch so does any know of a good example/tutorial of intent usage?
 
the one that was linked?
 
Intents looks simple, did anyone try looking under the hood? Really cool stuff.
 
I just need the user to take a picture of their passport for example and save/store it. That's all
 
yep
 
But I wouldn't call that very "good" because the first step isn't explained at all
 
12:23 PM
Did you try reading the block of text above them?
 
I don't know if this is any use but it seems to describe both methods
Or you could try this
 
@Glitch Yes. Then it says " Once you have completed these tasks, you have a place to:
1. Drop in the code to launch the camera
2. Retrieve and display the resulting photo
Now you are ready to proceed with this quick tip."
 
the second link is probably quickest as it's just the code
 
@Merlin that first link looks good. A lot of stuff but looks comprehensive
 
np ;)
 
12:28 PM
Ooh, but the second one... exactly what I need. Does the job is the shortest amoutn of code and reading for me
 
Sometimes the code is the tutorial lol
 
@Richa you need at least 20 rep before you can chat on here.
 
speaking of the camere:
0
Q: Camera intent with GPS enabled

bizso09Is there a way to launch the camera app via an intent with GPS turned on, so that the returned photo is geo-tagged?

 
Not sure if you can do it with intent. You can use this tho
 
He needs to use the API, doesn't he ?
Or take the picture per intent and then tag it.
 
12:42 PM
yes once the picture is taken, modify the exif.
using setGpsLatitude/Longitude()
 
12:53 PM
check out what I wrote on my 'What's New' tab :P market.android.com/details?id=com.vito.lux
 
@LukasKnuth put some info about the GPS single-shot mode in that answer
Most devs used GPS tracking, when what they really need is a single shot fix. :o
 
I found the leader of the Nyancat gang youtube.com/watch?v=KaqC5FnvAEc
 
1:11 PM
hey
 
howdy
 
This is the quality of journalism we get in Australia collegehumor.com/video/6564978/…...
 
it's the quality of humor
 
1:24 PM
omg
 
how can I update the AlphabetIndexer cache? I'm calling setcursor but it doesnt refresh it, it keeps with the index of the last listview
@DamianKołakowski ??
 
maybe
invoke Adapter::notifyDatasetChanged() ?
 
1:45 PM
@DamianKołakowski yeah, but I'll notify the DataSet has changed. And how did it will refresh the cache?
 
I'm guessing that cache is refreshed, but adapter did not invalidate the data.
 
@DamianKołakowski what if I call notify and after call setCursor
 
notify have to be invoked when something has changed
 
@DamianKołakowski its not refreshing
 
1:49 PM
@DamianKołakowski nothing
 
it clears the map and than getPositionForSection() does all stuff.
 
well its not doing anything
I have a text filter, so when I type a letter it searches all names with that letter
so it will have to refresh the index of letters every time I type a letter got it?
 
2:26 PM
@Reno Single shot mode?
@Reno Single shot mode?
 
2:58 PM
0
Q: windows xp 32 bit x86 usb adb driver samsung galaxy s2 android app dev

wesley oomsI'm looking for the usb adb driver for samsumg galaxy s2 and for windows xp. I tried the samsumg galaxy s driver since i cannot find the s2 driver, but that one doesn't work. Does anyone know where to find the driver? Thanks, Wesley

God I love using Linux :D
 
 
1 hour later…
4:24 PM
@LukasKnuth yep kinda like this
requestSingleUpdate()
It gets a single lat/lon fix and stops gps.
 
4:52 PM
@Lukas I've been on a course last week an will be again this week, your SO score has overtaken me noooo :(
 
hello
how do I clear the AlphabetIndexer cache?
 
5:44 PM
@JasonBunting: js guy in an android room. This will be interesting :)
 
LOL
I am just early for the book discussion. Not sure if I will stick around for it or not, I may have something that precludes me from it.
I have developed an Android app before, so I'm not just a JS guy, though I love it.
I mostly write C# ASP.NET MVC apps for my day job. But I don't discriminate, except against PHP and Visual Basic.
:)
 
@JasonBunting: not at all. I have been coding js the last week and I run as fast as I could to android development again :)
btw, last week I have been seen what's possible with android + html
you can bind android java calls in a js function
pretty interesting.
 
0
Q: AlphabetIndexer setCursor doesn't update its cache

cyberrogI'm trying to implement a fast scroller with AlphabetIndexer, but when the cursor changes, its not refreshing the index chache. In my CursorAdapter constructor I call setCursor(cursor) but nothing changes, and acording to the documentation: Your adapter is responsible for updating the cursor ...

 
@Macarse Really? The reason I love JavaScript is because of the functional programming aspects of it, things like closures, functions as data, etc. It takes some getting used to, but I think that once people really grok it, they love it.
@Macarse Where did you see this?
@Macarse I would love to do Android development in JavaScript, as long as the full Android API was available.
 
@JasonBunting: there are a bunch of js frameworks doing this. They should know about this
 
5:53 PM
@Macarse can yu help me ??
 
My question right now is: If you can bind a java call with js, why there are missing features in this js frameworks.
@cyberrog: nope, never used that.
 
@JasonBunting what about u?
 
@cyberrog: plz, stop asking directly for ppl to help you. If someone can help you, with the link is enough.
 
@Macarse ok =)
 
@Macarse Okay, I will have to look at that. I thought, perhaps, you were referring to things like Appcelerator's Titanium product, which allows developers to write Android (and iOS) applications with HTML, CSS and JavaScript.
 
6:02 PM
yep I was refering to those
they are in js AFAIK
 
@Macarse The only problem I have with those is locking myself into their product. While they have a "free" version, it comes with the potential cost of having to rely on that company for support when their product doesn't work as expected/documented/etc. While I don't care for Java much, at least I know if I write my Android apps in it, I am not getting myself into something that will cost me additional money (unless that *@&#^$!! Larry Ellison has anything to do with it).
 
hehe
 
aghhhh this doesnt seem to work mAlphaIndexer.setCursor(cursor);
 
cyberrog I'm a bit confused, are you trying to sort a list populated by a cursor?
 
@Pyrodante yeah
and in a search filter, it updates the cursor, and the AlphabetIndexer should be updated also. But it isnt!
got it?
 
6:13 PM
What I did on the past is put a filter on the search results... give me a second to look it up
 
@Pyrodante ok
 
oh! are you calling notifyDataSetChanged()?
 
@Pyrodante yeah, I've called it before setCursor, but nothing happend
 
well notify data set changed informs the list that the backing data has been changed and requests and update. However it sounds like you could solve this with a simple filter.
 
@Pyrodante how would be that?
can you guide me through this?
 
6:17 PM
I can try.
Ok so you have a Text View that is your filter entry right?
 
no, its an edit text
that I type the word
 
right thats what i meant sorry.
so its yourEditText.addTextChangedListener(yourTextChangedListener);
 
yeah
 
then you create private yourTextChangedListener = new TextWatcher() {}
 
@Pyrodante no, in fact, I implement that in a controller, then this class implements TextWatcher
and I have the method onTextChanged
 
6:20 PM
implement the methods and in the onTextChanged put yourAdapter.getFilter().filter(s) where s is the char sequence passed in that method
 
what is this filter(s)??
 
you have an adapter for the ListView correct?
 
yeah
 
that adapter should have a .getFilter()
 
ok
lemme try
@Pyrodante is it just that?
by doing that the notifyDataSetChanged will automatically see something has changed??
 
6:28 PM
.getFilter().filter(the char sequence passed into the onTextChanged method)
 
can I run it and test?
 
by changing the filter it will only display results that contain the filter string
 
@Pyrodante but it is doing that already withou the filter
just let me test
@Pyrodante not working. The AlphabetINdexer cache wasnt refreshed
 
ok I guess im confused what exactly your asking let me read your post again.
 
setCursor should do its job
@Pyrodante I want to refresh the ALphabetIndexer cache.
Let me tell how it must work
When I first load my list, it has all the contacts. Its in alphabetic order. So, when I use the fast scroller, it shows the first lettter of the sections. got it?
 
6:33 PM
yup
 
so when I scroll, it shows A, and then if the next starting letter is D, it shows D after A, and so on. got it?
so, this indexes are in the cache.
 
Well phooey I don't know much about that, but I can see that your not actually changing the cursor, so when you put setCursor(cursor) it isn't actually doing anything
 
but I'm passing the cursor updated Im debuggin it its changing
 
my hunch would be that you have to do something to the actual cursor because right now your backing data isnt actually changing
 
but, now I want to search the contacts that starts with 'E'. So I type E in the edittext. And I want to scroll through this contacts, it should show only E in the indexes, but its showing the indexes that was shown before, when I scrolled the entire list. got it?
 
6:36 PM
yeah. Unfortunately that is a different problem, and one I'm not experienced with
 
Rob
So it's showing all the E's in the list, but the quick scroll still shows A, D, E?
 
@Rob yeah!!!!
@Pyrodante check it out: this is called onTextChanged all the time. For every letter
 
Rob
I don't know what's wrong, I just wanted to make sure I was understanding it properly. How does the AlphabetIndexer get the letters in the first place? Maybe just have it do it again when you type in a letter.
 
For every letter I type it calls onTextChanged > setIndividuals > constructor
 
Rob
I have no idea. I've never done anything with cursors. It seems cool, though. It sounds like it should be working to me, though.
 
6:42 PM
Im sorry, I too am a bit stumped. Without playing with the code myself I don't see an obvious solution.
 
ok. =/ Thanks!
 
I did upvote it so hope that helps too :D
 
@Pyrodante ok
 
Rob
I did too.
 
thanks!
 
6:51 PM
Octavian will not be here so I will be moderating the book club.
 
during the event I cant ask questions?
 
nope
 
Rob
I removed that myself, though.
 
it starts in 5 mins :)
 
user457812
By the way, @cyberrog, you really shouldn't be posting code in here. If you have a question and code to go with it, post it on SO. >_>
 
04:00 - 19:0019:00 - 00:00

« first day (272 days earlier)      last day (4690 days later) »