Coder Social home page Coder Social logo

geckobrowser's People

Contributors

mfinkle avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

geckobrowser's Issues

NullPointerException while running the app

03-19 14:59:41.163: E/GeckoAppShell(1375): >>> REPORTING UNCAUGHT EXCEPTION FROM THREAD 2731 ("Gecko")
03-19 14:59:41.163: E/GeckoAppShell(1375): java.lang.NullPointerException
03-19 14:59:41.163: E/GeckoAppShell(1375):  at org.mozilla.gecko.GeckoNetworkManager.getNetworkType(GeckoNetworkManager.java:221)
03-19 14:59:41.163: E/GeckoAppShell(1375):  at org.mozilla.gecko.GeckoNetworkManager.updateNetworkType(GeckoNetworkManager.java:180)
03-19 14:59:41.163: E/GeckoAppShell(1375):  at org.mozilla.gecko.GeckoNetworkManager.enableNotifications(GeckoNetworkManager.java:204)
03-19 14:59:41.163: E/GeckoAppShell(1375):  at org.mozilla.gecko.GeckoAppShell.enableNetworkNotifications(GeckoAppShell.java:2466)
03-19 14:59:41.163: E/GeckoAppShell(1375):  at org.mozilla.gecko.mozglue.GeckoLoader.nativeRun(Native Method)
03-19 14:59:41.163: E/GeckoAppShell(1375):  at org.mozilla.gecko.mozglue.GeckoLoader.nativeRun(Native Method)
03-19 14:59:41.163: E/GeckoAppShell(1375):  at org.mozilla.gecko.GeckoAppShell.runGecko(GeckoAppShell.java:347)
03-19 14:59:41.163: E/GeckoAppShell(1375):  at org.mozilla.gecko.GeckoThread.run(GeckoThread.java:178)
03-19 14:59:41.163: E/GeckoAppShell(1375): Main thread stack:
03-19 14:59:41.168: E/GeckoAppShell(1375): android.os.MessageQueue.nativePollOnce(Native Method)
03-19 14:59:41.168: E/GeckoAppShell(1375): android.os.MessageQueue.next(MessageQueue.java:125)
03-19 14:59:41.168: E/GeckoAppShell(1375): android.os.Looper.loop(Looper.java:124)
03-19 14:59:41.168: E/GeckoAppShell(1375): android.app.ActivityThread.main(ActivityThread.java:4921)
03-19 14:59:41.168: E/GeckoAppShell(1375): java.lang.reflect.Method.invokeNative(Native Method)
03-19 14:59:41.168: E/GeckoAppShell(1375): java.lang.reflect.Method.invoke(Method.java:511)
03-19 14:59:41.168: E/GeckoAppShell(1375): com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1027)
03-19 14:59:41.168: E/GeckoAppShell(1375): com.android.internal.os.ZygoteInit.main(ZygoteInit.java:794)
03-19 14:59:41.168: E/GeckoAppShell(1375): dalvik.system.NativeStart.main(Native Method)
03-19 14:59:41.168: E/Gecko(1375): mozalloc_abort: Redirecting call to abort() to mozalloc_abort

How do i install geckobrowser

How do i install geckobrowser

I did all the instructions but nothing happened?

pls any videos Explain the installation process

I will pay you

just i want geckobrowser

No Internet Access

Hi
I just followed the instructions then ran the project from the eclipse. everything's fine except that when app runs in android virtual machine i have no internet access to browse websites. Surely the default browser could access the internet but the geckobrowser does not.
So how could i fix this? i'm not very familiar with java/android programming.
Thanks.

Transparent background is not working

There is no effect of transparent background. I tried to add "@android:color/transparent" in xml file but it didn't work. From code geckoView.setBackgroundColor(0x00000000) also doesn't work. Even if I load a html with transparent background in GeckoView, it shows darker color but not transparent.

Interesting is that when I add the following attribute in xml it's always bring the other view (below in framelayout) to top, doesn't matter what is the hierarchy.
android:background="@android:color/transparent"
android:layerType="software"

How to clear cookies in GeckoView?

Im implementing in our project GeckoView. But i have a problem with clear cookies.
Can somebody say, what class clear cookies in geckoview? Urgent! Best Regards

HTML5 APIs like getUserMedia crashing the application

Hi Mark,

thx for the good work on GeckoView and for this sample application. I tried your sample .apk from here but the app is crashing quite well on any tested URL I'm trying.

What about HTML5 APIs for usermedia or peerconnection? Any chance to get it working using a GeckoView some time in the future? Any plans on this out there?

Regards.

onAlert

Hello,:-)
Thank you very much for what you doing.

The onAlert( GeckoView view , Browser browser , String message , GeckoView.PromptResult result ) seem to be not working.

Good luck.

Could not find GeckoView.apk!

Fails during android install on Mac OS X Lion 10.7.5

