« first day (270 days earlier)      last day (4670 days later) » 

user457812
12:29 AM
Oh neat, I can seat the exact time the downvotes happened at now
 
user457812
All within a span of five minutes.. that's impressive O_o
 
12:45 AM
@nil hi nil, good morning
 
user457812
'Lo.
 
you stay up all night?
 
user457812
No.
 
1:38 AM
good morning
argggh
can't open my eyes!!
 
user457812
Bah, you people and your different time zones
 
1:54 AM
haha
 
2:17 AM
0
Q: Shape does not show

hunterpThe shape background="@drawable/profile_rounded_top_shape" is not drawing, what am I missing?? <LinearLayout android:layout_width="fill_parent" android:layout_height="wrap_content" background="@drawable/profile_rounded_top_shape" android:cl...

 
user457812
For lack of a useful suggestion, attempt goat sacrifice.
 
I'm surprised that it even compiled :o
@nil did you do a rep recalc?
 
user457812
2:37 AM
Not yet, hasn't been 36 hours
 
3:04 AM
how can I propagate state_pressed to children views or does it do it by default?
 
3:25 AM
hi
Yesterday, you advised that I shouldn't to reboot the system. So today, I think I can kill all the running application by: android.os.Process.killProcess. But how to kill other running application in my application. This is also need the "root"?
@nil Are you still online?
@ThunderRabbit And you?
 
I think you should just tell the user to reboot their phone when they want the changes to take effect.
 
@ThunderRabbit you think I can use the reboot way?
 
I think you should just tell the user to reboot.
 
@ThunderRabbit I found the HTC sense use the kill process method.
And I think the kill process method is better than reboot
But my question also is I can't kill other application in my own application. It seem like there also is permission.
 
user457812
3:48 AM
Oh goody, my SO rep is back
 
ow that's great :)
 
^_^
 
4:26 AM
So some guy had an app which measured lux, and mine would appear right next to his in search. The other day he added 'lux' to his description, which pulled it ahead of mine. I thought "lol", because his app was pretty crappy. Today I check again, and his app has completely overtaken him. :P
However, there's a new app that shows up, with the exact same name as mine. It's a game though, so I don't care.
 
user457812
His app overtook him? O_o
 
oops, my app has completely overtaken his hahaha
I just thought it was funny how instead of improving his app, he adds a keyword
 
he hoped it would give him some good lux
2
 
That's a terrible joke @ThunderRabbit :P
 
how can I avoid double stroke with two stroked items next to each other?
in other words, how can I layout bottom of a with top of b ?
so that they occupy same pixel?
 
4:44 AM
I did it for the yuks
 
?
 
4:58 AM
how can I fill_parent when parent is wrap_content without fullscreen fill ?
 
user457812
5:24 AM
14 rep 'til I can create a new Obj-C room and exclude the wereaskers
 
5:39 AM
1
Q: Get Notified after 1st rotation of Text in Text View(ellipsize="marquee") in Android

KhawarWhat I have: I have a TextView with Ellipsize = Marquee. The textview's focus is true, so that I don't have to focus it manually, to start the text rotation. What I want: I want to do some operation when the 1st rotation of the text is complete. e.g. I want to show a toast or change the text of...

 
That sounds tricky
 
Yup, but I think It should be do-able...
 
(you can hit up-arrow to edit, for 2 minutes after you post)
nice
 
user457812
Man, I still want to know who downvoted my answers. Curiosity and all that.
 
maybe they don't like your all-lower-case name.
or jealous that you just have a 3-character name.
 
user457812
5:47 AM
My all lowercase name is easy to remember, stylish, and poppin' fresh
 
or figured that you're a nilhist, and wouldn't care
(how is that word spelled?)
 
user457812
Nihilist, close enough
 
miles off the mark!
What editor does Mark Commonsware use to code for Android?
eclipse has just failed me again
 
user457812
Dang it, Apple, stop telling me about iOS 5 beta 3, I already know
 
by running a dfferent app when I click play
 
5:50 AM
@ThunderRabbit O_o
Are you sure you didn't click on another project in the LHS pane?
 
