Appcelerator Titanium: How to enable Mobile Web App development? - titanium

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.

Related

Using AWS for android and iphone applications

I'm trying to set up environments for my companies iphone, android, and web applications. Is AWS compatible to use if it is coded in Obj-C and the android app is in javascript but not react?
You can check this link
https://aws.amazon.com/mobile/resources/
For ios sdk on github
https://github.com/aws/aws-sdk-ios
And javascript sdk is
https://aws.amazon.com/documentation/sdk-for-javascript/
Getting started dev guide :
https://docs.aws.amazon.com/aws-mobile/latest/developerguide/getting-started.html
PS:You should always secure credentials for making these

Facebook messenger heads popup

In my application I'm trying to implement a popup which will be overlay on other applications. I did it by adding this permission SYSTEM_ALERT_WINDOW in the manifest. It works fine, but on Android 6 I know that I need to request on runtime a permission to "Draw over other apps".
I entered to this settings in my phone and saw that Facebook, Messenger, Skyoe and other apps are allowed to draw over other apps without asking this permission during the installation process (on android 6) and was wondering how can I do that? is targeting to sdk version below 22 will solved this? if so, is there another solution instead of targeting to a lower sdk version?
for example, I uninstalled the facebook messenger application, and install it again, just opened it without completing the registration process, then I opened the settings and clicked on "Draw over other apps" and it was automatically set to "Yes" means that the messneger app can draw over other applications.

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

To implement GCM requires the Google Play APK needs to be installed will restrict the number of user to use our android app?

GCM features is added with the Google Services. While developing android application to use the GCM the device require to have Google APK installed.
And I heard that some of the devices not having the Play Store APK or there is no support for GCM. The devices like Amazon Fire phone, xiaomi and all.
I want to develop an app to support all the user. Is not like the user having installed Play Store APK can use our application.
I thought of using pubnub. I don't know whether this is an right alternative. Because I am not finding any other way to overcome this issue.
Please help me on this.
Thanks in advance.

Develop Mobile Web app using Dojox

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