« first day (1494 days earlier)      last day (1981 days later) » 

4:46 AM
good morning guys :)
 
4:57 AM
Gm ALL :)
@AshuKumar VGM
 
hehe , No one like us :D
@ChewbaccoCat Good morning
 
ha ha ha
hmmm
ashu
 
yeah :) so working today ?
@ChewbaccoCat is Class name is OK "WhilistAdapterAsyncResponseMethods" ?
present in 4 sub folders
 
yeah man
:D
yeah working
@AshuKumar
 
 
1 hour later…
6:32 AM
@ColdFire GM
 
6:55 AM
@ChewbaccoCat gm
 
@ColdFire Good morning Man :)
 
gm
 
now @ColdFire need real Fire :D
 
7:20 AM
Hi!
 
Good morning guys
@ColdFire @TheLittleNaruto I am still amazed about api.ai that is funny.
 
hehe yeah i saw you got a answer there
 
morning!
 
@rekire Expert VGM
 
I just asked a second question
 
7:22 AM
:3
 
0
Q: VideoView in Recyclerview throws: Unable to add window -- token null is not for an application

Albert-JanI've tried to eliminate the problem that was throwing this error. When I comment the following line of code away, I don't get an error. But why is it throwing that error? The videoview is in a recycler view. myHolder.videoview.setVideoURI(video); Log: UncaughtException: android.view.WindowMan...

Can you take a look please?
I don't beg usually but I'm having a death line way to soon
 
0
Q: Reply after a given delay

rekireI would like to implement an simple timer within a communication. My scenario is a small math trainer where you train 5 minutes, after the 5 minutes of normal interaction I would like to inform the user that the time is now up. I don't want to wait until the user has finished his next input/answ...

@Albert-Jan you added no code, by the way what do you do to get this stacktrace?
 
I just got it from the monitor
In android studio
But there is only a adapter there
And some other setups for the videoview but they work fine
 
7:37 AM
@Albert-Jan it is window token error usually gives when context is null or u r getting Application level Context , make sure send Activity level context
 
8:16 AM
@ChewbaccoCat @ColdFire this is our future :- youtube.com/watch?v=TmQ7SlvYMzk
 
8:42 AM
COOL @AshuKumar
Girl
 
@ChewbaccoCat :O are u mukesh Rana ? :D
 
lol
 
@ChewbaccoCat hahahaha :D yeah u r
 
8:50 AM
:P
@MukeshRana died yesterday @AshuKumar
 
@ChewbaccoCat what ? Dirty Mind :D
 
Has anyone used Javamail here before?
 
nope
lunch time brb
 
yeah man :D
ok
brb
 
I needed some help.
Suppose you were trying to locate an image file in your class, does the directory start from the root web-inf folder or the class package location?
 
9:08 AM
Hello Guys
 
@Shubham good after noon :)
@KeithYung root / depends on location where u saved
 
@AshuKumar Good Noon brother
 
today we have party :)
 
anybody with wildfly experience on linux?
 
nope
@Shubham how are u today ?
 
9:16 AM
I have this Javamail class that's in java src/util/(classname here)
 
@AshuKumar just good i have some pending work bcoz i was on leave during week days
 
and I want to use an image from the web/WEB-INF/images/(image filename here)
 
@Shubham good carry on... :D
@KeithYung no javaMail :(
 
oh rip
 
may be u can ask to other Room :)
here mainly Android Dev present
 
9:18 AM
can you refer me to a room?
 
wait.. let me check

Java

Dedicated to the discussion of the Java programming language a...
or alternately u can check here for all room chat.stackoverflow.com/rooms/139/javanot-android
 
9:34 AM
That ai stuff shows me how bad my skills in that area are:
0
Q: Playing short wav files in Google Home

rekireI would like to play a short sound for a more amusing output. If I understand the documentation correctly it should be possible with a reply in api.ai of something like this SSML: <speak>Okay here we go: <audio src="http://example.com/boing.wav">boing</audio>. You are welcome!</speak> Just for...

 
@rekire good after noon :)
 
@AshuKumar hi :)
 
10:21 AM
This video here is great:
@TheLittleNaruto @ColdFire @Hans1984 :-D
 
@rekire Is it Google's ?
 
@TheLittleNaruto they seems to bought it recently
 
I see
@rekire Did you buy a Google Home already?
:O
 
I already asked three dump questions regarding and wrote two answers, let the reputation come
@TheLittleNaruto not yet but I will do
 
10:29 AM
man I use here 4 tags I never used before (compared to start of the week): stackoverflow.com/q/41074062/995926
 
Man this one is your second question, Isn't it ?
 
@TheLittleNaruto can u help me with this, i have a viewpager which have 4 tab and one of the tab has three step
how to implement it
i mean the first tab has a process which has 3 step and each step do something different, and go to another step and finally save whole data of 3 step
just like a wizard
 
10:46 AM
@Sandro Where are you exactly stuck ?
 
in one tab
i don't know how to implement it, i know how to implement viewpager with fragment
but don't know how to make wizard in one tab
@TheLittleNaruto do u get what i mean
 
