how to work with web service, json and titanium studio.
I can not extract the data and display it on android emulator.
you have not provided what code you have tried yet. You can have idea from working with JSON data if you still face any problem ,then post your code so for
Related
In our implementation Siebel has been listening to the signalR hub and getting the values whenever it is posted in the server.
But now as the Dotnet SignalR Server is running on JSON supporting files, Siebel is also in need to refer the JSON files to receive the values from server.
Please suggest how we can refer a JSON file from Siebel.
Below are the js files Siebel is referring as of now.
jquery.signalR-2.0.3.min.js
jquery-1.6.4.min.js
we have the following Json files that SignalServer is referring to in dotnet:
Microsoft.AspNet.SignalR.Core.dll
Microsoft.AspNet.SignalR.Core.xml
Newtonsoft.Json.dll
Newtonsoft.Json.xml
My question is can we use the same Xml files mentioned above in Siebel to refer or is there any other approach to achieve the referring part.
I came to know from Siebel team here that it's not doable right now for some reason i don't know why. excuse me I'm not a Siebel resource.
And I called the send method in the SignalR server i created in c# Asp.net from my SignalR VB Client.
Siebel is listening to the Asp.net SignalR server and successfully receiving the input values now from the SignalR Client.
I recently working on a Windows 8.1 App, which was developed with C# and XAML. SharePoint Online is used for Data store.
I searched and found that Wictor solution can be used for Authentication. but the problem is that we can not use Wictor solution [http://www.wictorwilen.se/Post/How-to-do-active-authentication-to-Office-365-and-SharePoint-Online.aspx] directly as it is built upon .Net framework and Metro Apps are built upon .NetCore.
One possible option is to use WCF service and have whole Wictor solution in WCF service then call WCF service from Windows App. I tested it and it is working fine.
However, I wanted to know what would be the best approach available if I don't want to deploy this WCF separately. In future I have to publish this Win App on Windows store.
Any help will be appreciated.
Thanks
I have recently found those two look-alike solutions/IDE for cross-mobile development: Appcelerator and Rhomobile (I know there are more) and I have questions regarding those two platform:
1) I believe the only way to build the view is using HTML, which I like alot the ideas. But, does that mean the application itself isn't available if the mobile is offline?
2) Do you guys know if it's possible to publish the application to the App Store and Google Store?
3) Are there any simulator for different mobile and do they support all those slide/tab events?
4) And finally, are there a way to transfert the App on your mobile phone without having to publish it anywhere.
Please note that I have no knowledge at all about mobile app dev and those two solutions (Appcelerator, Rhomobile) would be perfect for me as I am familiar with Javascript and HTML.
Thank you!
Ok I have only used appcelerator but:
1) a webview is like a browser without the address bar, it simply parses HTML, where it gets it from is up to you. If you write the HTML and pass in a file well then yes it can be offline, if it is used to parse a response from a webpage well then no as it needs to send a http request to the webpage.
As many people seem to mistake (for a reason unknown to me as all the documentation states other wise), appcelerator is not the same as phonegap, appcelerator uses its own javascript based API to allow developers to make native apps, it is NOT a webview wrapper. It is offline by default and allows you to send http requests if you need something online.
2) yes you can publish to the app store and the google store from appcelerator, the documentation walks you through the process.
3) Appcelerator requires you to download either the IOS sdk or Android SDK which come with simulators, appcelerator / the emulators support the standard events found on these devices.
4) With Android to can build a .apk file and distribute however you wish, with IOS the only way is to publish to the app store. the only other way is to make a mobile website instead of an application
My situation: I'm working on a web monitoring dashboard that assembles informations from different applications and sources and generate graphs, info graphics and reports.
The applications I'm trying to integrate are CACTI, Nagios, and other local private monitoring tools. I had no problem to integrate these applications, except for Nagios (I don't have much experience with it).
What I want to know is if there is a way to use Nagios as a Web Service, or something similar, so I can expose some of the informations and use it to generate my own reports on my dashboard application.
Is it possible to do that without any epic effort?
thanks for reading.
Nagios 4.x starting with version 4.4 now includes CGIs for JSON output. Installing the newest version of Nagios might be the easiest way to go.
See the announcement here.
Review the slides from Nagios World Conference 2013 here.
The Check_MK Multisite GUI (Web base GUI using MK Livestatus) offers a web service mode, where you can send queries/commands as URL parameters and get the response as JSON in the body.
The trick is: Create a view in the GUI, which fits your needs. Then extract the URL of that view and add the parameter output_format=json. Now you should have the output in a parsable format.
For example, this URL should give you a JSON list of all services:
check_mk/view.py?view_name=allservices&output_format=json
You can try:
1) MK Livestatus http://mathias-kettner.de/checkmk_livestatus.html
it's not web service but it can give current data without any complicated action. All you need redirect this data.
2)status-json plugin http://exchange.nagios.org/directory/Addons/APIs/JSON/status-2Djson/details which return data in JSON format.
3)NagiosWS plugin but I wasn't able to get to work it yet. I think it can be done for Nagios 2.x
4)GroundWork Foundation plugin. I think I will try use it now.
I was able to get to work 1 and 2 solution now.
Otherwise you can use Icinga which can give you some JSON or XML output. Icinga is fork of Nagios and can be installed with saving all your nagios data and plugins. At least it written on Icinga's site =) They have some other solution like PHP lib.
Sorry, I cannot post only 2 link while I'm newbie on this site.
Best regards.
Worked for me - MK Livestatus http://mathias-kettner.de/checkmk_livestatus.html it's not web service but it can give current data without any complicated action. All you need redirect this data.
I have a GAE+Django app and wanted to port it to Microsoft Azure AppFabric. What would be the best way to do this? It's sort of like a RESTful service with custom output that is neither JSON nor XML. All of the Azure samples force you to output either XML or JSON and I can't seem to find any samples outputting the raw output.
Any help/information will be appreciated. Thanks!
I believe it is possible, I haven't tried.
Here's a Channel 9 video on running Python on Windows Azure:
http://channel9.msdn.com/Shows/Cloud+Cover/Cloud-Cover-Episode-13-Running-Python-the-censored-edition
Yes it is possible. See https://www.windowsazure.com/en-us/develop/other/
Also https://github.com/smarx/pythonrole
So you should even be able to run django.
This is a bit late to the party, but here's a nicely packaged tutorial for running Django on Azure:
https://www.windowsazure.com/en-us/develop/python/tutorials/web-app-with-django/
Note that you can also run Linux instances raw in Azure if the rest of the PaaS isn't to your liking.