10000000% sure
 
user457812
I fully endorse the write code in whatever text editor, run ant to build, and use adb to install method of development
 
no9
good morning
 
I'd do that, but man it sucks to refactor that way
 
duly noted
if I keep my job, I may look into that.
 
user457812
5:51 AM
It's easy enough if you write perfect code :P
 
user457812
And we all do that
 
the first time
in ink
 
I'm still a n00b
That sounds like my uni exams
 
what's a n00b?
 
no9
i am
 
5:52 AM
WRITE ASSEMBLY ON PAPER, KGO
 
user457812
Goodies, I have enough rep to create a gallery room
 
I punch the hole in my punchcards by hand
 
user457812
no9's a noo9
 
:D
 
user457812
5:52 AM
He's got his b upside down
 
I should have added a :-)
 
no9
hehe
 
I was pretending to be SO noob that I didin't know what noob meant.
 
How meta
 
SO = ssooooooooo, not SO
okay back to workin for me
 
5:54 AM
Soooo cold
 
no9
its friggin hot
 
hot here too
 
I was about to put a jumper on, then I realised... I'm already wearing one. O_O
True story.
 
hot.is/tokyo
 
no9
sweaty at 8am
 
5:55 AM
hahaha
 
In the middle of winter... D:
My birthday is awesome, because it marks the first day of spring :D
 
no9
its all upside down down there
 
22 March?
21?
23?
 
no9
hahah
 
1st September :P
 
user457812
5:59 AM
I wish there was a month with a 42nd day.
 
or did I trick myself into think
dammit!
me and my hemispheric-centric self
 
no9
rabbit where did u say u live?
 
Tokyo
 
no9
ahh i thought so
 
Rabbit-san sup
 
6:02 AM
okay I'm switching tabs now; I have got to get workin'
 
no9
sounds good, its one of my "must go" destination, but the budget is limited
 
soup!
okay bye!!
 
no9
take care
 
come anytime!
 
no9
for this year croatian cost will have to do
 
6:02 AM
oh yeah two days left
 
user457812
I should go out and pick up some soup from the store...
 
no9
i hate soups
 
user457812
What with my inability to not screw up what I cook
 
user457812
You are a blasphemer!
 
no9
only if im sick they are ok
 
6:03 AM
Ramen is a kind of soup and it is amazing
 
user457812
I love soup
 
user457812
Not a big fan of ramen, but it's still good
 
7:03 AM
Morning.
 
howdy
 
user457812
Yo
 
I hate relative layouts! I had it all working how I wanted it, and now I broke the xml somehow O_o
 
that's relatively easy to do
oh man I gotta go
 
7:05 AM
trying to get a linearlayout within a relativelayout to stay underneath another element in the relativelayout
but android:layout_below="@id/stuff" doesn't work :/
 
user457812
Relative layouts are a beautiful thing and you should never hate them for their beauty
 
that ---^
 
but I broke it D:
 
user457812
You should never hate them, FOR THEY ARE A BEAUTIFUL THING.
 
@ThunderRabbit What the? Is that from TheOnion?
 
7:07 AM
no; it's real
It's an interesting story, following Andrew Basiago's work.
 
no9
hey guys, can some one please explain something to me ...
in my app i open an activity then another activity and so on... somewhere i simulate exception. I get the error (force close dialog). I would expect that app would kill itself but it doesnt. I keep getting this messages and i cant figure out why exactly. Sometimes i get couple of them and the app then closes. Sometimes i get loads of them and the app closes. Then another time the app stays open (on some activity)
should i kill the app in UncaughtExceptionHandler manualy? Or what? :)
 
the other activities live on and on and on as far as i can tell
 
no9
7:23 AM
yes it makes sense (life cycle). But im sure you guys had this issue
how did/would you handle it?
if in application on any of the activities (i have implemented UncaughtExceptionHandler on every activity) comes to unhandled exception the app should close right?
 
@no9 do these activities need to live on after they've been used?
 
no9
no. i dont want them to live. If i get unhandled exception (force close dialog) i want the app to shut down
now im getting bzzzz dialog, bzzzz dialog, bzzzz dialog ... its crazy
 
