adobe AIR app and bluetooth - apache-flex

I want to build a adobe Air application that sends an image to a mobile phone via bluetooth.
Do you know of a framework or library to do that directly or indirectly? I mean using only flex or do I have to use another language also, such as java?
any hints are welcome
thanks in advance
thodoris

Hey Thodoris. You'll probably have to use merapi + a bluetooth api built on java.
I'm not sure if it is part of the community, but I heard recently that the framework has been ported to c#.
There are certainly other options as well. For example, there is a way to deploy weborb with your AIR install. Then, with the instance of a java or iis 'server' running client-side, you can invoke java or .net methods through a localhost "amfEndpoint".
I hope those couple of options help. Best of luck. --jeremy

Related

cross-compile ASP.NET website to desktop?

Is there a way to cross-compile or port an ASP.NET based webpage to a native Windows GUI?
I am developing a web app, with an ASP.NET webservice doing much of the grunt work, and an ASP.NET webpage as the GUI. I would like to also offer an "offline" version of the app that doesn't require teaching random people how to manage IIS. Some of my target users will not have internet access consistently when they want to use the app; also, I like not having to rely on an active web connection myself because I'm an old fogey and this web 2.0 stuff is just a fad, right?
The core of the app logic is a library that is disassociated from everything else - the service just provides an API (which I want publicly available for others to use), and that I use for my own app. I could go ahead and design a new GUI in WPF or WinForms, import my libraries and there you go, but I'm lazy enough that I'm curious if there's an automated solution. Or even a semi-automated solution.
If I can target not-Windows as well, that would be nice. I already have a console interface that I used in development of the core library that directly accesses them, which I'm still testing but should relatively easy to make work in WINE but if I can offer more support for offline use to non-Windows users I'd feel better.
You could run that web application on .NET Core in a self-hosted way. That way you get the full IIS feature set and there is no need for the user to configure anything.
You can then use a WebBrowser control to show the application as a GUI app, or just open the web site in the users installed browser.
.NET Core runs on non-Windows as well.

using iOS(iPhone Operating System) APIs in my asp.net mvc3 applicaton?

I wanna use iOS APIs in my web application.Is it possible?
any example?
Actually I wanna use sound notifications for my web application on iPhone.
Give me suggestions.
thanks
Abdullah
No, it's not possible. The iOS API is for native applications, not web applications.
Your best bet would be to research how to leverage the HTML5 sound features to achieve what you want. Doing so comes with the added benefit that your app will be compatible with non-iOS devices as well.

which is better for desktop application?

i'm new to creating desktop applications. I've a working site in php with mysql support. I want to convert this site into a desktop application. Is Adobe AIR or Adobe Flex better?
can i use php as such in both AIR and Flex? or should i convert them to xml or something which it uses?
AIR is Flex on the desktop... So... I suppose you mean whether you can use AIR with PHP? AIR/Flex should be able to handle whatever communication protocol you're using on the server.
Saying 'should i convert them to xml or something' is a bit nebulous.
I guess what you really asking is: Should I rewrite my application entirely in Adobe technologies or Can I/Should I integrate it with my existing PHP code.
I would recommend you expose the existing PHP functionality as RESTful web services and redo the user interface in Adobe AIR. That way you can leverage the existing site to make the desktop application. There is a ton of information of building applications like this, just research REST, SOA (service oriented architecture), SAAS (Software as a Service).
Adobe AIR/Flex is fine, especially if you want it to work on multiple operating systems, but the Application won't necessary have the looking and feel of its host desktop environment.
Adobe AIR is a runtime that adds to the capabilities of Adobe Flash Player to allow the creation of desktop applications.
Adobe Flex is a framework to build rich user interfaces. Flex applications are supported both in Flash Player and AIR.
This cannot be a question of one or the other. Flex can be used together with AIR. If you want a desktop app that allows you to use Adobe's Flash Platform technologies, definitely use AIR. If you want a set of pre-built UI controls to use in that AIR app, use Flex too!
You can communicate with PHP on your server in both Flash Player and AIR. PHP cannot be run directly in AIR. If you want the application to be entirely self-contained with no server, then you can't use PHP.

What is the best VOIP toolset for use with .Net development?

I have a need to explore VOIP integration into a .Net application. It would be incredibly helpful if the toolset was usable via ASP.Net (version 2.0 or higher), and provided the developer the option to allow interaction on the client either embedded within the web browser or external to the client web browser. It should be compatible at a minimum with Internet Explorer, but would be better if browser independence were an option.
I don't really understand your question -- what are you trying to DO with VoIP? Since you mentioned ASP.NET I'm guessing you mean some kind of server app? If you explain more about what you want to do, we can give you better advice.
You could check out Microsoft's Speech stuff: http://www.microsoft.com/speech/speech2007/default.mspx. As I understand it, Speech Server was moved into being part of OCS. I remember that it supported using .NET 3.0's Workflow Foundation as well as some multi-modal stuff with ASP.NET.
FreeSWITCH is a flexible VoIP system that works for both large-scale server implementations as well as embedded scenarios (say as an ActiveX softphone). There is full .NET and Mono support via mod_managed. (This allows you to create voice applications in FreeSWITCH using any .NET language.) There's also an XML-based API that allows you to send and receive events to control a remote FS server. You could use this from ASP.NET. FreeSWITCH is very active in #freeswitch#irc.freenode.net so you can get a lot of advice there.

Do I have to use J2ME for Blackberry development?

I would like to begin developing for the Blackberry platform and, specifically, the Bold and also the Storm device which is coming out soon. Do I need to get into Java and J2ME or can I develop sites in ASP.NET and just keep utilizing the skills I already have?
I am completely new to mobile platform development and have no idea what it will take to target these Blackberry devices. I am hoping to continue to use my ASP skills.
To develop Blackberry Applications that are full-featured, have acceptable performance, and look nice, you need to use the RIM native apis.
You can use J2ME applications, but they typically don't mesh well with a full-keyboarded device.
And, of course, web apps will look even worse than that.
This question might help you. "Creating a mini-site in asp.NET that works on blackberry, Windows Mobile, and iPhone"
Are you talking about websites (because you say "develop sites in ASP.NET") or native Blackberry applications (because you say "developing for the Blackberry platform")?
Applications which run on the Blackberry use J2ME. If your application is accessed from a browser on the Blackberry, then it's the server the web app runs on that determines the language, not that it's being accessed from the Blackberry browser.
Then there's Blackberry MDS for integration with enterprise apps. I don't know much about this (never used it or seen an application that uses it) but it's described here: http://na.blackberry.com/eng/services/mobile.jsp
Paul
If you are just doing web development, you don't need to know J2ME for Blackberry. J2ME is a supported JAVA framework for device specific applications. You just need to be familiar with HTML rendering for mobile devices
Assuming that you are building a web app that you intend to be loaded by a Blackberry browser, I suggest building mobile specific pages that are cross compatible across many devices types and configurations.
Look at the Blackberry Browser Development Guides which offer suggestions/best-practices for mobile web development that can applied to all of mobile web development.
Please read this https://web.archive.org/web/20150107061257/https://www.oracle.com/technetwork/systems/index-139239.html
It talks about how one application should not mix RIM UI API calls with CLDC and MIDP API calls.
Ofcourse, I have to mention also that that link is really dated.

Resources