Powie Member Licensed User Longtime User Jun 27, 2014 #1 Google now supports App Deeplinking from Google search. How can we handle this with b4a? https://developers.google.com/app-indexing/webmasters/server
Google now supports App Deeplinking from Google search. How can we handle this with b4a? https://developers.google.com/app-indexing/webmasters/server
Erel B4X founder Staff member Licensed User Longtime User Jun 29, 2014 #2 You should follow Google instructions: https://developers.google.com/app-indexing/webmasters/app Use AddActivityText to add the intent filter. In Activity_Resume you should get the intent with Activity.GetStartingIntent. Upvote 0
You should follow Google instructions: https://developers.google.com/app-indexing/webmasters/app Use AddActivityText to add the intent filter. In Activity_Resume you should get the intent with Activity.GetStartingIntent.
Powie Member Licensed User Longtime User Jul 3, 2014 #3 AddActivityText works fine, and my app with the correct activity is started. At this time I can't find the solution to handle the data from the starting intent. If i log this this looks like: B4X: (Intent) Intent { act=android.intent.action.VIEW cat=[android.intent.category.BROWSABLE] dat=http://ma-db.com/field?12345 pkg=com.powie.madb cmp=com.powie.madb/.field (has extras) } Upvote 0
AddActivityText works fine, and my app with the correct activity is started. At this time I can't find the solution to handle the data from the starting intent. If i log this this looks like: B4X: (Intent) Intent { act=android.intent.action.VIEW cat=[android.intent.category.BROWSABLE] dat=http://ma-db.com/field?12345 pkg=com.powie.madb cmp=com.powie.madb/.field (has extras) }
Powie Member Licensed User Longtime User Jul 3, 2014 #4 ah..... blind..... sometimes. With Intent.GetData I get http://ma-db.com/field?12345 Upvote 0