Discussion Forums  >  WebViews and HTML for Mobile

Replies: 6    Views: 101

ATRAIN53
Code is Art
Profile
Posts: 1755
Reg: Nov 17, 2011
Chicago
26,450
03/09/12 10:19 AM (13 years ago)

BT 1.5 for Android - Dialer fix for TEL: links in Custom URL

If you are having issues making TEL: links work in BT 1.5 Android APPS on Custom URL Webpages - this HOWTO I put together may be helpful. http://www.skomp.net/BT/BTdialerfix.htm The MAILTO: links in my 1.5 Android APP seem to work without issue on actual devices. It may depend on how email is set-up on the device what it does. But the TEL: links continue to freeze my APP. I tested this today (3/9/12) with a download of the Source Code of my BT 1.5 Android app on the new BT site and it seems to still be an issue. David from BT was gracious enough to provide me a fix that others may find useful. Let me know if any errors/mistakes/corrections with the HOWTO. (my first attempt at trying to give back to the community)
 
ATRAIN53
Code is Art
Profile
Posts: 1755
Reg: Nov 17, 2011
Chicago
26,450
like
03/09/12 10:27 AM (13 years ago)
Fred - This is that code snippet I promised you last week I would post. I can't recall the name of the persons whose thread we took over but hopefully they also see this. Can't seem to find the old thread on the new site but this was the original URL of the discussion on this issue: http://www.buzztouch.com/forum/thread.php?tid=83A020257808E4C34EF0D6B
 
Zackamo
Aspiring developer
Profile
Posts: 175
Reg: Oct 25, 2011
Bryan TX
3,400
like
03/09/12 10:59 AM (13 years ago)
I would try editing BT_act_controller. Specifically go near the bottom to your doNotLoadList add do not load "tel" in a similar way you see the ones already there. See if that works. Bet it does :) mailto is already there, so I am curious as to why it might not be working. I use this donotload list specifically to force youtube links to leave the app (thus allowing native youtube use).
 
ATRAIN53
Code is Art
Profile
Posts: 1755
Reg: Nov 17, 2011
Chicago
26,450
like
03/09/12 11:21 AM (13 years ago)
^^ wow. that works like a dream. more proof there is more than one way to skin a cat. what an awesome chunk of code that is to control stuff. thanks again man! Thats a heck of a lot easier and seems like a simple fix for BT 1.5 Android. just insert this line: doNotLoadList.add("tel"); i wonder if there is a reason the BT folks haven't implemented that. Maybe it conflicts with another function? mailto: you have to have a working mail account set-up to see it launch on the emulator. it does work once you do. i'm adding your fix to my how to if that's OK? this would have saved me hours.....
 
ATRAIN53
Code is Art
Profile
Posts: 1755
Reg: Nov 17, 2011
Chicago
26,450
like
03/12/12 01:55 PM (13 years ago)
I have updated the HOWTO for this based on the info passed along by Zackamo. Thanks again for such a quick, simple fix. Hope to see this implemented in the next BT Androind update (or an explanation of why it's not their fix.)
 
Zackamo
Aspiring developer
Profile
Posts: 175
Reg: Oct 25, 2011
Bryan TX
3,400
like
03/12/12 02:05 PM (13 years ago)
I'll be interested to see how plugins work out here in the near future. In theory this could possibly be controlled via plugin, so the user wouldn't have to know how to edit code to modify what can run where. I am getting to the point where I think I could start making some basic plugins for android, but am going to hold off until I can read through the BTU stuff when it comes out.
 
pmf123
Android Fan
Profile
Posts: 8
Reg: Oct 19, 2011
Lanoka Harbor, ...
80
like
12/10/13 06:25 PM (12 years ago)
Anyone know where 'BT_act_controller' is in BUzztouch 1.4? Or an alternate place to put: doNotLoadList.add("tel");
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.