Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 1    Views: 42

SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
10/29/15 01:11 AM (9 years ago)

Smug Location Menu (android) Errata/Fix

Hafa Adai Everyone! Miku found a tiny bug that affects android operation in a major way, if you use a dataURL. Eventually I'll release an update. In the interim, please perform the following steps: 1) Locate this code (in your onStart method), around line 242: boolean hasURL = dataURL.matches("(?i).*http*"); 2) Select and delete the entire line, and replace it with this code: boolean hasURL = dataURL.toLowerCase().contains("http"); Save it, and you're good to go. Apologies for the inconvenience. Whether my plugins are on the market or not, I stand by my code. Gotta problem? Just Yell. Happy to fix my mistakes, if any. Cheers! -- Smug
 
LeonG
Apple Fan
Profile
Posts: 694
Reg: Nov 08, 2011
Hamburg
17,740
like
10/29/15 04:29 AM (9 years ago)
you are the best Smug!
 

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.