« first day (656 days earlier)      last day (4518 days later) » 

00:00
wave
okay
baibai
I am not exactly sure why they did it this way or why it's bad but... I waste more time when I am on the chat studyign because I can ask deep questions
I woulda just looked at the code that they were talking about and moved on otherwise
I just critisize books code and then go ask if this really was the most efficient code
00:25
@nil I looked for a way to pull ip using meteor, but haven't figured out how.
00:36
What is the easiest way to get an app to default itself back to the home screen?
what do you mean
Like make it so the app run but it goes back to the home screen as soon as it runs?
oh...hmmm...there's a way to do it, I think that's not considered proper though
I'm not looking for proper I'm looking for functional xD
I think it might be finish()
in your activity
i recall reading something along those lines somewhere
00:40
Hmm cool. Let me give it a shot.
lemme know if it works, I'm curious
only if it's the last activity on the backstack
@GeeksOnHugs Nice try but no dice Q.Q
oh sry :(
Come to thjnk of it if you press back on tge browser enough tines it will do it ... but the process still runs in the background.
@linuxrox are you trying to kill the process or just go home?
00:51
Go home @Merlin
Then you should be able to send the HOME intent
O.o oh rly?
Looks it up
2
Q: Android - What Intent does home button issue?

AndroiderI would like to know exactly what operation a devices home button performs? ie what intent, intent category and action is issued when you click on home button? that takes on back to the blank home screen. I would like to know what is involved in implementing this operation to occur when clicki...

I was just looking at that :D
Suprised that worked from my mobile :)
00:57
Still no go Q.Q I'm going to be up all night on this one xD
Note sure why you need this at all ... home button is on every device
Its nothing bad but its like fightclub I cant talk about it.
Fair enough
Are you sure you did it right???
So I need to be vague and I cant really expect to get Awesome results
Yeah put the catagory home code into the intent to fire the main portion of the app.
Maybe what I need to do is make one more file setting the intent for the home catagory in that one so it launches the main then follows with the return home.
hey @nebulae discussing it with my wife now
01:03
2
Q: How to Launch Home Screen Programmatically in Android

sjorI want to launch home screen of Android with my application. The main target is to show all of apps to user when he/she presses a specialized key. Actually, the way is not important. Any idea to do this?

Worth a look
YOU ARE NOT ALLOWED TO TAKE OVER THE HOME BUTTON CLICK
not in any way... ever
stop trying! (alliteratively, I have no idea what we are talking about)
I'm not trying to take overthe click.
what are you trying to do?
I'm trying to make my code go back to the home screen when the app is run. This has nothing to do with the button itself.
so you want to launch the homescreen
correct?
01:05
From with in the app YES!
2
Q: How to Launch Home Screen Programmatically in Android

sjorI want to launch home screen of Android with my application. The main target is to show all of apps to user when he/she presses a specialized key. Actually, the way is not important. Any idea to do this?

:P
specifically:
5
A: How to Launch Home Screen Programmatically in Android

AnandHere is the code for starting HomeActivity Intent startMain = new Intent(Intent.ACTION_MAIN); startMain.addCategory(Intent.CATEGORY_HOME); startMain.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); startActivity(startMain);

