[Q] browser - Other Tools & General Discussion

I want to create a mobile browser based platform that can run webapps.
Please can anyone guide me through it ?

It sounds like you can pretty much start with one of the sample apps from Android Studio and drop in a webview. Assuming you want to bundle a webapp with your app, you can just drop the html into your assets directory and load your the asset url into your webview on Activity start. However, if you're not familiar with Android development, it might be a better idea to look around for a tool that does this for you - there are lots of libraries and sample apps out there that will do a lot of the heavy lifting on native apps wrapping fullscreen webviews for you

Related

Does WP7 have API feature parity with Iphone and Android with Mango?

So does WP7 have the API`s to create any APP currently on IPHONE OR ANDROID?? and are features now on the same level??? If not whats missing?? and in what areas is Windows Phone ahead if any?
WP7's current API is missing a lot of stuff, mostly sockets. But all of that is coming with Mango and after that, it will be on really high level of integration and possibilities. And if we take in count also the fact that whole .NET (C#) with XNA framework is super easy and super awesome to code with (compared to Java and C++), I think that WP7 will be the best coding platform in here.
XNA will still be missing custom shaders in Mango, right? That would be big for 3D gaming.
There's still no way to handle files between apps (I.e. you can't and won't be able to write an app that would become a default app for a certain file type).
Other than that, native APIs are missing, which makes some apps outright impossible (browsers, codecs, media players), others expensive because virtually no code cam be reused from other platforms (games, Satnav).
vangrieg said:
There's still no way to handle files between apps (I.e. you can't and won't be able to write an app that would become a default app for a certain file type).
Click to expand...
Click to collapse
Are you sure about this one? In one of the demo videos, they showed an example of trying to open a PDF file from SkyDrive, and it knew to go to the Marketplace to get the Adobe reader app. And if I remember correctly, they mentioned that the same capability would exist for at least some other file types.
RoboDad said:
Are you sure about this one? In one of the demo videos, they showed an example of trying to open a PDF file from SkyDrive, and it knew to go to the Marketplace to get the Adobe reader app. And if I remember correctly, they mentioned that the same capability would exist for at least some other file types.
Click to expand...
Click to collapse
This is nothing new for PDF. For other file types, I simply see no references in dev tools or on MSDN. If you want to register your app as a filetype handler, you need to have APIs for, say, IE to pass a file to your app, and the capability needs to be declared in a manifest file or something. It's nowhere to be found as far as I see.

Google API for Java

I'm relatively new to programming and am currently learning Java.
Google provides their API in Java for their various products. I downloaded it, followed the instructions to use ANT to get it all ready to go, but I'm stuck on how to actually start using it. I can't get their libraries to import into my programs using the JVM compiler. It just says a bunch of, "that package doesn't exist", and things of that nature. I can't even get Google's sample code to load any of the API packages.
How does one actually use the API once it's all extracted and in the C:\Program Files\Java\gdata folder? Can I not use the JVM compiler? I had to use ANT to set it all up... does that mean I have to somehow use ANT to use the API? I'm a little confused.
If somebody could write up a step-by-step on how to start using the API, that would be so awesome.
thesecondsfade said:
I'm relatively new to programming and am currently learning Java.
Google provides their API in Java for their various products. I downloaded it, followed the instructions to use ANT to get it all ready to go, but I'm stuck on how to actually start using it. I can't get their libraries to import into my programs using the JVM compiler. It just says a bunch of, "that package doesn't exist", and things of that nature. I can't even get Google's sample code to load any of the API packages.
How does one actually use the API once it's all extracted and in the C:\Program Files\Java\gdata folder? Can I not use the JVM compiler? I had to use ANT to set it all up... does that mean I have to somehow use ANT to use the API? I'm a little confused.
If somebody could write up a step-by-step on how to start using the API, that would be so awesome.
Click to expand...
Click to collapse
Judging from your post, you seem to be referring to the GData APIs. It's worth noting that Google is pushing Google APIs Client Library for Java for all new Google JSON APIs.
These APIs + samples are built with Maven2 and are pretty easy to setup.
Also judging from your post, you might want to get up to speed with basic java stuff like project setup in your IDE (Eclipse / IntelliJ ?), Build tools (Maven / ANT). Learn those things first before getting into the Google APIs. Go to the maven site and see how you can build a simple project. See how to import that project in Eclipse, and checkout the Maven plugin for Eclipse.
Most of the samples for Google APIs Client Library for Java (ex: The Books API Sample) provide step by step instructions on how to get things up and running (starting with checking out the code from the google versioning control to building it and running the sample on your environment).
Hijacking this threat a bit, but I'm also learning about APIs, Facebook and Twitter in particular.
With regard to android and java, I've done the tutorial for logging into facebook and posting basic status update but don't really understand the code; which parts are the API?
Really appreciate it if you could point me to another thread or site that explains how to use the API. I'm stuck on how to create a method that does event creation for facebook.
Thanks in advance!

[Q] android live wallpaper with webview

Im using eclipse and phonegap (hope thats not a bad combo) and I can successfully get the html page to show on my phone.
What I want to do next, is use webview as a screensaver, and point the screensaver to my own html file on the device.
Can someone give me some tips for the manifest and xml docs, I'd really appreciate it.
Thanks!

Developing Android apps using MoSync and HTML

I'd like to share a very easy way to rapidly create reasonably sophisticated android phone apps using a simple technique I've been working on. The short version: I'm importing complete HTML websites into an open source android IDE and compiling them into .apk's. The resulting apps look good and perform well.
Here's the basic technique:
1: Download and install the free MoSync SDK.
2:Open up your HTML editor and create a multipage website, scaled to phone screen dimensions. Feel free to include phone numbers, links and so on. compile and save it somewhere.
3: Go to the MoSync project folder you're working with, and replace the contents of the "LocalFiles" folder with the copied contents of your compiled website. Be sure to copy all the folders and files from your site over. Once you have done this, either reopen or refresh the conents of the folder in MoSync.
4. Connect your phone ( you can also run in emulation ) and locate it within MoSync, then compile and send the app over. It will install and launch.
... that's really about it. The only thing I've seen so far is that the over apk size can't be larger than 5MB's or so without the phone refusing to launch the app. Your mileage may vary, but this technique is great for folks like me that have solid HTML experience but are somewhat new to Android development and would like to create something simple but functional while they aquire the new Android skills. Hope this was helpful!

Another on device development option : Exoskeleton

So we have various forms on on-device .net development, node.js, powershell, and many other ported languages for software development, so I figured I would offer another. This is meant mainly for web developers with html/javascript experience.
Exoskeleton is a wrapper around a web page to allow it to reach out and use operating system functionality. It's exposes a .net object to a webbrowser control embedded in the 'shell' container so that the web page can call out to the shell for functionality. So it is .net + Internet Explorer in a way that emulates the integration you find in other shells like Node/Webkit or atom/electron. It is currently very basic, though.
9/4/17 :
This program has been rewritten, see the below post for information on downloading the new 0.3 version.
I decided to revisit this application and completely rewrote it to be more useful, with a much more extensive API and configuration. Exoskeleton is a native web app hosting framwork that exposes an API into its hosted Internet Explorer WebBrowser control via a COM Visible object hierarchy. It is similar to node-webkit except with .NET and IE 11. So its a windows container for an ie 11 rendering view, exposing its javascript engine a COM object hierarchy for native .net functionality. It is accompanied by a javascript library (exoskeleton.js, included) which acts as a wrapper to this com object and makes interfacing with it, more 'javascript-friendly'.
This project and its API will be enhanced over time, but if you are a javascript programmer and wish to explore the current API available as of version 0.3, you can view the online documentation (for the javascript library) here :
Exoskeleton.js API documentation
The binaries download link below includes exoskeleton shell, exoskeleton.js javascript library, and several examples applications, one of which is an "interactive console" which is an exoskeleton app itself.
See attached screenshot of this console
This works equally well on desktop PCs as your windows rt tablet.
In case anyone else here might also be interested in this, I have added a github project where you can download or monitor this along with prebuild binaries download for this first releasable 0.3 version. The 'prebuilt binaries' downloads will be signed apps now and in the future, so all you need to do is unblock the downloaded zip file and extract it to use.
Relevant Links :
Exoskeleton : Main Github page
Exoskeleton : Releases Github page (for monitoring future releases)
Download Exoskeleton Prebuilt 0.3 binaries

Categories

Resources