Profile

Cover photo
Daniele Segato
Works at Neosperience
Attended University of Pavia
310 followers|316,233 views
AboutPostsCollectionsPhotosYouTube+1'sReviews

Stream

Daniele Segato

Help Center  - 
 
Anyone else?
 
I just uploaded an upgrade to a very old app in the Google Play Developer Console.

It say I added 72 languages!!!

I didn't. The app has only a single language: the default one, which is Italian currently.

Anyone else seeing this? Do you know what cause it? Do you know how I can make it only see the default again?

What I did:
- switched from target 15 to target 22 (no Marshmallow yet :P)
- build tools 21.1.2 to 22.0.1
- upgrade appcompat dependency version from 18.0.0 to 22.2.1
- add recyclerview and design library
- add a couple of other libraries for new features (none of this have text or language support tough)

I want on and checked some more recent project I have on google Play, they say 73 languages too, and those have up to 2 actual languages, I just never noticed.

When it changed? How?
It's probably not a big deal but I like to have control of details :)

#AndroidDev   #PlayDeveloperConsole   #GooglePlayDeveloperConsole   #apk   #wtf
4 comments on original post
2
1
Ian Lake's profile photoDaniele Segato's profile photoSimon Hardt's profile photoJean Bernard Breu (jeanjean)'s profile photo
14 comments
 
You can exclude all unused languages from all libs with a gradle config. But i dont have it's Name right now. Maybe Google helps. With This config you can define the languages and asset buckets you want to have and everything else gets dismissed 
Add a comment...

Daniele Segato

Shared publicly  - 
 
repost in my profile, just in case someone that can help is not in the Android Developers community
 
I need to implement Fast scrolling in my recycler view.

What is the proper way of creating a Fast Scroller for a RecyclerView?
Should I do it in the LayoutManager? With an ItemDecorator?

I saw there are a few libraries and code examples.

+Mark Allison address this with:
https://blog.stylingandroid.com/recyclerview-fastscroll-part-1/
https://blog.stylingandroid.com/recyclerview-fastscroll-part-2/

However I don't like the fact that this has to create an external layout positioned and sized separately from your RecyclerView (if you use the new design library with the Coordinator Layout and AppBarLayout behavior for example you end up having some issue in implementing the sizing correctly.

I need the fast scroll to be highly customizable, to stay hidden normally and just pop up with an animation if the user scroll near the border like the old ListView did. Smooth animations to show the "bubble" and so on.
Furthermore I'd like to go down to Android SDK 9 (but I can relax this limit by just providing FastScroll to more-recent-device users).
For now I can accept the LinearLayoutManager only limitation.

I've looked into the code by +Mark Allison and even implemented it in the app I'm working, starting from the code I found here:
https://github.com/AndroidDeveloperLB/LollipopContactsRecyclerViewFastScroller

