Hi,
I am trying to learning and understanding Couchbase and try following the guideline from
two weeks ago and I found the link becomes invalid today. The link now redirect to Developer Portal | Couchbase and cannot found related to travel-sample app anymore. Where I can get the information? Because I haven’t finish the setup previously.
perry
June 21, 2023, 4:27pm
2
Hi, apologies for the delay here…we launched a new developer portal and looks like some of the links got redirected. I will follow up and find this one for you
Hakim
June 22, 2023, 11:00am
3
Hi Chris,
We’re looking into getting this published again on the site.
In the meantime, you can still view the documentation on Github, which provides useful previews for most pages:
Installation
= Travel Mobile App
:page-aliases: tutorials:travel-sample:develop/android,tutorials:travel-sample:develop/android/index
:tabs:
== Pre-requisites
* Latest version of Android Studio downloadable from
https://developer.android.com[Google Developer site]
* Android device or emulator running API level 22 or above
* Android SDK 29
* Android Build Tools 29+
* JDK 8
*Windows Users*: If you are developing on Windows, you must use a Windows 10 machine.
Also, note that if you choose the Manual or Docker installation mode, you must also have *administrative privileges on the Windows box* so you can authorize the installation and running of the required executables.
== Travel Sample Mobile App
This file has been truncated. show original
(that’s for android, navigate to the appropriate directory to find other platforms, or let me know details if you are having any trouble finding it)
Developer docs
= The Basics
:param-language: java
:param-module: android
== Initialization
To get started, you must initialize Couchbase Lite with the relevant application context
*Open the file* `DatabaseManager.java`.
https://github.com/couchbaselabs/mobile-travel-sample/blob/master/android/app/src/main/java/com/couchbase/travelsample/util/DatabaseManager.java#L52[DatabaseManager.java]
[source,java]
----
public void initCouchbaseLite(Context context) {
CouchbaseLite.init(context);
appContext = context;
}
This file has been truncated. show original
and the other pages in that directory may be useful
Also mobile-travel-sample/content/modules/mobile-travel-tutorial/pages/android/design/data-modeling.adoc at master · couchbaselabs/mobile-travel-sample · GitHub on the data modeling.
Hope that’s a useful workaround for the time being.
Hakim