« first day (814 days earlier)      last day (2661 days later) » 

4:33 AM
Good Morning Guys.. :)
 
Good Morning :) @MukeshRana
 
mrng @ParthaChakraborty
 
5:12 AM
Good Morning :) @MukeshRana
 
mrng @malviň changed name ??
 
@MukeshRana just a lil so that u can recog :P
 
hmmm.. it looks;)
 
in my application i have custom adapter listview , in that every list item i have button if i click the button i want to show next layout , also in the list button i want to find the click position, how can i do this in ANDROID ?
 
hello @MukeshRana how r u? Have u ever worked on app locker apps? Or any such scenario in which u have to detect any app to go foreground event?
 
5:28 AM
@iAnum heya.. i am fine..!! unfortunately i didn't get any opportunity yet to work on these kind of apps. :(
 
oh ok np dude :)
 
Good Morning Guys
 
Good morning @TheLittleNaruto
 
mrng @TheLittleNaruto
@iAnum :)
 
morning naruto. any ideas?
 
5:29 AM
ideas on what ?
@MukeshRana Where were you, SwordsMan - sama ?
 
any such scenario in which u have to detect any app to go foreground event?
 
lol I am having day shift now.. but 2mrw i'll be available for the full day/night ;)
 
SO answers are little bit confusing for me
 
iAnum-chan, You can have a service running in background which will detect whether an app is running in foreground.
SwordsMan-sama , ALright
 
Sun
0
Q: Handle Toggle States in onResume() using Intent and SharedPreferences

SunI have written a program in which i am using Timer and controlling that timer using Toggle states, Like: My Toggle's default state is OFF, once i make changes in toggle state from OFF to ON TIMER starts, and when i again change to OFF it stops the timer as per requirement. But problem starts wh...

can anyone help me please ? to get this done
 
5:33 AM
yup they suggested this, but would I need to ping after frequent time intervals to see if any app is in foreground?
 
need to ping ? What do you mean ?
 
Moreover, will there be extra work required to keep track of any new app that comes in foreground?
 
By ping, I mean to say service needs to run a schedular timer
hmm ok this makes sense
 
mmmm, I see
 
5:35 AM
one more thing I want to make clear
there was one more suggestion of monitoring logs for the launch of apps. How is it?
 
@iAnum sorry to interrupt but there is a function which keeps track of whether an application is in foreground or background but that never works for me atleast
 
iAnum-chan, That would be a pain.
 
umm which type of func? I have seen a code for running tasks. It returns an array. on index 0, we have our foreground app.
okz naruto
 
Because you wont be sure of what log is for
 
and it will consume alot of memory for no reason. Right?
 
5:39 AM
Exactly
 
I c
 
Tracking apps by their logs, without any doubt is a bad idea
 
@MukeshRana plz tell me about function if it exists, or I have to probably reinvent wheel :(
yes agree
 
Is it an app locker you want to create ?
 
yup
 
5:41 AM
Flash comes online after 8PM only. He has done that app already.
He can guide you.
 
Someone else has done too. I was waiting for him here. Till then I wanted to try stuff by myself
 
Good thought
 
5:56 AM
@iAnum which app u working on ?
 
hello erum. I am working on app locker
 
is it your office app ?
 
didn't check ur msgs
 
in android ?
or in ios
 
5:58 AM
obviously in android :P
 
ios ?
 
how can u make locker app in iOS.
 
hehehe
oh ok
how much u done ?
 
it is not office app. just wanna learn android stuff, so I just dived in
just started
 
ok
great when u done tell me
 
6:01 AM
hmm ok. pehle ho to jaye :P
 
@Erum , How many years of exp do you have ?
 
hehehe years no only months in androud
4
 
@iAnum can u pls search how to custom switch with images instead of text
 
Means you have only 4 months of exp in total
 
6:02 AM
Erum -_-
 
in android only
 
hmm ok wait
I haven't ever seen any switch with an image btw
 
So you have exp on iOS as well like iAnum-chan ?
If so, I have got a question from both of you.
How is Android different from iOS development ? Is it more cool or worst ?
 
Well, iOS development is more fun naruto IMO
 
both have its own advantages and disadvantages
 
6:07 AM
android is open source, there are many advantages due to that, but iOS dev is really cool
 
every development has their own pros and cons
 
but I love iOS more :P
though I really abuse apple sometimes for their so much restrictions :P
 
Because you're good to go with iOS (experienced)
 
hahaha may b :P
well then ask my opinion after 6 months :D
 
is there any charges to make account on ply store android ?
 
6:10 AM
USD25
How much is PR for 1 USD ?
 
@ErumHannan u have to test such code stackoverflow.com/questions/20487670/…
I cant find such stuff on google sadly
 
@Muk there ?
 
@TheLittleNaruto yes ??
 
Can You guide me in rerofit ?
I am following this example -> stackoverflow.com/a/26573636/1944896
I need to understand the annotations of interface class
 
ummm.. okay i'll give you another tutorial and that would answer all your questions
it is very helpful
 
6:17 AM
Ok thanks Checking
 
hello all
 
hey if I run timer infinitely using a handler in my service, do I need to stop it properly in case if device reboots? Or I should leave it as service will be killed?
@MukeshRana
 
obviously it will stop automatically when device reboots @iAnum
 
ok thanks mukesh :)
 