Aside from the separate layout issue it has these problems:
- the scroll handle is always visible, even if you are not scrolling (doesn't stay small and gets bigger while scrolling)
- it doesn't smoothly scrolls, instead it jumps from position to position while you scroll your items up and down
- the bubble flickers while scrolling

I think most of these issues may be fixable by customizing the code but before jumping into development (since this is not YET urgent in my project) I'd like to explore others possible ways of implementing it.


The only library I could find is this by Daniel Smith:
https://github.com/danoz73/RecyclerViewFastScroller

this has minSDK 14 and my project has 9, gradle/android studio complains and does not allow me to set the library as dependency (even if I wanted to use it selectively for SDK 14 and up), bug?

regardless of that I gave it a try too.

It's lot smoother and a bit more convoluted to integrate but works.
However it has the same problem of having to correctly position the other layout.
It has an always visible vertical line and handle. It position the buble in such a way that you cover it partly with your finger while scrolling.

I'm still not convinced that having external views for this stuff is the best way to implement a fast scroller, but I've not much experience with Recycler View.
How would you implement a fast scroller for RecyclerView? Why?

#AndroidDev   #RecyclerView
(sorry for the long post)
In the previous article we got our FastScroller control framework in place. In this concluding article in this series we'll add touch and scrolling behaviours.
View original post
3
1
Gabor Orosz's profile photo
Add a comment...

Daniele Segato

Shared publicly  - 
 
 
How to publish your own Android library
Thank you +Sittiphol Phanvilai! It's very clear, well done! :D
In Android Studio, if you wish to include any library to your application. You could just simply add a following line of dependency in module's build.gradle file. dependencies { compile 'com.int
1 comment on original post
1
1
Salvador Gómez's profile photo
Add a comment...

Daniele Segato

Shared publicly  - 
 
This is a very interesting article about how  #Parse  obtained a more robust and scalable architecture switching from #Ruby  on #Rails  to #Go .

I also suggest having a look at the comments the discussion is sometimes interesting in itself.
The first lines of Parse code were written nearly four years ago. In 2011 Parse was a crazy little idea to solve the problem of building mobile apps. Those
1
Add a comment...

Daniele Segato

Shared publicly  - 
 
I need to try this out as soon as it is available!!! Just requested beta access.
 
Introducing SQLScout: a plugin for Android Studio and IntelliJ IDEA that provides support for SQLite, including:

✓ Ability to connect to SQLite databases in Android devices or the file system
✓ Database schema explorer
✓ SQL editor (syntax highlighting, code completion, reference navigation, refactoring, etc.)
✓ Data console to view query results, edit table data, and export contents to different formats
✓ Database diagrams!

For more details (including demos and beta access) please visit http://www.idescout.com

#AndroidStudio   #sqlite   #androiddev  
20 comments on original post
1
1
Ivo Encarnação's profile photo
Add a comment...
Have him in circles
310 people
Amber Nichols's profile photo
Estefanía Sarasola Elvira's profile photo
张强's profile photo
Jorge Gómez's profile photo
Francesca Maschio's profile photo
Marco Dentoni's profile photo
Storari Samuele's profile photo
Genymotion's profile photo
Rolando Pusineri's profile photo

Daniele Segato

Shared publicly  - 
 
I just uploaded an upgrade to a very old app in the Google Play Developer Console.

It say I added 72 languages!!!

I didn't. The app has only a single language: the default one, which is Italian currently.

Anyone else seeing this? Do you know what cause it? Do you know how I can make it only see the default again?

What I did:
- switched from target 15 to target 22 (no Marshmallow yet :P)
- build tools 21.1.2 to 22.0.1
- upgrade appcompat dependency version from 18.0.0 to 22.2.1
- add recyclerview and design library
- add a couple of other libraries for new features (none of this have text or language support tough)

I went on and checked some more recent projects I have on google Play, they say 73 languages too, and those have up to 2 actual languages, I just never noticed.

When it changed? How?
It's probably not a big deal but I like to have control of details :)

#AndroidDev   #PlayDeveloperConsole   #GooglePlayDeveloperConsole   #apk   #wtf
1
2
Gabriele Mariotti's profile photoEric Kok's profile photoDaniele Segato's profile photoJean Bernard Breu (jeanjean)'s profile photo
4 comments
 
+Gabriele Mariotti thanks for the suggestion, I'll try it today and see if the 72 languages go away
Add a comment...

Daniele Segato

Help Center  - 
 
I need to implement Fast scrolling in my recycler view.

What is the proper way of creating a Fast Scroller for a RecyclerView?
Should I do it in the LayoutManager? With an ItemDecorator?

I saw there are a few libraries and code examples.

+Mark Allison address this with:
https://blog.stylingandroid.com/recyclerview-fastscroll-part-1/
https://blog.stylingandroid.com/recyclerview-fastscroll-part-2/

However I don't like the fact that this has to create an external layout positioned and sized separately from your RecyclerView (if you use the new design library with the Coordinator Layout and AppBarLayout behavior for example you end up having some issue in implementing the sizing correctly.

I need the fast scroll to be highly customizable, to stay hidden normally and just pop up with an animation if the user scroll near the border like the old ListView did. Smooth animations to show the "bubble" and so on.
Furthermore I'd like to go down to Android SDK 9 (but I can relax this limit by just providing FastScroll to more-recent-device users).
For now I can accept the LinearLayoutManager only limitation.

I've looked into the code by +Mark Allison and even implemented it in the app I'm working, starting from the code I found here:
https://github.com/AndroidDeveloperLB/LollipopContactsRecyclerViewFastScroller

Aside from the separate layout issue it has these problems:
- the scroll handle is always visible, even if you are not scrolling (doesn't stay small and gets bigger while scrolling)
- it doesn't smoothly scrolls, instead it jumps from position to position while you scroll your items up and down
- the bubble flickers while scrolling

I think most of these issues may be fixable by customizing the code but before jumping into development (since this is not YET urgent in my project) I'd like to explore others possible ways of implementing it.


The only library I could find is this by Daniel Smith:
https://github.com/danoz73/RecyclerViewFastScroller

this has minSDK 14, I can use it anyway with tools:overrideLibrary, I gave it a try too.

It's lot smoother and a bit more convoluted to integrate but works.
However it has the same problem of having to correctly position the other layout.
It has an always visible vertical line and handle. It position the buble in such a way that you cover it partly with your finger while scrolling.

I'm still not convinced that having external views for this stuff is the best way to implement a fast scroller, but I've not much experience with Recycler View.
How would you implement a fast scroller for RecyclerView? Why?

#AndroidDev   #RecyclerView
(sorry for the long post)
In the previous article we got our FastScroller control framework in place. In this concluding article in this series we'll add touch and scrolling behaviours.
5
4
Adrian Kajda's profile photoGabor Orosz's profile photo
Add a comment...

Daniele Segato

Shared publicly  - 
 
New Android support library released, currently, without official documentation

    compile 'com.android.support:percent:22.2.0'

It introduce 2 new layout that accept size percentages for width, height, and margins.

The 2 layouts are:
android.support.percent.PercentRelativeLayout
android.support.percent.PercentFrameLayout 

The linked github project show it is very easy to create other layout for percentages by using android.support.percent.PercentLayoutHelper

See this for a LinearLayout version:
https://github.com/JulienGenoud/android-percent-support-lib-sample/blob/master/app/src/main/java/com/juliengenoud/percentsamples/PercentLinearLayout.java

#AndroidDev     #AndrodDevTips  
android-percent-support-lib-sample - Just a sample of the android percent support lib
1
Add a comment...

Daniele Segato

Shared publicly  - 
 
Very well done tutorial for the new Android design support library. I hope in some in-depth documentation/article about the coordinator layout next :-)

And let's hope the bugs will be fixed soon!
 
I have written a very long and detailed tutorial on how to use Android Design Support Library in codelab style. Known bugs and quick fixes are also noted here. Tested and worked fine on Android 4.4 and 5.0

Hope you find the article useful. :)

