« first day (961 days earlier)      last day (2514 days later) » 

3:47 AM
Good Morning Guys :)
!!tell rekire eval "This is the notification on your smart phone. :)"
 
@rekire "This is the notification on your smart phone. :)"
 
Now he'll get the notification anyway! hehe
 
 
1 hour later…
4:50 AM
Good Morning friends
 
morning
 
posted on June 26, 2015

New Cyanide and Happiness Comic

 
5:33 AM
@All GM:)
@TheLittleNaruto hi bro you can helkp me
I want to get value from edit text after on click button But Edittext is without id in layout.
I create one xml file one parent linear layout and four child linear layout and every child linear layout has a one edit text without id . now i get value of edittext after click on button .Then show value of edittext in toast .@All
 
good morning @all
 
@lovelight without using ID we can't get the value edittext we have get the Id and based on that id we get the value of the editext.
 
5:52 AM
@Allu yes bro I know but is it possible .we create dynamic 5 edit text and get value of every edittext.
 
@lovelight set ID as well while creating edit text dynamically
 
No without Id it is not possible, so you have to create dynamic ID like @TheLittleNaruto what he says @lovelight
 
@TheLittleNaruto ,@Allu ok bro :)thanks
@TheLittleNaruto @Allu but My team leader is saying that it is possible get value from edit text without id.he has given me task for do this work .
 
So I think If you are created dynamic edittext view and add to the main layout like this EditText editText=new EditText(); for this I think we can get the value when we click on the button I think It may work without Id means with using editText object we can get. just try it. @lovelight
 
@Allu yes bro let me try:)
 
6:08 AM
Hai
 
6:20 AM
so good morning guys
 
good morning guys
I am trying to resume fragment from last state but it never resume last instance but it creates new instance every time.Using replace method of fragment transcation, can you guys help ?
 
6:51 AM
@rekire
 
@rekire vgm lazy boy :D
 
@droid_dev I'm not an expert with fragments and the lifecycle
@TheLittleNaruto did you get my wa?
 
Oops! Wait.. Reading now.
 
@TheLittleNaruto I had to do some head crashes^^
 
7:27 AM
@TheLittleNaruto any idea on fragment issue?
 
man that stupid AS1.3 fucks me soo up
do you know the aar build task?
I want to test something
 
7:45 AM
@droid_dev no idea
@rekire yes I do
If you meant compiling .aar file by that
 
yes... okay I give now up. I converted three modules to aar file includes and AS 1.3 still does not work
 
one reason I still haven't shifted on AS. See, you can never trust google
 
you can as long you use AS 1.2.2 however it seems that just a view devs have this issue. even in office has no other this issue
 
that was the reason went back to eclipse when I started on AS. Same issues was back then. Project had to go on for years we couldn't take risks
it was building on mine and on another PC we had to change configs
push those changes, it stopped working on mine
 
strange, here are no such problems
null
java.lang.NullPointerException
at org.jetbrains.android.dom.attrs.AttributeDefinitionsImpl.addAttrsFromFile(AttributeDefinitionsImpl.java:95)
at org.jetbrains.android.dom.attrs.AttributeDefinitionsImpl.<init>(AttributeDefinitionsImpl.java:52)
at org.jetbrains.android.resourceManagers.LocalResourceManager$2.run(LocalResourceManager.java:210)
at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:867)
at org.jetbrains.android.resourceManagers.LocalResourceManager.getAttributeDefinitions(LocalResourceManager.java:201)
this stacktrace let me think that it is something about my manifest now
 
8:05 AM
Where can be my App's Public key ?
 
@TheLittleNaruto which one?
 
* base64EncodedPublicKey should be YOUR APPLICATION'S PUBLIC KEY
         * (that you got from the Google Play developer console). This is not your
         * developer public key, it's the *app-specific* public key.
@rekire ^
 
@TheLittleNaruto yes I remember, but I'm not sure :(
is your problem how to protect it or how to get it?
 
How to get it?
 
8:14 AM
last point ?
 
Thanks :D
Gotcha!
@rekire Your Google Developer Console page's UI is different a little.
than mine.
 
@TheLittleNaruto @Allu it is possible get value of edittext without id
i found
 
Of course via it's instance
 
8:29 AM
@TheLittleNaruto that checkmarks let me think that the app is not yet published?
 
@rekire Yes! It's not published yet!
 
@TheLittleNaruto this could be the reason
 
Just one more functionality is needed to add and I'll be good to go!
Ouu!
@rekire I have a added a product as a "subscription" product type. Is it okay ? Because I have only one product that'll feed some points to User's Point Bucket.
 
@TheLittleNaruto subscription is repeating payment
 
of course whenever they need even if they have enough points
@rekire Ah!
That would be bad to 'em as It should be one time payment anyway
For each x points they'll have to give USD Y only. No need to pay again.
Looks like I'll have to delete the product.
 
