« first day (1187 days earlier)      last day (3762 days later) » 

11:01 AM
I dont get it
 
Neither do I
 
speaking of hacks i saw this yesterday arstechnica.com/gaming/2014/01/…
mind literally blown
 
basically the guy uses "bugs" in the game by playing it to execute code that shouldn't be executed
 
Ow, that ! I saw it in the AGDQ2014 video yesterday :)
 
the intro is "you know the real hacker jokes? Real hacker uses vi... no cat... no whatever"
so this guy hacks the game by playing it
 
11:06 AM
oh sorry warren i didn't realise you had posted same link
 
no problem. Glad you found an english version :D
 
sounds almost like a troll
 
the bad thing: it isn't
 
yep :( Luckily, stupid ideas like that typically don't make it because some people see the logic flaws
 
user image
2
Like a boss
 
11:59 AM
Is that Jerry Lewis?
 
Looks like but I found it on a russian g+ profile :)
Tetris with Lyrics!
 
Wow misogynistic much
Checks already cop a lot of shit wrt video games
besides it already has lyrics :P
*chicks
 
12:18 PM
0o
Why did you just post some Soviet Union song? lol
 
It's the tetris theme
 
^---- "some"?!
 
Oh didn't know that :p
 
dumbest annotation in a youtube video: A song from Rammstein: It is meant to be played loud...
who the hell doesn't listen loud to Rammstein?
 
People listen to Rammstein? :P
 
12:28 PM
Today Somehow I have to repeat same things again again to test the app for InAppPurchase funtionality
Anyway I got success and done query to purchased item also
Same thing mean Sign the application again again to test it
 
2
Too bad you don't understand German...
 
I normally won't listen to music if I can't understand the lyrics but Rammstein was the exception to that
 
I understand enough to star it :D
 
And this is really an "all time fav" for me:
 
12:41 PM
The first to use grills ;)
 
and he is a fucking clever guy... saw quite some interviews with him...
 
A lot of weird artists are smart
 
Agreed
 
most famous quote can be seen in the "Bowling for Columbine" "documentation"
Well, Justin Bieber is weird as well but I highly doubt an IQ of more than 90
 
cya
 
12:46 PM
bye
 
TTIP leaked on wikileaks...
 
what now ?
TTIP = ?
 
The Transatlantic Trade and Investment Partnership (also known as the Transatlantic Free Trade Area, abbreviated as TAFTA) is a proposed free-trade agreement between the European Union and the United States. The deal is estimated to boost the EU's economy by €120 billion, the US economy by €90 billion and the rest of the world by €100 billion. Talks began in July 2013 and reached the third round of negotiations by the end of that year. This free trade agreement may be finalized by the end of 2014. A previous proposed treaty was Multilateral Agreement on Investment. Economies The two tog...
 
so TAFTA ;)
 
TAFTA is the european name for it, yes
 
1:01 PM
what does the leak contain ?
 
1:32 PM
ever needed to identify devices, the Android Device ID Project might be what you are looking for.
 
Hum, does anyone know if there is a way to filter ddms method profiling just to the main thread?
 
hallo
 
hey!
 
:D mr productive :P
 
not really :)
 
1:40 PM
@zapl you mean the logcat?
 
ohh ok cool
 
you get an overview of methods & how long they take on all threads but there seems to be no way to filter so sorting them by time shows all sorts of unrelated networking code etc
 
ahh yes
 