#AndroidDev #MaterialDesign #AndroidDesignSupportLibrary
At the moment I believe that there is no any Android Developer who doesn't know about Material Design anymore since it officially becomes a design philosophy by shaking the world of design in pas
10 comments on original post
1
Daniele Segato's profile photoJürgen Wahlmann's profile photo
3 comments
 
Here's a great tutorial about Coordinator Layout:

https://lab.getbase.com/introduction-to-coordinator-layout-on-android/

It's especially useful if you want to include controls / views that do not adhere coordinator layout in their vanilla form.
Add a comment...

Daniele Segato

Shared publicly  - 
 
The new #Android   #Design  page on #Notification  is very nice.... But they completely removed icon size requirements.

I remember the old iconography icon page stated that those icon should be 32x32dp with optical square 24x24dp, solid white, transparent background.

This information is now nowhere to be found on the official documentation.

Where did they moved it? Is this a mistake by Google?
1
Add a comment...

Daniele Segato

Shared publicly  - 
 
 
Design Support Library - Android GDE Review

After Google IO, the Android GDE team got together to gather our thoughts about the most significant announcements from the conference. These were the key points from our discussion - we would love your thoughts (please comment), and don’t forget to read our reviews about these other topics: New Permissions Model, Project Soli (and ATAP), and App Indexing.