hmm, maybe this will help? stackoverflow.com/questions/2092951/…
 
user457812
While I still have it on my mind... @OctavianDamiean, you might want to keep an eye on cyberrog
 
what's he done?
 
user457812
7:30 AM
Two code pastes and questions in here without posting them on SO first
 
user457812
I think he might've forgotten which room this is, I don't know O_o
 
no9
@Glitch i will read up
thank you
 
@nil on what?
 
user457812
Well, we got this and this
 
Oh I see.
Noted.
 
user457812
7:38 AM
I don't think he'll be doing it again since he went ahead and created a question for the second one, but just figured I'd mention it before I forgot again
 
8:23 AM
FINALLY fixed my issue
Turns out padding breaks it
 
9:18 AM
Yoyo peeps
 
What's happenin @OctavianDamiean
 
Nothing. I'm doing all kinds of stuff and the others do the same thing I guess.
 
I wish SMF had an OpenID mod
 
hi
 
9:28 AM
Hi Judy
.. or, do I mean.... Uh oh ! A G G G G Girl!! hides
 
Why my application can't access the sdcard. The exception is permission deny. But I add the permission to the manifest. My application use "android:sharedUserId="android.uid.system"
 
try <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
 
I have added those permission
If I delete the "android:sharedUserId="android.uid.system" ‘,it can access the sdcard successfully
 
Judy: Did you add it to the correct place in your manifest? Android will happily let you add permissions in the wrong parent with no warning.
 
add them right at the end of the manifest, before </manifest>
 
9:30 AM
(What is a "Subjective" question and why can't I ask it on SO?)
 
I check it again, it is not wrong
 
@Graeme "subjective" means it has no clear aim or goal, it's a matter of opinion
 
Oh... ok, it's wrong then. Silly SO.
 
what are you referring to?
 
??
 
9:34 AM
Are you sure it's a permission issue @Judy?
 
07-13 09:11:25.029: INFO/System.out(9986): write Exception-->java.io.FileNotFoundException: /mnt/sdcard/share.txt (Permission denied)
07-13 09:11:24.999: INFO/System.out(9986): creat exception--->java.io.IOException: Permission denied
@Glitch If I don't use the android:sharedUserId="android.uid.system", the problem did't happen
 
Hmm, interesting
 
Because I need to use the 'forceStopPackage' api, so I need the android.uid.system
After I add that, the problem happen
 
0
Q: Fragments - Do you have to use an Activity Wrapper around a fragment which comprises the whole Activity?

GraemeConsider the sample app from Developers.Android.com This describes using Fragments like so: On a Phone you can use Fragment 1 on Activity A and fragment 2 on Activity B. On a tablet you have more real estate so you use Fragment 1 and Fragment 2 on Activity A. Great! ... But - On the first e...

 
@Judy Don't you need to sign your app with the same key as 'android.uid.system' to do that?
In which case you'd need to write your own firmware (I could be wrong)
 
9:39 AM
yes
LOCAL_CERTIFICATE := platform
I also add this, and build it successfully
 
@Judy When writing to sd card you don't need to include "mnt"
 
Hmm, I think you'll need to track down someone more experienced than I
ahh, I didn't notice that!
Yeah, no mnt
 
why
 
@Judy When you try that you're trying to create a top level directory in /mnt/mnt/sdcard/share.txt
 
user457812
@Judy Is your path to the SD card hardcoded?
 
9:41 AM
Points pls.
:)
 
why donnot need the mnt
 
IO assumes you're using "mnt" as a root.
 
@Judy Do you have a question on Stack Overflow for that?
 
use Environment.getExternalStorageDirectory().getAbsolutePath()
 
File share=new File("/system/media/sdcard","share.txt");
 
9:43 AM
incorrect
Use what I wrote
 
why
 
that'll return a file
 
sorry
 
because different phones have different paths
 
paste wrong
 
9:44 AM
Hey, helloooo!
 
File share=new File("/mnt/sdcard","share.txt");
 
