Develop Mobile Web app using Dojox - dojo

I am new to Dojo. Dojo provides a way to develop Web app for mobiles.
Just I want to create Hello world app with Dojo.
Any one help me????

look at this resources, i think it will be helpful
Dojox.mobile test pages - Several samples showing how to use various features of dojox.mobile.
Dojox.mobile Documentation
API Reference for dojox.mobile
Instructions for installing and configuring the Android Device Emulator. You can use the emulator to test the application if you don't have access to an Android device.
Visit the Safari Reference Guide or tips on building web applications on the iPhone

Related

which mobile app framework supports konva

I understand at the current moment, react-konva is not supported in React Native environment; however, wondering if vue-konva supports mobile app?
Or if you can suggest me a way to migrate konva canvas content to an android app?
Appreciate your response.
Konva, react-konva and vue-konva are designed to work on the web environment. The "web enviroment" usually means just web browsers like Chrome, Firefox, Safari.
There are platforms to build mobile apps with web technologies. Probably the most popular one is PhoneGap (or Cardova).
To use Konva in the mobile app you have to use such a platform and make a full app with web technologies or just open a web-view (built-in browser) for Konva part.

How to Launch/Open any other external app from hybrid app? [duplicate]

I have a requirement to open the native version of the hybrid app (.ipa/.apk/.appx) when the hybrid app is requested in a device browser.
I am able to detect the environment using WL.Client.getEnvironment(); method, if it is found to be Android/iPad, I want to launch the respective .apk/.ipa file in the device. Any help is appreciated.
Re-reading this question and the comments several times... I still do not understand the actual scenario... it'd be best to rephrase it.
Scenario: How to open an app from the web browser:
If you have added the following environments to your Worklight application:
Mobile Web
Android
iPhone
And when visiting the Mobile Web version of your app, you want to display a message like "For the full experience, open the full application by clicking here".
Then:
It is implied that the user already has the application installed.
If it is not installed, you need to take care of that somehow
The way to handle this scenario is to use URI schemas:
For Android: How to implement my very own URI scheme on Android
This means that after adding the custom URI schema to AndroidManifest.xml, you could then detect the device OS the Mobile Web app is currently running on and display a custom link: myapp://<the URI schema you've defined>. Tapping it will open the app installed on the device.
For iOS, in a similar fashion: https://coderwall.com/p/mtjaeq
Also see: http://wiki.akosma.com/IPhone_URL_Schemes
Alternate solution: If you are not sure if the app will be installed or not, then instead of using URI schemas you can always point to either Google Play or Apple App Store, to the app page; the user will then have either a "Open" or "Install" link.
Scenario: How to open an app from my own app
If you have a Worklight Hybrid application (Mobile Web is not a Hybrid application), and you want to open another application from within it, you can:
Use the same approach of URI schemas, or
Use Cordova plug-ins
I have created this Worklight 6.1.0 project to demonstrate:
Android - How to open, for example, the Android Settings app from your Worklight Hybrid app
iOS - How to check if Waze is installed and open it, and if it is not installed then to open Apple Maps instead.
See instructions.txt in the apps\test folder.
Are you asking that if the user via their device browser hits the webapp version of your app on the internet, the website will ask the user to fire up the native app on their device? kind of like what ebay does?
if that is what you want check out these pages
android:Launch custom android application from android browser
IOS:
iPhone - Open Application from Web Page

Is Sencha UI and SenchaTouch only meant for web applications accessed from device or for native apps too?'

As I am new to PhoneGap and SenchaTouch I want to know the basic information . I understand that sencha Touch is only for web applications accessed from device. I am correct Please clarify my doubt that is 'Is Sencha UI and SenchaTouch only meant for web applications accessed from device or for native apps too?'
Thank you
Lakshmi
Sencha touch is a web toolkit, provides API to create interface looks similar to Native UI. But, however it is still a web application with a native look. However, if you want to crate the native packaging (application build) and if you want to access the device hardware features like camera, sensor then you can go for PhoneGap. PhoneGap can warp the HTML and JavaScript code and helps you to generate native builds for each platforms.

How to develop apps using PhoneGap or AdobeAir?

I'm trying to understand how programs like PhoneGap and Adobe Air work, that allow you to 'write once and run anywhere' on mobile platforms. The way I understand it now is that you build your application as a web app using either HTML5, or flash, or I don't know what, and it takes in those files and converts them to the proper types for each mobile OS. Assuming this is correct, what I would like to know is, what the options for developing web apps that are able to be converted into apps are; and what the most popular platforms to use/learn flash, or html5, or JavaScript, or I have no idea what are.
I want to build a web app to deploy across multiple phone platforms, but I don't know where to start. Thanks for the help!
You use tools like PhoneGap to access native device API's through JavaScript. If you don't need access to these API's you can write a HTML5 app and install it using "Add to home screen" etc.
As HTML5 matures, more and more of the device API's are actually directly available through HTML5 (for instance GPS), so depending on what you want to do access it might be in/scheduled to be part of the Device API.
Write once and run anywhere
There are different frameworks that lets you deploy to multiple platforms through the device specific install process. These tools usually work in 2 ways. Run in an embedded browser, or compile to native code.
PhoneGap runs the HTML5 part of your app in an embedded browser. Other tools like MonoTouch actually cross-compiles to native code, so they run on the bare metal.
Cross platform using HTML5
There are plenty of frameworks you can use to make mobile apps with HTML5. These usually help make the app "feel native", and includes abstractions over device specific idioms that differ between the different devices.
Popular frameworks includes Sencha Touch, JQuery Mobile and a bunch of others.
If you want the users to install the app through the AppStore/Market etc. then a solution like PhoneGap is a good option. If you don't care about that you can write your app and add a meta tag like
<meta name="apple-mobile-web-app-capable" content="yes">
and when you add it to the home screen it'll look just like any other app and run in an embedded browser without the browser window etc. You can add offline capabilities using HTML5 and synch when users go on-line etc. all just using HTML5.
Have a look at the Sencha touch app gallery to see what is possible with this technology.

Appcelerator Titanium: How to enable Mobile Web App development?

So I'm getting started using the Appcelerator Titanium Mobile framework. I wanted to try out the ability to deploy a mobile web app. However, I can't find any documentation on it. I just installed Titanium Studio and created a new project, but the "deploy to mobile web" checkbox was disabled. There was also a message that said "incompatible Mobile SDK for the Mobile Web support" even though I have the latest version (1.7.2).
What do I need to do in order to enable this feature and get started using Titanium for mobile web app development?
Update:
I found the link to the Titanium Mobile Web documentation.
Turns out the Mobile Web feature is still in beta, which means it's currently only available to paying customers. So I signed up for the indie subscription since it includes a 30-day free trial. I have tried restarting, signing out and signing back in and Titanium Studio still doesn't give me the option to deploy to Mobile Web. What do I need to do now?
I found some additional information on the Titanium Mobile Web SDK. The reason it doesn't work with Titanium Mobile 1.7.2 is because it doesn't come bundled with Titanium Mobile 1.7.2. You have to download the 1.7.0 RC1 SDK from their Amazon S3 account and manually add it. The link above explains how to do it. I couldn't figure out how to to deploy to an emulator, which kind of defeated the purpose. Also, deploying to Firefox does not work, so don't even try. It only works in Safari and Chrome.