6:30 AM
:)
have you guys started using RecyclerView @iAnum @TheLittleNaruto ??
 
nopes
 
okay np :)
 
6:55 AM
@MukeshRana Yes
 
so it is working smooth without causing much pain to integrate ??
 
I guess the pain is minimal
You can play with customization, animation, listing views etc
 
okay.. and what if i need to have pull to refresh recycler view ??
 
@MukeshRana can u tell me how to create qr code of url ?
 
7:13 AM
@ErumHannan no idea :(
 
@MukeshRana Dint try that. But possible with Recycler View
 
@TheLittleNaruto any idea about my issue
 
okay.. will try in next app for sure.. :)
 
@ErumHannan I dont understand
 
using xzing how can i create qrcode of any url
like www.google.com
 
7:21 AM
You want to create an url for generated qr code ?
 
hii @TheLittleNaruto @ErumHannan
 
no want to generate qr code for defined url (will be given by user)
@TheLittleNaruto
 
I see
@Anjali Hey
 
@TheLittleNaruto did you work on listview like profile page of viber?
 
7:30 AM
@MukeshRana i m failed to get data and time of scanned code
?
 
@ErumHannan didn't get you??
 
how can i get date and time of scanned data
@VamsiChalla pls come
 
@ErumHannan sorry :(
 
0
Q: Backbone.js- pass array from router to router

SweetWisher ヅI am facing a small issue in backbone.js I need to pass an array from one router to another like this : this.navigate('#newPage/' + myObject, {trigger: true, replace: true}); where myObject stands for an array of my custom object I can pass any primitive type like string, int etc. But ...

 
@SweetWisherヅ can u help me i xzing
 
7:40 AM
nop
 
i guess u worked in xzing
 
Sun
0
Q: Handle Toggle button in onResume()

SunI have written a program in which i am using Timer and controlling that timer using Toggle states, Toggle's default state is OFF, once i make changes in toggle state from OFF to ON TIMER starts, and when i again change to OFF it stops the timer as per requirement. But problem starts when my Tim...

Bounty for 100
 
7:58 AM
@Sun Just do one thing
 
posted on January 30, 2015

New Cyanide and Happiness Comic

 
i want to check in this string google.com wither user type http:// or not ?
@nawabsaab
 
8:55 AM
@Unihedro hello
 
@Edge Hello. Do I know you by chance?
 
no can u please tell me how to draw border or stroekle around rounded Image view
 
@Edge I can't understand what you're saying.
 
do u know Circularimagview in android i want set draw baroder around that imageview
i can show u code for rounded imageview
 
9:11 AM
I wonder why people keep downvoting without trying
 
@Edge I don't need you to show any code you get in any way, I just want you to use proper English so I can at least understand what you attempt to convey.
@TheLittleNaruto I wonder why people answer trash questions instead of downvoting and closing them.
 
@Unihedro Sorry, But do you think to what question I answered is a trash ?
 
@TheLittleNaruto No, that's out of context.
 
lol another downvote xD
 
You're getting serial downvotes?
 
9:17 AM
Yes it's now 2
 
Well, it looks wrong.
 
Yeah! Formatting can look bad
 
Even after I properly format it.
And without any explanation, I doubt it's actually upvote-worthy, so there's that.
Though a typical practice is to wrap the task in a try block and catch the NPE, instead of using an ifn check.
 
try {
  timer.cancel();
} catch(NullPointerException ignore) {}
 
9:20 AM
I should add little more words in explanation.
 
^ C-style convention
 
Is it more good way ?
 
not necessarily
 
i want this image @Unihedro
i am able to display this image
@Unihedro u got or u want more clarification
?
 
So, I have added little more words. Let's see if it attracts more downvotes
or Upvotes ;)
 
9:26 AM
@TheLittleNaruto i have a serious doubt?
 
yo people
 