01-04 04:57:49.979: E/AndroidRuntime(8309): FATAL EXCEPTION: main
01-04 04:57:49.979: E/AndroidRuntime(8309): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.starkravingfinkle.geckobrowser/com.starkravingfinkle.geckobrowser.MainActivity}: android.view.InflateException: Binary XML file line #29: Error inflating class org.mozilla.gecko.GeckoView
01-04 04:57:49.979: E/AndroidRuntime(8309): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2194)
01-04 04:57:49.979: E/AndroidRuntime(8309): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2229)
01-04 04:57:49.979: E/AndroidRuntime(8309): at android.app.ActivityThread.access$600(ActivityThread.java:139)
01-04 04:57:49.979: E/AndroidRuntime(8309): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1261)
01-04 04:57:49.979: E/AndroidRuntime(8309): at android.os.Handler.dispatchMessage(Handler.java:99)
01-04 04:57:49.979: E/AndroidRuntime(8309): at android.os.Looper.loop(Looper.java:154)
01-04 04:57:49.979: E/AndroidRuntime(8309): at android.app.ActivityThread.main(ActivityThread.java:4945)
01-04 04:57:49.979: E/AndroidRuntime(8309): at java.lang.reflect.Method.invokeNative(Native Method)
01-04 04:57:49.979: E/AndroidRuntime(8309): at java.lang.reflect.Method.invoke(Method.java:511)
01-04 04:57:49.979: E/AndroidRuntime(8309): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
01-04 04:57:49.979: E/AndroidRuntime(8309): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
01-04 04:57:49.979: E/AndroidRuntime(8309): at dalvik.system.NativeStart.main(Native Method)
01-04 04:57:49.979: E/AndroidRuntime(8309): Caused by: android.view.InflateException: Binary XML file line #29: Error inflating class org.mozilla.gecko.GeckoView
01-04 04:57:49.979: E/AndroidRuntime(8309): at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:691)
01-04 04:57:49.979: E/AndroidRuntime(8309): at android.view.LayoutInflater.rInflate(LayoutInflater.java:739)
01-04 04:57:49.979: E/AndroidRuntime(8309): at android.view.LayoutInflater.inflate(LayoutInflater.java:489)
01-04 04:57:49.979: E/AndroidRuntime(8309): at android.view.LayoutInflater.inflate(LayoutInflater.java:396)
01-04 04:57:49.979: E/AndroidRuntime(8309): at android.view.LayoutInflater.inflate(LayoutInflater.java:352)
01-04 04:57:49.979: E/AndroidRuntime(8309): at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:269)
01-04 04:57:49.979: E/AndroidRuntime(8309): at android.app.Activity.setContentView(Activity.java:1885)
01-04 04:57:49.979: E/AndroidRuntime(8309): at com.starkravingfinkle.geckobrowser.MainActivity.onCreate(MainActivity.java:32)
01-04 04:57:49.979: E/AndroidRuntime(8309): at android.app.Activity.performCreate(Activity.java:4531)
01-04 04:57:49.979: E/AndroidRuntime(8309): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1071)
01-04 04:57:49.979: E/AndroidRuntime(8309): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2150)
01-04 04:57:49.979: E/AndroidRuntime(8309): ... 11 more
01-04 04:57:49.979: E/AndroidRuntime(8309): Caused by: java.lang.ClassNotFoundException: org.mozilla.gecko.GeckoView
01-04 04:57:49.979: E/AndroidRuntime(8309): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:61)
01-04 04:57:49.979: E/AndroidRuntime(8309): at java.lang.ClassLoader.loadClass(ClassLoader.java:501)
01-04 04:57:49.979: E/AndroidRuntime(8309): at java.lang.ClassLoader.loadClass(ClassLoader.java:461)
01-04 04:57:49.979: E/AndroidRuntime(8309): at android.view.LayoutInflater.createView(LayoutInflater.java:552)
01-04 04:57:49.979: E/AndroidRuntime(8309): at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:680)
01-04 04:57:49.979: E/AndroidRuntime(8309): ... 21 more

Add information about LICENSE

I made list of open-source android browsers and I want to include information what is license (public doman/MIT/GPL/MPL/whatever you choose) of code in this repository. Could you fix this and add this information to repo? Thanks.

Can't get the installation procedure.

Okay am completely new to Eclipse here am from Android Studio.
So I tried Doing the File import like u recommended but I ended up getting two projects instead of one. How do I import them into one project?

Remote Debugging

I noticed that you set up remote debugging, but when I follow the instructions on [1]. I never see the "Connect..." menu in Tools->Web Developer. I manually entered the URL from the instructions [2], and set up tcp forwarding via ADB as suggested, adb forward tcp:6000 tcp:6000, but I get connection timeouts.

I'm running geckobrowser in a Google API ARM emulator running 4.4.2.

[1] https://developer.mozilla.org/en-US/docs/Tools/Remote_Debugging/Firefox_for_Android
[2] chrome://browser/content/devtools/connect.xhtml

Add links to other shared library platforms

The link in the README only links to the arm shared library. Provide links to the other shared library platforms. I didn't realize that mozilla built shared libraries for all platforms.

http://ftp.mozilla.org/pub/mozilla.org/mobile/nightly/latest-mozilla-central-android-x86/
http://ftp.mozilla.org/pub/mozilla.org/mobile/nightly/latest-mozilla-central-android-armv6/
http://ftp.mozilla.org/pub/mozilla.org/mobile/nightly/latest-mozilla-central-android-r7/

can not load local HTML file

Hello, thank you for this sample!

The app works as well. But I want load not a online website, I want to load a local HTML site. It looks like it's not possible?

My code:
{code}
mGeckoView.addBrowser("file:///android_assets/www/index.html");
{/code}

If I run the app, the GeckoView can not find the file, but it's on the right place.

Any ideas?

Extending GeckoView

Hi,

Sorry if this question is related more to geckoview then to this example, but I am curious how hard is to extend geckoview for hybrid API in similar way cordova works. (means I want to be able to call javascript code from android app and native code from js inside geckoview)
Thank you,

Michael

File/Photo upload

I try to replace WebView with GeckoView for multiple reasons but also to mitigate the problem that Android 4.4 won't call openFileChooser anymore to handle file uploads.

Unfortunately, I couldn't find out how I can handle file uploads in GeckoView. When I tap on a button that would trigger it, nothing happens and none of the callbacks I tried implementing work.

Any suggestions?

how to play Flash directly without tap the screen?

I want to play Adobe Flash with Geckoview,and it's working.But before loading the swf,I got this message,"tap here to active plugin".
So,how can I remove this message and play Flash directly?
Please tell me,Thank you!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.