I am trying to deeply connect facebook email with my Android app, as mentioned here . For the most part, I followed the guide here . Here's what happens to me:
For my application, I did all the prescribed things (right, I think):
The application was built, and then using ADT I signed it using "Export a signed application package ..." and my own key, alias, and key store.
Took .apk from step # 1 and uploaded it to Google Play
Using keytool, I created a hash key using my key.
In the Facebook console, Android settings, I filled in the package name, class name and key hashes (using the hash key from step number 3)
As part of my application build, intent is included in the manifest,
eg.
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:host="myapp.mysite.com" android:scheme="http" android:pathPattern=".*"/>
</intent-filter>
WHAT WORKS:
- I can go into my mobile browser and go to: http://myapp.mysite.com/some_params , and it opens the application, and my main activity receives the parameters through intent.getDataString () successfully.
- My facebook link is good (I think) because if I go to facebook (the web version) and follow the link, it will open the application and pass the parameters correctly.
WHAT DOES NOT VISIT WORK:
My ultimate goal is to go to facebook (the native version of Android) and click on the link and open its application and pass the parameters. However, every time I click the link , it goes to the Google Play page for the application . If the application is not already installed, I see the Install button (expected).
, Google Play "" "" ( ). "", . , .
- ? . HTC One.