how to do multitasking application in ios 4.0 - ios4

i am having application running on os3.0 i need to adopt this for ios4.0 wat are the major things i hav to take care...
how can i do existing application compatable to multitasking?

It's all in Apple's developer documentation.
http://developer.apple.com/iphone/library/documentation/iPhone/Conceptual/iPhoneOSProgrammingGuide/BackgroundExecution/BackgroundExecution.html

Related

Can WPF applications be run in Linux or Mac with .Net Core 3?

Microsoft announced .NET Core 3 comes with WPF and Windows Forms. So can I create a desktop application for Linux or Mac using .NET Core 3?
No, they have clearly stated that these are windows only. In one of the .NET Core 3.0 discussions, they have also clarified that they do not intend to make these features cross-platform in the future since the whole concept is derived from windows specific features. They talked about thinking of a whole new idea for cross-platform applications, which is not easy.
Source: https://youtu.be/HNLZQeu05BY
Update
The newly announced .NET 5 now aims in avoiding all this confusion by no longer calling it ".NET Core".
Update 2
With blazor client-side (releases on may, 2020), there is a new experimental project for cross-platform apps using webview that is in the works.
Source:
https://blog.stevensanderson.com/2019/11/01/exploring-lighter-alternatives-to-electron-for-hosting-a-blazor-desktop-app/
No with WPF or Winforms. But you still can develop desktop apps on Linux, with .NET Core, using other libs like GtkSharp or Avalonia
Well, the name itself says Windows Presentation Foundation. So it's primarily windows based.
But it is worth to be noted that the new UI framework, .NET MAUI that will be shipped with .NET 6 is cross-platform, with a single-codebase, single-project structure.
Currently in Preview at the time of writing, to be shipped in November 2021. Here's the roadmap.
Although it is not native dotnet core on linux, but it may be helpful - using wine.
I find a very useful comment in the discussion here, more details here
In other words, it is possible to use windows version of dotnet core under wine.
I didn't try it yet, but from the article I mentioned I can say it looks nice and might be an option.

Javafx 2.2 and Snow Leopard

I need to deploy a JavaFX2.2 application on Mac machines. OS X 10.7 or later are fine with Java 7u7. What about OS X 10.6? Do we have any workaround? I think 10.6 can update upto Java 6u35 and somewhere I read 2.1 & 2.2 can run with 6u26 or later (However there are no support though which is ok).
Can someone please help me to accomplish this? Can we just download standalone JFX2.2 runtime from somewhere and put it on OSX10.6? Or any other alternative option? Is there a way we can copy/package 2.2 runtime along with the app itself?
Please help.
Is there a way we can copy/package 2.2 runtime along with the app itself?
Yes, see the documentation on self-contained application packaging which is supported on OS X 10.7+ and includes JavaFX 2.2+ and jre7u6+.
What about OS X 10.6?
Quote from an oracle forum thread by the JavaFX lead regarding Snow Leopard support and JavaFX 2.2:
FWIW, there are in fact some APIs we use from Lion that aren't on Snow Leopard. Also, Apple only supports the current release of the OS - 1 (so now it would be Lion and Mountain Lion), and for deployment we needed special hooks. The thought was that it didn't make sense to support versions of the Mac OS that Apple themselves didn't support any longer.
Some of the early developer builds of JavaFX (2.0/2.1) did run on Snow Leopard, but they were only early development builds and not production ready, plus, I don't think the license on those builds allow you to use them in production code. I don't think these early 2.0/2.1 development builds are distributed by Oracle anymore.
When JavaFX is fully open sourced, you might be able to undertake an effort to backport it to Snow Leopard, but by then it probably wouldn't be worth it.
As a hack, you could try adding the JavaFX runtime bundled in jre7u7+ to an Apple Java6u35 and see if you can run an app - but this would be a totally unsupported configuration likely to break and may also have distribution licensing issues.
Reasons why mac does not work with javafx.. currently
From: https://blogs.oracle.com/henrik/entry/oracle_jdk_and_javafx_sdk
Quote:
Note that support on Mac is for development only; e.g. we don't expect your Mac to be running a business critical server-side application...
Context: JavaFx is still in development on mac since java7, full on support was expected at java 8. Java 8 will be real eased september
From: http://www.oracle.com/technetwork/java/javafx/downloads/supportedconfigurations-1506746.html
Quote:
MacOs is only supported in 10.7.3 or greater (Mac OS X Lion, the second newest operating system)
Context: Stating JavaFx supported configurations. There are many browsers where JavaFx will not work!
From: http://docs.oracle.com/javafx/
Quote:
JavaFX applications run on a desktop. On Windows, they also run in a browser, and over the web.
Context: This with following quote implies only developmental progress on macOS
From: http://ed4becky.net/homepage/javafx-from-the-trenches-part-2-its-not-always-about-the-sex/?rcommentid=26916&rerror=incorrect-captcha-sol&rchash=35499a8f4e0544f950435495d20b0cf1#commentform
Quote:
Turns out there is a bug in the ChoiceBox – JIRA RT-26837 I talk about on the JavaFX2 Forum. It got the attention of Jonathan Giles at Oracle, and he escalated the fix, but it won’t be out until Java8 is released.
Context: There are still a lot of bugs that will keep you from success on mac!

How to run C# 4.0 app on Linux OS using mono?

I want to run my c# application with OS Linux using Mono. I am new to this cross platform migration? Please tell the procedure for doing that?
Thanks & Regards.
It very much depends on what type of application it is. For a console or WinForms app, it may be simple. Mono doesn't support WPF.
Well, the first think you'll need to do is install Mono of course. Then you probably want to run MoMA to determine your application's compatibility. There's a whole separate page about porting WinForms apps.
If all is well, you should just be able to run your application using:
mono MyApplication.exe
after copying the binaries over.
If your application is actually a web service or web application, you'll want to think about the various hosting options.
I suspect you'll want to read a lot of the pages on the Mono Start Page.
Check if your application is 100% compatible with Mono Framework using MoMA.
Remove or replace those unimplemented parts with Mono's implementation or third party libraries that works with Mono. Or if you think it should work fine, just execute it with Mono Framework 2.8 or higher. Better go with 2.10 which is default's profile is on 4.0.
There is an IDE, MonoDevelop that supports Web and Desktop applications. Open the project files (monodevelop supports visual studio project files) from monodevelop, compile and run.
you can browse mono website here, where you can find which features are supported and which are not supported and why.

Windows CE UI Componets

Are there any UI Components for Windows CE 6.0, other than the ones supplied by the Compact Framework and Visual Studio? I am developing applications with C# and the Compact Framework that need some visual design and the VS controls and components are not sufficient to me.
Thx your answers.
See this similar question: Round buttons for Windows Mobile. It should be relevant for Windows CE 6 as well. The example is in native code, but you can use SDF 1.4 source code to convert it to C#. I guess you can use the technique shown to create more controls of your own.
I also found this article about creating custom controls for Windows Mobile that might suite Windows CE as well as it is based on the compact framework, but I have not read this through nor tested it.
What components exactly are you looking for?
Windows CE6 R3 now supports Silverlight, so you can do some pretty cool things, although i think it's a little more complicated than typical Silverlight.
http://www.microsoft.com/windowsembedded/en-us/products/windowsce/silverlightforwe.mspx

How to create application for Mobile?

I have to create a mobile installable/client application...and I dnt know nothing abt this..
what SDK,language should I use?? if this will in .net will be fine(optional)... any Ideas
Will really appreciate this...
Thanks!!!
First you will need to decide what mobile platform or platforms you want to support. Often your choice of language and toolset will be completely dictated by that. For example, if you want to write software for the iPhone, you will need to use Objective C (and use a Mac) while Android-based phones and BlackBerry devices require Java. Windows Mobile and Symbian devices natively support C/C++ and their own proprietary APIs but you can use frameworks like Qt to make things easier (and portable between the two). Windows Mobile in particular also supports lots of other platforms that run on top of the base OS, such as slightly limited version .Net or Java (but bring-your-own-JVM).
The one common denominator between them all is web applications. If you want a single codebase that will work everywhere and that doesn't use a completely proprietary toolset, you can build a web app.
Programming languages: Objective-C, Java, C# .NET CF etc. It depends on what devices you application should be running.
You can use Visual studio to target Mobiles have Windows Mobile OS or Windows CE or Pocket PC, for other OSs you have to see the SDK that the Manufacture company provide.
I you got no clue to start with, I suggest you start with Java ME. Java Mobile Application is, in my opinion, the safest way to go for starters as they have the widest acceptance among mobile device platforms.
Good luck.

Resources