How to develop an Opera Mobile plugin? - plugins

I'm totally new to opera mobile addons. Can someone suggest me a site which can help me to get started?
I'm currently using a Sony Ericsson P990i. It is loaded with Opera Mobile 8.65.
I type "opera:plugins" in the Opera Mobile address bar; it showed me the list of plugins installed.
So, I'd like to develop plugins for my personal use.
Is there any tutorial/examples of Hello World for opera mobile plugin development?

Till recently we in Opera did not have the ability for running extensions in Opera Mobile. We have recently released a labs build with support for extensions http://dev.opera.com/articles/view/extensions-opera-mobile-labs/
The way to create Opera extensions is documented here http://dev.opera.com/articles/view/getting-started-with-opera-extensions/ The idea is to create extensions, and not exactly worry about desktop or mobile. Just creating nice extensions regardless of platform.

Related

Making Chrome web app standalone desktop program

Google announced that they drop support for web apps in Chrome.
Basically, web app is a local HTML/CSS/JS app that runs in a separated custom "standalone" Chrome window.
Is there any way (preferably easy), to convert this web app to a real desktop app that not depend on Chrome in anyway? Using maybe NodeJS? If yes what is the right way to do it?
Thanks.
You could try one of these tools:
https://applicationize.me/
https://www.bzgapps.com/coherence
https://fluidapp.com/ (for Mac only)
Don't know about "easy", but it seems to me that the natural evolution is to Electron or NW.js, and both of these are mentioned in the Google blog article on this subject. (I'm moving to Electron.) Both have advantages over Chrome Apps, mostly that they are true desktop applications. To cite one example, you can now manipulate the menu bar, something out-of-bounds for Chrome Apps.
Pure JavaScript code in your Chrome App, such as anything to access the internet, should move over directly. Same for much UI stuff, as you're still using a browser window for the UI. The app will, however, have to be restructured.
Added Note: Chrome Apps ran on 4 platforms: MacOS, Windows, Linux, ChromeOS. Electron and NW.js apps won't run on ChromeOS. So, the ability to write a four-platform completely binary-portable app is going away.

How can i troubleshoot web page on IPhone?

I have been working on a web site that i want to work on any device. It works great on all my devices except my work IPhone. Is there any kind of console or other trick I can use to troubleshoot why it is not working? Something like chrome and firefox ctrl+shift+j would be nice.
In Chrome Dev Tools you can emulate a multitude of devices with differing resolutions and other limitations: Sitepoint blog regarding emulation
you can attempt to use emulation using most any browser F12 or Inspect or the multitude of online ones (google it)
In chrome on PC hit f12 then Ctrl-shift-M

Is there a phonegap iphone emulator

Is there a way to test PhoneGap projects on various iPhones using an emulator. I am using the PhoneGap Build website.
I can do this easily with Appcelerator projects but can't see how to do this with PhoneGap.
#Bill,
There are several classes of emulators that you can use for Phonegap, and all mobile development.
webbrowsers in emulation (responsive) mode
Wienre (comes with server)
Ripple (work with Google Chrome)
IDE (eclipse, Android Studio, etc.
On #1, Google Chrome is the most popular and there are several plugins, Ripple being the most popular. Firefox has plugins and most people use Firebug. The browsers are mainly use for UI development. They all to a varying degree have WEB API access(1), which is good for testing but requires side steps to integrate with phonegap (so most people only do rudimentary testing with Web API). Firefox ctrl+shft+m ; Google Chrome ctrl+shft+i (then look for phone icon)
On #2, Weinre (pronounced winery), launches a window in emulator mode and has access to the console. This allows additional messages, more than in webbrowswer emulation mode.
On #3, Ripple is a favorite because it works with Google Chrome. It is similar to Wienre, but has no server.
On #4, Many of the mentioned IDEs have an emulator built in, or use an SDK to accomplish the same task.
Added Sept 1, 10:30pm PDT
There is this also.
What IDE for Phonegap? Is Eclipse enough? [closed]
Which IDE for Phonegap? Is Eclipse enough?
Best of Luck
Jesse
Footnotes
#1 - Many of the plugins have an API base on Web API.

Building app, mobile web app and desktop web app using Ionic

We will develop an app that we would like to distribute in through the following channels:
Android and iOS apps through Google Play and iTunes (the app will
use notifications extensively and presence in Google Play and App store is required)
Web app to run in web browsers on mobile devices
Web app to run in web browsers on laptop and desktop computers. We would like to support Chrome, Internet Explorer (starting from IE9),
Firefox and Safari browsers.
Our understanding is that Ionic is developed targeting primarily 1. and that the web apps in 2. and 3. above are not really what Ionic is intended for. We have looked around to try to understand if Ionic likely works for 2. and 3. and also made some quick tests ourselves.
From one of the links at the end: "Your webapp will run in desktop browsers yes, as it is made of html, css and javascript. The phonegap specific javascript calls (accelerometer, compass, file, etc) won't. Basically, if you stick to standard yes you will be able to port relatively easily your app to most browser, the job at this point being mostly a work of theming."
From another one: "I do know that FireFox is simply not supported. I don't know how well Ionic works in IE X."
To try it out we have built a limited version of our app in Ionic. From what we can see the app works for 1, 2 and 3. For example, it runs without issues on FireFox that is mentioned as not supported in the quote above. This means that to us it looks like the first quote saying that the web app will work in desktop browsers is correct.
I understand that this is a fairly generic question and might be hard to answer, but since we have found contradicting information when looking we are trying to understand more before making a decision.
Any feedback would be appreciated.
Thanks,
Markus
Is it a good idea to use ionic to build mobile web version of a website?
Can Ionic Framework run in desktop web browser like Chrome, Mozilla, IE9+?
http://forum.ionicframework.com/t/ionic-components-on-ie/1826
Phonegap web app in regular desktop browsers
http://ionicframework.com/docs/overview/#css-sass
Ionic is tested for mobile only. Internet Explorer for example is not tested and does not properly handle a number of features in Ionic. Desktop browsers act differently than mobile browsers.
Ionic is focused on building native/hybrid mobile apps rather than
mobile websites.
As such, our browser support tends to be whatever Web View API is
available to native apps on a given platform. For Ionic 1.1.0
"xenon-xerus", that means UIWebView for iOS 7+, and Android 4.1 and
up. Windows Phone and FirefoxOS support is on our roadmap.
If it's cheaper for you to test everything on all different desktop browsers than to develop a version for it sharing the same controllers and services --- go ahead but it won't come "out of the box".
Also, I recommend looking at Electron to build desktop apps from webapps.
ionic is targting mobile apps only , but you can develop your desktop app using node webkit and angular material for example and share some code between your apps

Google Chrome plugin

How does one go about embedding an application inside a web page shown in the Google Chrome browser like Adobe does with its Flash Chrome plug-in ? Is there an Api available to create Google chrome plugins ?
Thanks
Chrome (and many other browsers) support the Netscape Plugin API (NPAPI)
You can also take a look at this book Programming Netscape Plug-Ins
If you need something that works cross-browser (firefox, chrome, safari, and ie), you could look at firebreath: http://www.firebreath.org
The disadvantage to using a plugin is that users have to download and install it before it will work.