I want to make android and iOS application, whitch use square API.
How can i do this using appcelerator titanium?
Check out this Android square module https://github.com/causelabs/Appcelerator-Square-Module
Related
Say I build a super mobile friendly web application that I want in the Play Store for Android users to be able to download.
Could I use Xamarin to:
Wrap the entire mobile app as a single WebView
Register for mobile push notifications
Essentially shortlining an MVP of an android app by using an existing web app? If so, is there any well-known process or documentation that demonstrates this?
Probably the best approach for you would be using Xamarin Forms with one or more pages containing only web views.
I don't love Xamarin Forms because usually for me Xamarin Android+iOS gives a better result in similar time, but your app would be so simple that doesn't make sense to do it with Xamarin Android.
Make sure that your web app will show only what makes sense to be shown in your app, otherwise you risk to see double header/footer, useless buttons... but if the website is yours adding a few parameters to change a bit the UI won't be a problem I guess.
Have a look at this example:
https://github.com/xamarin/xamarin-forms-samples/tree/master/WorkingWithWebview
Another approach is the use of Razor to build your pages in html directly inside your app, but if I understood well it's not what you need:
https://developer.xamarin.com/guides/cross-platform/advanced/razor_html_templates/
Although it is technically possible to do this as the previous answer has suggested. I would recommended firstly reviewing, the relevant stores guidelines on submissions. Apple for example will not allow a submission to their store of any application that simply mirrors the functionality of a website. I suspect Google's would likely be the same.
However that said, to answer your question, Xamarin.Forms would be appropriate for a simple application like the one you are suggesting. Or if you prefer to build to a specific OS, then in iOS with Xamarin you would use the Safari View Controller that was added in it's xcode 8.1 release. Android uses something similar as does windows.
EDIT:
You can use the Web View control in Xamarins Andorid native PCL project to encapsulate your mobile friendly website within an application here is the documentation:
Xamarin Android Developer link to Android Web View
As for push notifications, yes this is perfectly possible using Xamarin.Android. and varies on implementation depending on what you want to use as the back end to handle them, I.E. Azure's notification hub etc.
I am using titanium SDK 5.0.0.GA.I have lot of map annonation on mapview.I want to load all annonation on mapview and display it as per map zoom level.I know there is one way for doing that is cluster map but I am not sure how to achieve this in android using titanium framework.
Look at Google map clustering in android
Thanks
There is a JavaScript-based library called Ti.MarkerManager to hide pins in certain zoom-levels. Unfortunately, at least iOS does not offer Clustering in their native MKMapView, yet. The Android-part could be implemented as a new feature in Ti.Map Android.
I want to make an app in Appcelerator that can change the time of your phone, but I dont know the code to let it change because I am new to Appcelerator.
Thanks!
If it’s possible in the underlying phone SDK (iOS I believe has a public API for this) then yes you could achieve this using the new Hyperloop module, currently in beta and released later this month — this would allow you access the underlying SDK directly via JS in your Ti SDK project.
I have an app that captures photos, add some additional details and send the images to my server that is currently used in an enterprise setup. I would like to add DJI Framework so the images captures thru the drone (thinking of Phantom 3) go thru the same workflow.
I DO NOT want the user to use 2 different apps (DJI GO to control the drone and capture photos) and our custom app to (import from DJI) and upload the photos to server. Would rather have everything as part of my custom App.
In the DJI SDK, most of the features are supported in the framework. Also, there is a sample app which is involved in the framework. I suggest to go through the code and find out which feature you want to use and implement in your app. Technically, you could implement you own 'DJI Go App' except some of features which require respond from DJI Sever.
You are trying to make custom image manipulation after recording the images from DJI drone
Following are the steps you have to consider for the app
Use DJI SDK for image capture
After capturing the image is finished then manipulate the images using OpenCV framework.
Post the data to server
You can also follow tutorial provided by them:
https://developer.dji.com/mobile-sdk/documentation/ios-tutorials/PanoDemo.html
I am very new to developing using the Android NDK, and I would like to know, what is the easiest way to get coordinates from a tap event using the Android NDK? I think I have to include the input.h header and use one or more of the AInputEvent methods. Could anyone help me here? I am just getting started, so I don't have any code as of other than the base Java and C++ code required for an NDK project.