DonManfred Expert Licensed User Longtime User Jul 18, 2016 #21 luciano deri said: How can I handle it? Click to expand... copy the font to the right place i guess.... \files\fonts\Roboto-Medium.ttf
luciano deri said: How can I handle it? Click to expand... copy the font to the right place i guess.... \files\fonts\Roboto-Medium.ttf
DonManfred Expert Licensed User Longtime User Jul 18, 2016 #22 DonManfred said: copy the font to the right place i guess.... Click to expand... using v1.5 of this lib should do this already for you. i mean the font should be found in the aar file by b4a...
DonManfred said: copy the font to the right place i guess.... Click to expand... using v1.5 of this lib should do this already for you. i mean the font should be found in the aar file by b4a...
luciano deri Active Member Licensed User Longtime User Jul 18, 2016 #23 copying \files\fonts\Roboto-Medium.ttf worked for me (thank you), i've downloaded the v1.52 and extract every file in my library folder (.aar file included) but the software seems unable to use it...
copying \files\fonts\Roboto-Medium.ttf worked for me (thank you), i've downloaded the v1.52 and extract every file in my library folder (.aar file included) but the software seems unable to use it...
Erel B4X founder Staff member Licensed User Longtime User Jul 19, 2016 #24 I'm unable to reproduce this issue. I've tested the nice example in both debug and release modes. Which version of B4A are you using?
I'm unable to reproduce this issue. I've tested the nice example in both debug and release modes. Which version of B4A are you using?
luciano deri Active Member Licensed User Longtime User Jul 19, 2016 #25 version 6.00, javac.exe 1.8.0_91, android.jar 22.
Erel B4X founder Staff member Licensed User Longtime User Jul 19, 2016 #26 Not v6 beta, right? Try to download the library and the example again. Maybe you are still using an older version.
Not v6 beta, right? Try to download the library and the example again. Maybe you are still using an older version.
luciano deri Active Member Licensed User Longtime User Jul 19, 2016 #27 I'm sure i'm using the latest version of the library, i've also attached a screenshot with b4a version. (i'm not in beta) I'had already tried to download it another time, (and to download also precedent versions) but the library was still not able to load the Font... I think it is an issue related to the .aar file reading Attachments Cattura.PNG 25.5 KB · Views: 731
I'm sure i'm using the latest version of the library, i've also attached a screenshot with b4a version. (i'm not in beta) I'had already tried to download it another time, (and to download also precedent versions) but the library was still not able to load the Font... I think it is an issue related to the .aar file reading
DonManfred Expert Licensed User Longtime User Jul 19, 2016 #28 luciano deri said: I'm sure i'm using the latest version of the library Click to expand... And this is V?.?? With B4A 6+ you should use V1.52 Last edited: Jul 19, 2016
luciano deri said: I'm sure i'm using the latest version of the library Click to expand... And this is V?.?? With B4A 6+ you should use V1.52
A adastra Member Licensed User Longtime User Jul 22, 2016 #29 not working showing error i have paste all three files to library folder Attachments Screenshot_1.png 17.2 KB · Views: 749
Lahksman Active Member Licensed User Longtime User Jul 29, 2016 #31 The datepicker is showing some strange behavior. I initialize my datepicker as following: Code: diaDate.Initialize("Date",DateTime.GetYear(DateTime.Now),DateTime.GetMonth(DateTime.Now),DateTime.GetDayOfMonth(DateTime.Now)) Altough the date is formed correctly the datepicker jumps 1 month ahead (see screenshots)
The datepicker is showing some strange behavior. I initialize my datepicker as following: Code: diaDate.Initialize("Date",DateTime.GetYear(DateTime.Now),DateTime.GetMonth(DateTime.Now),DateTime.GetDayOfMonth(DateTime.Now)) Altough the date is formed correctly the datepicker jumps 1 month ahead (see screenshots)
DonManfred Expert Licensed User Longtime User Jul 29, 2016 #32 Lahksman said: Altough the date is formed correctly the datepicker jumps 1 month ahead Click to expand... is it a problem with the android calendar. Count with this behaviour...
Lahksman said: Altough the date is formed correctly the datepicker jumps 1 month ahead Click to expand... is it a problem with the android calendar. Count with this behaviour...
Lahksman Active Member Licensed User Longtime User Jul 29, 2016 #33 DonManfred said: is it a problem with the android calendar. Count with this behaviour... Click to expand... It's not actualy a "problem". The months in the android calendar is zero-based, so i solved it by doing the following. When initializing Code: diaDate.Initialize("Date",DateTime.GetYear(DateTime.Now),DateTime.GetMonth(DateTime.Now)-1,DateTime.GetDayOfMonth(DateTime.Now)) In Sub Date_onDateSet Code: d = DateTime.DateParse(dayOfMonth&"/"&(monthOfYear+1)&"/"&year)
DonManfred said: is it a problem with the android calendar. Count with this behaviour... Click to expand... It's not actualy a "problem". The months in the android calendar is zero-based, so i solved it by doing the following. When initializing Code: diaDate.Initialize("Date",DateTime.GetYear(DateTime.Now),DateTime.GetMonth(DateTime.Now)-1,DateTime.GetDayOfMonth(DateTime.Now)) In Sub Date_onDateSet Code: d = DateTime.DateParse(dayOfMonth&"/"&(monthOfYear+1)&"/"&year)
JOTHA Well-Known Member Licensed User Longtime User Aug 30, 2016 #34 DonManfred, your Library looks good and I tried to test it ... but I've got the same error message: Compiling generated Java code. Error Cannot find: C:\Program Files (x86)\Anywhere Software\B4A - aktuell\libraries\com.android.support:support-v4.jar Click to expand... ... you said: DonManfred said: You need b4a 6 to use v1. 5 Click to expand... Is there another way to use it with B4A Version 5.5 ?
DonManfred, your Library looks good and I tried to test it ... but I've got the same error message: Compiling generated Java code. Error Cannot find: C:\Program Files (x86)\Anywhere Software\B4A - aktuell\libraries\com.android.support:support-v4.jar Click to expand... ... you said: DonManfred said: You need b4a 6 to use v1. 5 Click to expand... Is there another way to use it with B4A Version 5.5 ?
DonManfred Expert Licensed User Longtime User Aug 30, 2016 #35 JOTHA said: Is there another way to use it with B4A Version 5.5 ? Click to expand... No. You need to update B4A to 6+
JOTHA said: Is there another way to use it with B4A Version 5.5 ? Click to expand... No. You need to update B4A to 6+
JOTHA Well-Known Member Licensed User Longtime User Aug 30, 2016 #36 DonManfred said: No. You need to update B4A to 6+ Click to expand... Thank you for your fast response!
DonManfred said: No. You need to update B4A to 6+ Click to expand... Thank you for your fast response!
DonManfred Expert Licensed User Longtime User Aug 30, 2016 #37 JOTHA said: Thank you for your fast response! Click to expand... You can use the 'DIALOGS library if you are using taretsdk 23+. It will show a similar dialog on android 23+
JOTHA said: Thank you for your fast response! Click to expand... You can use the 'DIALOGS library if you are using taretsdk 23+. It will show a similar dialog on android 23+
JOTHA Well-Known Member Licensed User Longtime User Aug 30, 2016 #38 DonManfred said: You can use the 'DIALOGS library if you are using taretsdk 23+. It will show a similar dialog on android 23+ Click to expand... Thank you for that tipp, but I use DateDialog all the time, but there is a problem if someone should scroll to his date oif birth ... it takes a long time! Since targetSdkVersion="14" the DateDialog is much better, but the rest of the app has such a different design and I have to change too many things on the rest of the app. So I was looking for a better solution ... :-(
DonManfred said: You can use the 'DIALOGS library if you are using taretsdk 23+. It will show a similar dialog on android 23+ Click to expand... Thank you for that tipp, but I use DateDialog all the time, but there is a problem if someone should scroll to his date oif birth ... it takes a long time! Since targetSdkVersion="14" the DateDialog is much better, but the rest of the app has such a different design and I have to change too many things on the rest of the app. So I was looking for a better solution ... :-(
scsjc Well-Known Member Licensed User Longtime User Sep 3, 2016 #39 DonManfred said: The months you get and you set when initialize are from 0 to 11 Click to expand... Hello DonManfred, i have a same old question, if i put the current data, the month is -1 where change (get or set) the months 0 to 11 >>> 1 to 12 ??? or is necessary discount always a -1 month ??? thanks. Great WORK!!!!
DonManfred said: The months you get and you set when initialize are from 0 to 11 Click to expand... Hello DonManfred, i have a same old question, if i put the current data, the month is -1 where change (get or set) the months 0 to 11 >>> 1 to 12 ??? or is necessary discount always a -1 month ??? thanks. Great WORK!!!!
DonManfred Expert Licensed User Longtime User Sep 3, 2016 #40 scsjc said: or is necessary discount always a -1 month ? Click to expand... yes