Build WebOS application from existing website - angularjs

I built a website using Angular for TV. I got LG Smart TV with WebOS on it. I'm able to surf to the website from the TV's browser and all is working.
Now I want to upload this webapp to LG Smart TV store. How I can do so? Is there a tool like cordove / phonegap in Android?

Cordova v2.8 and earlier support WebOS, but it was depreciated in Cordova v2.9 as of October 15th, 2014.

As any store policy, they have quality process and developers should follow it.
Have you seen http://webostv.developer.lge.com/distribute/app-submission-process/ ?
Basically, the process consists:
Registering
When your app is ready in IPK format, register the application to LG
SmartWorld Seller Lounge.
LG Assurance
The LG application quality assurance team evaluates the performance, function, and UIs of submitted apps to verify the suitability for publishing on LG CONTENT STORE (LG STORE).
Listing on LG Content Store
Valid apps are published on LG CONTENT STORE (LG STORE).
BR

look at http://webostv.developer.lge.com/develop/app-developer-guide/hosted-web-app/
"Hosted (server hosted) web apps reside on a remote web server. Users access them through an Internet browser. You can build hosted web apps for webOS TV, using standard web technologies like HTML, CSS, and JavaScript. These apps need connectivity to the web server to run successfully. As these apps reside on a remote web server, you can update them at anytime without having to worry about pushing updates to the TV."

Related

Progressive Web App with ReactJS combination

When I search this in Google, I'm getting more results regarding progressive web apps with angular, than react. Why is this the case?
I'm in the beginning stages of learning ReactJS, but I eventually want to understand PWA as well. Are these two completely different? Is it possible to build an entire scalable application using these two? I'm learning that the popular stack is Node + React + MongoDB. Does adding PWA benefit this or is there no point?
Is progressive web app still a thing? Is it here to stay for a long time or is it already a thing in the past? Just looking at the tags in stackoverflow, its not being talked much.
The concept of progressive web app is not limited to any javascript front end framework.
A Progressive Web App (PWA) is a web app that uses modern web
capabilities to deliver an app-like experience to users. These apps
meet certain requirements, are deployed to servers,
accessible through URLs, and indexed by search engines.
So it can be web application made using simple vanilla javascript / angular / react / vue or any other.
To consider your application be PWA it should meet following requirements :
Progressive - Work for every user, regardless of browser choice,
because they are built with progressive enhancement as a core tenet.
Responsive - Fit any form factor, desktop, mobile, tablet, or whatever
is next.
Connectivity independent - Enhanced with service workers to work
offline or on low quality networks.
App-like - Use the app-shell model to provide app-style navigation and
interactions.
Fresh - Always up-to-date thanks to the service worker update process.
Safe - Served via HTTPS to prevent snooping and ensure content has not
been tampered with.
Discoverable - Are identifiable as “applications” thanks to W3C
manifests and service worker registration scope allowing search
engines to find them.
Re-engageable - Make re-engagement easy through features like push
notifications.
Installable - Allow users to “keep” apps they find most useful on
their home screen without the hassle of an app store.
Linkable - Easily share via URL and not require complex installation.
For more information visit the Google developer guideline for PWA

Connect Apache OFBIZ database to website application (HTML,CSS,JS)

Im trying to connect a website i've built using HTML, CSS and JS to the Apache OFBIZ database I have built.
The web app's main purpose is to allow the user to download the app and order the case, and allow them to put in their personal details including method of payment and purchase the case through, by connecting to the OFBIZ data base which has a number of fields that once approved will confirm the order and notify the relevant members of the manufacturing process and allow the user to see that their order has been received and confirmed.
thanks in advance,
H
OFBiz is a web development framework with ERP business modules on top of it. It's made to be enhanced and you can build your own web applications with OFBiz. I would simply build the website with OFBiz, providing a form for the user detail input. You will have all options to use the database, services etc..
If you have to access OFBiz with a native app (IOS, Android & Co.) you might want to implement some RESTful services to connect OFBiz with your app.
From what I understand, I would migrate the website to OFBiz. If it has a responsive UI design, it will run nicely on smartphones.

is it possible to use data from a website that i don't really have access to for my cordova/phonegap app