and be done with it
So I need the activity main in there.... @Merlin you might have been right that I was doing it all wrong. xD
what?
On mobile couldn't link to an answer ... cheers pyro
o7
(that's a salute for those who don't know)
01:08
I didd wonder ... hmm ... never considered that there may be a military smiley subset
lol I see it
now that you mention it
for those about to code
we salute you
Yeah right I imagine by now pyro is ready to put a gun to my head xD
@GeeksOnHugs I'm 1/16 jew.... IDGAF :D
/@...@\--* very poor tank smiley
dude, I'm palestinian :P
Also o/ where I come from is a wave xD \o/
01:11
lol
I do keep forgetting that this is a global community.
\o\\o//o/ <-a crowd at a concert
Tron O.o
no worries bro, I've left gaza behind :P
Well it worked with out the desired outcome xD
01:12
I never want to offend, but allways want to get a laugh :)
Does not judge people based on nationality... I might be American but half the time is ashamed of that fact since the land of the free and home of the brave might be true but there are still those of us who give us all a bad name... and those people are the true criminals and scum of this nation.... Them and the bankers
especially the bankers
:P
Like @GeeksOnHugs I think geeks is cool people, he helps me out with my code and does not afraid of anything xD
and don't get me started on people who don't use their turn signal
heh thx :)
When this is all over and i get interviewed for this app I'm sure I will be asked "So what did you get out of this?" "Easy... A whole ass load of headaches and a good bit of culture... you will be surprised at how many awesome people there are in this group"
Alright this project is almost over... Raghav already know whats going on even though the code made him want to kick puppies. I dont mind sharing a bit of info on it so you all might be able to help me with this last part a bit more. but Brb
01:20
It's a brb app :)
Nope its a personal security application.
Makes me think of that yellow jacket thing from earlier
O.o
Wut?
Taser case for iphone
01:23
Wipes Sweat off head We are not quite like that.
Not a bad idea though.
@GeeksOnHugs You like Trip-Hop?
thats crazy
yah...among lots other :)
Which part?
yellow jaket
I would not pull that out on someone with a firearm
So @Merlin I'm sure now you can piece together what I am trying to pull off, And I only have till friday to do so xD
With it being 99% complete all I need to do is figure out this damn dimmer.
I know Pyro suggest a wake lock but that did not prove to effective.
Not a clue ... either about dimming or what you are trying to pull off (other than your hair)
01:30
Is this possible?
for(;;){//some code here}
what would that for loop do?
if anything then it would loop forever
Same as while(1)
o ok I see.
I've seen it in C but not sure if it's syntactically valid in Java
Yes you are correct it is an infinite loop.
01:47
Well I'm tinkering with the WakeLock now xD
Hehe I do not have permissions to use device power xD
I posted this before but: Keep Calm and listen to Juno Reactor! youtube.com/watch?v=UgyjJ4dvxJQ
Hey guys.
Having some trouble with consistent logcat output from an avd
Is there any way to force logcat output from a specific avd.
?
I get that too from time to time. Q.Q
hmm, I've had to re-do the project several times
there must be an underlying cause
user457812
@ThunderRabbit No way to identify a user via Meteor?
user457812
Maybe set a cookie and store a uid in it (easily modified, but it's a hack)
02:02
So apparently I cant use the PowerManager.goToSleep(int); function LOL
0
Q: No LogCat output from AVD?

esoterically illinWhen I start my avd and deploy my application, there is no output being send to LogCat, any thoughts of how to fix this? When it happens I just re-make the project and add all the files. Is there any way to force the logcat tab to grab output from a specific avd?

hello everyone....
what is the difference between tabActivity and fragments
How do I get this: SystemClock.sleep(20000); Into a startActiivty(); (I know its against house rule but this does JUST what I want it to
hi
is anyone here?
I am but I be noobz
02:17
what is noobz?
Noob = new guy xD
ok
me too
do you think it is interesting here?
you like linux ? wow, I use ubuntu 10.4 , and you?
I am a noob too? :P
nobody talk about the Technology?
which technology?
02:23
like
NDK
or
Develop android app?
I generally just use Eclipse IDE with the standard SDK/ADT
do you konw somthing about the NDK?
where you from ? Canada?
I do not work with the NDK
and you have some app about the android ?
@Robot1987 I use arch xD but I'm slowly getting into useing BackBox... likely going to ditch for Xubuntu after I get a new laptop. O.o Or better yet Linux mint!
02:28
hi
is it possible for our Android app for receiving notification from Twitter while new direct message is coming?
@LeapBun try twitter4j library
@AbhinavPriyadarshi i'm using it.
@linuxrox wow , do you use vi ?
@Robot1987 Nope Nano, Mixed with Eclipse for Droid... By no means am I a pro with linux, I just like it enough to use arch xD
@AbhinavPriyadarshi i could get followers, following, direct messages ..., but the problem is that could twitter send notification to my app?
02:34
@linuxrox ok I know. I like linux ,too
Jajah :D
HOOKER!!! ALLI FERAND IS A HOOKER! <3 :D
Was quoting Miami Vice!
@AbhinavPriyadarshi i have read it before. however, it looks too summary. no example...
I can't find a difference between Digg and StumbleUpon
03:07
@userIsAMonkey This having nothing to do with you being a monkey? then Yes your right there is next to NO difference in them.
03:21
disappointed by the vinigar that passes as wine these days
@Merlin can't agree harder
Yeah. I just clicked "ignore this user everywhere" again.
xD Nice!
@ThunderRabbit Ha, who'd you ignore?
It's like a have a private room with Merlin!
03:27
(also hi!)
@kcoppock LR
Ah
I've only blocked one person so far
Gets confusing when you only see half the conversation, haha.
two for me
haha
Wait a sec ... did TR just bin me?
03:29
yep
I mean, nope!
@Merlin I was joking that you were the only person I hadn't blocked.
That's okay then. My magic wouldn't work without your lucky feet mr wabbit
oh, I forgot who had those!
@ThunderRabbit Can you hear me?!
Just as well we grafted hands on so you can code fast
Wow, so I just now got the Facebook ticker added to my profile. I feel unintentionally stalkerish now.
03:34
@kcoppock I just ignore it all together. xD
So. how's the land of the rising sun?
a bit warm, but fine
my friend Sabina is coming in to town tomorrow; she'll be traveling around Japan for a few weeks!
Not huffing tiger tail again I hope
hahahah not as often; I joined a 12 step program
but I have been playing too much Minecraft
how (and where) are you?
Well hopefully your visitor will relight your passion for the delights of the Nijon
03:38
@linuxrox Appreciate the humor. =p
I'll be delighted if she does!
:D No problem!
I'm full of the cold atm. Trying kill or cure with some vin rouge but it's a bit fail
good luck with that!
@linuxrox nope!
Whoot!
03:41
okay, I'm now ignoring everyone as I get back to work
88 ;)
omg the emulator for HVGA is so tiny. @.@
Any devices actually using that?
HTC Hero apparently...
Got a review on my app stating it wasn't rendering properly
It was still a 5* review which was nice, but I wish people would just email me with issues so I could work with them to fix it.
Do what glitch does ... refund the money and forget about it
03:46
It was the free version. ;)
Aww crap .. dangers of freebies
Yup
Oh god it does look weird
It would be good if google only allowed ratings for paid apps or simplified it so a bad rating didn't hurt so bad
user457812
Do what I want to do but don't: tell them to smoke a high-velocity Wabbajack.
Something anyway. I'm always surprised to see the number of 1* reviews on apps like Google Maps and GMail.
What is a wabbajack? O_o
user457812
03:49
A staff in Skyrim that does random things.
lol ok
user457812
So, you use it on one enemy and you might turn them into a puppy. Use it on another enemy and it might vaporize you.
Now that's the kinda project darpa should be financing
Yeah that does sound kind of awesome
Wish I could find Glitch... Q.Q
03:52
There's always boston dynamics ... but bigdog just not as satisfying as a wabbajack
@linuxrox he's not usually online till later ... hang on in there ... when's the deadline?
Tomorrow night.
How is there a deadline for a personal project you're doing yourself? :P
Wgile you're waiting make sure yiu have enough coffee and energy-dense foodstuffs
In theory to be on schedule its 6 minutes Since I wanted to spend tomorrow getting the site worked on xD @kcoppock This is not a personal project... and if it is I still have a deadline to work with.
curses touchscreen keyboard
03:57
I'm working for my dad, but we all have a deadline since we are facing eviction. Its all really hard to explain I know I sound like a noob and I know I am so I'm sure my word is not much, but friday is a big day...
@linuxrox did you open a question on SO? if so then can you post the link in here again
How imperative is the screen dimming feature?
Because if it's not 100% necessary, just release it without and get started on an update.
Well I would rank it up at 99.9% And its the last thing In need to do for it.
Not best practice, but if you have to meet a deadline, not a bad option.
Did you ever look into Device Admin?
I remember linking to a way to lock the screen, but it required your app to be installed as a device administrator
I did not.
Actually I have a way I just need to squeeze it in the startActivity for the main part of the app
By using SystemClock.sleep() I can achieve the results I want..
04:01
I think my nurse used gorilla tape to put this damn bandage on my arm. WTF?
I have it tested and working. But here is the question @Merlin such that it is: stackoverflow.com/questions/11770225/…
0
Q: SystemClock.sleep(); with startActivity();

linuxroxI am trying to set a SystemClock.sleep(); with in a start activity so it starts the said activity in a "Sleep mode" that really just dims the screen enough that it is not visually apparent. So... How do I do this?

Ok well focus on what you can do ... one small feature can be sold during the pitch ... if they see everyrhing else is good then you stand a good chance of getting through without it
Yeah that xD thanks kc
looks around for a bottle of Goo Gone
04:05
Your other option is to add an overlaid view then tweak the alpha ... it's a hack but it may buy you time
If it doesn't need to be visible...does it even need to launch? Can you not do your work in a Service?
@Merlin Do tell since that is one of the other ideas... anything so long as the screen looks black(ish)
It needs to launch since its running out of a widget.
You can use bradcastreceiver ... you don't need an activity
It's not "running out of a widget"; a widget could launch it, but a widget doesn't host activities
04:07
Yeah that is what I mean the widget is the launcher.
So launch a service
If you're not showing UI then you don't need an activity
Hmm... this is where it gets tricky...
But I guess if services can handle intents then I guess I'm all for it.
Use intentservice easier to implement than activity
What merlin said
@Glitch RUN
:P
04:09
woo, finally some time to get some work done on my personal app!
I started it over to make it look pretty @kcoppock lol
lol awesome :D
@Glitch They tell me your the one to talk to about dimming screens in apps?
finding icons seems to be a challenge however
What type of icons? Google provides a bunch for the ActionBar
I know right you can never find the right kind.
@Merlin Brilliant idea but it kills my shared prefs then.
04:15
Are you sure?
I have a simple dashboard layout
3
A: To access shared SharedPreference from service in android

JackYou have to use the Context like this: Context ctx = getApplicationContext(); SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(ctx);

yeah that whole area gets highlighted in red./
so icons to bring you to my different activities. I'm already using some of the actionbar ones
Try searching WikiMedia -- there are quite a few under CC licensing
04:16
I'm pretty sure you just need a context to access sharedprefs
Context is available through intentservice.getcontext
Or simply this.getContext()
I'm going to play with this for a bit I'll come back if I need any help. Thanks in the mean time.
In fact ... intentservice is a descendant of context so you can just use this
Well, I'm out for the night, talk to you guys later!
Night dude
Nice! By dumb chance merlin you mentioned just using an overlay... how would I go about that?
@kcoppock Night, thanks!
I know its a hack and it might not be the hack I deserve but I'm almost sure its the hack I need right now xD
At least untill I can get a proper dimmer going.
04:29
So you would need a framelayout at the top level ... then have a full size view that you move on top of the z-order when you want to dim ... make it slightly transparent
All this can be done in android 2.3?
@linuxrox maybe...
Use view.bringchildtofront
Check the viewgroup docs to confirm
@Glitch if you know a more simple lay of dimming then this I would be much abliged if you could tell me.
Way* Sorry tired been working all of this since 8:00 this morning. and its 12:30. by the looks of things I wont be quitting till around 2:30 less I just get to tired.
I can't be bothered reading all these posts, give me a summary
04:34
I have an app that I want to dim the screen on at a certain point. IE: while making a call for instance.
0530hrs here no sleep 1bottle wine ...
With out the use of the built in Proximity detector.
@Merlin your my hero for that reason alone.
Insomnia's a harsh mistress ... but you gotta pull it out the bag for your old man so a few hours sleep can wait
@linuxrox dim using the backlight, or an overylay?
Which ever one is more easy, I just need something to make it look dim untill I can get a functional dimmer working.
04:39
Glitch ... what's the backlight procedure here? can you punt an east onto github?
Ok, so you want to make an app which runs in the background dimming the screen when particular events happen?
Its yes in essence.
Sounds like an app that'd compete with mine
Dont worry I'm sure we are in seperate brackets.
Not really ... he just wants the backlight tweaked to a step change down ... i don't know where that would be done
04:45
Well adjusting brightness without a window is hacky
Easiest way is to open an invisible activity, change the window/system brightness, and then close it again
I have been trying that... no avail it would seem less I am doing it all wrong.
@Merlin There is a reason tomorrow night is the deadline for this. One I cant quite talk about though.... you know Hogwarts Business and all.
Pastebin your attempt
Alright.
No muggles here ... i think it's safe to post a proof of concept restricted to this particular spell ... so long as you rwnove any higher level wizardry
*remove
Wait wait, Glitch do you know how to make: SystemClock.sleep(20000); run right next to a startActivity? if I can do that it would be perfect since that is really all there is with that code. An intent, that and a startActivity as mentioned.
So its safe to talk about as long as I leave the code out of it?
04:56
Barebones what you want to do
Make a call and dim the screen.
With out using the proximity sensor
From your intent?
es.
I have the call code set up and working.
I just need the dimmer.
Then other then the occasional update this prick is done.
5
Q: changing screen brightness programmatically in android

Sridhar BandiI want to change the screen brightness programmatically in android. At the moment I use this code: WindowManager.LayoutParams lp = getWindow().getAttributes(); float brightness=1.0f; lp.screenBrightness = brightness; getWindow().setAttributes(lp); But this sample code works on cupcake, not on...

What do you mean "run right next to"
@Merlin bad bad answer, don't use that
05:00
As in the two run parallele at the same time
@glitch just googlin'
That upvoted answer in that (but not accepted) is the correct way
However, you also need to set the system preference
If you don't, the brightness won't stick
And as much as there are no muggles around here Merlin, I dont know if there are any of You-know-who's forces around here as well. xD
System preferences. Right-o.
0
Q: Changing the Screen Brightness System Setting Android

KratzI'm attempting to change the screen brightness from withing a service, like so: android.provider.Settings.System.putInt(getContentResolver(), android.provider.Settings.System.SCREEN_BRIGHTNESS, bright); Problem is that is doesn't work. Well, actually it succeeds in changing the brightness sett...

Still googling
It's not easy on a mobile ye know
Hehe mer I'm sure.
@Glitch Use this? Settings.System.getInt(ContentResolver, settingToGetAt); (Togetat changed of course)
05:11
probably want putint
Alright I need to figure out what content Resolver I need.
android.provider.Settings.System.putInt(getContext().getContentResolver(), android.provider.Settings.System.SCREEN_BRIGHTNESS, sysBright);
merry christmas
Why thanks you Santa Glitch!
HAHAHAH!!!!! THANKS GLITCH!!!
05:27
@linuxrox so you got a solution now?
I do!
This case is closed!
Awesome:) now get some rest and get the job done tomorrow
05:46
@Merlin @Glitch @RaghavSood Thanks for all the help! :)
no prob
 
