« first day (1757 days earlier)
← previous day
next day →
last day (1493 days later) »
Ninja
05:26
Good Morning People
@SunishaSindhu hii
sukhi
05:48
Good Morning
@Ninja @JaiprakashSoni , i want to upload and download video to/from firebase , can u please suggest me any tutorial for this
Ninja
@sukhi Check this
simplifiedcoding.net/firebase-storage-example
Jaiprakash Soni
Good Morning
@sukhi sorry hv not worked on firebase
@SunishaSindhu hi
sukhi
@Ninja Thank u .. i will check
Ninja
you have to use
setContentType()
for different file type
sukhi
@JaiprakashSoni ok fine
Ninja
05:59
@JaiprakashSoni have you worked that connect mobile device with any Bluetooth device and as per that device action perform the action on android app ?
sukhi
@Ninja i have done image uploading part now i want to include video as well
Ninja
@sukhi then you just need to change the
setContentType()
and after upload that file
Jaiprakash Soni
@Ninja I have worked on it.. I have connected app with bluetooth printer and health devices
Ninja
hmm, on that have you used service ?
Jaiprakash Soni
@Ninja don't remember the exact code.. but I guess yes
I have worked on it 4 years ago
Ninja
06:02
okay
right now i have one bluetooth device and i need to connect that and perform action as per that
Jaiprakash Soni
ok
Ninja
first let me try
Jaiprakash Soni
try it and let me know if you face any issue I will try to help you
Ninja
06:25
(Y)
Sunisha Sindhu
06:43
hi
@JaiprakashSoni
@Ninja
Jaiprakash Soni
06:58
@SunishaSindhu hi
Sunisha Sindhu
paste.ofcode.org/33tHvXaRn2vVWetpaFnWQxL
this is my json response
am getting total rows
how can i show progress percentage with that total row count
Jaiprakash Soni
save data in a list
and add all items you get every time get response from server
and calculate percentage using them
or you can use an variable int like downloadCount=0
and update it when you get response from server like downloadCount += data.size()
percent calculation downloadCount/TotalRows * 100
Sunisha Sindhu
okies
2 hours later…
Ashish Jain
08:56
Hi all
did anyone implement kiosk service?
actually, it taking 3-4 sec to open the app, if its in BG so anyone have any idea how can we improve it?
@Ninja@JaiprakashSoni?
Jaiprakash Soni
09:11
@AshishJain no I hv not
Ashish Jain
Okay
Ninja
@AshishJain i haven't worked with Kiosk Service
Ashish Jain
can you please check the code is there any logical issue why its taking time
https://paste.ofcode.org/zPq9nhbfbQwfZxAK9rHc8u
Theodore
10:15
hello guys
Ninja
yes
Theodore
ninja you good in firebase?
I have found a way to fix my stock problem
now retrieval of data from firebase to Long variable is my problem
Ninja
mean ?
Theodore
I need to get a data from my firebase database
then show it in a textview in my android activity
Ninja
use database preference and on that specify your node path, add listener to get data result
Theodore
10:30
i will show you
my pic
imgur.com/a/cZiOqbD
here @Ninja
Ninja
@Theodore which is the type of
FinalPrice
value in firebase ?
Theodore
long
because I edited it inside firebase console
Ninja
10:47
String totalPrice=String.valueOf(dataSnapshot.getValue(Long.class));
to get Long value use this
Theodore
Is that inside the onDataChange?
Ninja
i suggest you that don't store int or long value directly in firebase. whenever you store value then store as string
i.e.
child("FinalPrice").setValue("550");
Theodore
but
i will try this now
Ninja
sure
Theodore
11:05
a moment pls
Theodore
11:22
it crashed
doesn't work
Ninja
can you share you Firebase DB design + java code ?
might be you are doing something wrong
Theodore
alright
paste.ofcode.org/38frjGSCx7LnA3ANr2snJ9c
heres the code
hers my firebase db design
imgur.com/a/LNnzKaJ
Ninja
11:48
add addEventValueListener() directly
paste.ofcode.org/Vh4ErRVx9Qqe43k7eY9d3R
and as i said that try to add finalprice as string value
before retry value check dataSnapshot is not null
Theodore
ok
it still crashes
Ninja
:/
what was the error log?
Theodore
how do i log the error
wont show on logcat
or i just cant find it
2 hours later…
Theodore
14:09
anybody
here?
3 hours later…
Rakesh Kumar
17:08
@Radhey
how are you
buddy
there?
Is there anyone who has worked on pjsip?
Radhey
hi @RakeshKumar
say,
Rakesh Kumar
After login app getting crashed
pjsip implmented in app
pjsip libraries are build in c language
and those libraries able to run pjsip on android/iOS
those applications having pjsip not run on emulator
Radhey
17:24
did you get crash in specific device?
Rakesh Kumar
Have tested on all devices that were available in office
but got no crash
but client getting crash on samsung s8plus
Crash not getting sent to crash report
Have implement rink hockey crash report but that crash doesnt report to crash reporting
It has been device specific issue
Radhey
i guess you don't track crash report due to lib project
Rakesh Kumar
I have tried to trace the issue on emulator and have created same configurations emulator on genymotion
but as I told you above pjsip does not work on emulator. It just simply crash
No one crash report able to catch the Critical crash on their sdk like firebase, hockey
instabug
Radhey
don't know
you can ask client to update os on therir device and uninstall 3rd party libs
Rakesh Kumar
Yesterday I was guessing that could be an issue with run time permissions, for that, I have asked him to enable permissions manually but that doesn't work
@Radhey , Yes bro, will try that. Hope it will solve the issue
Do we know anyone who has worked on pjsip on app?
Radhey
17:31
nope bro
Rakesh Kumar
No problem bro
Thanks for making a time
:)
Radhey
(y)
Rakesh Kumar
How's going office?
Radhey
busy asusual
Rakesh Kumar
Glad to hear that you have joined
Seems that you are making something special
:)
Radhey
17:34
not having access there :/
Rakesh Kumar
Just logic wise
what you doing?
:)
Radhey
normal api calls
nothing else
Rakesh Kumar
For network what you are using?
retrofit
or DefaultHttpurl
?
Radhey
retrofit
« first day (1757 days earlier)
← previous day
next day →
last day (1493 days later) »
all rooms
Transcript for
Jan
15
Jan '19
16
Jan
17
Android & Kotlin Experts
Any SO Room is nothing without you all GUYS.Thanks to all memb...
android-layout
ble
broadcastreceiver
google-maps
gps
in-app-billing
json
kotlin
media-player
mvp
nfc
paypal
qr-code
splash-screen
sqlite
join this room
about this room
00:00
06:00
12:00
18:00
all times are UTC
site design / logo © 2024 Stack Exchange Inc;
legal
mobile