« first day (1361 days earlier)      last day (2114 days later) » 

4:22 AM
good morning guys
@ankitagrawal @MukeshRana @TheLittleNaruto @Rahul @faisaliqbal @Shubham @Sanjeev @RaajaSN @ArifNoumanKhan @osimerpothe @droid_dev @Hans1984 @HitCat @Kaushik @berserk @brahmyadigopula and rest
:)
 
4:49 AM
@HitCat :)
hit by cat
 
5:27 AM
hi cta @AshuKumar gm
 
how are you ?
 
m fine cat
 
@AshuKumar vgm
vgm all
!!all
 
@Kaushik Caprica gives everyone some candy
 
!! info all
 
5:33 AM
@AshuKumar Command all, created by Hans1984 on Tue, 07 Jun 2016 09:07:46 GMT
 
 
1 hour later…
6:42 AM
!!candy
 
@Kaushik Caprica gives OakBot some candy
 
kill
cats
@AshuKumar
@HitCat
@Kaushik
 
@ankitagrawal sup
 
@Kaushik
@Kaushik whatsup?
i just woke up
 
good
I am at ofc
fixing bugs
 
6:45 AM
ofc at saturday?
 
nope for deadline
 
i see
 
hi @ankitagrawal cat
 
cat cat
 
7:21 AM
how are you @ankitagrawal
@Kaushik how are you ?
 
cat cat
@AshuKumar kid whatsup?
 
was writing documentation for html template, now start working on android
what about you
 
just woke up having nashta
 
tea and alo wale prothe is breakfast
 
7:38 AM
@AshuKumar you take tea to breakfast ?
 
tea + Prothe @ScooterDaraf
 
what is prothe?
 
prothe is traditional food in Punjab
 
like bread ?
 
nope
brb, need to recheck file
 
7:57 AM
@AshuKumar fine you say
@ankitagrawal alu da paratha
 
@Kaushik i think it is paratha
porthe or porothe
 
yes, but i like to say prothe :D
 
man dont say what you like say what others know
 
^^^good
 
@ScooterDaraf you like to eat ?
 
7:59 AM
i want say jlhkjh kljhöjhfög kjdhfklgjh this is what i like to say
Hope you understand what i say guys :)
 
nope @ScooterDaraf
 
@AshuKumar who dont like to eat ?
 
@ankitagrawal it's my favorite.
every sunday i eat, @ankitagrawal :D
@ScooterDaraf are you Indian ?
 
no why ?
Im glad im not indian heheheh
@AshuKumar sorry to ask , why dont you eat cow ?
 
you should be, as you like INIDAN FOOD
 
8:03 AM
why @ScooterDaraf?
 
what we do not @ScooterDaraf
 
why you dont like Indian? @ScooterDaraf
 
cow meat
 
never ask such question again to any Indian@ScooterDaraf
 
ah ok sorry
i thought its just question
But it must be an answer to that anyway
any question have an answer
 
8:04 AM
no it is not just question ,
 
what is it then ?
 
not all question are meant to be answered
 
i said clearly : sorry to ask
 
and this is one of them
so stop asking then
 
leave this topic :)
 
8:05 AM
i have no complications in any question so ask what ever you like
 
every human has such question that hey do not like to answer :D
 
you are complicated in your own religion hahaha
 
@ScooterDaraf please leave topic
 
never heard somone cant answer his religion :) , how did you become cow worshipper then ? of course you asked much when you was little . so why complications , only if you have some misscomplet things then you will be ashame of your religion or ?
 
dude, this is not abut answers but when we start talking then our conversation will go beyond topic
 
8:10 AM
i am voting to close this as offtopic
 
my vote +
 
further intervention can cause casualty so no discussion
 
yes :D
 
@ScooterDaraf i can answer any question but its my wish not to answer this question
so i guess you understand
and i dont think i should explain my religion to you
 
8:15 AM
How can i make android application , i want to start from 0 , what to install for softwares and what do to pls help me ,
i want make make application like Viber
 
that is too broad
 
What software to install ?
 
download Android Studio and install
install java
update android sdk
 
what language is viber made with ?
 
android gives option to make app and in java and native language
 
8:20 AM
i can php and html and js and css , can i make it ?
 
nope, @ScooterDaraf
you need to learn java or native languages to make android app
 
so viber is with java ?
 
@ankitagrawal are you free now ?
you can search on internet @ScooterDaraf
 