2 hours later…
user457812
07:36
user457812
This is a wallpaper some of the guys over in the other Android room ought to stare at long and hard.
It took me a while to realise what that meant :P
user457812
Oh yeah, more of the same → theprofoundprogrammer.com
I read through that site a few weeks back
most of them are poor
user457812
They're funny enough to read, but I find it absurd that people are paying for them
07:41
O_o
Maybe if they looked like genuine inspirational posters, I'd buy a good one
Provided they were framed etc.
great Google. Promote a tool for database examination but don't make it accessible on non-rooted devices. <.< developer.android.com/tools/help/sqlite3.html
user457812
@Glitch And if they didn't have the damn text in the corners
user457812
I don't really like having posters that're advertisements.
They don't remove that in the prints?
user457812
I don't know. Would you expect them to?
user457812
07:42
After all, they want to make money off of stock photos and some text.
I certainly would, if I was paying for it
Meh, these feel like a forced meme
user457812
They do after you read all of 'em
user457812
'Cause at that point it's boring as heck and there's no visual appeal since it's stock photography
user457812
That's totally two dudes.
07:47
My university replaced "smoke free zones" with "smoking zones" recently
So smoking is banned except in designated areas
And then someone posts this pic up :D
user457812
Clever, terrible haircut though
I like those fat american goths cause it seems they usually wear clothes more or less fitting there size
in Germany it's too much skin for too less fabric :C
I love how Reddit worked out that it's legal to sell/drink alcohol anywhere on campus, so now people turn up to lectures with beer
Stats for Lux
Nice, good to see that the newer Android versions are leading.
07:57
Yep 73.48% on ICS and later

« first day (656 days earlier)      last day (4518 days later) »