G X   H U B
GX Hub Login
Please enter your login ID and password
👁
✕
Account Recovery
Enter your login ID or email address. After verification, a verification code will be sent to the email registered to this account
Verify and send code
✕
Register New Account
👁
Password must be at least 8 characters and include one uppercase letter, one lowercase letter, one number and one special character
🙂
Profile photo (optional, you can skip this)
Take photo
🔄
Cancel
Take this photo
Please select a service
💬
GX Connect
免费 · 聊天
Priority
🚗
GX Move
付费服务
Find Friend
Option Screen
✕
Edit Profile
Profile photo
🙂
Full name
Full name cannot be changed here. To change it, please email the administrator and attach your ID card or passport
Login ID
Login ID cannot be changed here. To change it, please email the administrator and state your reason
Nickname
Save nickname
Email address
Save email (verification needed)
Change password
👁
Password must be at least 8 characters and include one uppercase letter, one lowercase letter, one number and one special character
Save new password
Declaration
If you tick this, all Vehicle Details items become required.
🚗 Vehicle Details
✕
Vehicle Details
Loading…
✕
GX Connect
Add a friend to start chatting
Select
⭐0
Search
Loading…
Create group
‹
Friend Requests
Loading…
Name this group
Cancel
Create
Settings
Status (your friends see this under your name)
Save Status
Nickname
Save Nickname
Close
‹
🙂
—
+
✕
Emoji
GIF
📷 Take Photo
🎥 Take Video
🖼 Choose from Gallery
📁 Choose File
📍 Share Location
📡 Share Live Location
Cancel
Share live location for how long?
15 minutes
1 hour
Cancel
Live location
✕
Loading…
Stop sharing
🔄
Cancel
Capture & send
✕
Account Verification in progress
Edit Profile(编辑资料屏) Edit Profile(编辑资料屏) --返回--> GX Hub 主页(选择屏) ---- ① 返回键 ---- 【问题原因】手机硬件返回键靠 MainActivity.java 的 onBackPressed() → webView.goBack() 处理(原有程序的注解里写得很清楚)。GX Connect 进去时会先 用 history.pushState() 推一层历史记录,返回键才有东西可退;但编辑资料屏和 车辆页进去时没有推任何一层。历史记录里没有可退的,返回键就会被系统当成 \"没有上一页了\",直接把整个App关掉——这就是你看到的\"重启App\"。 【做法】跟 GX Connect 一模一样的办法:进编辑资料屏、进车辆页时各推一层历史记录 (只换网址井号后面那一段,不重新载入页面);返回键一按,接住 popstate 事件, 用 showScreen() 退回上一屏。屏幕上的 ✕ 按钮走原本的路,我只是多做一件事: 把这一层历史记录也收掉,免得之后在主页按返回键要多按一下才有反应。 【影响】只影响这两屏(编辑资料、车辆页)的返回键。GX Connect、主页、登录等 其他地方的返回键行为一个字没动。MainActivity.java 不需要改。 【没法在这里验证的】我看不到你手机,需要你实测:在编辑资料屏、车辆页各按一次 手机返回键。 ---- ② "I want to drive" ---- 进编辑资料屏时读 profiles.wants_to_drive 显示勾选状态;勾/取消勾当场存回去。 存失败就把勾选还原并提示,不会出现\"画面勾了、数据库没记\"。 (数据库那一栏要先跑 stage2c_wants_to_drive.sql。没跑的话,勾选会存不了, 提示 Could not save,其他功能完全不受影响。) ================================================================ -->