Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 11    Views: 72

mrDavid
BTMods.com
Profile
Posts: 3936
Reg: May 21, 2011
San Diego, CA
51,910
03/29/14 02:07 PM (10 years ago)

Search Menu Plugin updated 1.8

The Search Menu plugin has been updated to version 1.8. https://www.buzztouch.com/plugins/plugin.php?pid=DED9871D84E57D757DC2828 The new version includes: Search Types Bug Fixes (more details in readme.txt) Thank you! David Van Beveren https://btmods.com/chat ^ Chat with other BT Members live!
 
mysps
Code is Art
Profile
Posts: 2082
Reg: May 14, 2011
Palma
33,320
like
03/29/14 02:26 PM (10 years ago)
but does it work with android 3.0? i tried to fix it but android causes me to pull my hairs out lol thanks
 
mrDavid
BTMods.com
Profile
Posts: 3936
Reg: May 21, 2011
San Diego, CA
51,910
like
03/29/14 02:31 PM (10 years ago)
As far as I remember last I tested it worked fine, but I did not originally author the Android Port. Susan took lead to port it to Android so I'll connect with her soon and find out if 3.0 is up-to-par. Thanks MYSPS! Cheers, David Van Beveren https://btmods.com/chat ^ Chat with other BT Members live!
 
Susan Metoxen
buzztouch Evangelist
Profile
Posts: 1706
Reg: May 01, 2011
Hopkins, Minnes...
26,260
like
03/29/14 03:43 PM (10 years ago)
What problems are you having with Android? I know it worked in my app. I wish I could take credit for it, but David book gets the credit. I think I did the layout files myself, though.
 
mysps
Code is Art
Profile
Posts: 2082
Reg: May 14, 2011
Palma
33,320
like
04/03/14 05:30 AM (10 years ago)
Yes, I'm not sure if you guys noticed but the self-hosted BTM_search folder (just downloaded again) does not contain the source-android-3.0 or android-fragment folder hence it does not work in the 3.0 Android project.
 
Susan Metoxen
buzztouch Evangelist
Profile
Posts: 1706
Reg: May 01, 2011
Hopkins, Minnes...
26,260
like
04/03/14 06:22 AM (10 years ago)
That makes sense. David, you just have to set up your folders right for android. Just copy another plugin format. I just tried it and it worked, but it didn't alphabetize the list. It searches all of the screen nicknames, and displays the screen nicknames. Displaying the navBartitleText may be better, although I find myself using blank navBarTitleText for design reasons. So the screen nickname may be the best thing to display.
 
peterj
Apple Fan
Profile
Posts: 113
Reg: Jun 19, 2011
location unknow...
6,630
like
04/03/14 12:13 PM (10 years ago)
I just got this working on my BT hosted app by downloading the self-hosted code and importing the three files into Eclipse. Pretty slick - seems to work nicely! I also see that it the list is not arranged alphabetically - it seems to be based on the order of the items in the config file. Also, I prefer the navBarTitleText to be displayed instead of the nickname, and I was able to get this by changing the "String rowTitle" to equal BT_strings.getJsonPropertyValue(thisScreen.getJsonObject(), "navBarTitleText", ""); I didn't actually know until this thread that the search worked for Android! I have to test a bunch more still, but I'm excited to implement this into my apps.
 
mysps
Code is Art
Profile
Posts: 2082
Reg: May 14, 2011
Palma
33,320
like
04/03/14 02:16 PM (10 years ago)
Hmmm 3.0? Last time I tried to port it I was grieved with errors :( :(
 
mysps
Code is Art
Profile
Posts: 2082
Reg: May 14, 2011
Palma
33,320
like
04/09/14 03:13 AM (10 years ago)
knock knock????
 
peterj
Apple Fan
Profile
Posts: 113
Reg: Jun 19, 2011
location unknow...
6,630
like
04/09/14 04:54 AM (10 years ago)
I went to the plug-in page and downloaded the self-hosted package (even though I use the BT control panel). In that package there are a few folders for different platforms and versions. I copied files from the "source-android" folder; the xml files went into res>layout, and the java file went into src where all my other java files are. I don't recall getting any errors. I'm using a BT 3.0 code download from around 1-3 weeks ago.
 
mysps
Code is Art
Profile
Posts: 2082
Reg: May 14, 2011
Palma
33,320
like
04/09/14 07:06 AM (10 years ago)
interesting, it created errors for me. i'll try again. thanks Peterj
 
peterj
Apple Fan
Profile
Posts: 113
Reg: Jun 19, 2011
location unknow...
6,630
like
05/10/14 08:23 AM (10 years ago)
some more discussion in another thread about making the search plug-in work on android: https://www.buzztouch.com/forum/thread.php?tid=42DEFCBC8DE0AC61A9D1CDE
 

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.