« first day (1371 days earlier)      last day (2104 days later) » 

1:48 AM
I AM ACTIVATED by TheLittleNaruto on Aug 09 2016 07:18AM
 
 
2 hours later…
3:45 AM
please help me im very big problem
1
Q: Not able to read a characteristic value from BLE device

SANTHOSHI need to write and read a characteristic value to Android BLE device. I'm able to write but not read. Here is how I'm writing : public void writeCustomCharacteristic(int value) { if (mBluetoothAdapter == null || mBluetoothGatt == null) { Log.w(TAG, "BluetoothAdapter not initialized...

please friends
i have tried a lot
 
4:06 AM
GM ppl
 
!!sayyo
 
Heyo all from TheLittleNaruto
 
gud morning guys
 
4:35 AM
vgm all
 
good morning every one.have a nice day
 
5:03 AM
Good morning Guys
 
hello
 
@Kaushik Jesus Christ! :O
 
String query3 = "select d.chq_to "
+ "from d_chq_mst d , d_chq_dtl e"
+ "Where d.chq_from= '"+chq+"'"
+ "and d.ac_no= e.ac_no";

giving error of sql command not properly ended.. can anyone tell me my mistake in this query? this Query is working fine on execute command.
 
@Kaushik Was it your clan who destroyed that nice built castle ?
 
5:22 AM
@AhmedTalha "chq" is it string value?
 
yes
 
then try this.. String query3 = "select d.chq_to from d_chq_mst d , d_chq_dtle Where d.chq_from= '"+chq+"'and d.ac_no= e.ac_no;";
@AhmedTalha
 
ok let me try.
still the same error..
I convert chq in int and then tried it.. but still giving the same error..
Converted it
String account = (String) cb2.getSelectedItem();
int chq = Integer.parseInt(account);
 
what is need of converting string into int.is it necessary?.what is in chq?show me example values?The problem is in you command not in variables.so try to check the column names
and show me your create table command.
and logcat file too
 
Good morning guys
 
5:38 AM
@TheLittleNaruto I got that loot its me who destroyed another guy's village :P
@rekire vgm
 
@Kaushik vgm
 
look there are 4 comboBoxes... 1- Bank Name (Varchar2).. 2-Account No(varhcar2)... 3- chq_from number... 4-chq_to number....
now what actually is happening when bank name is selected it retrieves its accounts..
when accounts selected it brings its chq_from and when chq_from selected it brings its chq_to range.
first two combo Boxes working fine.. but when I select the chq_from item this exception is raise on the fourth one.
 
@rekire vgm
 
5:56 AM
@Kaushik Wow! That attack was so efficient that nothing left in that castle. Great! I need to work on my castle defence and decoration.
@rekire vgm
 
@TheLittleNaruto well its easy once you get hang of it
 
@ColdFire I see.
btw I lost my S7 edge again today.
Let's see if I get it back.
Anyway How do you guys set number value to an EditText ?
 
wtf dude how can you lose it again
@TheLittleNaruto by setting it
what is the issue with that
 
@ColdFire I was sleeping in the cab. That's why.
@ColdFire The data is basically a BigDecimal value and I need to check if it has anyvalue before setting it to EditText
 
74
Q: How to check if BigDecimal variable == 0 in java?

JoJoI have the following code in Java; BigDecimal price; // assigned elsewhere if (price.compareTo(new BigDecimal("0.00")) == 0) { return true; } What is the best way to write the if condition?

@TheLittleNaruto
 
6:03 AM
What I am doing now is : mEditTextView.setText(String.valueOf(!Objects.equals(FieldTypeNumber.getValue()‌​, BigDecimal.ZERO) ? FieldTypeNumber.getValue() : BigDecimal.ZERO));
@ColdFire That is easy isn't it ?
 
@TheLittleNaruto ???
 
But I felt like I am doing a lot of work for just setting this BigDecimal Value
 
if (new BigDecimal(someprice).compareTo(BigDecimal.ZERO) == 0) // see below
the answer says this is the way
 
I thought it can be simplified
 
@TheLittleNaruto btw why do you want so much precision that you want to avoid double and BigDecimal
 
6:13 AM
@ColdFire avoid ?
How ?
 
String query3 = "select d.chq_to from d_chq_mst d , d_chq_dtle Where d.chq_from= '"+chq+"'and d.ac_no= e.ac_no;";@AhmedTalha clarify me somthing here..what is e.ac_no..is it another table column if yes you have to call that column in select command along with d.chq and that table table name too."e.ac_no" in this "e "is alias name then where you have called the table with e alias.notice all described points and solve.
 
@TheLittleNaruto i mean not use double and use bigdecimal
 
@brah
 
@ColdFire Well that's the prototype what my project lead has designed for custom NumberField .
 
i mean you are comparing d.ac_no with e.ac_no so you have to call the a.ac_no and the related table name in select command
 
6:16 AM
@brahmyadigopula e.ac_no is the column of d_chq_dtl
and chq_from and chq_to both exist in the same column
 
but you are not calling that column in select command.first call that column too
 
@TheLittleNaruto i see and as always you are not allowed to change anything
 
@ColdFire check Skype
 
 
good morning everyone :)
 
6:18 AM
@ColdFire Yeah at least that prototype.
I am creating the custom NumberField now.
In that I can do what I want to.
But should be functional as expected :P
 
String query3 = "select d.chq_to from d_chq_mst d , d_chq_dtle e Where d.chq_from= '"+chq+"'and d.ac_no= e.ac_no;"; try this
 
@TheLittleNaruto i see
 
@AshuKumar hi bro..how you doing
?
 
if (price.signum() == 0) {
return true;
}
@TheLittleNaruto
 
@brahmyadigopula nope not working...
 
6:21 AM
same error?
 
@ColdFire What's that ?
price is BigDecimal ?
Nice
Thanks
 
yes
 
try this.String query3 = "select d.chq_to,d.ac_no,e.ac_no from d_chq_mst d , d_chq_dtle e Where d.chq_from= '"+chq+"'and d.ac_no= e.ac_no;";
 
That made it easier
 
welcome
 
6:26 AM
@brahmyadigopula yes
 
try with above updated
 
Thanks @brahmyadigopula and @Rahul for the help... problem has been solved... the problem is there is no space at the end of this statement Where d.chq_from= '"+chq+"' "
 
@ColdFire sent u info
 
anybody have any idea about jreports..?? how can I print my data on a pdf report..
 
@brahmyadigopula i m good, and what about you
 
6:37 AM
fine bro..so what are plans for today@AshuKumar
seems you are busy?
 
good morning all
@ColdFire @TheLittleNaruto @Rahul @brahmyadigopula @berserk @rekire @Shubham @Sanjeev @DroidDev @Hans1984 @HitCat @Kaushik @osimerpothe @MukeshRana
 
@AshuKumar Morning
 
@AshuKumar vgm
 
i have to do some work on project and discuss new project and instruct new employee @brahmyadigopula
 
ohh..lot of work i think..how many devs you hired bro.@AshuKumar
 
6:39 AM
only 1
but will hire some more dev soon
if everything will go smoothly
@brahmyadigopula
 
okay...all ways be positive bro..@AshuKumar
 
yeah, as we did not meet on hangout
you can discuss about oracle java skill here when u get some time
@brahmyadigopula
 
yes i am bro..
i will sent request today bro.
 
there will be correlation b/w A And C @brahmyadigopula
 
6:44 AM
yes, u did not get me
and delete your question
 
in this room or any other room you saying to discuss bro
 
may be your room,
 
i will see some best rooms here
 
nope, create your own room :D
 
thanks for your concerns bro
but who will join bro.need to spend some time on that but i don't have time..if you say you ready to start we will create one new room bro
 
6:52 AM
dude, that room will be for us :D
:D
 
Good morning bro @AshuKumar
 
how are you ?
 
I am good as always how about you
 
okay bro.
 
@AshuKumar vgm
 
6:59 AM
@brahmyadigopula @Shubham do you know which emulator use should be use to check MDPI layout
 
i use hdpi and calculate the ratio
 
Dev
any kotlin expert here?
 
i create all layout - h,m,x,xx,600,720, default :(@Shubham
 
3.2" QVGA (ADP2) 3.2" 320x480 mdpi
i don't use it but its there
 
let me check it @Shubham
 
7:03 AM
@Dev you using kotlin?
 
@AshuKumar 5.1"WVGA will be good bro..5.1 size and 480*480 resolution
 
wow
 
Dev
@ColdFire yes
 
thanks @brahmyadigopula
 
7:20 AM
@AshuKumar try the latest release it fixes your crash issue
 
@ColdFire
sorry, did not get you
 
file manager app crash issue
@TheLittleNaruto you here
 
OKay
 
7:37 AM
cat cat
@Hans1984 cat cat
 
morn cats
 
@ColdFire is cat ghost
 
!!catclub
 
@Hans1984 The catclub members are: Hans1984, Hitman, neferpitou, TheLittleNaruto, ankitagrawal, Saif, Xack Tuaras, AshuKumar, Sanjeev, Crazy Ninja, buffo, ballBreaker
 
good cat
 
7:39 AM
cat cat
 
@ColdFire skype please
 
cat catcat
 
!! meow
 
:3
 
7:46 AM
cat :3
 
a big cat @Hans1984 ^
 
yep
big cats need love too
heheheheh
 
but do not go closer to this cat : otherwise you will be become cat food :D
 
not unless you bring it gifts
 
hehe
hanscat becomes catfood
 
7:49 AM
@brahmyadigopula what will be the textsize in MDPI ?
 
:(
 
hehe, @Hans1984 will give candy to big cat :D
 
;)
smart cat-work
see
:3
 
yeah
 
they could actually just jump over that thing
 
7:58 AM
@brahmyadigopula damn , i did not test my app on mdpi layout. it is broken almost at every page :(
 
no
its hidden behind it
 
i need to fix it
 
@ColdFire Yes And I have updated File Manager, Thanks for the update.
XD
 
anyone half decent with tomcat in here ?
 
8:14 AM
hey guys some layout question
@TheLittleNaruto @ColdFire @brahmyadigopula @Shubham
mdpi is : 160dp and is used in
Galaxy Ace — 480 x 320 mdpi
Galaxy Tab 2 10″ 1280 x 800 mdpi

question is how we define the textsize and other view size as one mobile is small screen and other is big screen 10 inches
 
Good Afternoon Guys :)
 
good after noon @MukeshRana
please check above question ^
 
@AshuKumar I would use app compat text style for respective text sizes like small, medium or large.
 
!!meow
 
8:25 AM
lol
 
please explain @TheLittleNaruto
 
^^
@AshuKumar
 
fox is right
 
hidden cat
 
8:26 AM
@Hans1984 cat
 
cat cat
 
dude, please explain @ColdFire
 
working with gwt for the first time
:o
 
@AshuKumar there are style called small medium large
use that to not get issues like that
 
yes, i know but how to use them
 
8:28 AM
@AshuKumar Ok! Suppose there is textview on top of the page as headline, Then I will set The TextView style like this:
<TextView
        style="@style/TextAppearance.AppCompat.Headline" />
 
how to get device is small and or large
 
It'll auto scale text size according to the device dimesion
 
you dont need to
that is the point
 
Yes Correct
 
@AshuKumar Good Afternoon. I would better say if you can use native/default TextAppearances instead of static text sizes like Title, subhead, body1, caption etc.
2
 
8:29 AM
but in style we need to define the text size @TheLittleNaruto @ColdFire
@style/TextAppearance.AppCompat.Headline" /
 
@Hitcat caaattt
 
@MukeshRana default textAppearance can not be used because design has slightly big and text size in smaller device
 
dont be a stupd cat
why is rabbit here all the time now?
did he lose his home
 
cat cat stupid cat
he won @Hans1984 cat
 
rabbitguy cat
who won?
the trial?
at court?
 
8:32 AM
@AshuKumar by default I didn't mean not to provide the text sizes. I mean just used the existing text appearances based on big and small text size. You can refer this material.google.com/style/typography.html#typography-styles
 
!!oak
 
@Hans1984 Oak is a evil bot, who hates mankind and plans to take over the world
 
@AshuKumar Man that is predefined style, you don;t have to set the text related styles manually.
 
/8ball sup?
 
@TheLittleNaruto i know it, i will use style to define styling of textview but want to give custom textsize on different - different DPI(s)
 
8:34 AM
if you are talking about text appearance attributes they are set/overrided in styles.xml bundled in sdk.
so you don't have worry about it
 
but what about custom textsize @Shubham
 
@AshuKumar ok then in that case, make directory like values-ldpi, values-mdpi etc, And put dimens file in each and give size according to the dimension.
 
yeah, i did it in my second project :D
 
but question is still same, if i gave textsize :11dp in dems file in values-mdpi folder
app will looks good when it open on small screen like 480 * 320
but app will not look good on big screen 1280 * 800 as textsize is small
 
8:41 AM
lolol
SOCVFinder chanel is full of animals
 
lol
@Hans1984??
 
lol cat
?
 
@Hans1984 ???
 
there were cats and squirrels all over the place
 
when did you came there
 
8:53 AM
i just watched the overview
from chat overview
i never joined
 
i see
 
theres even a bee
 
well here are cats
so they can have bee squirrels and cats
 
true
good cat
!!meow
 
9:14 AM
Naru-sama
@berserk hey
 
9:28 AM
@TheFlash Flash-kun
 
hello every one
 
-4
Q: Arraylist become null

rosyI am getting id from previous activity,if id is null then i parse data and store it in arraylist,but if it is not null then i dont parse data and trying to set arraylist in listview,but it shows arraylist null @Override public void onCreate(Bundle savedInstanceState) { super.onCreat...

 
anybody have any idea that how can I generate report on button press in java.
 
@ArifNoumanKhan hey
 
hello @ArifNoumanKhan
 
9:35 AM
how are you guys
after long time
:/
 
@rosy is it recyclerview or listview
 
recylerview
 
you forgot to set layoutmanager dude
so you are seeing nothing in it
 
@rosy
you here?
 
9:38 AM
where?
 
:)
 
@rosy I ANSWERED SEE THE ANSWER
 
@ColdFire
but question is still same, if i gave textsize :11dp in dems file in values-mdpi folder
app will looks good when it open on small screen like 480 * 320
but app will not look good on big screen 1280 * 800 as textsize is small
but did not clear my question
 
rosy don't even have 20 reputations, How come she is able to talk in chat ?
 
HIS REP GOT DEMOTED
HE HAD 20 NOW 12
 
9:45 AM
ok
got it
 
10:01 AM
Can we pass choice mode to RadioGroup ? ^^
Ok It's a NO then
 
@TheLittleNaruto choice mode ? do u mean single or multiple ?
 
@TheFlash both
 
dont know...make custom
 
how to stop a handler when screen is off
 
10:19 AM
smash the screen
just kidding ;)
 
@faisaliqbal onPause ?
 
Hello
I have a Question?
 
hi
yes shoot it
 
pasting...
I want to create a custom UI(Draw Circles)
The circles is drawn on to the ui, but when i included that custom ui in layout,
the size of the circles is not getting reduced when size is changed to 300dpX300dp.
Circle is going out of the view
 
show me ur code...use paste.ofcode.org
 
10:25 AM
check it dude
little bit complicated
 
where is ur code
 
i pasted there
 
@Hans1984 cat
!!catclub
 
@HitCat The catclub members are: Hans1984, Hitman, neferpitou, TheLittleNaruto, ankitagrawal, Saif, Xack Tuaras, AshuKumar, Sanjeev, Crazy Ninja, buffo, ballBreaker
 
!!meow
Active @CatGal
 
@DemoMail u need to paste and share link here
 
ya ya
pasted
 
!!meow
 
did u got something??
 
nope but can u share screenshot..there r some variables which r from diff file
I cannot view in studio
 
10:50 AM
yeah
wait
 
caaaaat@HitCat
 
first Image is when width and height is match_parent,
seocnd image is when widht and height is 300dp
 
cat script started
script exited with exit code 0
 
cats report
 
@DemoMail I see let me check
 
10:57 AM
cat gif hunter approaching
 
Okay
 
@Hans1984 positive
 

« first day (1371 days earlier)      last day (2104 days later) »