« first day (1128 days earlier)      last day (2347 days later) » 
02:00 - 14:0014:00 - 22:00

2:54 AM
Hello guys..
Good morning to all..
I hope posting links is not a crime here.... If anybody free or bored, have a look at my question.. (:

http://stackoverflow.com/questions/34192830/is-any-sensor-available-to-detect-electric-field-emitted-on-the-surface-of-the-h
 
 
2 hours later…
5:25 AM
Good Morning Guys :)
 
5:42 AM
GM
 
sweety gm
 
Good Morning Guys :)
 
6:05 AM
posted on December 10, 2015

New Cyanide and Happiness Comic

 
hello everyone
How to write sd card data in lolipop?
 
good morning guys
 
@rekire vgm
 
@TheLittleNaruto can you remember how I created the android.tag file? I totally forgot it :/
 
Did you share the idea before ?
 
6:13 AM
yes I am sure that I talked about it
I just forgot the details. I can just remember that I need to create this file with some tricks and out of the official documentation with some index files which are not online but in the sdk
 
The transcript has nothing relevant.
Also I am not able to remember.
 
:/
 
that dammed small details^^
 
Why do you create an Android Tag File ?
Is it like FEEDs ?
 
6:19 AM
it is some kind of references file which is used by doxygen to produce a proper dependency tree
 
Now I remember
It's doxygen you talked about
 
hm partial related. brb
 
Buenos dias :)@TheLittleNaruto @rekire @MukeshRana @berserk
 
hi @rekire
 
@Flash Bom Dia
 
6:26 AM
@Flash muy buena mañana
 
:)
 
7:07 AM
@Flash Buenos noches :)
 
-_-
duermes amante del anime
 
habla tu ingles? :P
nooooOO0o0O
I was about to click that :p
 
that is some kind of insider
 
and what if i say I can see removed messages now :P
 
7:26 AM
Has anyone used altbeacon library ?
 
me not
 