8:38 AM
there are two types of products in your case you should create a non consumable product I guess
yeah
 
While adding a product, I got two choices only, Managed and Subscription
 
oh then has the api changed
 
Does that mean I have bad luck ?
 
It just means my knowlage is outdated ;)
 
8:42 AM
but I guess that managed types have also both options
 
No it hasn't.
I tried now to see if it has 2 options
I wrote some lines today about it here
as You were not awake. -_-
I am hungry! brb!
 
I sleep at 3am
 
@rekire me too, mostly....
 
I was just about 3-5 times awake to that time
 
9:30 AM
@rekire wtf ?
 
@lovelight you are used same process or different process to get the value
 
@Allu i used diffrent process
 
@lovelight how?
 
@lovelight yo where are you?
 
@Allu you can see
@Michel hi bro now i am in Gwalior
but i will reach jaipur in August
 
9:38 AM
@lovelight cool
 
@TheLittleNaruto well except someone cries next to me
 
@lovelight I have one small doubt i.e If there are 3 edittext and without id and enterred all three fields with some value, then how it will display the toast message, is it like 1st editext ,2nd editext value like that or it will display only 3rd edittext value.
 
@Michel yes bro now i want to make a life good live in out of home
@Allu It is showing value accrording loop process one by one
@Michel whats going on bro?
 
and how you are calling findAllEdittexts(ViewGroup viewGroup) method I mean when i click on the button what to pass the parameter is it main layout?@lovelight
 
@lovelight cool enjoy
 
9:45 AM
@Allu you can see this link of Activity pastie.org/10259939
@Allu you can see this link of XML layout file pastie.org/10259941
 
@lovelight ok fine
 
@Allu now you can run this prograam it is do fine work
@Allu ok bro
@Michel good bro
@Michel i am very happy because you happy in your life
 
ehehhe
 
@rekire Got it! My little friend is bugging around and he has a right of doing such things ^^
> Non-consumable Items
Typically, you would not implement consumption for in-app products that can only be purchased once in your application and provide a permanent benefit. Once purchased, these items will be permanently associated to the user's Google account. An example of a non-consumable in-app product is a premium upgrade or a level pack.
@rekire Have a look ^
 
10:06 AM
Hi! Anyone works with recording audio by micropone in android ???
 
wtf? I am not able to delete the product!
This is crazy!
The Active button becomes dead forever
 
yes there are some wired restrictions
"non-consumable" I was taking about that^^
 
10:21 AM
Someone posted that I can delete a product if I'll upload an app which has no billing permission
@rekire But what is written about it doesn't serve my purpose as you can read the info.
I am sorry to say but the android documentation is not well written.
T_T
 
@TheLittleNaruto Android itself is not well written either
neither is AS
:P
 
Certainly! You got me this time!
 
haha, me sniper, me wait for time to be right :P
༼ຈل͜ຈ༽_•︻̷̿┻̿═━一 SNIPERINO
 
This is going to be a bad day!
 
but its already more than half over
and weekend is normally drinkend ;)
 
10:31 AM
I accept I am a lazy guy, But I do complete my task.
no matter what!
 
haha, I never do. There are 36 issues that I have to solve and I am only done with about 3 of them
 
It's okay to solve issues later once you finish all functionalities .
 
umm...so you are trying to tell me that I should waste some more time
YOU ARE MY TRUE FRIEND @TheLittleNaruto!!!!!!
 
hahaha
@DroidDev It looks like I am! ;)
 
@TheLittleNaruto haha ;)
 
10:35 AM
@TheLittleNaruto IMHO every documentation except those of windows/.net is bad
 
@rekire This app belongs to the same client who called me "The most lazy dev". ;)
 
great^^
 
...And I am fucked now!
 
@TheLittleNaruto me too, but who cares^^
 
:/
 
10:36 AM
hahaha
Okay babies I am gonna upload another version which won't have in-app
in-app permission *
 
@TheLittleNaruto but this won't let you delete those entries
 
@rekire You're correct and Active button is still disabled!
 
I'll be back in t-75
 
t-75 ?
Why so late when I need you so badly T_T
 
 
1 hour later…
12:03 PM
HI EVERYONE! CAN ANYONE TELL ME HOW TO TRACK THE LOCATION OF A OLA CAB ACCURATELY?
 
OLA Cab ?
 
sounds like a kidnapping plan
 
Did they provide API for that to you ?
@DroidDev true!
 
@TheLittleNaruto that was a timing
I was in a meeting
 
@rekire I din't understand the format!
time format*
 
12:19 PM
Hi guys
Can I ask a very quick DI question?
 
DI?
 
A countdown is a sequence of backward counting to indicate the time remaining before an event is scheduled to occur. NASA commonly employs the term "T-minus" during the preparation for and anticipation of a rocket launch, and even "E-minus" for events that involve spacecraft that are already in space, where the "T" could stand for "Test" or "Time", and the "E" stands for "Encounter", as with a comet or some other space object. Other events for which countdowns are commonly used include the detonation of an explosive, the start of a race, the start of the New Year, or any anxiously anticipated event...
 
