How to generate oAuth Header String in Android for requesting Twitter API 1.1?

android
fabric
oauth

#1

How to generate oAuth Header String in Android for requesting Twitter API 1.1?

I follow Creating Signatures

also follow solved-java-oauth-request-token-flow-example-without-libraries

but all time got response

{"errors":[{"code":32,"message":"Could not authenticate you."}]}

I am calling https://api.twitter.com/1.1/statuses/home_timeline.json

but when i tried Rest Client in Firefox then it’s working fine but by coding failed.

I am calling this in one of Android App by using Retrofit 2.0.