lol not related to the current chat :P
yo
 
What is it ? Share it already
 
He is asking: context or activity? ._.
 
9:28 AM
yo
 
And in what context you're asking ?
 
Cmon.
passing context or activity remember?
 
mmmm... No
 
;_;
like in adapters.
Shall we pass reference of activity or of context?
 
Well that depends
 
9:30 AM
U told me: "context coz its base class"
:O
 
In most of the cases you'll be using Contexts
Even activity extends Context
So, more and less, you're using context only
I think I should explain more
 
yeah
 
@TheLittleNaruto I have successfully launched my 1st application on studio
 
actually i need to clear what if i pass this in my adapter constructor from activity and retrieve that context as Activity in my adapter? is there any efficiency issue or something else @TheLittleNaruto
 
@Anjali Great Congo!
@MukeshRana I dont see any efficiency issue
It is same like doing this :
List<String> list = new ArrayList<String>();
 
9:37 AM
@TheLittleNaruto okay so it doesn't matter whether we retrieve it by Activity or Context ??
 
Of course not
 
@TheLittleNaruto Can all app of eclipse run on studio?
 
okay
 
@Anjali Yes, export Project from Eclipse as Gradle Project then import the exported project in AS
 
@TheLittleNaruto on ubuntu I can start only by command line ?
no any launcher?
 
9:47 AM
@Anjali In top-left there is start button, Click on it and search for Application
 
\o
 
Hey TGM
 
@VamsiChalla
 
o/
 
o/ o/ o/
 
9:55 AM
@TheLittleNaruto i found the folder of AS from there only
 
@TheLittleNaruto is there any way to prevent UNEXPECTED TOP LEVEL EXCEPTION in Android Studio??
 
@MukeshRana Yes, There is only one reason of this exception
You might be adding same dependency in your project module and library module as well
@MukeshRana Can you show me your build.gradle file ?
 
10:11 AM
@TheLittleNaruto actually this exception comes when we have more than one dex files but how do i get to know which dependencies are having same dex files ??
For example i am getting this exception for JsonSerialzer but i didn't even added this dependency in my gradle file @TheLittleNaruto
 
@MukeshRana u done barcode /qr code from webpage ?
scan
 
@ErumHannan No
 
@MukeshRana Hmm That's interesting.
I want to see your gradle file
 
looks like I found the bug
 
Sun
10:20 AM
-3
Q: Handle Toggle button in onResume() [updated with Screens]

SunI have written a program in which i am using Timer and controlling that timer using Toggle states, Toggle's default state is OFF, once i make changes in toggle state from OFF to ON TIMER starts, and when i again change to OFF it stops the timer as per requirement. But problem starts when my Tim...

 
@Sun Why dint you add mine code in stoptimerTask function ?
 
@TGMCians u used xzing ?
 
@MukeshRana there ?
 
@TheLittleNaruto lol yes what was that??
 
Either
compile files('libs/gcm.jar')
Or
compile 'com.google.android.gms:play-services:+'
Not both
@Muk
 
10:25 AM
@TheLittleNaruto ummm.. i had tried this in one of the projects but at that time it gives me error for not resolving GCM classes
 
10:38 AM
@MukeshRana I will have to see it then
You might want to reply berserk
 
@ErumHannan yup, very long time ago
 
Oye @TGM what's up ? :P
 
@TGMCians can u pls help me how can i scan barcode/QRcode from any Url ?
how can i generate qrcode of calendar ?
i m not getting how to do barcode from url
can u pls help me
 
@TheLittleNaruto I'm good, nice thanks, how about you
@ErumHannan you can't scan from any URL , you have to keep barcode/qr code in front of your phone camera.
after integrating zxing, it do this stuff own
if it's difficult for you to integrate zxing then you can use zbar scanner lib
 
no i already have integrate zing its scanning
fine
anyways can u help me how can i create qrcode for calendar
i already have done for text, email , url
@TGMCians
 
10:50 AM
@ErumHannan sorry I didn't get you
 
@berserk @MukeshRana @TheLittleNaruto YO!
 
how can i generate qrcode if i input any calendar date
any bookmarks
@TGMCians
got ?
 
yo @malviň from me and berserk :P
 
o.O
@berserk duplicate but ur more silly than him :3
 
lol it was actually me @MukeshRana
berserk is not there ;)
 
10:59 AM
holy fuck :xD
 
lol
 
u guys can kill me one day :D
 
@berserk BitmapShader shader;
shader = new BitmapShader(bitmap, Shader.TileMode.CLAMP,
Shader.TileMode.CLAMP); Shader Class not ressolved
any idea about that
 
