Menu

Tree [075dea] master /
 History

HTTPS access


File Date Author Commit
 7Bee 2023-07-07 Bruce Bruce [80a85c] update
 CSharpServer 2023-07-03 Bruce Bruce [17fcda] 3.9.2
 FTServer 2022-07-03 Bruce Bruce [d52651] 2.0.562.0.56
 JavaServer 2023-07-07 Bruce Bruce [531aa0] delete
 Showcases 2021-06-18 Bruce Bruce [a91657] show
 Studio 2023-07-07 Bruce Bruce [075dea] dark
 fts-androidsdk 2021-09-24 Bruce Bruce [20e670] 1.8.54
 .gitignore 2023-07-06 user user [7d9cd3] update
 README.md 2023-07-07 Bruce Bruce [ac314e] rm

Read Me

Self-hosted search engine with web service to share discoveries with people

FTServer Android App

FTServer ( Full Text Search Server ) for Android, it includes a JSP Server for Android.

FTServer Java .NET Linux Windows

This Repository also includes Java Server Version and .NET Server Version of FTServer.
These Versions in this Repository Newer than the original Java-Version FTServer Java . Both Server Versions can run on Linux and Windows.

Java Server Version

cd JavaServer/FTServer
mvn package cargo:run

NET Server Version

cd CSharpServer/FTServer
dotnet run -c Release

this Project is using iBoxDB as local storage, all search phrases kept in your local hard disk privately, no data send to remote server. It has packaged with the project. More usage examples and libraries of iBoxDB can be downloaded in projects/application-database.

How to Build Android App on Linux Android Studio

Install

  1. Online
  2. Install Java
  3. Install Maven
  4. Install Android Studio (File-InvlidteCaches/Restart)

Build

  1. Build FTServer for Java to Java-WAR first
cd JavaServer/FTServer
mvn package
  1. Goto /7Bee/ , modify the android_sdk path in
    .bee-dexwar.xml
    .bootstrap_dexwar
    and the (ftserver-2.0.war) to right version war.

then run (Linux) bootstrap to install bee and compile Java-WAR to Android-WAR

./bootstrap

Export

  1. Open Android-Studio
  2. Open Studio/build.gradle
  3. Build-Generate Signed APK

How to Build Android App on Linux 2 Traditional

Download SDK

https://androidsdkmanager.azurewebsites.net/Buildtools
https://dl.google.com/android/repository/build-tools_r26.0.3-linux.zip
androidsdk/build-tools/android-8.1.0

https://androidsdkmanager.azurewebsites.net/SDKPlatform
https://dl.google.com/android/repository/platform-26_r02.zip
androidsdk/platforms/android-26

Build

  1. Build FTServer for Java to Java-WAR first
cd JavaServer/FTServer
mvn package
  1. Goto /7Bee/ , modify the android_sdk path in
    .bootstrap_dexwar
    .bee-dexwar.xml
    and the (ftserver-2.0.war) to right version war.

then run (Linux) bootstrap to install bee and compile Java-WAR to Android-WAR

./bootstrap
  1. Using Eclipse-ADT - Open Workspace(/ftserver-android/FTServer)
  2. File - Import - Genral - Existing Projects into Workspace
  3. Next - Root(/ftserver-android/FTServer) - finish.
 [user@localhost ~]$ cd /home/user/adt-bundle-linux-x86_64-20140702/eclipse

 [user@localhost eclipse]$ ./eclipse -vm /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.242.b08-0.el7_7.x86_64/jre/bin/java
  1. Right-Click - Export - Android - Export Android Application - ToTheEnd

  2. Install to Android 8.0+(SDK-26), the "minSdkVersion" can reset to lower version when using jsoup-1.13.1.

  3. When Install to Android 10+, it might say this built for older version at first time, and click OK.

Download the Android APK Installer from Project/Files directly.

https://sourceforge.net/projects/ftserver-android/files/

Download ftserver-android

Other Original Source

Android WebServer Cloned from

http://www.acme.com/java/
https://tomcat.apache.org/source.html
https://sourceforge.net/projects/tjws/

ADT Bundle

https://stackoverflow.com/questions/27449206/what-is-the-final-version-of-the-adt-bundle

For historic reasons, I leave you the links to the last versions of ADT:

linux 64 bit: http://dl.google.com/android/adt/adt-bundle-linux-x86_64-20140702.zip
linux 32 bit: http://dl.google.com/android/adt/adt-bundle-linux-x86-20140702.zip
MacOS X: http://dl.google.com/android/adt/adt-bundle-mac-x86_64-20140702.zip
Win32: http://dl.google.com/android/adt/adt-bundle-windows-x86-20140702.zip
Win64: http://dl.google.com/android/adt/adt-bundle-windows-x86_64-20140702.zip

https://centosfaq.org/centos/android-sdk-on-centos7-64-bit/
use i686 default is X64

yum whatprovides /lib/ld-linux.so.2
sudo yum install glibc-2.17-324.el7_9.i686
sudo yum install libstdc++-4.8.5-44.el7.i686
sudo yum install zlib-1.2.7-19.el7_9.i686 --setopt=protected_multilib=false

https://wiki.eclipse.org/FAQ_How_do_I_run_Eclipse%3F#Find_the_JRE

[user@localhost eclipse]$ ./eclipse -vm /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.242.b08-0.el7_7.x86_64/jre/bin/java

Use new dx.jar

copy
/bak_adt-bundle-linux-x86_64-20140702/sdk/build-tools/android-4.4W/lib/dx.jar//com/android/dx/command/DxConsole.class
to androidsdk/build-tools/30.0.1/lib/dx.jar//com/android/dx/command/DxConsole.class

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.