N NewDD Member Aug 21, 2022 #1 Hello all, I'm new here and I have a question. I have developed a simple Android app using B4A v11.80, the app downloads a file from the internet, the url was long so I shortened it using "bit.ly" service. The file gets downloaded fine but my "bit.ly" dashboard doesn't show that the downloads count is increasing! It's strange because if I visited the shortened link manually using my web browser the downloads count increases! This is how I download the file: B4X: Copy Dim j As HttpJob j.Initialize("", Me) j.Download("https://bit.ly/xxxxxxxx") Any ideas? Thanks
Hello all, I'm new here and I have a question. I have developed a simple Android app using B4A v11.80, the app downloads a file from the internet, the url was long so I shortened it using "bit.ly" service. The file gets downloaded fine but my "bit.ly" dashboard doesn't show that the downloads count is increasing! It's strange because if I visited the shortened link manually using my web browser the downloads count increases! This is how I download the file: B4X: Copy Dim j As HttpJob j.Initialize("", Me) j.Download("https://bit.ly/xxxxxxxx") Any ideas? Thanks
Solution Erel Aug 22, 2022 Try to set the user agent: https://www.b4x.com/android/forum/t...nd-chrome-site-navigation.120379/#post-752728
Try to set the user agent: https://www.b4x.com/android/forum/t...nd-chrome-site-navigation.120379/#post-752728
Erel B4X founder Staff member Licensed User Longtime User Aug 22, 2022 #2 Try to set the user agent: https://www.b4x.com/android/forum/t...nd-chrome-site-navigation.120379/#post-752728 Upvote 0 Solution
Try to set the user agent: https://www.b4x.com/android/forum/t...nd-chrome-site-navigation.120379/#post-752728
N NewDD Member Aug 22, 2022 #3 Erel said: Try to set the user agent: https://www.b4x.com/android/forum/t...nd-chrome-site-navigation.120379/#post-752728 Click to expand... Erel, That did the trick, I love man ? Upvote 0
Erel said: Try to set the user agent: https://www.b4x.com/android/forum/t...nd-chrome-site-navigation.120379/#post-752728 Click to expand... Erel, That did the trick, I love man ?