1 min ago, by Octavian Damiean
@Judy Do you have a question on Stack Overflow for that?
 
you can't assume that path you have will work on every phone
 
If not then do it now.
 
now, I work at emulator
@OctavianDamiean I think this question is small. So I don't like post it on Stack overflow
 
9:46 AM
If fills an entire 22" monitor in height. It isn't that small apparently.
It doesn't even matter how small it is, others may run into the same problem in the future.
 
ok, ok!obey your command!^_^
 
Mr @Glitch, Do you know the answer to my question up there ^^
 
I am going home. see you later!^_^
 
It's got to be something everyone who uses fragments has come across... i think..?
 
user457812
People use fragments? O_o
 
9:50 AM
I don't know anything about fragments
 
doh -.-
 
user457812
That's one of those iffy APIs that's sort of kind of usable
 
I've been using them for a while... but just thought about this when looking at developers.android.com
to make the entire app out of fragments means you're going to have random fluff everywhere which sucks.
 
Random fluff?
 
user457812
What he asked
 
9:52 AM
Yeah - if you have an activity that consists of a fragment
then you have to create an activity and layout.xml for it
 
Oh didn't notice the question. Reading now.
 
surely there is a manifest option to allow you to load a fragment as an activity (or in a system piece of fluff)
 
Is 'piece of fluff' an officially recognised API feature? :P
 
Yup :)
POF
 
@Glitch did you turn on Analytics for your app? I think it will be very useful to collect data from different devices
 
user457812
9:55 AM
Ok, so each fragment is an activity?
 
@Reno I didn't know I could do that. Unless you mean the Dev Console thing?
 
user457812
That seems.. really over the top O_o
 
does it :o ?
 
Well your activity class might do more than the fragment does.
 
For an app that depends on different sensor hardware I think it will be cool to collect data in the beta version
 
9:56 AM
I think you guys are crossing the convos here
 
It might - but I would imagine there are alot of situations when your fragment does it all. Such as the android.com example.
@Glitch Yeah, living life on the dangerous side ;)
 
@Reno Does it actually report back sensor data?
 
user457812
I just dislike how heavy an activity feels, which might be Java's fault
 
Basically it is used to know which feature is used the most. I think you can send back any data you want to.
 
9:59 AM
On an entirely different topic (tripple crossover), @OctavianDamiean are you a furry?
 
user457812
A.. furry? O_o
 
user457812
Why would that matter?
 
Does a beard count as fur?
 
I'm just wondering from the "Look! A Unicorn!" on his profile :) Doesn't matter just curious
 
10:01 AM
I've seen alot of "Look! A Wuff!" from furries before. Sorry, totally derailing what we were talking about.
 
user457812
I suspect that's to do with this
 
I'm ... uh ... like ... looks all puzzled.
Yup.
 
Hah! Amazing
Anyway - yes, Fragments and stuff
I'm adding the fluff now cuz i need to get on
But do you think there is a better way to do this out there somewhere.
 
user457812
I think I'll go sit in bed and read RSS feeds.. my brain is fried
 
@nil that will be me in 6 hours.
 
10:05 AM
I think I'll have to re-read the Fragments documentation to be able to really participate in this discussion. It's been too long since I read it.
 
This is a bit too far out but you can use Google prediction api's too.
as a part of your algo.
 
@Reno that analytics thing is pretty cool. I guess it could help to see how much people with dodgy sensors are actually turning on filtering mode
 
 
2 hours later…
12:09 PM
hi all, I come back!^_^
 
Yay...
I still think RelativeLayouts are evil. Once again, my layout broke itself, and I didn't even change anything :/
 
12:22 PM
Morning
What happens to the Activity which starts another Activity? Is it suspend immediately?
 
Yeah
 
it will go to onPause state
If you didn't finish it before go to another
 
What is about instrucations after the call? When would they executed?
 
@H3llGhost What do you mean?
 
`startActivity(new Intent(someactivity));
// some code but when it is executed?`
 
12:31 PM
after onResume()
but only if it comes back to the foreground
 
Okay thanks I wasn't sure
 
