我是 android 和 Lucene 的新手.我可以使用 Lucene 在 android list view 中进行搜索吗?我已经尝试导入 package 2.3.2 并且还使用了库中的 jar 文件.但是,SearchFiles.java 中有错误错误是:无法解析类型 java.rmi.Remote.它是从 .class 文件中间接引用的.
I'm new to android and Lucene. can I use Lucene for search in android list view.
I have tried importing the package 2.3.2 and also used the jar files in library.
However, there is an error in SearchFiles.java
error is :
The type java.rmi.Remote cannot be resolved. It is indirectly referenced from .class files.
这个文件可能不存在于 android.是这个问题吗?
There is a possibility that this file doesnt exist for android. Is this the problem?
你可能想使用原生 Full文本搜索 功能在 SQLite 相反,它在 Android 中可用,并且比 Dalvik VM 下的 Java Lucene 实现更快(因为它是本机运行的)并且使用更少的内存.
You may want to use the native Full Text Search feature called FTS3 in SQLite instead, which is available in Android and it is faster (since it is running natively) and uses less memory than a Java Lucene implementation under Dalvik VM.
这篇关于Android 中的 Lucene的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!
使用 GPS 获取用户的当前位置Get user#39;s current location using GPS(使用 GPS 获取用户的当前位置)
requestLocationUpdate() 抛出的 IllegalArgumentExceptionIllegalArgumentException thrown by requestLocationUpdate()(requestLocationUpdate() 抛出的 IllegalArgumentException)
LocationManager 的 getLastKnownLocation 有多可靠,多久更How reliable is LocationManager#39;s getLastKnownLocation and how often is it updated?(LocationManager 的 getLastKnownLocation 有多可靠,多久更新
如何检测位置提供者?GPS 或网络提供商How to detect Location Provider ? GPS or Network Provider(如何检测位置提供者?GPS 或网络提供商)
在应用启动期间获取当前位置Get current location during app launch(在应用启动期间获取当前位置)
locationManager.getLastKnownLocation() 返回 nulllocationManager.getLastKnownLocation() return null(locationManager.getLastKnownLocation() 返回 null)