wizard in one tab ? What does it mean ?
Any screenshot ?
 
i mean one of the tab has 3 inner fragment
i implement the view pager with tablayout
 
yeah that's fine
make a fragment which has 3 fragments child in its layout and switch whenever whichever one needs
<fragment
/>
<fragment
/>
<fragment
/>
 
10:52 AM
yes so in that AddressFramgment's layout, you should have 3 child fragments
 
no Menu fragment layout is the point
this is mjy menu fragment layout
gist: a90b40a9095d30fc52c2ce8f6acf4755, 2016-12-10 10:53:49Z
<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"
    tools:context="com.example.noavaran.drugstore.Fragment.MenuFragment">

   <!--  TODO: Update blank fragment layout
    <fragment xmlns:android="http://schemas.android.com/apk/res/android"
        xmlns:tools="http://schemas.android.com/tools"
        android:id="@+id/map"
        android:name="com.google.android.gms.maps.SupportMapFragment"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        tools:context="com.example.noavaran.drugstore.MapsActivity" />-->
    <com.google.android.gms.maps.MapView
        android:id="@+id/mapView"
        android:layout_width="match_parent"
        android:layout_height="match_parent" />
    <ImageView
        android:id="@+id/GetAddress"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:src="@drawable/add_address"
        android:layout_alignParentTop="true"
        android:layout_below="@+id/mapView"
       android:layout_centerHorizontal="true"
       android:layout_marginTop="-10dp"

        />
       <ImageView
           android:layout_width="wrap_content"
           android:layout_height="wrap_content"
           android:src="@drawable/title"
           android:layout_alignBaseline="@+id/confirm_address_map_custom_marker"
           android:layout_centerInParent="true"
           android:layout_above="@+id/confirm_address_map_custom_marker"
            android:paddingRight="75dp"
            android:visibility="gone"
            android:id="@+id/Image_title"
           />

       <ImageView
           android:id="@+id/confirm_address_map_custom_marker"
           android:layout_width="wrap_content"
           android:layout_height="wrap_content"
           android:layout_marginTop="-5dp"

           android:layout_centerInParent="true"
           android:src="@drawable/position_icon">

       </ImageView>


</RelativeLayout>
@TheLittleNaruto what do u means
 
@Sandro please do not write whole code here :)
 
I didn't do that @AshuKumar it the gist
i pasted in gist
 
u can use 3 child Fragment in one main Fragment xml also :)
 
10:57 AM
@Sandro You said one tab has 3 inner fragments, Didn't you ?
 
@TheLittleNaruto exactly
 
@TheLittleNaruto Good evening Boss :)
 
@Sandro Make a parent Fragment for that, and put those 3 inner fragments in the layout of Parent Fragment.
 
@TheLittleNaruto 3th: stackoverflow.com/…
 
@AshuKumar Good eve Boy
 
10:58 AM
@TheLittleNaruto i got u thanks
 
@rekire ohh
 
:-D
 
nice
brb
 
btw I guess the whole industry will go in this direction
 
11:12 AM
@ChewbaccoCat I am immortal
Good Evening Guys :D
 
Good evening Immortal then u must watch Immortal Movie :)
 
11:34 AM
@ChewbaccoCat party Time :)
 
11:44 AM
ha ha ha @MukeshRana :P welcome
m just kidding mundey
@AshuKumar party ?
:(
 
11:57 AM
lol okay
 
:D
!!meow
 
RANA RANA
 
kitty kitty
 
12:13 PM
rana rana
 
FIRE FIRE
 
@ChewbaccoCat :D
Rana Rana
hsekuM anaR
@ChewbaccoCat or u meant jwak(child) :D
 
huh
@AshuKumar
 
@ChewbaccoCat how was ur expression while writing HuH ? :D
 
1:16 PM
ha ha ha
HUH
:o
 
@ChewbaccoCat i was thinking about this :D
time to go home :)
 