okay :(
 
okay :(
 
okay :(
 
7:39 AM
hi
have any idea about vimeo video view android
 
I had years ago :/
 
@berserk I am at episode 14, I guess.
 
1999 or 2011
?
 
7:55 AM
1999
 
cool
So, they are in prison tower right?
 
Or maybe food exam.
oh
 
food exam is over
 
cool
 
7:58 AM
Hello
i just have some doubts in android handlers
can anyone help me?
 
What is your issue ?
 
i have a min thread and a handler thread
i have implemented Handler.Callback to handle message in the Handler thread
I am trying to send a message. but by test i have came to know that the handle message is not called.
I just got the looper of handler thread after starting the Handler thread
 
Can I look into how did you try that ?
 
The message is not empty either i checked using handlers has message
 
Use hastebin.com to share code
 
8:03 AM
sure
giv me 2 mins
this is from the main thread
this is from another thread
sorry if it difficult to read
any solutions ???
 
@Dro @TheLittleNaruto @rekire @Flash One question. When a screen has a different toolbar, is it better to use activity for that or fragment?
 
@berserk didn't get, what you mean by "Screen has a different toolbar" :/
 
fragment, i think so.
i assume different toolbar for different screen
but i don't know why you are trying to achieve this. :)
 
umm.. say I have to make a screen (say My profile screen) which opens from home activity, on clicking logo at top left
 
@RaajForu The code looks ok to me.
 
8:17 AM
what will you prefer for the profile screen, activity or fragment?
 
@TheLittleNaruto yes. i still don't understand the problem
 
@berserk then won't it have the same toolbar? :P
 
@RaajForu Did you debug everything ?
 
@DroidDev no, it won't
 
@TheLittleNarutoI ran the code in emulator it started the thread. But handle message is not called
 
8:19 AM
@berserk ok, umm...I think activity. Because, fragments should be used, where multiple views are part of same screen/navigation drawer (or something like that)
 
@berserk I don't get it Kid ? What do you want to ask exactly ?
 
exactly, I was thinking same, arigatou :3
throws badaams at @TLN
@TheLittleNaruto umm.. I explained below
 
@RaajForu That's weird!
 
@TheLittleNaruto I even tried calling handleMessage Explicitly using MyHandlerThread.handleMessage. it passed the message and when it tried to load the image. I got the NetworkOperationonMain Thread exception.
 
@berserk I see. Dro answered you already.
@RaajForu Ouch! That's what It is.
 
8:22 AM
yeah ^^
 
You're trying to load an Image URl, That must be done inside a Thread or AsynkTask.
 
@TheLittleNaruto I have Handler Thread for it. I used it to load image into a Bitmap and passed it ti main thread using the handler
 
@berserk I need Sachmuch Aam Icecream not bad aams. :/
 
lol
 
@RaajForu Boy! That's not a thread. A HandlerThread is used for starting a looper thread.
 
8:25 AM
@berserk haha, that took me a minute, I mean to reason that question and find an answer. Given that I've only slept for about 17 hours in last 3 days, I'd say I am still productive ;)
 
lol
 
Also, Why don't you use some third party libraries like Volley or Picasso or Glide to load images ? @RaajForu
 
@DroidDev Do you mean you spent 55 hours at office?
 
@TheLittleNaruto so whats the difference between HandlerThread and Thread.
i am just trying with a simple expamle as of now
 
@RaajForu The main difference is HandlerThread is NOT A THREAD.
 
8:28 AM
so why am i recommeded to use a HandlerThread instead of a Thread?
 
@berserk yeah, give or take
 
@RaajForu That is recommended only when you have looper thread i.e thread inside thread.
 
@TheLittleNaruto Still can't understand. I thought a looper is like a messenger and it is tied to each thread.
 
8:32 AM
A looper thread is something like A thread which is executing another thread in it.
 
oh Good so HandlerThread is just a LooperThread?
 
Ohh boy!
You're not getting it through!
A HandlerThread is another form of Handler which executes Looper Thread.
Is it not understandable ?
Or Am I too dumb to explain ? :D
 
@TheLittleNaruto can you share a link. from the below link i got an expelnation " Thread cannot be reused after the job is completed while thread with Looper is kept alive by Looper until you call quit method, so you don't need to create a new instance each time you want to run a job in background.

You can make a Thread with Looper on your own if you want, but I recommend you to use HandlerThread (Google decided to call it HandlerThread instead of LooperThread): it already has built-in Looper and all pre-setup job will be done for you." this is what confuses me
i hope you read this?
 
@RaajForu nice name :)
 
Well I did, But You'll have to read the same twice, thrice, until unless you don't get it. ^^
@RaajForu
 
8:40 AM
 
@maven Thanks.... @TheLittleNaruto HandlerThread is a subclass of Thread isn't?
Then When i am extending it I am creating a new threadObject isn't?
@maveň I am a newbie :D . I am not confused with Handler. But HandlerThread. Fo whihc @TheLittleNaruto stated it not a new thread.
*which
 
@RaajForu Are you kidding me ? Don't you read whatever I ping you ?
17 mins ago, by TheLittleNaruto
@RaajForu The main difference is HandlerThread is NOT A THREAD.
@RaajForu Read the above line.
 
Its a subclass of thread
isn't?
 
Handler thread is extended version of thread, where its looper will be prepared to handle incoming messages from other threads (Inter thread communication). But for normal java threads, looper will be there but in passive mode, i.e not prepared for inter thread communication.
I must be dumb.
 
8:46 AM
Handy class for starting a new thread that has a looper. The looper can then be used to create handler classes. Note that start() must still be called.
 
yes I understand that...
 
Also I have never tried that API, SO it's pointless for me to discuss.
 
But My question is Will Handler Thread create a new thread when its instantiated? I think so as it extends a Thread class
 
android.os.Handler ?
 
OMG so who is confusing me, ME or you? :D I am confused at this point
yes yes
sorry i forgot to mention it
 
8:48 AM
@RaajForu I am dumb!
 
android.os.Handler
 
Thanks for letting me know. :D
 
@TheLittleNaruto no no its my mistake too
i should have pointed the package
 
Why I was sure about that HandlerThread can't be a Thread because it's giving NetworkOnMainThreadException.
Aha!
 
yes thats weird :(
i am stuck here
 
8:50 AM
Did you override run() method ?
I guess not.
 
yes. But i think its not necessary isnt?
 
Well there is no point of existence of a Thread if it does not override run() method.
 
For normal Thread class i have seen a runnable passed. But in some examples i have seen they havent overriden run().
 
then I'll have to read about it more.
 
Are you an Android Developer?
 
8:52 AM
Yes.
 
okey. sorry to ask. as I thought Java people will may or may not know about this class
 
@RaajForu it's doesn't extends thread
 
it does
it has a run method though
But i don't think its mandatory
 
i mean to say that android.os.Handler doesn't extends thread
 
12
A: Example communicating with HandlerThread

pskinkso this is the working example: HandlerThread ht = new HandlerThread("MySuperAwesomeHandlerThread"); ht.start(); Handler h = new Handler(ht.getLooper()) { public void handleMessage(Message msg) { Log.d(TAG, "handleMessage " + msg.what + " in " + Thread.currentThread()); }; }; for...

@RaajForu Looks like it's not mendatory, But still you need to start() it at least.
 
8:55 AM
@TheLittleNaruto :D handle with care
 
@Rahul yes sory didnt read it.
@TheLittleNaruto i did... :D
from my fragment
 
@RaajForu NP
 
@TheLittleNaruto hastebin.com/irehuyefah.avrasm . Check the onResume
 
Can you try commenting these lines :
Looper loop = loadThread.requestLooper();
loaderThreadHandler = new Handler(loop);
And try again ?
 
i did. actually my first code was. loaderThreadHandler = new Handler(loadThread.getLooper());
then i got the looper by plasing a request looper method for my second varsion
@TheLittleNaruto
*placing
 
9:06 AM
See, with this loaderThreadHandler = new Handler(loop); You're Making an instance of an Handler, not yours custom handler. How is it supposed to get executed ?
 
o/
 
another day in the company working at the app
 
is there a way to make a button visible only if you came to that screen from a certain screen
so lets say I got there from the main menu
then the button should be invisible but when i get to the same screen from another activity the button should be shown
 
9:08 AM
instance of android.os.Handler or java.util.logging ?
@TheLittleNaruto
 
@Hans1984 using onActivityResult
override onBackPress in second activity
 
ok i ll see
 
@Hans1984 pass data with an Intent to check which activity spawned the button activity. Then make the button Visible. according to it
 
ok thx
 
i hope it helps
use a string data inside Intent. to identify each activity.
@Hans1984
 
9:22 AM
aburrirse..:(
 
do you have any good capture edit classes
or custom gallerys
now the taken capture needs to be rotateble
but it needs to replace the old capture after that
if i use the android default gallery it just creates a new picture and leaves the old one aswell
:(
 
does someone know how to use a class file from a gradle script?
@TheLittleNaruto @AndDev @Flash
 
@rekire You can use all classes which come with JDK and Android SDK APIs
Do you want to write a task ?
Ah Oh!
Wait...
 
I want to write a custom task which needs to invoke a class of my app, it is plain old java so far
 
so the customer takes a picture, then he needs to have the option to rotate it manually and then it should be saved
:o
 
9:31 AM
but dammed there is a android dependecy
 
hi :)
 
o/
 
I could manage that with robolectic, but I'm not sure if those hacks make sense just for updating a text
 
@Hans1984 - o/ :-? :) .-.
 
hail
you should know that since i'm german
:D
no jk
it means hello
 
9:33 AM
:D
 
a head and an arm
o/
you get it?
 
yup
 
all the solutions i find are auto rotate depending on the sensor
but what i want is to give the user the option to rotate the capture which ever way he wants via a button
then save it
:(
 
@rekire whats ur class file path
 
it would be the normal of the android build system
 
9:41 AM
@MadaraUchiha Hey! Welcome.
I wonder what makes you visit this room ? Why I am asking because you never visit this room if there is not something bad happened and whenever you visit, our room gets frozen. lol :D
 
so, we've got an israeilan guy here @Madara Uchiha
i really wanna talk to you
 
Well He is newly elected Mod! :)
 
yeah
i wanted to know why he deleted my message
 
@rekire please give any sample vimeo video view
 
9:44 AM
Now I understood.
Did you write something offensive ?
 
because he's the moderator and we are enemy together, doesn't make any sense
no, it wasn't
 
@senti I implemented that myself that wasn't too hard since there was a nice json api for that, however I forgot all the details :/
 
he's not here :-? or he has a lot of permission :) never mind
is there any israeilian guy here? i want to talk :)
 
Anybody know login with wechat integration?
like login with facebook
0
Q: Login or Signup With Wechat

SHASHIDHAR MANCHUKONDAIn my app I have an option to Login/Signup with Facebook, Google plus, Wechat, QQchat Is there any SDK to identify the user details of wechat (like accesstoken or user email) ? I have found the SDK in their developer site which will allow only Sharing to wechat. But I am looking to fetch use...

 
10:01 AM
Hello guys
I want to execute method of service class from broadcast. is this possible??
@rekire can you suggest?
 
@rekire i want like youtube wise
 
@droid_dev @senti I cannot help you both right now sorry
 
@rekire :P
~ saying hi to busy man :D
 
@maveň throws a kitten to @maveň and goes away
 
~ saying hi to busy man :D
awaiting kitty throw
 
10:14 AM
 
is writing a script to redirect the kitten to @berserk
 
morning
 
\o/
morning
 
o/
 
\0
 
10:16 AM
> star dat lazy boys :3
 
@berserk Yo
 
@Flash Yo
 
@rekire have u solved that class file path issue
@TheLittleNaruto there
 
@Flash are u from sun ?
:xD
 
@Flash no I try now to embedd a groovy script in the build script, but that includes the java plugin which is incompatible :/
 
10:20 AM
@maveň how did u guess ?
 
@Flash Yes
 
@rekire Can u plz elaborate what r u trying..
 
errr groovy I hate it, it has a bad performance :/
 
@TheLittleNaruto how r u baby-kun
 
@Flash Not well! The leg is hurting badly.
:/
 
10:21 AM
@Flash lol :D
 
I have a java class where I maintain the credits / a list of libraries I want to update my markdown file with a script so I just need to write it once. I extended that android adapter to return a useful markdown output but I fail to run that method.
 
@TheLittleNaruto man...
@rekire I see
 
ha now I am able to run a groovy script from my build script step 1 done
 
someone any idea?
 
step 2: copy the body of the class to my new groovy file and execute it on the fly to generate the markdown
brb
 
10:27 AM
make capture rotate via button after its taken then save it
 
10:54 AM
guys basic java q coz i really suck at it; i have public class a, it has int height.... abstract class b it has abstract void seize and shape and color
the thing is i want to extend b so i have to create another abstract class, but here's the thing, seize is int height/something
and int height is in a
and java doesnt support multiple inheritence
btw its a static int height
so i cant do
abstract class c extends b{
and then use the height
is there a way without creating a fourth class
 
11:17 AM
@Lynob lol I get froze with your explanation could you post your code, Or if I understand, you can solve the problem of many extends by using interface instead
 
@TheLittleNaruto do you have any idea how i could let the user rotate a capture after its taken via a button?
so basically rotate on click for 90° then with another click another 90° then he clicks save image and it gets saved that way
 
Hi guys all
 
I am starting with android and could you tell me if I can create a database in free cloud and use it acroos my android app ?
 
any one have idea about how to drag and drop in the custom expandable @rekire
 
11:42 AM
@berserk f_cking I got the JNI :3
now how to check the name of .so file ?
and how to change that ?
 
@Hans1984 via Matrix ? Check this answer: stackoverflow.com/a/8687156/1944896
 
@rekire
That's why you can see a translate to English option in the address bar rightmost end
 
ok thx I'll have a look @TheLittleNaruto
i've already been searching for hours
 
next to where you star/bookmark
@rekire
 
@berserk Unable to launch cygpath. Is Cygwin on the path?] java.io.IOException: Cannot run program "cygpath": CreateProcess error=2, The system cannot find the file specified
 
11:49 AM
@Hans1984 lol didn't you find that ?
 
i did
it snot helping
i know how to rotate pictures
this is not the point
the problem is to rotate the capture before it is saved
with buttons
then save it afterwards
so it its taken then rotate with a button then saved
 
One question: I am using Android Material Design (Thanks @rekire & @TheLittleNaruto). i used Android TabLayout Material to implement tabs along with fragments. Success.
Challenge is this. In one of the tabs - I want to click the button inside fragments so that another fragment replaces this fragment being displayed.
 
24
A: Unable to launch cygpath in android

Jithu P.Sgo to your project right click there.then take properties and select the c/c++ build and there you can see the build settings .and in the build settings give the path of ndk in your system like: D:\android\android-ndk-r8d\ndk-build.cmd NDK_DEBUG=1 Now clean your project and run. Thats it.

can't get the location :(
 
To use this I need to use FragmentManager or so that will help replace.
More important that I need to use a FrameLayout as TabContent or "placeholder" where I can replace these fragments. BUT I doubt if TabLayout and FrameLayout will coordinate. Any help here?
Oh, the replacing fragment and the replaced are both inside same tab
 
Poor @mav
 
11:57 AM
@berserk ?
ehh help :3
 
@berserk can hear that :3
> be quick
@berserk now timeup
 
...
What is the issue?
 
12:16 PM
Hello all, I have imported an eclipse project into android studio.It is using 9 patch images in the project.I am setting the image in the background of splash screen.But i am getting following error here : No resource found that matches the given name (at 'background' with value '@drawable/splash_screen'). Plz help me to fix it
 
hello, can I ask java questions not related to android here ?
 
@berserk Cannot run program "sh": Launching failed
 
@DeepakR have ur image name contain .9.png
 
@Flash : I am using like this : <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/splash_screen" >

</RelativeLayout>
 
@DeepakR P.S don't post code here
cc @TheLittleNaruto
 
12:20 PM
Name of image is splash_screen.9.png
@maveň : oh ...M sorry
 
@DeepakR cc @MukeshRana @berserk @DroidDev ur frnd ?
:3
 
@maveň full log?
 
@berserk :(
IDE died
 
@maveň:Dont know Mukesh Rana.
 
12:42 PM
@DeepakR can u show me ur 9 png
which tool u have used
@niceman u can if anyone knows u will get an answer
 
@Flash:I have imported an existing eclipse project which contains the .9.png file.
 
then it should work
 
@Flash: After importing the project i am getting another issue error: package com.google.gson does not exist .Can u help me to resolve this?
 
1:04 PM
@DeepakR add dependency of gson library in build.gradle
 
no response for my first question :/, but I have another:
could you please tell me if exist an API to manage role users in android like spring security
I would to define roles in my application like ADMIN_ROLE,GUEST_ROLE,etc.
is that Backendless the appropriate API ?backendless.com/documentation/users/android/…
 
1:32 PM
@Sayros I could suggest; But got no time to read about it.
 
@TheLittleNaruto sorry.. to read what ?
 
ah okay
do you have another API you know ?
 
1:53 PM
adios a todos..:)
 
Hey guys
for some reason, on my app, whenever I change activities, the activity gets called twice
do you know why this could be?
 
may be you are opening your activity 2wice of times so...
 
well i have a button which just has an intent which opens an activity
thats it\
 
02:00 - 14:0014:00 - 22:00

« first day (1128 days earlier)      last day (2347 days later) »