It was a welcome announcement that there is a new library, that includes a variety of material design inspired controls.  It looks like a very promising tool, that will make developing great apps much easier.

One of the most important components of the new library is CoordinatorLayout[1].  It is designed to add behaviours to views and automatically manages interactions between them.  As an example, if you are using the a FAB, it will automatically scroll up, when a Snackbar is shown, or will disappear if it is attached to a scrollable view that is moved out of sight.

It is possible to add your own custom behavior to a View (Coordinator layout supports defining an attribute which is a string of qualified class name). You can define how the container controls different interactions between views.

The new library makes it easy to anchor a FAB button to the edge of a View.

The Ripple feedback has a nuanced change in M, you won’t see any interaction on initial touch, like before

CollapsingToolbarLayout[2] is powerful new control allowing complex parallax and scrolling interactions out of the box.  For example, using this control will automatically hide content when the view is scrolled (to make more space available for the content being scrolled).  Adding these types of motion interactions was something suggested by the design team in the “Material Design One Year Later” session (it is exciting we have the tools to make this easy).

The new library has most of the necessary controls developers didn’t have previously.  There weren’t any obvious components we need that don’t have, with one exception - a SearchBar control that matches the new style used in Lollipop (for Google now, and on the Play Store App).

Shadows have been added to the Toolbar, FAB, and Cards - but are still missing on some components (the methods are there, but not implemented yet).

Elevations can be overused - if you have more then 3 different elevations and they aren’t communicating important information - don’t use them

If you want to learn more about using the new tools, there are a few resources worth highlighting.  There is a great project on GitHub[3], demonstrating how to use the new library, and a blog post[4] with more details.

Links:
[1] http://developer.android.com/reference/android/support/design/widget/CoordinatorLayout.html
[2] http://developer.android.com/reference/android/support/design/widget/CollapsingToolbarLayout.html
[3] https://github.com/chrisbanes/cheesesquare
[4] http://android-developers.blogspot.com/2015/05/android-design-support-library.html

#gde #android #io15 #community  
12 comments on original post
3
Add a comment...
Daniele's Collections
People
Have him in circles
310 people
Amber Nichols's profile photo
Estefanía Sarasola Elvira's profile photo
张强's profile photo
Jorge Gómez's profile photo
Francesca Maschio's profile photo
Marco Dentoni's profile photo
Storari Samuele's profile photo
Genymotion's profile photo
Rolando Pusineri's profile photo
Education
  • University of Pavia
    Computer Science, 2002 - 2008
  • ITIS Q.Sella Biella
    Liceo Scientifico Sperimentale Progetto Brocca, 1997 - 2001
Story
Tagline
I’m a programmer with a degree in computer science. I use Linux for fun and at work.
Introduction
I’m currently programming in Android and Java.
I use 
gentoo at home and debian at work.

I like anything technical, Manga and Anime.
Bragging rights
High school was fun, then I began to study... now it's fun, but more nerdy
Work
Occupation
I'm Software Engineer, an Android Programmer, Technical Architect and designer
Skills
Android, Java, Git, Linux, many other things...
Employment
  • Neosperience
    Software Engineer, 2011 - present
  • OpenReply
    Consultant & Technical Leader, 2008 - 2011
Basic Information
Gender
Male
Daniele Segato's +1's are the things they like, agree with, or want to recommend.
Manual Camera
market.android.com