ha ha ha
same
yeah man
30 min left
:(
 
10 min left :D
 
:P
on 07:00
mine 07:30
 
yeah :D
 
1:20 PM
think to switch cmpny nw
5 days week
 
@ChewbaccoCat morning timing ?
 
:D
i have 1st and 3rd off
here
 
@ChewbaccoCat same last two sat
 
but now New year on Sunday :(
Holiday :(
bye
 
1:27 PM
owhk
 
1:58 PM
@rekire How do you mean ?
 
@TheLittleNaruto assistants and voice commands
 
@rekire yep right
 
do you know if topic push and segments can been combined?
 
\o/
foxy fox
watched death parade feeling conflicted
 
@rekire Not sure what those are related to...
@ColdFire lol
 
2:05 PM
@TheLittleNaruto push messages with firebase
 
@rekire I see
 
@rekire so what our pro guy is doing?
@TheLittleNaruto lol that series is a bit complicated ....
i dont know what to think of that series
 
@ColdFire I try to push a message to topic (sync) but I may want to leave out some users so I was wondering if I could combine it
 
@rekire firebase has targetted messaging afaik
 
that is called segments yes and topic is another option...
 
2:08 PM
@ColdFire hehe yep it is. But I like the way the series is thought and executed. An unrealistic but well concept.
 
ah I will implement it anyway just for debugging :-D
or ddosing the backend
 
@TheLittleNaruto i think its meeh not great but ok......
well looking forward to steins gate
 
@ColdFire @DroidDev had suggested "Knights of Sidonia" once, You could try this one too. It has totally different concept.
 
currently i have only steins gate and soul eater in my hdd
 
 
1 hour later…
3:37 PM
is it possible to get lat and long from another language(except English) like persian
is it possible to get lat and long from another language(except English) like persian
 
Everything is possible.
How would you guys call a method which is inside the fragment and you want it to call from Activity ?
Note: The Fragments are part of ViewPager
 
3:57 PM
what is your idea @TheLittleNaruto
@TheLittleNaruto i think this tutorial will help me shawn-duan.com/android/fragment/2016/03/31/…
 
@TheLittleNaruto one step back why do you want that?
@Sandro a coordinate is independent from a language it is like math 1+1=2.
 
@rekire So I have list of drawer menu item
And on click of which I want to update fragments data
by calling some APIs
 
@rekire but if u send address in english it would send the lat and long
 
So suppose there are menu items, 1, 2 and 3
And user clicked on menu item 1
 
@Sandro that is geo coding
 
4:07 PM
it should load data on fragment which is under Tab 1 and under Tab 2
 
@rekire now i want to know it is possible to send persian and give us lat and long
 
Theoretically why not
can you give me an example address?
 
Ok
Wait.. what ?
 
Hang on kumar :)
 
4:11 PM
I would suggest that you use a common model for all fragments
 
ایران،تهران، خیابان ستارخان،خیابان کوکب
 
so let the fragments ask the activity for the model then you display just the data @TheLittleNaruto
 
@rekire For every cases, there always be a single pair of fragments
The only thing which will get change is data
on click of each item
 
@Sandro when I tried this demo: developers.google.com/maps/documentation/javascript/examples/… I get the right address so this is definitly possible with google apis
 
So I have a ViewModel which has methods for all cases of data loading
And I have a refrence of it inside the fragment
 
4:14 PM
@TheLittleNaruto did you think about a presentation model too?
 
@rekire No, I am following MVVM.
 
a presentation model is quiet similar you just also handle change events
 
I know that. :)
My ViewModel takes care of updating data on View
 
but in the end you don't want to use it I see
 
The only problem right now I have is to trigger the methods which is inside ViewModel
 
4:16 PM
well in that case that should work
 
when user clicks on menu items
 
but if you use a shared model which is stored in the shared activity this should be no issue
 
So ViewModel ref is inside Fragment
And menu item click evenr is happening in activity
 
something like ((MyFancyActivity)getActivity()).getSharedModel()
 
That sharemodel, what it'll return ?
 
4:17 PM
that shared model is the model which both fragments will use
so you have the data in one place but not as singelton instead as member variable of the holding activity.
 
And how that sharemodel suppose to be used inside both the fragments ?
 
...
 
That's my question.
:D
 
Haha I got it I read it wrong
you see the code snip it above?
 
I see it.
 
4:19 PM
you can implement that in both fragments
so each fragment will hold a reference to the same model
 
Ok ?
And how will it help me when the menu item will get clicked
 
do you have a propper wifi signal? :D
 
:D
Not at home :/
I think I got your point
 
wasn't it you who wanted to buy an isp?
 
Not sure though :/
@rekire lol
Yeah
I wish I could buy one
Ok let me try this way that you mentioned, you big fish!
 
4:23 PM
@TheLittleNaruto sure I will search the isp quote
 
@rekire yes but it is not the exact address
the last part of the address is not correct
the translation of the above text is this
IRan,Tehran,Satarkhan streat, kokab streat @rekire
does it have especial format
 
oh that means that is more or less a description where two streets cross. I guess that is not supported even in english
you may could search for a smaller local provider
I mean if you support maps in china you have to use baidu since they use a differnt geo coding
 
4:42 PM
@rekire sorry i didn't get u
you mean, we have to enrich the google map
 
@Sandro no but I guess that you cannot geo code that special format of addresses
 
@rekire you mean i should have to use a special address format to give me right result
 
normally you would say give me the coordinates of long street 123 of example city
or basically that address you would use to send a letter
however it is still possible that the post guy would still know where that person lives
 
5:14 PM
lol @rekire
you burned the fox
 
5:36 PM
Hey guys
 
5:46 PM
@MukeshRana hey poker face
 
Hey
 
whatsup
 
6:06 PM
I'm back, Hello fellas!
 
@ColdFire nm bro, you say? How you doing?
 
good
hey @Mohsen
 
Hey man!
 
in fox language hey kid
 
;]
 
6:24 PM
:)
 
6:58 PM
Finally, Answered a question after a long time :(
 
 
2 hours later…
8:40 PM
Hey guys, how can I use a Switch inside a RecyclerView? When I do it, it doesn't switch on click... You have to slide it for it to toggle... And the click is seen as a click on the recyclerview rather than the switch. How can I make the switch toggle on click in the recyclerview?
 

« first day (1494 days earlier)      last day (1981 days later) »