I try to create a WebApp with Phonegap.
When I write Khmer (កើតអាប់ស) it works in Firefox and Chrome. But when I create the App (apk) my Smartphone only shows square boxes. But why?
I use this special font from Google
https://www.google.com/fonts/specimen/Khmer
Any ideas to fix this problem?
Details are available here which outline how to resolve the issue:
http://osify.com/2012/02/install-khmer-font-on-galaxy-s2-without-rooting-system/
To apply for Android 2.3.x:
Enable “unknown sources” installation (via Setting->Application)
Install Khmer.apk
Change font style
Settings > Display > Screen display > Font style
Choose Khmer
Restart the phone
Testing: Go to this website page: http://khnews.info/testing.html
To write Khmer, download Khmer keyboard from Android Market: Phum Keyboard or MultiLing Keyboard
9) To enable input keyboard:
Settings > Languages and keyboard > Select input method
Choose: Phum Keyboard (in my case)
After you should be able to see everything in Khmer even though the rendering is not fine, you can type Khmer Unicode as well.
Further details: http://adkhmer.com/index.php?option=com_content&view=article&id=19:install-khmer-unicode-for-android-without-root&catid=6:android&Itemid=18
FlipFont is a great technology from Monotype Imaging and it is using
in android phone of Samsung. The technology allows creating
application for adding more fonts into android phone beside the fonts
were shipped in system of the phone already.
Unfortunately, from Android 4.0 (ICS) and earlier version, FlipFont
doesn't work with web browser, but it still find some more useful for
Khmer, especially in Galaxy Note II with Android 4.1.1 (Jelly Bean)
for browsing song title, video name in Khmer in youtube and chat with
friend via facebook messenger.
I would like to note that it works with facebook messenger found on
Play Store only, it doens't work with facebook application yet. For
facebook application on Google Play Store, we also can chat in Khmer,
but we can’t read the feed post on the wall yet.
In Android 4.1.1, Khmer rendering work perfectly in all part of
Android OS, but there are not font in system yet. So if you install
Khmer.apk in Galaxy Note II, you can read and write Khmer in many
applications without root the device.
Otherwise, if I were coding a webpage and trying to get the font to display on someone's phone .. If modiX is correct I would use FontForge or any other font editor to import the glyphs from the original font into a new font file and reassign the glyphs to a unicode range within the limits of Android's range.
It seems Android does not support those UTF8 ranges, however you could root the device to get the necessary character set on the device.
I found an app that claims to do the same without root: https://play.google.com/store/apps/details?id=com.blogspot.androidsanctum.kui
There are also direct APK installers on the web.
Related
i wanted to build a custom browser install that would fit the following specs, i found ways to do it using enterprise deployement, but my intent is to distribute it to friends and family without having to go through the enterprise distribution.
Can be sourced from Firefox or Chromium (or even other as webkit)
Should be easy to customize (ideally no C++ coding)
Should be able to embed extension or hard code the extension within the browser. (i've coded a custom adblock that is lighter and faster than the ones on FF or Chrome store and would also like to embed TOR connection extension)
Remove the ability to install other extensions (i want to ensure this browser cannot be victim of bloatware extensions installs)
Customize UI
Protect the browser against Search engine / HP / New tab settings change.
If you could point me to the right direction it would be awesome and i'll make sure to share this browser's link here once done.
I just saw this in the corner of my eye and figured I'd share this question/answer to possibly help you:
Standard way to build a Chrome extension into Chromium
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 ?
I've got site that is correctly displayed on desktop version but has few bugs on iPad. What's the simplest way to detect problems if my OS is Windows?
Option 1 - Free, local machine debugging
You may use Safari browser for Windows (download Safari 5.1.7).
Steps
Enabling Develop menu in menu bar (Press 'Alt' key to open menu bar. Then follow to Edit menu > Preferences > Advanced tab. Find this option at the bottom.)
Then, follow through Develop menu > User Agent. Select iPad, iPhone etc.
There are more options in the Develop menu (e.g. Show Web Inspector) to help with your JavaScript etc debugging.
Credits to How to debug iPhone and iPad web applications, using Safari.
Option 2 - Paid, browser-based access to target browser/OS/machine
I've personally used http://www.browserstack.com/ and it lets you test the functionality on a wide combination. However debugging may not be as convenient here as it would be on a local machine.
There may be more companies providing similar services.
Beware of basic online emulators
As mentioned in a comment, be wary of 'emulator' websites. Example: A website I ran into claimed to emulate iPhone, with a picture of iPhone, and inside it was an iframe, being dutifully rendered by the browser I opened that website in (Firefox).
The best way I can think of(depending of your implementation) is to use the firefox plugin
https://addons.mozilla.org/en-US/firefox/addon/user-agent-switcher/
It allows you to switch to all sort of devices and see how they would appear on another device.
Here http://www.ampercent.com/test-website-design-iphone-ipad-mobile-devices/7075/ is a quick guide on getting you started.
There are also user-agent switchers for other browsers than FF like Chrome. Do a google search and try for yourself which one you like.
Can I create a plugin or an extension for Google Chrome MOBILE (Android Google Chrome)?
If not, can I create an extension for Google Chrome (desktop), which will add a button in Google Chrome bar. This button will open the page in another web browser (in my own web browser), so, this button should launch my own web browser.
Extensions are not supported, see: https://developers.google.com/chrome/mobile/docs/faq .
Specifically:
Does Chrome for Android now support the embedded WebView for a hybrid native/web app?
A Chrome-based WebView is included in Android 4.4 (KitKat) and later. See the WebView overview for details.
Does Chrome for Android support apps and extensions?
Chrome apps and extensions are currently not supported on Chrome for
Android. We have no plans to announce at this time.
Can I write and deploy web apps on Chrome for Android?
Though Chrome apps are not currently supported, we would love to see great interactive web sites accessible by URL.
You can use bookmarklets (javascript code in a bookmark) - this also means they sync across devices.
I have loads - I prefix the name with zzz, so they are eazy to type in to the address bar and show in drop down predictions.
To get them to operate on a page you need to go to the page and then in the address bar type the bookmarklet name - this will cause the bookmarklet to execute in the context of the page.
edit
Just to highlight - for this to work, the bookmarklet name must be typed into the address bar while the page you want to operate in is being displayed - if you go off to select the bookmarklet in some other way the page context gets lost, and the bookmarklet operates on a new empty page.
I use
zzzpocket - send to pocket.
zzztwitter tweet this page
zzzmail email this page
zzzpressthis send this page to wordpress
zzztrello send this page to trello
and more...
and it works in chrome whatever platform I am currently logged on to.
Some extensions like blocksite use the accessibility service API to deploy extension like features to Chrome on Android. Might be worth a look through the play store. Otherwise, Firefox is your best bet, though many extensions don't work on mobile for some reason.
https://play.google.com/store/apps/details?id=co.blocksite&hl=en_US
Just use a different browser.
Follow the steps given below to install Chrome extensions on your Android device.
Step 1: Open Google Play Store and download Yandex Browser. Install the browser on your phone.
Step 2: In the URL box of your new browser, open 'chrome.google.com/webstore’ by entering the same in the URL address.
Step 3: Look for the Chrome extension that you want and once you have it, tap on 'Add to Chrome.’
The added Chrome extension will now be automatically added to the Yandex browser.
I imagine that there are not many browsers supporting extension. Indeed, I have been interested in this question for the last year and I only found Dolphin supporting add-ons and other cool features announced few days ago. I want to test it soon.
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