@Edge hlo man
 
@Edge berserk is not there :P
 
11:02 AM
@berserk make it secret xD
 
ok
 
@berserk Once before u did the same :3
I still remember that summer night
 
@TGMCians lol I am good too
 
@TheLittleNaruto :D, Good to hear :)
 
11:10 AM
hehehe
what's up these days
 
nothing much. Life is going easy
Want a change ;)
 
@malviň now back on my pc :P
 
@MukeshRana keep playing :D
 
@TheLittleNaruto lol
nice, enjoy, have fun
:)
 
@TGMCians u did not repl me
 
11:12 AM
@ErumHannan can't you generate using online tools ?
 
no i want to do using android
xzing
 
Simply don't know, I simply used zxing for scanning qr/barcode, not generating
 
@ChintanRathod
0
Q: Retrieve those contacts from phonebook that has Social account

Chetani have retrive contacts from phonebook that has any social acconut like whatsApp, twitter, google+ etc. Is there any way to get whatsapp and another social contact from local phonebook itself? i have try following code to get all contacts Cursor phone = getContentResolver().query( Conta...

i want same but i want to retrieve those names who only has contact number
 
@malviň it was mukesh ;_;
 
@MukeshRana @PiyushGupta
 
11:33 AM
@berserk :)
 
@TGMCians @Edge @Unihedro @ParthaChakraborty @Pans @Michel @Goku @Icero @MRS1367 worked on File tranfer using xmpp?
 
not me @naw
 
@nawabsaab What is wrong with you?
 
ok
@Unihedro what happen?
 
using Signal R i can tell u
but not XMPP @nawabsaab
 
11:41 AM
used asmack?
 
I dont think so. U agree with me malvin? ;)
 
don't speak in front of everyone
 
@iAnum lol I know
 
del it
 
lol
 
11:44 AM
:P
 
oks
 
I know many ppl do this :P
 
But not me
 
including yu
 
@TGMCians can i add LED LIGht possibility in scanning qr code
 
11:45 AM
@iAnum am facing a problem
need help
 
i know u r facing prb in which tech. I cant help. Haven't worked on it :(
if it is related to mobile tech, u can ask
 
has anyone here worked on ant?
 
@iAnum i am working on mobile tech
worked on File tranfer using xmpp?
 
by mob tech, I mean android or iOS.
i haven't na
 
its ok
 
11:49 AM
wish I can help u with debugging
 
manager.addFileTransferListener(new FileTransferListener() {
                public void fileTransferRequest(final FileTransferRequest request)
                {
 
try to kill the bug
 
not coming inside this
not getting any bug
 
this code is in android ?
 
yes
 
11:52 AM
show me code snippet
 
PacketListener is for receiving message
FileTransferListener is for receiving file
 
ok lemme c
 
Is "addPacketListener" working fine?
 
yes
 
12:11 PM
@ChintanRathod hi
 
@nawabsaab hello
 
@ChintanRathod know anyone who worked on filesharing using xmpp
 
nope dear..
 
ok :(
 
12:29 PM
@nawabsaab not sure may be this discussion help you stackoverflow.com/questions/16230921/android-xmpp-file-transfer
 
@Goku i have seen this
the code he used for sending will not let him send the file
i have send the file, i am facing problem in receiving
 
mean when you receive the file ..??
 
@Goku it is not coming inside FileTransferListener
 
due you point debugger on that ??
 
ok i do this
 
12:45 PM
I am not a android guy but you can check calling of that Listener is proper or not.
 
its proper
just debbuging
 
Just Point your debugger from where your Listnr is called ..
 
1:06 PM
ok @Goku I am doing in this way thanks
BYE
 
 
8 hours later…
10:04 PM
posted on January 30, 2015 by Emily Wood

Between a spookily resilient cat, and a new bunch of ghostbusters, there was a lot of (paranormal) activity in search this week: “It’s a great day for a ball game…” People across the country are gearing up for this weekend’s Super Bowl, starting with the basics: “When is the Super Bowl?” They’re also researching some of the major characters of Sunday’s face-off—namely Seahawks running back Mar

 
 
1 hour later…
11:20 PM
posted on January 30, 2015 by Tor Norbye

Our canary and dev channel users found two critical bugs in our release yesterday, so we've fixed those issues and have released an updated beta candidate build: 1.1 Beta 2. Please update, and thank you very much for your help in tracking down these bugs! Installation You can manually check for updates via Help > Check for Update... (on OSX, look in the Android Studio menu). This will d

 

« first day (814 days earlier)      last day (2661 days later) »