Chrome Package App - Webview for Mobile - google-chrome

I developed a chrome packaged app and was successful running it on a computer (Windows, Mac, Linux). Basically what the app does is it refers to another web application that I created as well with Google Maps Javascript API in it that displays the location using pushpins and I am displaying it using webview.
However, we need this app to be ported to a mobile device as well but when I tested on my Samsung Tablet with android version 4.4.2, the webview does NOT seem to work even if I enabled the "webview":"system" in the Manifest.mobile.json. Is there a way for me to achieve this in porting the chrome app to mobile using webview?
Any help is appreciated. Thanks in advance.

Nevermind, I have already read from the API and Libraries page of mobile chrome app under "APIs Coming in the Long Term" section in where webview is listed and so tag is not supported "yet".
https://github.com/MobileChromeApps/mobile-chrome-apps/blob/master/docs/APIsAndLibraries.md

Related

react-native-maps: gray map after apk build

I have a RN app that uses react-native-maps. I was able to successfully render the Map in the Android and iOS Emulators, but when I build it out (using Expo), the app works but the Map renders as a Gray screen with the Google logo on the bottom left-hand corner.
I have an API key and have enabled all of the essential APIs in the
Google Developer Console.
I have only tested this on a physical Android device.
So,
What am I missing?
Should I consider using Mapbox instead?
EDIT:
I did not add anything to a build.gradle or anything of the sort from the Android Studio end; just front-end stuff. Is this required?
I face same problem of greyed map, when use LocationView of react-native-location-view. Greyed Map resolved by Enable Maps SDK for Android. Follow as shown in
Enable Maps SDK for Android in your developer console
https://console.developers.google.com

How to open a web page inside a chrome packaged app?

Just like Android has a webview inside which a webpage can be opened, is it possible to do the same using chrome packaged app?
To give an example, how about opening a youtube link inside a chrome packaged app and then playing around with its DOM elements and adding more functionality to it using the app?
You have to use webviews (like with Android) and then play with executeScript and insertCSS.
If you want a full example, I made a Chrome Packaged App for Google Play Music in 2013 (it could be deprecated) and the code is available on GitHub.

Samsung Smart-TV SDK Internet Browser not available

I just recently downloaded and installed the Samsung Smart-TV SDK 4 (without the IDE, just the emulator). I'm doing this because I want to test the Web browser only, nothing else.
However, when I start up the emulator (2012 version), I can't find any apps when I get to smarthub. I've created a Samsung account but I see no default apps that would usually appear on the TV, not even the Internet browser.
Is there something I'm missing?! I just want to test the Internet Browser.
Cheers.
The emulator is provided for testing your own apps, not to run the apps that people who buy TVs/BRPs/etc get with their device.
Only apps you write and place in the apps/ directory will appear.
That said, you can write an app that does nothing except:
location.href = "http://example.com/";
if i write an app with just location.href = "http://example.com/ is working (i have sdk 5.0) but the browser i get on the TV is not the same browser i get on the tv if i just lunch the integrated web browser app.
The big difference i see is that my app has a browser without the top bar with navigation controls and also there is no mouse pointer and i need to connect an external usb mouse to the tv
how should i do to implement this ?

Open source html5 document viewer for mobile apps

I am building mobile app for Android and iOS platforms using Phonegap. I want to use a html5 document viewer to display pdf's, ppt's and all in the mobile app.
I saw Crocodoc. Its good, but i need to something open source which i can tinker with.
Can you please suggest if currently there are any open source solutions to display documents in the mobile app ??

How to make an HTML5 that does not require the blackberry browser component?

I used the latest and greatest jQuery Mobile (RC1) to develop an app for the client. I used the latest Webworks version from RIM and packaged the app in a Cod file.
The app works great if accessed through the web browser ETC however when I installed the actual generated JAD/Cod files onto a blackberry device, performance was horrible even with minimum number of jQuery libraries.
Since I have Googled this everywhere and it is apparent that one cannot have a meaningful app experience if Webworks is used, I want to be able to just create something that just places the app icon on the phone. Once clicked, it open the browser and takes the user to the web server where the HTML files are parked.
Is this possible?
You can do that, with a very simple Java-application.
The following code:
Browser.getDefaultSession().displayPage("http://www.yourserver.com");
It will open browser and open page: http://www.yourserver.com
Browser class javadoc is here: http://www.blackberry.com/developers/docs/5.0.0api/net/rim/blackberry/api/browser/Browser.html