Limited time offer! 50% off - only till the end of January!Important: This app takes full advantage of Lollipop's Camera2 API, and therefore

KIKO
market.android.com

Chiudi gli occhi e riaprili nel mondo di KIKO Rewards, un programma che premia la tua passione per KIKO e per il mondo della bellezza con in

Câmera do Google
market.android.com

A Câmera do Google captura fotos e vídeos rápida e facilmente e inclui modos de imagem criativos como Photo Sphere, Desfoque da lente e Pano

2048
market.android.com

The 2048 app is a fun, addictive and a very simple puzzle game. Join the numbers and get to the 2048 tile!HOW TO PLAY: Swipe (Up, Down, Left

Orario Treni PRO
market.android.com

Applicazione con widget per la consultazione degli orari dei treni italiani, ricerca treni e molto altro!☆ Comprende treni di Trenitalia, Tr

Thread Scheduling in Android
www.androiddesignpatterns.com

This post will give an overview of how thread scheduling works in Android, and will briefly demonstrate how to explicitly set thread priorit

Keyboard shortcuts - Hangouts Help
support.google.com

Format your messages Use the following keyboard shortcuts before you type a new message to add formatting. <th width=</table...

DevDrawer
market.android.com

DevDrawer is a widget based app for developers who are constantly installing / uninstalling / clearing data on their projects.I find myself

Publish an aar file to Maven Central with Gradle
gmariotti.blogspot.com

Publish an aar file to Maven Central with Gradle

Spaceteam
market.android.com

Do you like pushing buttons and shouting at your friends? Do you like discharging Clip-jawed Fluxtrunions? If you answered yes, or no, then

Ultimate Tic-Tac-Toe Online
market.android.com

Clean and simple Ultimate Tic-Tac-Toe against your friends! 9x9 boxes with an extra set of rules for extra fun! What is Ultimate Tic-Tac-Toe

PhotoHunt: End-to-end Google+ Platform sample application
developers.google.com

Google+ Platform; Quickstart. Android · iOS · C# /.NET · Go · Java · JavaScript · PHP · Python · Ruby · PhotoHunt Sample · Android · C# /.NE

Duolingo: Learn Languages Free
market.android.com

Learn Spanish, French, German, Portuguese, Italian, and English. Totally fun and 100% free."Among apps for learning or practicing a language

Hangouts (replaces Talk)
market.android.com

Hangouts brings one-on-one and group conversations to life with photos, emoji, and video calls for free. Connect with friends across compute

Android
plus.google.com

A place for Android fans everywhere to meet, share and get the latest on all things Android.

SwiftKey 3 Keyboard
market.android.com

Unlock your typing potential.✮✮✮50% off holiday sale✮✮✮Get SwiftKey 3 – the best keyboard on Android! #1 selling app in 38 countries - over

Camera ZOOM FX
market.android.com

★★★★★ "The Best Camera App for Android" - lifehacker ★★★★★>> "The Best Camera App for Android" - lifehacker >> "Grab this to show off to you

Uno dei migliori ristoranti messicani dove sono mai stato! La cucina messicana e' davvero ottima. Nel menu' i piatti piccanti sono indicati cosi' che si possano evitare se non piace. Provate la salsa Guacamole, tra i contorni, fatta in casa e davvero ottima. Nachos, Fajitas, insalate di cactus, Tacos, Chili e zuppe. Il menu' e' vario. All'arrivo ci hanno portato dei nachos (patatine) con salsa piccante e i menu. Ci hanno chiesto se volevamo un aperitivo che abbiamo preso (quello della casa, sostanzialmente un sorbetto alla tequila davvero buono! Che quasi si potrebbe prendere tra antipasto e secondo per aiutarsi con le porzioni abbondanti) Al momento di ordinare ho scelto un classico e ho ordinato Nachos tipici (non piccanti) e Fajitas al Manzo con contorno Guacamole e Formaggio fuso, L'antipasto era servito su un letto di nachos e formaggio fuso. Cipolle, peperoni e carne trita. Davvero ottimo. Le fajitas sono arrivate nel classico pentolino in ghisa con 3 tortillas di piccole dimensioni e un piatto di crema di fagioli. Se non le riempite moltissimo facilmente vi servira' ordinare altre tortillas (2 euro = 3 tortillas). Assemblato il tutto e mangiato, davvero notevole. Tutto e' arrivato abbastanza rapidamente ma ad Agosto il locale non era del tutto pieno (sul menu' c'e' scritto che fanno tutto al momento e che c'e' un po' da aspettare e so da amici che il locale e' normalmente sempre pieno, quindi preparatevi ad attendere un po'). La birra della casa e' la San Miguel alla spina, non male. Il personale e' giovane e simpatico e il locale e' davvero caratteristico, lo vedete dalle foto :) tutto in tema. Il locale ha una particolarita' per chi ordina tequila boom boom :) non vi rovino la sorpresa! Provateci! O ordinatelo per un amico ignaro! I dolci non sono male ma non e' il piatto forte del locale. Come costi dipende molto da quello che ordinate. Per darvi un'idea: antipasto 7 euro, fajitas di manzo 12, birra 1 litro 7 euro. El Corral si trova sulla statale ed e' dotato di un buon parcheggio. Se vi piace la cucina messicana o volete provarla andate qui!
• • •
Public - a week ago
reviewed a week ago
Si mangia bene ma non ci sanno fare. È un posto che consiglio per la cucina! strepitosa e abbondante. La moglie del proprietario però a volte è scortese e fuori luogo. Sorvoltate e andateci, merita davvero (chiuso nei week end). Consiglio risotto in cagnone e tris di dolci.
Public - 5 months ago
reviewed 5 months ago
Una delle pizze più buone di tutto il biellese! Leggera e digeribile, gustosa e con ingredienti genuini. Ottima birra.
Public - 5 months ago
reviewed 5 months ago
5 reviews
Map
Map
Map
Birreria storica, pareti con roccia a vista e atmosfera rustica ma elegante. La birra è ottima e a buon prezzo! Pizze e ristorante eccellenti! Provate le specialità alla birra! Ottima anche nel dopocena! Se ci andate a cena consiglio di prenotare anche fra settimana perché son sempre pieni ;-)
Public - 5 months ago
reviewed 5 months ago
Mangiato da Dio! In 2 abbiamo preso panelle da dividerci, spaghetti Cassaro (acciughe, tonno, soffritto e pangrattato... 10+ ma quanto erano buoni?) e spaghetti alle vongole veraci. Un bel vinello bianco della casa, acqua naturale e caffè (offerto)! Il tutto a soli 27 euro.. Meno di 15 a testa e siamo andati via pieni (porzioni generose) e soddisfatti! Davvero ottimo! Sì trova a pochi passi dal palazzo di giustizia. La zona non è delle più belle (come molte a Palermo purtroppo) ma dentro è molto carino: muri con pietra a vista e soffitto in legno! Bagni puliti! Il proprietario molto simpatico e in gamba. Unica pecca abbiamo ricordato il vino a un cameriere perché non arrivava e chiamato per chiedere dei dolci e del caffè, ci avevano dimenticato :-P Ma sinceramente... Non é questo gran problema! Il cibo era fantastico e il prezzo incredibile! E poi c'era un cameriere al suo primo giorno, facilmente era dovuto a questo ;-) Non so valutare i dolci perché siamo arrivati tardi ed erano finiti. Anzi grazie per averci accettato quasi alle 15! Se siete da quelle parti fateci un salto ;-) io ci andrei tutte le settimane se non abitassi a più di 1000km ;-)
• • •
Public - 2 years ago
reviewed 2 years ago