@nebulae is it okay? I did it with NDK :(
 
1:57 PM
doesn't look like it's posterized
 
Really ? Actually It's Cartoon effect. (Dont look that title, for testing purpose I made a demo and put name)
 
It looks nice, a bit like a water color filter. Posterized would be a reduction in colors so that gradients become banded
 
Hey @all
 
it would be great as a water paint effect indeed
 
TheLittleNaruto, How was your yesterday?
Ohh..You somehow managed to do cartoon effect using NDK. But I remember Neb helped you to do same stuff using SDK as well
 
2:04 PM
So still I need to apply some changes so that it'll look more like a cartoon effect
TGM, That SDK is supported for API level>=14. SO I had to leave it. and also it's not much effective.
8
Q: Can we use EffectFactory Class for lower versions

TheLittleNarutoFor my new assignment, I wanted to use some library that can provide a "Posterize effect". I found many library like Aviary SDK and jhlabs, Yes, these are easy to use, but these making the code heavier. SO I keep searching for Android's API itself which can do the similar task. And after a lot ...

 
hmm But One guy suggested to you to do same stuff below that also..Was it not helpful to you
 
I din't notice. Who ?
 
2
A: Can we use EffectFactory Class for lower versions

Eric SimontonNo, there is not an Android API that will posterize an image below API 14. Even above API 14 EffectsFactory may not work, as it says in the Android documentation: Some effects may not be available on all platforms, so before creating a certain effect, the application should confirm that the...

 
No It's not :( That was not effective at all as per my need (Cartoon effect).
 
Even you accepted the answer also
I'm going through it on each words
 
2:09 PM
Because my question was for Posterize Effect. In that way he was right.
 
depends on the cartoon style but they usually have almost no gradients and rather sharp defined edged, pho.to/press/cartoon-face.php
 
yeah, this app looking good and good coding for cartoon effect
 
zapl, LoL
 
hehe
you may have to thicken your edges & make them black and combine them on top of a blurred posterized image
 
What do you mean by combine them on top of a blurred posterized image ?
 
2:15 PM
two layers: black edges (multiplied / added?) over posterized image. also blur the source image so that areas + edges get smoother
similar to
Unsharp masking (USM) is an image sharpening technique, often available in digital image processing software. The "unsharp" of the name derives from the fact that the technique uses a blurred, or "unsharp", positive image to create a mask of the original image. The unsharped mask is then combined with the negative image, creating an image that is less blurry than the original. The resulting image, although clearer, may be a less accurate representation of the image's subject. In the context of signal processing, an unsharp mask is generally a linear or nonlinear filter that amplifies the...
 
I got it now. First apply posterize effect and then add black edges over it
 
2:34 PM
0
Q: Pro Android Augmented Reality, changing orientation

ncarneiroI've been following the book Pro Android Augmented Reality, by Raghav Sood, and in order to change the app orientation to vertical I've meda a few changes (like android:orientation and changing the radar by code) but can't get the spot (Marker) to behave correctly, the axis seens to be inverted. ...

 
I also read few pages of that book
 
I didn't :) Like I didn't read basically any book
 
I also learnt mostly things from SO
Why my answer not accepted by OP here..I tried to gave best answer in detail
0
Q: Session not opened when app on Google Play

user3194723I use the Facebook SDK to provide a facebook login in my new app. Debugging my program everything worked fine so I finally uploaded my app on the Android market. Now, I have just downloaded my app and the login does not work. If I try again running the app on Eclipse, everthing all right. Do yo...

 
because... I don't know. The other answer is maybe easier to understand
 
I covered all the cases of that there.
 
2:52 PM
The solution is essentially "You use the wrong keystore" which is stated more clearly in the other answer. You provide some details that are probably known to OP if he managed to get the key from the wrong keystore.
 
hmm, No ,solution is not wrong keystore file.
OP did not update the HASHKEY on the facebook developer
OP created the correct keystore file but did not generate the hashkey of it and add to the developer
 
yes, OP needs keystore to publish
but I guess he also had successfully added the debug hash key
and did not know that the release signed one is different
 
OP tested the application from the android by default keystore file. and he somehow managed to upload the app on the Play Store also.
But OP was not aware that it is needed to generate the hash key from the same keystore which OP used to sign the application for Google Play
 
yep. That is IMO less clear in your answer. It's in there but distributed over multiple paragraphs
 
I wrote few starting words To solve this issue you have to add the HASHKEY generated from the keystore file which you used to sign the android application and make ensure you are using correct APPID and entered correct package name on the facebook developer account.
It is very clear and can be understand easily in my opinion
Raghav, See one OP asking the question related to Augmented Reality and referenced your book for it
 
3:05 PM
^ applies to answers as well.
 
yep
 
you need more text to explain the issue => harder for the reader to see that your answer is correct
 
What you mean for "you need more text to explain the issue"?
 
You wrote more text
 
hmm I agree
 
 
1 hour later…
4:19 PM
hello to all
this one is a good one
0
Q: Android Manifest errors with two application tags

user3198937I want to switch with a button in an other Activity(MainView), but then the app crashs and I got a lot of errors. I think this is the crucial one: ActivityNotFoundException Is the Manifest-file right? <application android:allowBackup="true" android:icon="@drawable/ic...

 
oO two <application> compiles?
 
0o
Shouldn't...
lol
 
4:34 PM
you guys have any input on this:
0
Q: An invisible layout behind the fragment is getting clicked:

Emil AdzI have created several fragments, now I add the first fragment this way: mainFragment = (MainFragment) MainFragment.create(); getSupportFragmentManager().beginTransaction() .setCustomAnimations(R.anim.slide_in_right, R.anim.slide_out_left, R.anim.slide_in_left, R.anim.slide_out_right) ...

it happened to me before and what I did was to set the root ViewGroup's clickable to true
I know @CarlAnderson had the same issue
 
hmm, yes looks ugly but you could want to have an unclickable overlay fragment
I think you can also set some do-nothing-onClick handler to whatever you return in onCreateView in the fragment that overlays
 
4:51 PM
but it still seems hacky....
Like he says, I do not think google will make us do that
 
I would guess it is on purpose that click events are propagated that way
 
really...?
 
you don't get Z-order propagated events by accident, you have to traverse all the view hierarchies to find something below
 
so we need to think of Fragments as "hollow" entities when it comes to click events?
 
their view hierarchy part is just like any other view
 
5:01 PM
If I have a Button on top of a Button the click event is passed to and handled by the top most Button, right?
it won't go down to the second Button
 
buttons are already clickable
try a plain View over a button
 
ok so there is the key
I see
so as a rule if you do not want your click events to "go through" your Fragment you have to make it clickable
as you would with any other View that is not clickable by default
 
it works :)
Not sure if there is something available with touchevent interception mindfiresolutions.com/…
 