actually, I'm not sure it ever gets called
you'll have to call it in onResume()
 
I think it is incorrect. All instructions after startActivity will get executed till current function goes out of scope.
Say you handle key down event. You can start activity but still need to return flag indicating if event was handled.
 
Hi all. I just post my question: stackoverflow.com/questions/6679011/…
Please take a look. Thank you very much!^_^
 
12:48 PM
We told you how to fix it already...
 
no9
2 more hours and i will be in a pool
sigh
 
@Glitch lol
 
@no9 what are you doing?
 
no9
what do you mean?
 
@no9 Do you have a pool?
 
no9
1:01 PM
nop
im taking my kid to swimming class
 
Ah cool :)
 
no9
i live in apartment, soooo building a pool is a no-go
but i would love one
 
Any Symbian OR Qt Programmer here????
 
Has anybody used the secondary progressbar from the ProgressDialog used?
 
@Glitch my network just was broken.
 
1:11 PM
But there is a history
 
@Judy does my answer work?
 
@Glitch why can it access it successfully if I don't set "android.uid.system"
 
I don't know, perhaps it changes the path
 
I can't check it right now, because I am at home now
I will test it tomorrow
And I will tell you the result. Thank you for you reply
 
1:38 PM
hi everybody
how are you ?
 
Good thanks
 
@Gr
@Graeme : hii
 
 
1 hour later…
3:14 PM
hello
not?
 
3:41 PM
hi
 
4:05 PM
hi
 
4:25 PM
why can't I center my image when its parent RelativeLayout has layout_gravity="center_vertical" ?
I mean android:gravity="center_vertical"
 
4:55 PM
Is there any possibility to put not serializable extras in an intent?
 
i've converted a linearlayout into a listview basically
how can I actually get onItemClicks done?
 
 
3 hours later…
8:14 PM
3 hrs ago?
wheres teh action
 
user457812
Lot of people doing their goat sacrifices right now
 
8:51 PM
@nil just finished mine.
 
user457812
I just finished up writing a few paragraphs about how documentation and stack overflow are your friends, and how code samples are not always necessary (despite beginners having a unquenchable thirst for them)
 
user457812
I might actually copy that answer and post it on my blog after some editing...
 
LogCat is necessary... in almost any case.
 
user457812
On Android, LogCat and ddms are your friend
 
How often do I read "This is my code, there is something wrong."
 
user457812
8:53 PM
In fact, if you're running your app and ddms isn't open, something is wrong with the way you work :P
 
user457812
Unfortunately, my answer was about iPhone programming, but it could easily be repurposed for Android
 
user457812
It's more generalization than specifics
 
you're working on the iPhone, too?
I guess you have a Mac then?
 
user457812
Yeah
 
using OS X, too?
 
user457812
8:57 PM
Yes
 
hm. I don't like the way the windows-controlls appear on the left side and you can't change it.
What Hardware do you use?
 
user457812
A 2.5 year-old MacBook Pro. Dual core 2.8ghz, 4gb of ram, etc.
 
user457812
I don't really mind the window controls, but that's 'cause I don't really use 'em
 
i have a one year old Mac Mini here. Dual core 2,2 GHz and 4GB ram.
Great thing for work.
ah, a classic one:
-1
Q: ListView Force Close.

Ben BuscarinoI am writing a Class that gets the File's in a folder, and displays the contents in a list view. the application force closes when i run this activity... I Debugged for a while, and searched through logcat, and I cannot find the problem... public void onCreate(Bundle savedInstanceState) { su...

 
user457812
I'm currently waiting 'til around September to November to buy a new MacBook Pro, since my warranty is going to die soon and with that comes the unpleasant thought of "what if it dies!?"
 
user457812
9:02 PM
In which case I have the usual time machine backups, but that's not going to help if I don't have a computer in the middle of the school semester >_>
 
and that would be bad.
 
 
1 hour later…
10:14 PM
what is a good way to handle net errors gracefully ?
and by that I mean IOExceptions ?
 
user457812
Goody, used all 40 votes today. The goat worked!
 

« first day (270 days earlier)      last day (4670 days later) »