Difference between desktop and mobile when displaying DWG files - android

I am currently developing a mobile drawing viewer using the Autodesk Forge API.
The following two output the same drawing.
The output from the PC browser looks just like case1.
However, in the mobile browser, the "round" part is not displayed normally as in case2.
Is there a solution?

Related

Recording Video via webcam on webpage and saving it to server

I want to develop a web application where the user can access the webpage and record a video message , and that video message gets saved on the server. The trick is that it must be accessible via any mobile device.
I know there are answers out there like this:
Video Recording with webcam on a webpage
but it does not encompass all devices. I was thinking of using angular JS but it should work on Microsoft windows phone 8/10, android and ios. That is the tricky part.
The solutions I have researched all requires FF or Chrome and neither IOS or Windows mobile comes standard with those. I want to avoid flash as well.
Many thanks.

Viewing A-Frame output in mobile

I have been fooling around with A-frame and created a bunch of entities and things like that. I am able to see the html output fine in my laptop. How can I port it to my Android mobile so that I use my VR gear to see the html result on my mobile browser?
You can just load the page on your mobile browser and go into VR mode.
Another solution is to integrate your html/js/css code into an application using crosswalk (https://crosswalk-project.org/) for example

Display Kannada Text in Android application

I have a requirement to display kannada text in GCM alerts sent to an android app.
I followed these tutorials Install Read / Write Indian Language Fonts on Android and
How to Write & Read in Indian Regional Language Fonts on Android.
Just to brief, I did following:
Rooted Android Device
Installed ES File Explorer (Free download from Android Market)
Downloaded DroidSansFallback.ttf Indic TrueType Font and Save it in SD Card
Open ES File Explorer – In settings, Enable Root Explorer and Mount
System as RW
Copy the file from SD Card root and Paste it to /System/Fonts
(Overwrite if necessary)
Reboot
But I ended up displaying Kannada text like this:
Whereas, I have sent ವಿಕಿಪೀಡಿಯ Thank you! from my back end server. How to display kannada exactly same as it was sent from the back end.
Which Android version is it?
Versions before 4 don't have proper Kannada rendering support even if you supply a font, so it shows the matras separately from the consonants.
Where are you showing this text? It may work if you try to show it in the web browser, because web browsers have their own rendering engines. Try both the stock WebKit browser and Mozilla's Firefox for Android. Depending on your device and Android version, it may or may not work.
If it works in WebKit and you need it in an app, try integrating WebKit in your app instead of using regular text display.
Another thing you can try is to render your text as an image on the server and show the user that image. It won't be perfect, but it will be readable. (That's the technique that the Opera Mini Android browser uses, last time I checked.)
And hey, kudos for trying to make it work in Kannada!
The simpler method to read Kannada on web is by using Opera Mini application which is of course available in the Playstore.
Download Opera Mini
Type "about:config" in the URL
Enable bitmap fonts for complex scripts I mean make it YES
Now you can easily read Kannada script!
You can't type or Read Kannada regular message or Whatsapp messages though. But having a primitive Android phone which is not Rooted this is the best you can get I guess!

Delete captured images with HTML5

I am currently developing a website for mobile devices. The website needs to analyze pictures taken from the camera of the phone. I currently grab the image data via:
<input type="file" id="input_photo" accept="image/*;capture=camera" capture="camera"/>
However on all Android devices I tested (Android is the main plattform for now) and for all browsers (Stock Browser, Chrome, Firefox) the image is either saved to /sdcard/DCIM/browser_photos/ or simply /sdcard/.
I don't need those pictures so my question is, if there is a way to either let the browser know to not save those pictures permanently or to delete those pictures after analyzing them.
PhoneGap or similar APIs are not an option. I want to stick to pure HTML5 and JavaScript.
Thanks for your help
You just cannot access device's storage to remove something from the browser - it will be a security issue. The same thing is with regular OS browsers - the only thing you can do is use a file input to browse for file to upload - nothing more.

Use PhoneGap + HTML5 and an Embedded Flash Movie

I wanted to know if it is possible to do the following:
Build a mobile app using HTML5, CSS, and JavaScript
Embed a Flash game (SWF) on one of the pages of the application
Wrap with PhoneGap, and deploy on Android an iOS
Keep the Flash game's functionality
I am considering doing this for an upcoming mobile project, and considering my options. I can build in all Flash, or I can build using HTML5 and just embed the Flash on one page. HTML5 would be much faster and cost-effective, and could accomplish what I need for the app's UI and everything else. The thing is that I need to incorporate this Flash game into the site. Will that mean that I have to build the entire application in Flash in order to accomplish this?
Thanks
Are you the last person on Earth to hear that Flash doesn't work on iOS?
Well, I have news for you: Flash doesn't work on iOS ;-)
You can use Adobe's CS5 tools to compile your Flash game as a native iOS app (which is probably your best bet if you're determined to go the Flash route) but you can't display a SWF on an iPhone, regardless of how it is embedded.
Embedding the SWF using PhoneGap may be a semi-viable solution on Android (at least for some handset models), but the performance is unlikely to be that great, and since Adobe have officially abandoned Flash on the mobile, making Flash games for Android is not a very future-proof strategy at this point.
You'd be better off trying to create your game using a pure HTML5 game development library such as ImpactJS - the tools are not quite as rich as what you get with Adobe, but the cross-platform support and future outlook is much better.
Here's a nice table of different cross-platform JS game engine solutions that somebody put together: https://github.com/bebraw/jswiki/wiki/Game-Engines
For simple animations You can also convert flash to HTML 5 (with Abobe tools , form google html5 convert dosen't ) and than put it in web view any platform Windows Phone, Win store.....
html 5 will work even without cordoba or phone gap

Categories

Resources