Yes, it supports Xwalk APP. Currently, I am using "RuntimeContext::GetPath()" to get the default path, which will be as the destination to store autofill data. >From the code, it is "DIR_ANDROID_APP_DATA", which is the same with Android >chrome webview.
Regards, Li Yin From: Crosswalk-dev [mailto:[email protected]] On Behalf Of Ming, Bai Sent: Monday, November 25, 2013 1:38 PM To: [email protected] Subject: Re: [Crosswalk-dev] Intent to Implement: [Android] Implement autocomplete feature for Xwalk Will it support xwalk application? If yes, perhaps we need to figure out the best place to store the autofill data, maybe somewhere under the application's storage. - Ming, Bai On 11/25/2013 11:16 AM, Yin, Li wrote: Summary: Every time the user submits a form, entries in text input fields organized by the name of the field specified in html get stored in the database under the profile. When the user opens a webpage containing a form and types into one of the fields, Xwalk checks the database for past entries into fields with the same name. As the user types, a pop-up menu appears allowing the user to select from entries which match the prefix already entered. Affected component: N/A Related feature: XWALK-157 < https://crosswalk-project.org/jira/browse/XWALK-157> Target Release: Crosswalk 3 Implementation details: - XWalkSettings class provides set/getSaveFormData API, which can control the suggestion dialog will be popped up or not. - XWalkContent class provides getFormDatabase interface to get an XWalkFormDatabase object. Through XWalkFormDatabase object, developers can call hasFormData() to check if there is relevant database, and can clear form database through clearFormData(). - In native code side, added followed files to implement auto complete. xwalk_autofill_manager_delegate.cc xwalk_autofill_manager_delegate.h xwalk_form_database.cc xwalk_form_database.h xwalk_form_database_service.cc xwalk_form_database_service.h - In java code side, followed files are created: XWalkAutofillManagerDelegate.java XWalkFormDatabase.java Regards, Li Yin _______________________________________________ Crosswalk-dev mailing list [email protected]<mailto:[email protected]> https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-dev
_______________________________________________ Crosswalk-dev mailing list [email protected] https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-dev