is this worth asking a SO question?
because to me, it will seem that the proper stock functionality for the Fragment should be to retain all touch events within its hierarchy
 
You won't be able to go through the trending java repos on Github without seeing Jake Wharton's face at least 3 times #fact
That guy is everywhere
 
5:11 PM
I guess there is no distinction between views added as plain View in some XML and those added dynamically by onCreateView
 
but don't you think when the implement Fragment they would add something to intercept events? Do you think it is ok the way it is now? (sorry for all the questions)
 
Ask the designer of the fragments, should be possible because you can also do it manually by catching all click events
should be an option that can be turned off in case you don't want it
 
yeah I think so too
let's see if I can get Murphy to answer to get his input
 
the common murphy?
 
yeah
 
5:19 PM
or hackbod, seems to be mostly the author of fragment
 
SO changed the options to close a question as off-topic
Not sure I like it
 
there is no more "author too stupid" option :(
 
Lol...nope
 
the options you have don't fit in case the author has not done enough research / shows minimal understanding. Question too broad and so on feels wrong.
 
I agree
 
5:27 PM
oh noes, you don't accept commons ware's 1 sec AsyncTask rule
 
I guess too broad is the closest but I don't like it
I didn't know about his rule but I disagree
What's wrong with a task taking longer than a second
 
the use of asynctask is usually bound to the lifecycle of an activity and if they run long they extend over the time of their host
 
I understand the relationship with the Activity but as long as you can't leave that Activity then I don't see the problem
 
default serial executor + quickly changing rotations leads to queued up tasks that don't even need to run anymore because their activity is long gone. Also leaks the activity
 
Example...I use it for d/l users. This sometimes can take several seconds but the user can't leave the Activity so what's it matter.
I don't allow rotation changes in my current app
 
5:31 PM
you can also prevent the rotation from executing the async again
 
how?
 
AsyncTask inside a retained fragment is a rather simple solution that survives rotations
 
Do you have a link to CommonsWare's rule so I can see what I've missed? Or is that in his book?
 
It's not a real rule, I've just seen him state that AsyncTasks are bad for long running tasks multiple times
 
Yeah You are right..I also read this on many threads
 
5:43 PM
lots of discussion about that: stackoverflow.com/questions/3357477/…
 
Oh, yeah I understand why they are bad for long tasks. But as in my example, I think a few seconds isn't always "long"
 
zapl, Afaik, Services is used for long running task when there is no requirement of interaction of UI.
 
if they run too long you also run into the problem that the user might close the app and if nothing is running according to developer.android.com/guide/components/… you can get killed and not restarted and things like that
 
But When there is need of long running task which require to update the UI also then which is best way to do so..Handlers are used in those?
 
good point there TGM
 
5:48 PM
I just think putting a time limit on it (especially 1 second) is not a good idea, especially when talking to someone who might be new
 
zapl, Any idea of my question?
 
AsyncTask on it's own is fine as a tool to do asynchronous calculations with callback into the main thread. The problem is how they are typically used
 
with activity references
 
codeMagic, This is not such that Async Task can run task of only 1 second. It recommend that Developer should not use it when running long task like video streaming or heavy data upload or download for long time.
 
If you have a singleton to access your "model" and some event system that activities can hook into to get notified about changes to the model you could use AsyncTask inside a Service just fine.
 
5:53 PM
hmm, could we do a check before trying to access the UI?
 
ok, let's see what happens
0
Q: Shouldn't there be an option for Fragments to retain click events within their view hierarchy?

EmmanuelAfter seeing a couple questions here on SO regarding Fragments "passing" their click events down to clickable Views in underlying Fragments, I recalled that I once encountered this problem. What is actually happening is that if a user clicks on a blank area of the top most Fragment, since its Vie...

 
hmm, I never thought of that much before emmanuel
 
I also that why I upvoted :D
 
I think there should be an API to let the developers decide if the Fragment should behave more like an Activity in that sense
 
I thought that was the default behaviour
 
5:58 PM
nop
if you add a Fragment on top of another Fragment
 
but clicks get trickled down to second fragment in the stack
 
and you click in a blank portion of your Fragment
and you have a Button in that location, but in the "lower" Fragment
the click event will be handled by the Button
 
@TGMCians I understand that. My point was that one of the answers on the question that got this started said:
> Work should be done in ~1 second or less - Async Task
When discussing which class to use for networking
 
ohh okay..
 
codeMagic, depends on what is intended to happen with the result. Is it useful outside of the activity that started the request?
if not you could use an asynctask that you cancel once the activity vanishes
and in case you e.g. download / sync data that should stay on the device you probably want a service that doesn't need an activity
 
6:11 PM
Yes, and I completely agree with that. That's why I said I use it for d/l users and such when the user can't do anything else until it finishes or gets cancelled
 
you can still write it in a way that an activity can show the progress
 
using service?
 
Right, we get the data at the login screen. Could be done with a service but since they have to log in, I'm not sure it matters which is used there...
 
well there won't be much activity there
 
AsyncTask is best here in my opinion
 
6:13 PM
and login request will be within the time frame
 
In the login screen, data would not be much and wont take much time to execute http request
 
yea
just login credentials in text form
unless you want to download the internet when the user logs in ^_^
 
hmm I agree
 
There are some other things that need to be d/l along with the users before the user can proceed so sometimes it takes a few seconds but usually less
 
even a simple login can take forever on a terrible internet connection
 
6:15 PM
Right, that's why we have a timeout
 
yep
 
#Solved
 
a timeout like 30 seconds?
 
another victory for the android room :)
 
