Hi Everybody,
This is my first attempt at an applet.
I liked the search function of the search bar that was included in the original releases of Home2 but none of us liked how much screen space it took up. I often want to quickly look up information so I put together a little search applet.
Thank you gronostaj for your search screen code and jo_keks for your launch icon code, this applet wouldn't be possible without your work. I've made sure to include credit within my code.
I designed this applet under QVGA but it should work fine on VGA.
RoadMap:
0.5
- [Complete] Build search buttons from selected_providers.xml - manual edit to add
- [Complete] Search pages for each selected provider
1.0
- [Complete] Fix remove bug - click-hold any icon and it removes the first button
- [Complete] Implement add screen on click add icon to add search providers from search_providers.xml
1.1
- [In Progress] Add ability to add an internet favorite instead of search option
Future
- Implement page to add new search engines without manually editing the xml file
- Add region field for searches that can include a zip code (i.e. Fandango)
- Remove search options from the selection screen that are already selected
- Build search widget for PointSense v2
Future Search Engines
- whois
---- Usage Instructions ----
-Click on a plus icon to add a search button, you'll be given a list of search provider options.
-Click and hold on a search button to remove it.
-Enter text and click search to open a web browser and search the selected page.
-To add search providers as options you can edit the Search_Providers.xml in this format:
<Provider1>
<Search_Name>AltaVista</Search_Name>
<Search_String>http://www.altavista.com/web/results?q=</Search_String>
<Icon>Altavista.Icon.jif</Icon>
<Title>Altavista.Title.jif</Title>
</Provider1>
* You'll need to create the two jif files for the button and the title image, the icon needs to be 48x48 (QVGA) and 96x96 (VGA), and the title should be around 148 wide (QVGA) and 296 wide (VGA), the title does not need to be exact.
- To add more buttons (I default to nine spaces), edit the Selected_Providers.xml and add blank elements to the end, for example add:
<Provider10>
<Search_Name></Search_Name>
<Search_String></Search_String>
<Icon></Icon>
<Title></Title>
<pos>10</pos>
</Provider10>
------------------
Also, I'm not very good with graphics, I just don't have the time to make them look good. I could really use someone to make some good icons (something fairly uniform) and search page title images.
The current list of supported search engines is:
Altavista
Amazon
Bible Gateway
Bing
eBay
Fandango
Google
Gracenote
Internet Movie DB
Roller Coaster DB
US Patent Office
Wikipedia
Yahoo
YouTube
** If you add new search engines please post the xml code and images here so we can all use them, and I'll incorporate them all into any future releases of the code.