@AshuKumar for what?
 
hi everyone
 
8:27 AM
hi
 
i want to discuss with you about new project
 
hi @ankit
 
@GurpreetKaur hello :)
 
can we apply custom fonts to whole app ?
 
yes , u can @GurpreetKaur
 
8:29 AM
how?
 
add custom font into assest folder
 
and apply that font from code
but there should be a way ti apply from xml layout
 
hmm i know how to apply to a single textview or button.. but i want to apply for whole app
 
293
A: Is it possible to set a custom font for entire of application?

westonYes with reflection. This works (based on this answer): (Note: this is a workaround due to lack of support for custom fonts, so if you want to change this situation please do star to up-vote the android issue here). Note: Do not leave "me too" comments on that issue, everyone who has stared it g...

 
8:31 AM
@GurpreetKaur yes
easy
 
please help with code or give some link @ankit
checking yours @AshuKumar thanks
 
import java.lang.reflect.Field;
import android.content.Context;
import android.graphics.Typeface;

public final class FontsOverride {

public static void setDefaultFont(Context context,
String staticTypefaceFieldName, String fontAssetName) {
final Typeface regular = Typeface.createFromAsset(context.getAssets(),
fontAssetName);
replaceFont(staticTypefaceFieldName, regular);
}

protected static void replaceFont(String staticTypefaceFieldName,
final Typeface newTypeface) {
try {
final Field staticField = Typeface.class
 
hehehe @ankitagrawal i just gave her link of that class
 
i see did you
well i have use that too
@GurpreetKaur
:/
 
hey @ankit does it work.
calligraphy
 
8:36 AM
offcourse
it works
using it in my current project
and last 2 projects
 
okayy ...
 
best lib for custom fonts
no library comes close
 
Hi cats @Hans1984 @ankitagrawal @AshuKumar @Joe'sMorgue @TheLittleNaruto @TheFlash @DroidDev @GurpreetKaur
!!catclub
 
@HitCat The catclub members are: Hans1984, Hitman, neferpitou, TheLittleNaruto, ankitagrawal, Saif, Xack Tuaras, AshuKumar, Sanjeev, Crazy Ninja, buffo
 
@HitCat you already said hi to me , :D :D
 
8:46 AM
Hello people
 
i knw @AshuKumar cat
it's another Hi
 
Why can't we assign a NotificationCompat.Builder object to a Notification object when NotificationCompat.Builder is a subclass of Notification ?
 
nope you cant
and no it is not a subclass
who told you that
 
ONe min
I saw somewhere in the doc, Is NotificationCompat.Builder a direct subclass of Notification ?
 
do you know what a builder is?
 
8:53 AM
Nope
I was reading about Notifications yesterday only
 
who makes Building @WeirdNerd
 
A builder
 
yeah
 
and do you know whether a subclass can be casted to main class
 
Same NotificationBUilder is used to build Notification style and define what it does
 
8:54 AM
i do not want work today :(
but if i did not , then i have to work tomorrow to complete this project
 
@ankitagrawal Yes
Am I right ?
 
nope
you are wrong
inherited class
can
 
YEah
A subclass can be casted to a main class but it cannot call methods of it's extended class
 
hello
is anybody here to help
?
question i have three type of project x,y,z
x contains a so x+a
y contains b so x+b
z contains x+c
the problem is i dont want to create three diffrent project
because almost code is common
there are some files that has been modified and will be modified
 
It can call only methods of the super class
 
9:09 AM
what do you mean by subclass
@WeirdNerd
 
Extended class
Wait let me show what I am telling
 
a class that reside inside a class
@WeirdNerd use inherited class term for that
 
Nope it is a inner class then
 
@WeirdNerd ok so you have learn good
well then notification.builder is a inner
class
not a subclass
 
F** I misread it somewhere
 
9:11 AM
so do you get now?
 
Sorry inner class it is
Yeah Notification.Builder is an inner class
Now got it..
 
hello
is anybody here to help
?
question i have three type of project x,y,z
x contains a so x+a
y contains b so x+b
z contains x+c
the problem is i dont want to create three diffrent project
because almost code is common
there are some files that has been modified and will be modified
 
@ankit
@Override
public void onCreate() {
super.onCreate();
mInstance = this;
// TypefaceUtil.overrideFont(getApplicationContext(), "SERIF", "fonts/OpenSans-Regular.ttf");
CalligraphyConfig.initDefault(new CalligraphyConfig.Builder()
.setDefaultFontPath("fonts/OpenSans-Regular.ttf")
.setFontAttrId(R.attr.fontPath)
.build()
);
}

@Override
protected void attachBaseContext(Context base) {
super.attachBaseContext(CalligraphyContextWrapper.wrap(base));
}
and then in xml
 
@GurpreetKaur ??
 
    tool:fontPath="fonts/OpenSans-Regular.ttf"
 
9:13 AM
@GurpreetKaur nothing in xml
apply globally and leave
xml is only required when you want to change
 
@akashyadav What exactly is your requirement ?
 
a particular view
 
oh okay
 
see easy
 
yeah..
 
9:16 AM
@ankitagrawal Like you said that day LEARN YOURSELF NOT JUST COPY has helped me a great deal, I took a look at a sample notification code and learn't Notifications myself, learned a couple of things by looking and doing it on my own which is helping me copy less code..
 
well that is the way
 
Now without looking at any sample code I can code the Notifications myself as I have memorized the syntax
 
well if you want to become a good programmer
you have to do it
 
I took each module of my music player and tried to code them as an individual project and hence now learn't lot of things
 
i see
 
9:21 AM
You've used RemoteViews for the custom notification in your player right ?
 
Ok.
 
9:44 AM
@brahmyadigopula there ?
 
!!sayyo
 
Heyo o/ All from TheLittleNaruto :)
 
!!h
 
@Rahul That didn't make much sense. Maybe you meant: 3, hi, hl, i, ah, d, oh, y, !, ^, π, ?
 
!!oh
 
!!oh
 
user6594036
hii guys
 
hello @NatheemSafin
 
Time to pay the airtel bill
 
9:53 AM
!!3
 
!! ^
 
(҂ `з´ ). ︻╦̵̵̿╤── - - ƪ(⁰o⁰;)ʃ @TheLittleNaruto for abusing the bot
 
yeah 3.4k rep
 
9:59 AM
good, give some rep to me @ankitagrawal :8
 
@ankit dont think so fonts are being applied
 
what?
do you override that method
 
CalligraphyConfig.initDefault(new CalligraphyConfig.Builder()
.setDefaultFontPath("fonts/OpenSans-Regular.ttf")
.setFontAttrId(R.attr.fontPath)
.build()
);
yea in oncreate of application class
 
you have to override another method girl
 
@Override
protected void attachBaseContext(Context base) {
super.attachBaseContext(CalligraphyContextWrapper.wrap(base));
}
?
ovverriden
 
10:01 AM
this has to be done in activity
not in application class
 
ohhh ohh
let me try
 
@TheLittleNaruto fox whatsup?
 
seems working @ankit thnksss
 
np
you should read doc carefully
 
10:07 AM
@ankitagrawal Watching a movie
 
hmm yea ws in hurry :P
sorry for that
 
I didn't know Jodha-Akbar is a nice movie.
 
what about 300 @TheLittleNaruto ?
 
10:20 AM
@AshuKumar It is a good movie.
well scripted, directed.
 
yeah but they lost the war
 
Does it matter ? ^^
 
Back to sleep again
 
10:23 AM
Me
 
why sleeping?
 
Somebody can tell me where can I buy original Shiv Puran ?
 
why you need?
 
I want to read.
 
@TheLittleNaruto kashi vishvanath
 
10:25 AM
i see
 
@Rahul Do they sell online ?
 
You need to go there and buy it
 
I see
When will you go home ?
 
10:40 AM
ur question is good but do not know answer :D @ankitagrawal
 
(y)
its all fox mistake
 
who is nazi
 
Hahaha
 
nazi is fox
 
10:42 AM
firefox
 
fox on fire :D @ankitagrawal
 
yeah firefox
with nine windows
 
@ankitagrawal i m using baseactvitiy having toolbar and drawer and embed all and other activity extends baseActivity
question : will toolbar creates every time when new activity starts ?
 
@AshuKumar i think yes
 
good morning @Shubham
 
10:57 AM
GM vbro
 
yes, it is creating every time, is there any way to stop creating everytime when we start activity
 
i think you should try fragment in that case
Hi i heard you were doing some project. Are you a college student or working yourself or for a company
 
i converted pro from fragment to activity :D
i m working in my brother company right now, but gonna start my own soon
and yes, i m working on mine personal project too
 

« first day (1361 days earlier)      last day (2114 days later) »