Profile

Cover photo
Daniele Segato
Works at Neosperience
Attended University of Pavia
297 followers|291,440 views
AboutPostsPhotosYouTube+1'sReviews

Stream

Daniele Segato

Shared publicly  - 
Texting is tacky. Calling is awkward. Email is old. Next time try Somebody ...
2
Add a comment...

Daniele Segato

Shared publicly  - 
 
Neosperience, the company I work for, sponsors this event! :)

If you are in the Milan area around 28 of May we will meet there!
1
2
Jacopo Rabolini's profile photoViola Sgarbi's profile photo
Add a comment...
 
 
Today we’re introducing a new program called Designed for Families, which allows developers to designate their apps and games as family-friendly. Participating apps will be eligible for upcoming family-focused experiences on Google Play that will help parents discover great, age-appropriate content and make more informed choices. Read more on the blog.

#AndroidDev   #GooglePlay  
12 comments on original post
1
Add a comment...
 
 
How we #androiddev  love #gradle .
Common practice is to save your #android  build archives. Besides your signed apk it might be wise to save some additional artifacts as well. Most common ones are Javadoc, your source files and perhaps your proguard generated files like the mapping file.

This post shows you how gradle can take care of this for you.

#gde   #blogpost   #android  
When building Android applications or libraries common practice is to save your artifacts to a local file storage or repo. Beside your APK there are some additional artifacts you want/need to save, and you want gradle to do this. Most common ones are Javadoc, your source files and perhaps your ...
1 comment on original post
1
Add a comment...

Daniele Segato

Shared publicly  - 
 
 
Hello Places API for Android and iOS!

The Google Places API for Android and the Google Places API for iOS  (beta release) enable developers to build native apps that can reconcile raw location signals into meaningful locations for their users. More details on the Android Developers blog.

#AndroidDev  
18 comments on original post
1
Add a comment...
 
Sharing in android is a breeze.

It's as simple as doing:

Intent i = new Intent(Intent.ACTION_SEND);
i.setType("text/plain");
i.putExtra(Intent.EXTRA_TEXT, "Check out this: http://....");
startActivity(Intent.createChooser(i, "Share with...");

Or you can share an image by just setting the appropriate type and an Uri to the image. Apps that can also handle the text will use it along with the image.

Every app that can handle that intent pops up and let you share the text with link (or image)!
Every app works: Google+, Twitter, Whatsapp, Hangout, Gmail, Inbox, really any app for which sharing text makes sense handle this correctly!

Every app but one...

Facebook

Facebook will ignore the text (actually parse the link and share it or the image, but not the text)

And they insist this is by design, check this bug:
https://developers.facebook.com/bugs/332619626816423

It could have been ok to me: can't be done, end of story.
But the reality is that if you use their SDK then everything works like you expect it to work.

So we can't tell our customers Facebook doesn't support that, cause that's not true; and there are apps that let you do that.

So if you actually want to support Facebook too here's the simple (sarcastic) steps to follow:
0. (integrate with the Facebook SDK - create the Facebook App and so on...)
1. Check with the facebook SDK if it can handle the share intent (the fact the app is installed does NOT mean it can share the intent right away, it may need login or whatever reason it can have)
2. Obtain a list of activities that can handle our intent
3. if we can't handle the facebook share loop through the activities looking for it and remove it
4. build our own dialog with the list of all those activities with their app icon (this means getting rid of the default chooser, which is bad for the user)
5. intercept the Facebook activity intent
6. use the Facebook SDK to share the text

All these for every app on the Google Play that want to share something with text, when they could fix this in an instant in the Facebook App.

And here I say Google should stand up for us all Android developers. And tell Facebook to comply to the ACTION_SEND contract or have their app removed from the store.

CC: +Android Developers​ even if I know they will not read me.

#AndroidDev   #rant   #facebook   #facebooksdk   #facebookBug  
4
2
Daniele Segato's profile photoIvo Encarnação's profile photo
Add a comment...
 
#AndroidDev   #Rant  

TextView error message can't be styled.
Since forever.

https://code.google.com/p/android/issues/detail?id=55879
https://code.google.com/p/android/issues/detail?id=133504
https://code.google.com/p/android/issues/detail?id=158590

This should be as easy as doing:
<!-- Application theme. -->
    <style name="AppTheme" parent="android:Theme.Holo.Light" >
        <item name="android:errorMessageBackground">@drawable/bg_errorMessage</item>
        <item name="android:errorMessageAboveBackground">@drawable/bg_errorMessageAbove</item>
    </style>

But that doesn't work because when trying to compile you get this error:
No resource found that matches the given name: attr 'android:errorMessageAboveBackground'.
No resource found that matches the given name: attr 'android:errorMessageBackground'.

There is one Library here:
https://github.com/sherifelkhatib/WidgyWidgets

that just do not handle all the stuff.
For example the content does not scroll to the error like the framework version does.

I want to know what the community think of bugs like this, completely ignored for years, even marked obsolete when they are still in place and making us, Android developers, lose hours of time in working around issues like this.

Just why?
2
Add a comment...
Have him in circles
297 people
Sergio Carabantes's profile photo
Alejandro Rodriguez Salamanca's profile photo
Diego Leone's profile photo
ROBBY RAVE's profile photo
Virna Carmellino's profile photo
The Linux Foundation's profile photo
Andrea Massa's profile photo
FEderico Villa's profile photo
Markus Wedler's profile photo

Daniele Segato

Shared publicly  - 
 
This is huge
 
App indexing (g.co/AppIndexing) has been helping you drive engagement with your app for a little while — we now have 30 billion links within apps indexed. Starting this week, you can also drive discovery with people who don’t have your app installed yet. If you’ve implemented App Indexing, when indexed content from your app is relevant to a search done on Google on Android devices, people may start to see app install buttons for your app in search results. Tapping these buttons will take them to the Google Play store where they can install your app, then continue straight on to the right content within it. 

With the addition of these install links, we are starting to use App Indexing as a ranking signal for all users on Android, regardless of whether they have your app installed or not. We hope that Search will now help you acquire new users, as well as re-engage your existing ones. To get started, visit g.co/AppIndexing.

#AppIndexing   #AndroidDev  
30 comments on original post
1
Add a comment...

Daniele Segato

Shared publicly  - 
 
For years I've used google.com.

No more! I've found a better search engine I'll be using from now on.
1
Add a comment...

Daniele Segato

Shared publicly  - 
 
 
Accelerate your deployment time when working with an Android 5.1 device/emulator:

ART is awesome, but the AOT (ahead-of-time) compilation step can be quite long, taking 5, 10 or even more seconds. 
Which is usually a waste on time when you're developing.

The good news is now, with Android 5.1,
vmSafeMode which was used with Dalvik to deactive JIT compilation, now actually deactivates the AOT one with ART, so you can fallback to an interpreted mode. [0]

Set this property in your debug builds by adding <application android:vmSafeMode="true"/> inside src/debug/AndroidManifest.xml and the dex2oat step will suddenly be a lot faster. :)

[0] https://android.googlesource.com/platform/art/+/4489369

#gde #android #androidddev
4 comments on original post
1
Add a comment...
 
 
It is now possible to bring the benefits of your app to your users wherever they happen to be, no matter what device they have near them. Get started today by checking out our new reference sample: it's a bare-bones, but functional music player that works across your phone, car, watch and Google Cast devices. It's built on the new media APIs in Android 5.0 Lollipop and supports all the mentioned form factors in a single codebase!
13 comments on original post
1
Add a comment...
People
Have him in circles
297 people
Sergio Carabantes's profile photo
Alejandro Rodriguez Salamanca's profile photo
Diego Leone's profile photo
ROBBY RAVE's profile photo
Virna Carmellino's profile photo
The Linux Foundation's profile photo
Andrea Massa's profile photo
FEderico Villa's profile photo
Markus Wedler'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. &lt;th width=&lt;/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

★★★★★ &quot;The Best Camera App for Android&quot; - lifehacker ★★★★★&gt;&gt; &quot;The Best Camera App for Android&quot; - lifehacker &gt;&gt; &quot;Grab this to show off to you

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 - a month ago
reviewed a month ago
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 - a month ago
reviewed a month 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 - a year ago
reviewed a year ago
4 reviews
Map
Map
Map
Una delle pizze più buone di tutto il biellese! Leggera e digeribile, gustosa e con ingredienti genuini. Ottima birra.
Public - a month ago
reviewed a month ago