I am trying to create an application that can record phone conversation, it can record incoming and outcoming call
I use Appcelerator to implement this app
I have read document in Appcelerator but can not find class/module/function or something like that can support record phone conversation
Can i implement this app use Appcelerator/Titanium or must use native code ?
Who have any suggestion for this question ?
This requirement is not possible to be implemented with Appcelerator SDK along. You need to write modules (native code) for it and plugin into Appcelerator code.
Related
I am working on a simple mobile app with Angular and NativeScript. I can't seem to understand the difference between using an Angular service to share information between components and using NativeScript's applications-settings. They both seem to do very similar things.
I started using a service to store information such as userId, username, phoneNumber, name, jobTitle, etc., which get retrieved in most of the components I am using. That is working fine; however, I just discovered that I could do the same with the application-settings module.
When should I use a service and when should I use application-settings? What is the most efficient approach?
Angular Services save data in the application life cycle, it means if you close the app, the data will not exist anymore.
But if you want to save data and use them whenever you want to open the app, you can use application-settings. It's actually a native module. The module uses SharedPreferences on Android and NSUserDefaults on iOS. It's something like localStorage on the web.
I'm using ionic/cordova to build an app and I've chosen Parse to handle Push Notifications. It works well on iOS and Anrdoid, but it won't work on WP 8.1.
I know 8.1 is not officially supported by Parse. Is there anyway I could still use it? Like with an C# plugin I could write myself?
Are there any other push services I could use for WP 8.1? Probably with a REST API?
I'm not familiar with Parse but you said a REST API would be fine. In this case the easiest approach would be an Azure Mobile Service. Depending on the number of push notifications Mobile Services and Notifications Hubs are even free.
Here is what you have to do:
Create a free Azure Account
Create a Mobile Service (I am using .Net but you can also use JavaScript for the "backend")
Open your Mobile Service in Visual Studio and create a new "custom api". Here is a step by step tutorial on how to do this: CustomAPIs - Azure
You now have a REST API that you can call form your server.
To send your push notification just use something along the lines of this in your custom api and you are ready to go Add push notifications - Azure:
var hub = NotificationHubClient.CreateClientFromConnectionString("YOUR_NOTIFICATIONHUB_ENDPOINT", "YOUR_NOTIFICATIONHUB_NAME");
notification = #"<?xml version=""1.0"" encoding=""utf-8""?>" +
#"<toast><visual><binding template=""ToastText01"">" +
#"<text id=""1>YOUR TEXT</text>" +
#"</binding></visual></toast>";
await hub.SendWindowsNativeNotificationAsync(notification, tags);
With tags you can specify who receives the notifications. Use the tags as UserIds to send targeted notifications.
The push service I use for WP 8.1 (and iOS and Android too) is Azure mobile services. Their push notification hub makes it really simple on the backend to support all three platforms without issue. On the client side they have an Azure plugin that uses the existing Phonegap Push plugin.
I know 8.1 is not officially supported by Parse. Is there anyway I could still use it? Like with an C# plugin I could write myself?
You can just include WinRT libraries in Windows Phone 8.1 project. It's works perfectly!
Am using sinch sdk to create a chat application in my app. It is a group chat app without one to one messages. How do I intergrate sharing multimedia data like videos, audio or photos in my app using sinch?
The sinch SDK is really good at 1on1 messaging, to do broadcast messages one to many is not really what the SDK is designed for. I would look at other solutions like Parse and Layer
According to Sinch! the feature of sending media messages has not been released yet, therefore it only means that you are allowed to send text messages only.
Since, i am also working on a chat kinda thing using Sinch, you might wanna know that a group here can have a max. Of 10 people added to it, so keep that in mind while developing.☺
I would like to serve ads in an Android application though AdMob mediation from a third party network. This particular ad network is not listed under the AdMob mediation networks. Is there a way to do this? They have provided me with a tag that is basically a small piece of javascript code. Could this be done using AdMob custom events? If so, is there an example on how to implement this?
Yes, custom events can be used to support your requirements.
See https://developers.google.com/mobile-ads-sdk/docs/admob/android/custom-events
And https://github.com/googleads/googleads-mobile-plugins/tree/master/mediation_adapter/src/com/google/ads/mediation/sample/customevent
Essentially when the CustomEvent is called you need to populate a View with the ad from the 3rd party network using whatever mechanic they provide you with.
I have been developing in Windows Phone 8 for a couple of months. Currently, I am developing an app that consume some XML to show data. I know how the Toast notification works in WP8, however my doubt is about the following:
In the App I am working on, I would like to implement a kind of Toast Notification when a new data is available (from the source where the XML is extracted). So, is it possible? If so, how to implement it in WP8?
I don't know if you are familiar with the App of dictionary.com. In that App, there is an option to enable the notification for the word of the day. So, every day I recieve a different word in english. When I click in the notification I can see it's meaning.
Any clue, link, post, code or suggestion would be very appreciate
Thanks in advance
Regards!
There can be many ways. My idea will be to use Azure Mobile Services. To explain, let me take same fictitious Dictionary.com example. The WP app will be bound to Azure Mobile Service and it will show all the words fetched from that service. Whenever, I add a new word to this service, using Push Notifications, it will send notification to all my users who've installed Dictionary.com app, stating new word is added.
You can find more information here: click here