I'm in the process of making an app for my assessment at uni using cordova/phonegap and was just wondering if its possible for me to use data from a my unis ecom website for my app without having any back-end access to it, so like images/prices/descriptions...synced to my app?
yes it is certainly possible, because Cordova means working via Javascript and a HTML5 Rendering Engine. It is with some reservations entirely possible to load data from an webserver and use it in an App.
The only thing is to ask, whether it is also a smart-choice. If you want your app not to break when the data from the website gets changed (see https://en.wikipedia.org/wiki/Link_rot )
Also the server can somewhat prevent access of data from contextes outside of the webpage, especially if TSL/HTTPS connection is offered and content is only available after authentication.
Yet anyway its the magic of Javascript to be very good in doing things with web/online resources and displaying HTML5. Cordova and PHonegap is hence imo much better than the very challenging JAVA-Dalvik and IOs native programming that one would have to use else
Likely not,
Google and Apple frowns on using apps as wrappers for websites.
Quote Google Developer Program Policies - Spam and Placement in the Store
Do not post an app where the primary functionality is to:
Drive affiliate traffic to a website or
Provide a webview of a website not owned or administered by you (unless you have permission from the website owner/administrator to do so)
And
Quote Apple iTunes Guidelines - 2.12
Apps that are not very useful, unique, are simply web sites bundled as Apps, or do not provide any lasting entertainment value may be rejected

Chrome desktop application for web based product

Chrome desktop application for web based product. Is this possible in chrome web apps
Product has following items
Angular JS --- Front-end framework
Rails --- JSon Communication
I have created the chrome desktop apps, which will directly open the site with icon. It's more feel like desktop application. In any OS it will run. The thing is working fine.
Problem:
It will always download the js and css files.
How i want to develop the chrome desktop apps
When launching the chrome desktop app, save all the assets locally.
Whenever chrome desktop app launched, it should refer the locally saved assets (I mean angular js files and css)
Before launching the chrome desktop app, it should request the server whether the assets are changed or not. If changed delete the locally saved files and save the latest one.
If assets are not changed use the old assets files. In this way, we can avoid the initial loading of all the files from the server.
Anybody did it previously or chrome provide any options for this?
Ideas are welcome!
Its totaly possible.
Read these docs: https://developer.chrome.com/apps/offline_apps
By myself i pack the css and javascript into the chrome app so you never have to download them on startup. But in your context its more like a webview app with caching functions.
You can use indexeddb or other local storage APIs to store assets in the client computer.
You can solve this on the web app side by employing ApplicationCache, which specifically fits what you describe.
Using the cache interface gives your application three advantages:
Offline browsing - users can navigate your full site when they're offline
Speed - resources come straight from disk, no trip to the network.
Resilience - if your site goes down for "maintenance" (as in, someone accidentally breaks everything), your users will get the offline experience
The Application Cache (or AppCache) allows a developer to specify which files the browser should cache and make available to offline users. Your app will load and work correctly, even if the user presses the refresh button while they're offline.
While it is primarily an offline-fallback technique, it allows you to cache resources locally just for speedup purposes. Actually having an offline fallback is a bonus in this case.
Actually building a Chrome app for this will probably not help - you cannot update local resources from your web app side, you'll need to update your app through WebStore channels only.

develop Web sites for mobiles

I want to implement "mobile website provider" tool. Basically, It intake desktop website url and generate a mobile version of website without edit/add additional content to the desktop website. I am planning to design a product like (what mofuse.com does. This website create mobile websites). This tool should be hassle free to client(who are not tech savvy.)
1.Q) I want to know kind of functionality involved in this process.
2.Q) In Java Technology, I need the tool set and functionality of this actitity.
As I am new to this mobile application environment. Any information(web links) regarding this will be appreciated.
Update:
its not like skweezer.com.
I had a website and I want to "mobile"ize it. 1) What kind of java tool set I have to use to create mobile web site? 2) How to test in multiple mobile devices 3) How the domain name will be created for mobile websites.
Check out our Wapple Architect tech (http://wapple.net) - we allow you to use the same content from web to mobile, but if it's mobile, instead of outputting the html, use a web service to turn it into the right content for that particular handset.
Mobilizes the same domain, no need for m.yourdomain.com or anything like that.
Check http://wapple.net on a mobile for example!
there are certain plugins which mobilise your website .
they check user agent and if user agent is of mobile browser they load another css of mobile and if you want to redirect some another redirect it ther.
you dont have to buy separate domain make sub domain or cname like
m.yourdomain.ccom
wap.yaourdomain.com
try some javacripts code which detect browser type and redirect accordingly.
The best place to learn about mobile toolkits are
WURFL - The open source community built around profiling devices and managing their capabilities (http://wurfl.sourceforge.net/)
Mobile Elements - A tool to help you build mobile sites using a proxy type approach (http://www.mobilelements.com)
Device Atlas - A device profiling tool (http://www.deviceatlas.com)

Resources