mogoweb / chromium_webview

Android WebView wrapper based on chromium
http://mogoweb.github.com
BSD 3-Clause "New" or "Revised" License
514 stars 160 forks source link

Eclipse project #23

Closed kegita closed 9 years ago

kegita commented 9 years ago

Hello! Whichi is the project, between the folder, that i have to import in workspace?? Only java folder???

kholodovitch commented 9 years ago

Hello. For me it works.

sharmarahul25 commented 9 years ago

Hi, I have the same problem when I import the project, it shows 5 different projects: BrowserActivity, java, javatests, ShellActivity, tests. which one is to be used and make library for my project. and a quick question will I be able to build a complete working web browser using this?

ritashish commented 9 years ago

I am following https://github.com/mogoweb/chromium_webview/blob/master/README.md instrcutions tu pull the latest code.

on "gclient sync" ,I am getting following error: gclient.py: error: --gclientfile target must be a filename, not a path Traceback (most recent call last): File "src/chromeview/tools/fetch_deps.py", line 90, in main() File "src/chromeview/tools/fetch_deps.py", line 87, in main sys.exit(deps_fetcher.DoGclientSyncForChromium()) File "src/chromeview/tools/fetch_deps.py", line 61, in DoGclientSyncForChromium always=self._options.verbose, cwd=self._root_dir) File "/home/rit/depot_tools/gclient_utils.py", line 281, in CheckCallAndFilterAndHeader return CheckCallAndFilter(args, **kwargs) File "/home/rit/depot_tools/gclient_utils.py", line 526, in CheckCallAndFilter rv, args, kwargs.get('cwd', None), None, None) subprocess2.CalledProcessError: Command gclient sync --verbose --reset --force --with_branch_heads --gclientfile=/home/rit/chromium-src/src/.gclient-mogo returned non-zero exit status 2 in /home/rit/chromium-src/src Error: Command /usr/bin/python src/chromeview/tools/fetch_deps.py -v returned no

how to resolve it.?

mogoweb commented 9 years ago

The project in java folder is a library project. ShellActivity is a simple project to demonstrate the usage of the chromium WebView API.

mogoweb commented 9 years ago

@ritashish Is /home/rit/chromium-src/src/.gclient-mogo file generated?

ritashish commented 9 years ago

@mogoweb yeah it got generated, what to do next with the /home/rit/chromium-src/src/.gclient-mogo file ?

sharmarahul25 commented 9 years ago

@mogoweb ,I imported ShellActivity in eclipse it worked for me I got something like chrome shell, but with the BrowserActivity I have some issues, I fixed the errors and added ChromeInitializer.java , I am using the API-17, the apk was generated, but the browser was crashing for me. is there a working implementation of browser is available..?

mogoweb commented 9 years ago

@sharmarahul25, I ported TintBrowser to use ChromiumWebView, you can get it at https://github.com/mogoweb/TintBrowser. It is a full browser.

mogoweb commented 9 years ago

@ritashish You should go to chromium groups to find information.