:)
 
6:17 PM
Night, Everyone :) Time to have some naps :D
 
cya naruto
 
Bye TheLittle
But too early...I'm also from North India..still does not have such that like nap:P
 
It was but increased it to 60 seconds
But like I said the user can't do anything else and this app is the only one used by them on the tablet.
 
It's just , I am tired , I came late from office. That's all, TGM
 
user could still press the home button and play a game while it logs in, then check back later
 
6:22 PM
Ohh No problem..Good Night :)
 
G'Night :)
 
good night
 
App of The Day are bugging me
they want to give away my app for free
lolno
 
They can't use any other apps
 
hmm?
 
6:25 PM
We have it locked down and obviously there is always a way around anything...
But with out specific client-base, they aren't going to put in the effort
And by killing the task if the Activity is finished should take care of any problem
Plus they would have to log back in if they press the home button
 
sounds fine for your usecase, most apps can't simply lock a user that way
 
Morning Android!
 
Lol glitch
Would never do that
 
Right and so they wouldn't have lengthy timeout. And there are other precautions they can take depending on the situation
 
Hey Code-Guru and Ahmad
 
6:30 PM
Unless the app would be really unpopular, which your app is not
Hey
 
I just think saying that it shouldn't be used for more than 1 second isn't a good statement. Maybe I'm wrong...it happened once before :P
 
@TGMCians Working on adding appcompat ActionBar to my app!
 
-2
Q: i want to know topics before learning android

user3198032now i hav started core java(j2se) programming......i have covered :OOPs ,classes,methods,inheritance,packages and interfaces ,multi threading,exception handling,enumeration,autoboxing,i/o , applets,generics now the 2nd part of complete reference is:the java library.......i have heard that i need...

 
Yeah Glitch I also saw your app..looking you are getting good earning from that and it is being download regularly..So I does not make any sense to convert it to free
Great CodeGuru
 
Could he have not at least put one minute into formatting that thing?
His question looks so ugly
 
6:32 PM
wow....
 
Countdown started and soon will be closed
 