Dependency Injection, excuse me.
The question is as following: should it bother me that if I have a situation were:
A is a class
B is a class that needs an instance of A in it's constructor
C is a class both using A as well as B (injected in C constructor)
The result is that there will be two instanciated A's: the one consumed directly by C and the one that is created to construct B.
I am upgrading a project and did all the injection by hand, which allowed me to construct A, as instance a, then inject it manually in B, and in C. (using the same instance)
Those two instances of A, is that normal, is it good.
Is my understanding of DI flawed if I did not expect this?
- using Dagger 2, if that matters -
 
1:08 PM
@rekire I see.
 
 
1 hour later…
2:27 PM
1 hour later...
 
Any one here...??
 
who is any one? :P
 
@DroidDev
ah u..!!
Hi..!1
 
HI!!
 
hey @DroidDev
 
2:31 PM
sup?
pings @TheLittleNaruto just to tease him
 
2:57 PM
What is difference between main and patch expansion pack?
 
hello
anybody android there
 
3:10 PM
yooo
 
 
1 hour later…
4:21 PM
@DroidDev hehe
 
Nobody has an idea?
 
@Quant What is class A for ?
Is that a simple model class ?
 
A as well as B are data logic classes. You could say: A handles entity A, B handles entity B but needs to access logic that is in A. (Cause B and A are related concepts)
 
Then that won't be pain imo. It's okay to inject same instance in both classes as both classes B & C will use the logic only which is written in class A.
 
Okay.
You would attempt to use a single instance of A, but that is something I have not been able to accomplish in dagger 2.
Are multiple instances evil?
How would you do this with a logging component for example?
I come from a world of symfony 2 were I never really thaught about this stuff and just did it. My current project is relatively low level, as I am glueing all components together without a
frameworks vision.
 
4:37 PM
That depends! For example if a class is updating some column of some table, having multiple instance of the same class can bug you at run time.
 
These classes hold no state.
 
Also I am not Dagger user.
 
They are grouped "query executors"
Can you recommend good articles with a dependency injection vision / strategy perhaps?
 
I never tried any DI framework for Android Development, But People say Event Bus/Otto would be good to go for such things
 
Is this chat android specific? Cause I am not making an Android project.
 
4:41 PM
I thought of implementing such framework, but had to stop thinking as in recent Google IO, they have released data binding thingy which is more like DI.
Ouu! A'nt we talking about Android ?
 
No.
It is a web project.
Back-end of an API
 
Oh! Boy!
 
Does it change your perspective?
 
Of course not!
See, I would say, if we have such framework existing in our own JAVA SDK, there is no point of using other framework explicitly
Why don't you go with Spring MVC ?
 
Spring MVC is hugely complicated.
I am using SparkJava, which is a sort of sinatra like web framework.
Also (I have written 15000 lines already)
 
4:46 PM
Well! Any DI framework looks complicated and It does but in start only. Once you gets started with it, you'll fall in love with it.
 
Yes I sort of did already.
I had a hugely complicated Main.java
with instantiation of every dependency and now everything is much clearer,
and more testable.
I came to the conclusion that not working with DI was not sustainable as soon as I had a untestable code path and could verify correctness only manually.
 
Now that I have refactored and all tests are passing again (integration tests, unit tests) I was examining how my DI solution worked.
And I came across much more instances then when I had finer grained controll over injection.
That's why I was asking the questions.
(This sort of is my first gigantic project in Java. I am quite an experienced developer and follow good practices like TDD, and try to have a high test coverage, but the language and the tools are relatively new to me)
 
What were you coding into before ?
 
Working in Java has been really nice thus far. Never did I have so much control and enforcibility of contracts.
PHP, NodeJS (too easy to shoot yourself in the foot), Ruby (more sinatra then Rails). Also I have been focussing much on Database / data strategy planning
I experimented with Clojure.
 
4:53 PM
I work on PHP too, But only for developing web services APIS for my ANdroid Applications
 
Do you know Scala?
 
Naah
I am an Android Dev.
 
Ah!
Off course.
Thus far all the stigmas: like Java lacks expressive power and is an ancient dinosaur. I do not agree with them. Esp. with the features in Java 8 it is really doable: the trade of in expressive power is what you gain in correctness, type safety.
 
 
6 hours later…
11:05 PM
posted on June 26, 2015 by Google Blogs

From eagerly-awaited U.S. Supreme Court rulings, to the ongoing debate over the Confederate flag, here’s a look at some of the topics that got people searching this week. #LoveWins Whether the query was “marriage equality,” “fourteenth amendment,” or “love wins,” searches related to today’s U.S. Supreme Court ruling that same-sex couples nationwide have a right to marry are spiking, with more

 

« first day (961 days earlier)      last day (2514 days later) »