Posts by Thiago P • 86 points
14 posts
-
0
votes1
answer69
viewsA: Redirected from the domain
The problem was in vps, to solve. /etc/apache2/apache2.conf Edit <Directory /var/www/> Options Indexes FollowSymLinks AllowOverride none Require all granted </Directory> To <Directory…
-
1
votes1
answer69
viewsQ: Redirected from the domain
I have a Locaweb domain that redirects to my vps ip via A and CNAME. It redirects the normal link mainly however when and typed link with http:// without www and also if http:// it is redirected to…
-
0
votes1
answer35
viewsA: Add widget on start screen
I see it’s not possible. https://github.com/prolificinteractive/material-calendarview/issues/41 But if anyone has any suggestions I’d appreciate it.…
-
0
votes1
answer35
viewsQ: Add widget on start screen
I’m using the library https://github.com/prolificinteractive/material-calendarview And I’m almost at the end of the project, but now I have the need to insert the calendar widget option, but the…
-
0
votes1
answer187
viewsA: Calendarview Action Forward and Back button
Solved. There’s a function in the library that checks the month it’s in, so it helped. public void onMonthChanged(MaterialCalendarView widget, CalendarDay date) { }…
-
1
votes2
answers101
viewsA: Function Screenshot on android
Solved! I changed the line: new float[]{0, 0.5f, 0.5f, 0}, Shader.TileMode.REPEAT); To: new float[]{0.5f, 0.5f, 0.5f, 0.5f}, Shader.TileMode.REPEAT); Thus remaining: private static Drawable…
-
0
votes1
answer368
viewsA: Open an Edittext when a Switch component is turned off
Try to take the Swich click and check if it is active if it does nothing and if it is disabled shows Edittext, but I think you are already doing so. Example: Switch.setOnCheckedChangeListener(new…
-
0
votes2
answers76
viewsA: Get photo from google plus profile
I’ve used code below and it worked perfectly. private void getProfileInformation() { try { if (Plus.PeopleApi.getCurrentPerson(mGoogleApiClient) != null) { Person currentPerson = Plus.PeopleApi…
-
0
votes1
answer187
viewsQ: Calendarview Action Forward and Back button
I’m working with the Calendarview library https://github.com/prolificinteractive/material-calendarview And the guys there are kind of out of communication, so I’m gonna ask here. I would like to do…
-
0
votes2
answers101
viewsA: Function Screenshot on android
Problem solved! in part. Was using: view.setBackgroundDrawable(generateCircleDrawable(color)); and changed to: view.setSelectionDrawable(generateCircleDrawable(color)); But when it comes to two…
-
0
votes2
answers101
viewsQ: Function Screenshot on android
I’m putting the screenshot function in the calendar, however the photo is not going as it should. But using native android function comes out correct Follows excerpt from the code: View v1 =…
-
1
votes1
answer81
viewsA: According to this rule, how do I click the button (BACK) and save the dates I chose?
First you have to create an array type the code below. public void onDateSelected(@NonNull MaterialCalendarView widget, @Nullable CalendarDay date, boolean selected) {…
-
2
votes1
answer52
viewsA: Noclassdeffounderror: com.itextpdf.text.Document error after updating SDK
Problem solved. In logcat appeared the following message, before the error. Could not find class 'com.itextpdf.text.Document', And searching the Internet, I found that it might be something related…
-
2
votes1
answer52
viewsQ: Noclassdeffounderror: com.itextpdf.text.Document error after updating SDK
I have a database on sqlite on Android, and export report to pdf using the library itextpdf. But recently after updating the Android SDK, it started from the error in the line below: Document…