Yikes!
 
Yeah closed
 
I want to be able to vote to close so bad!!!!
 
Can't you?
 
6:33 PM
votes to close telepathically
nop
 
Min reputation require to close I think more than 3500+
 
close, it's 3k reputation
 
yeah...
 
I want to reject this edit, just because OP doesn't deserve it at all
But I won't though
 
wow, that would have looked like a nice question
 
6:36 PM
Indeed
 
still offtopic :D
 
haha yeah
 
LOL
mr zapl this is the first time am posting smething on stackoverflow....pls dont keep this on hold....next time onwards i will take care in wat way to post....... — user3198032 56 secs ago
 
mr zapl does not approve!
 
I promizeee Mr Zapl
 
6:39 PM
But he said "pls", Mr. zapl!
 
I feel bad now
 
Lie!
-1
Q: what java topics are required before moving to android programming?

user3198032friends. i need an urgent advice.........actually i have done c++ for 2 years at my school level.......then left programming almost for six years as was busy in college studies.....now i hav started core java(j2se) programming......i have covered :OOPs ,classes,methods,inheritance,packages a...

He posted that 6 hours ago
 
Let's get ready to rumbleeeeeee!
(I know his voice is stuck on all of your heads now)
 
zapl, I have to say one more thing about the previous topic...
 
yes emmanuel and its all your fault!
 
6:42 PM
Damn. CommonsWare beat me again :P
We both answered within seconds of each other
 
hehe who will get accepted though
:)
 
New user for OP, so probably neither :P
 
lol
 
nobody cares about my question...
cries
 
lol
 
6:45 PM
I've got to go codeMagic, ping me so I see what you have to say
so mean to announce that you say something, then don't say it :D
 
it got upvotes emmanuel so thats a good thing so far :P
 
@Emmanuel ./pat
what's your Q? I just got here.
 
He wants to know what time it is
 
53 mins ago, by Emmanuel
0
Q: Shouldn't there be an option for Fragments to retain click events within their view hierarchy?

EmmanuelAfter seeing a couple questions here on SO regarding Fragments "passing" their click events down to clickable Views in underlying Fragments, I recalled that I once encountered this problem. What is actually happening is that if a user clicks on a blank area of the top most Fragment, since its Vie...

 
Nope RED_, he asked different question
 
6:47 PM
@zapl, sorry, got a phone call right after and now I don't remember exactly what I was going to say. Ha
 
handling orientation events in fragments
 
Did you know, that you can do multi quoting?
 
I dun know nuthin bout fragments
 
1 min ago, by Emmanuel
53 mins ago, by Emmanuel
0
Q: Shouldn't there be an option for Fragments to retain click events within their view hierarchy?

EmmanuelAfter seeing a couple questions here on SO regarding Fragments "passing" their click events down to clickable Views in underlying Fragments, I recalled that I once encountered this problem. What is actually happening is that if a user clicks on a blank area of the top most Fragment, since its Vie...

 
with asynctask @code
 
6:49 PM
ohhhhhh
 
And again and again and again
 
how do you do that?
 
Ah yeah, async stuff in fragments. Fun stuff.
 
@kabuto178 are you pinging the other code? =p
 
Warren and I did a test in an other room. We copied a quote like 20 times lol
 
6:50 PM
OHHH lol just noticed both of you
code magic that one was for, trying to jog his memory lol
 
Just copy the link to the posted quote again Emmanuel
 
oh
 
Lol....I wasn't sure who you were talking about either
 
nice
 
Yeah, something about AsyncTask and controlling a network operation to know it isn't going to take longer than a second
 
6:52 PM
and a suggestion was made to cancel the task if the activity is dead, I was interested in the answer since I am using fragments now too :P hence why I follow bwahaha
 
And hrer I thought you followed because I was interesting :(
 
@kcoppock That one's for you lol
 
oh yes mr code, very much so
 
lol, oh google paranoia
 
You can attempt to cancel the task, kabuto, was my point.
 
6:56 PM
gotcha
 
don't mess with google now, they will control the temperature of your house and make you freeze on winter...
 
:O
 
Heh I just thought you meant don't mess with "google now" (the app)
Would be really cool to use nest over that
 
yeah, I figured that after I wrote it...
I should have capitalized Google
 
comma between google and now would do it
 
6:59 PM
People have hacked siri, so you can use custom commands. I wonder, if something similar is possible with google now
 

« first day (1187 days earlier)      last day (3762 days later) »