Running website on Android Device from file - android

I have a web application I've built using the Jquery mobile framwork and I need to put it on my phone for demonstration purposes. What is the best way to go about this I was going to use phone gap but I want and easier solution say I just put the files onto my phone and run it from within the device but I don't know if that's possible. If anyone has any ideas I'd greatly appreciate it

Phonegap build would be the easiest way! Here is a link to the documentation http://docs.build.phonegap.com/en_US/#googtrans(en)! It gives you a qr code to download a test to your android device before releasing, sorry no ios tho!
Hope that helps! Littleswany

Would a simple WebView work for you? You can also use local files instead of downloading the site/assets from a web server.
http://developer.android.com/reference/android/webkit/WebView.html

Just thought of another way, If you have adobe cc then you could use edge code and edge inspect and the android app to have a test server on your device.
Sorry for the second answer but again I hope it helps you! Littleswany!

Related

ionic 3 app show image on browser but dont on android device

Thanks for any help, and sorry about my bad English, we speak Portuguese on my country...
ionic 3 app show remote image provided by api on browser with ionic serve but dont on android device, debug on chrome get this error:
7fa1ea1d73789d207ef51e6941913d5e_image.jpg:1 GET http://localhost:1337/parse/files/myAppId/7fa1ea1d73789d207ef51e6941913d5e_image.jpg net::ERR_CONNECTION_REFUSED
any help...
I think you might have use relative paths for images like <img src="../assets/imgs/logo.png">
Don’t use relative paths for images instead use absolute paths like<img src="assets/imgs/logo.png">
Please refer below link for more details:
https://forum.ionicframework.com/t/images-not-displayed-on-device/89145
If you want yo use localhost images when running on the device with ionic run android ——device —lc you should use your api address instead. You can see it with the command ipconfig in your terminal

in-page HTML editor that works with Android?

I normally use CKEditor but it just doesn't work with the Android browser. This is known and recognised on their site.
Does anyone know if there's another bit of software that does work?
You should try Tinyeditor. Works great for me. http://www.scriptiny.com/2010/02/javascript-wysiwyg-editor/

Weinre does not find any target

Sorry for the newbie question, but I spent the whole day trying to figure out why the target list remains empty.
This is what I've done so far:
Launched the Weinre host, bounded to my desktop ip adress
(192.168.0.38)
Checked it on Chrome : the host is bounded to
192.68.0.38:8080
Checked that the device is able to access to 192.168.0.38:8080/target/target-script-min.js#anonymous
White-listed both 192.168.0.38:8080 and 192.168.0.38 in config.xml
Added the script call in the index.html
Still the target list remains empty when I launch the app on the device from ADT...
What should I do next?
Thanks!
___ EDIT
I tried the demo, and it's working!
So what makes the difference between calling the script from a demo file, or from the application?
Turns out for me, the problem was that the mobile device silently switched over to another Wi-Fi network (than the one my computer was on), thus rendering the Weinre JS Script unreachable from within the app.
It's different than the issue described above (since, for Yako, the example scripts were working fine), but thought it could help somebody someday.
My issue was that I kept trying to access a page anchor. Apparently that doesn't work too well so I have to load the page first with no anchor, then add the anchor separately.
Finally, it's working!
It seems I only had to wait a little bit after app initalization!??
For all of you who still have to use weinre and have the same problem, I just want to share my mistake:
I did not whitelist my IP-address in the config.xml
maybe some of you have the same mistake.

Best Way to develope android applications?

This is my first post here.i need to know which is the best way to do android application..
I have already working with unity3d for games.now i need to develope some applications in this platform.
i have tried with "ECLIPSE" with ADT plugin.Its taking too much of time to open and install applications in EMULATOR.i'm sitting more than two hours behind my system.still the emulator is not opening,thats why am getting worry about this and asking any other solution for this??
if you know means help me guys...
Thanks for advance.
The fastest way IMHO, it is developing on the real device. But anyway, emulator is needed to perform some checking in different environment (API level, screen density).

TV Remote using a Cellphone

I was wondering if it's possible to build an app which works as a TV remote, I've been googling around but so far all I've found are apps that already do or attempt to do it, but nothing that gives me an idea of how to achieve this. Does anyone know? I want to try and do it for an android phone.
Phones generally don't have IR(infrared) ports, so that isn't much of an option.
you can cling library
its url is mentioned below
http://4thline.org/projects/cling/

Categories

Resources