Test-Driven Development (TDD) using Xamarin and StackMob? - android

I am interested in using StackMob as my BeAAS on a project using Xamarin to create an Android and IOS version of my mobile app. I am using the StackMob.NET solution from
https://github.com/ermau/StackMob.NET.
I was successful at running the demo from the Android emulator however, I am unable to make successful contact to StackMob via NUnit (Visual Studio or Xamarin Suite).
Is this because I am not attempting a connection from within a mobile View? Or is it possible to create test methods that can connect to StackMob?
Also, has anyone tried integrating StackMob with Xamarin or .Net?

Related

Can i setup iOS and android builds in AWS?

I need to build iOS and android packages for this I'm using xCode And android studio
my question is, can it be done automatically remotely using AWS service of some kind?
Possible for Android
https://aws.amazon.com/blogs/mobile/automatically-build-your-android-app-with-aws-codebuild/
For iOS, you are better off with automating the builds using CodePipeline and Jenkins.
https://aws.amazon.com/blogs/devops/building-and-testing-ios-and-ipados-apps-with-aws-devops-and-mobile-services/

SignalR events not coming in Android app built with TFS

I am using SignalR for one of my android projects.
The same project source control is under TFS (Team Foundation Server).
I integrated SignalR as mentioned in this answer Steps to get SignalR working in Android Studio
When I build the app using Android Studio, SignalR events are coming in the app.
But when I build the app using TFS build system, the events are not coming in the app. Though I am getting logs in the TFS debug build that the connection is success. Events logs are not coming.
What I tried:
I tried replacing the signalr-client-sdk-android-release.jar with locally built aar. But the result is same.
What am I missing?

Android App Crash: Running demo NaCl app (pexe app) on mobile using Apache Cordova

I'm trying to run a Chrome App on Android Mobile using the instructions from:
developer.chrome.com/apps/chrome_apps_on_mobile
From above URL, I could run the calculator app fine in Android Emulator 5.0.1 fine. No issues.
github.com/GoogleChrome/chrome-app-samples/tree/master/samples/calculator
Chrome App Calculator on Android Screenshot
Then I tried running the "Native Client" App on Desktop from example api directory of nacl_sdk:
developer.chrome.com/native-client/sdk/download
nacl_sdk comes with few examples including demo and core api examples. All examples works fine on Desktop. Out of them I took 'file_io' api example which runs fine after compiling (make). I took that folder and used the following command to create cca cordova app:
cca create FileApp --copy-from=/path/to/file_io/manifest.json
Then cd to FileApp and cca prepare
After that ran Android eumlate command:
cca run android --target=avd5
It processed everything fine, and I see no errors building this cordova app like calculator app. But, after 'LAUNCH SUCCESS' when the app launched the Android emulator crashed. The emulator windows closed.
I started the Android Emulator from AVD Manager, and after booting up Android I tried starting the 'File I/O' app, which in result showed me the message
"Unfortunately, File I/O has stopped." Screenshot
Does that mean the PNaCl/NaCl apps still are not supported on Android OS?
The NaCl app contains the .pexe file.
Is there any step in between I could be missing?
I'd really appreciate any help in this regard to test if I could run Native Client Apps on Android OS just like the Chrome Mobile Apps using Apache Cordova examples work.
Native Client (NaCl) isn't supported in Chrome for Android (and by implication the Chrome/Chromium based WebView).
See: http://developer.chrome.com/multidevice/faq
Q: Does Native Client work on Chrome for Android?
A: It does not, and we have no plans to announce at this time.
But then the OP read at: https://github.com/MobileChromeApps/mobile-chrome-apps/blob/master/docs/faq.md#is-nacl--pnacl-supported
Q: Is NaCl/PNaCl supported [in Cordova]?
A: No. However, you can still compile and use native code
by writing a custom Cordova plugin.
And unfortunately the word native is an overloaded word with different meanings depending on context, so the OP started asking about the Android Native Development Kit (NDK).
The Android NDK which uses Java Native Interface (JNI) for C/C++ code to communicate with the Android Java framework. Typically Android apps only use the NDK if there is need to port existing C/C++ libraries or have a computational performance requirement like physics modeling or image processing.
When Cordova is referring to 'native code' its referring to code written in Android Java which would need to be bridged via a Cordova plugin to the JavaScript side.
And of course why to use any of the above frameworks/APIs depends on what the OP wants to do.

jade android for native application

I'm looking for a way to develop a native android application ( with no server to run agents in ) . Is there a way to run an agent inside android and not like the jade fpr android tutorial chat application , where the platform is installed on server ?
Consider another Java-based agent platform such as Janus, where you can deploy and run agents without the need for a central server/container.
See this page: First Janus on Android Tutorial

Android project in "Titanium Studio"

Can we able to start an Android project in "Titanium Studio". I am using the free version of this software. If Titanium Studio is good for Android development what are the main points. How to run the application.
Yes, you can start an Android project in the free version of Titanium Studio. You can also start an iOS project.
When you develop in Titanium, your code is in JavaScript and you use special Titanium functions and objects to access the Android or iOS device. Some advantages are that if you know JavaScript you can code for Android and iOS without having to learn Java or objective-C and most of your code will be reusable if you want to later deploy your app on iOS. Some disadvantages are that there are bugs in Titanium that make some functions behave differently in Android and iOS. Also, if smart phones were to add a new device function you won't be able to access it until Titanium added that function. You give up some control for easier multiplatform deployment.
Titanium's Quick Start guide will show you what you need to do to setup your computer for Android and iOS development: http://docs.appcelerator.com/titanium/2.0/#!/guide/Quick_Start

Categories

Resources