Skip to content

tinysou/tinysou-android-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

93 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tinysou-android-demo

Demo for Tinysou Android Library

介绍

一个添加应用内微搜索功能的demo,实现功能有发送搜索请求,即输即搜,下拉刷新,上拉加载更多等。 这里,我们通过提供android module,可以导入到开发者的安卓应用中,通过简单的操作,就可以在应用中加入微搜索的功能。

##使用方法

一、准备工作

  1. 注册微搜索帐号(http://tinysou.com/)
  2. 设置engine,获取engine_key Image text
  3. 添加您的内部站

二、导入安卓应用(以android studio为例)

  1. 下载TinySouAndroid文件夹,作为模块导入您的安卓应用中(File > Import module)
  2. 设置模块依赖(File > Project Structure > your app > Dependencies > + > 3. Module dependency) Image text
  3. 新建搜索Activity,继承TinySouSearchActivity,在String.xml文件中设置engine_key Image text
  4. 设置点击事件,启动搜索Activity

显示效果

Image text

About

Demo for Tinysou Android Library

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages