If we make our Dashcode application open in Xcode then are we making a native app....
Dashcode is an IDE, a tool or set of tools for developing Mac Widgets, web based iPxxx applications and Webkit based Web applications. In Dashcode JavaScript, CSS and HTML are used to develop these applications.
XCode is an IDE for developing native Mac applications and iPxxx applications usually but not exclusively with Objective-c and an interface builder for the graphical elements.
A Dashcode project is in reality a set of file in a folder, but the Mac Finder makes it look like a bundle. If you right click the project and click on open project you will just see all the files in the project.
Opening the Dashcode project in XCode doesn't do anything, i just tried it, but even if you did XCode will not perform an magical transformation and turn JS/CSS/HTML into Objective-C and therefore it will not turn it into what i think you mean by native app. To do that you will need to learn Objexctive-C cocoa and the XCode programming tools and interface.
In answer to oyur added comment not it will not change any code.
If I am not mistaken a little more input towards this may be nice. If you use PhoneGap in Xcode then you can make your web app a native app with very little effort. I found that porting my skills from mobile web development to Xcode was something I didn't have the time to put out upfront so to get my app out there right away, PhoneGap was my answer.
I hope this helps, but do know that it is not going to be as efficient of an app built this way.
I think you want to know: can we treat a DashCode app as native app, and run on simulator and/or real iOS devices.
From my point of view, the answer is: YES
I think what you asked can be answered using here.
Related
I'm using MobiOne to build an App (I don't have a Mac or know Obj-C), but I'm wondering how to compile the App into Obj-C. Has anyone tried this? I have my design done and tested in the emulator, but do not see how to build the code.
My understanding is that MobiOne is not designed to be uploaded to Apple's app store. You can use Phone Gap to help get your app into a native environment since MobiOne uses web technologies. Phone Gap should allow you to publish to the app store, but the app is still subject to Apple's quality control system.
EDIT: You will still need a mac to publish the app. Or you can just use the app as a website on your device(s).
You can build the app with the Mobione built-in compiler. Go to the "Project" menu and click "Build iOS app" and your app will be compiled. You cannot compile with Obj-C.
Compile it into an iOS native app using Mobione on Windows. Upload it to the App Store using Apple's Application Uploader on a Mac. Easy.
According to Apple, you are not supposed to make iPhone apps without a mac. Also learning objective c MIGHT just be a good first start before making an app.
The first comment in your question provides a link, and one of the first paragraphs in that link states this:
"The traditional approach to iOS application development requires developers to create their apps using Appleās Objective-C programming tools and Macintosh(tm) hardware. MobiOne runs on your Windows OS (Win7 to XP) hardware and offers developers an alternative cross-platform programming model based on HTML5 open web standards and virtual device services, e.g., contacts, camera, audio... "
Of course this allows you to do it, but that doesn't mean that the appstore will accept your app if you try and submit it through MobiOne. I'm not too sure on the subject, but I would do some research and figure out if apple allows you to do this.
I have an iPhone app which is written in XCode and is currently selling on the iTunes app store. I want to be able to release it for the Android market. Is there any way to compile my app from XCode to work on the Android operating system. I don't really want to learn a new language and completely rewrite my app, so was wondering if there is an easier way.
There isn't any way to compile Android apps from Xcode, and i strongly doubt that Apple would introduce such a feature - if it's even technically possible to do. Sorry.
But if you have Objective C down, you shouldn't have to much problems understanding Java (which is used for creating Android apps).
Check the link below for a pretty comprehensive guide to start learning java and code for the Android platform:
http://mobile.tutsplus.com/tutorials/android/java-tutorial/
Good luck!
No, in general you can't do this. Even if assuming Objective-C can be compiled/converted into Java (which is most likely will not be true for times to come), you'll need to rewrite UI part; then most of OS APIs are different too. There are several features that iOS has that Android lacks or does not have open API for it, or has limited API, or has conceptually different or just different API.
Its just easier to move some of your iOS code into C/C++ shared library and then make sure that it compiles and works on both platforms. And then make platform dependent pieces separately for each platform (UI, hardware related stuff, etc.). This way you'll have at least part of your code shared.
I have an android project that targets Android 2.2 (developing in Eclipse). Exporting the android project to the Droid Incredible works perfectly. Is it possible to export the project to a file suitable for installing on an iphone? I know that most iPhone apps are developed using xCode, but I'm not sure if xCode packages into a .apk or other file format that's equivalent.
Thanks in advance.
Only if you write or port your own complete Dalvik VM (in Objective C or Javascript), plus developing the runtime support needed for any and all API calls that your app uses, and bundling all that with your app, as that would be the only way to run a regular Android project on an iPhone.
A non-trivial amount of work.
Completely rewriting the app in Objective C and Cocoa Touch would be magnitudes easier.
Not even remotely possible. Android and iOS are completely different environments. There are a few frameworks for developing applications that'll run on either, but the results often end up looking kind of weird on both platforms.
You cannot export an Android application and run it in an iPhone because the hardware/software stacks/APIs/etc. are different.
However, if you build an application using for instance PhoneGap (a HTML5 based application framework), it is possible to deploy it on different mobile platforms.
If you feel curious about multi-platform mobile frameworks (Android/iPhone) you may find this thread interesting.
I like using Dashcode for making quick little web apps, but it specifically targets the iphone version of mobile safari, which is not acceptable for cross-platform development. I've developed a number of laundry-list hacks that I tend semi-manually add to my scripts to facilitate cross platform development (like, say, to the Android or Palm) and to perform useful iPhone tricks, like stopping the 'bounce' associated with web apps on the iphone and I'm turning these into custom Dashcode Parts so that I can drag & drop them into my project. This is mostly working so far, but here my dilemma:
How can I create a custom Inspector component to go along with my custom Dashcode Part? Is it possible? Ever heard of being done? What are the minimum steps?
I see some compiled .nib files, and an existin Dashcode Part's Info.plist has a key CYPartInspectorClass that maps to CYPushButtonInspectorPane and like CYPushButtonInspectorPane and that apparently corresponds to English.lproj/CYPushButtonInspectorPane.nib which is a compile .nib. Does this imply that everything here is semi-hardcoded, and thus impossible to add my Inspector changes?
Any pointers to the above would be helpful.
After a lot of digging, I don't think this is possible, but I'd still be happy to eventually be proven wrong.
Although I've been getting more and more familiar with Xcode while developing for the iPhone, there are times I just wished I had a better IDE, something like Eclipse.
So I was wondering does anyone know how to migrate iPhone projects to Eclipse, and if it's worth it?
XCode largely uses standard Unix tools for a lot of its work. iPhone applications are compiled using GCC 4.0, it uses gdb for debugging, so it should be possible to set up Eclipse to at least compile applications.
If you look in the Build section of the Project Info pane (select the project, hit the Info button in XCode, choose the Build tab from the top) you can see many of the options.
I'm not sure what is required to copy a file to the simulator and attach a debugger to do a test run, it might not be worthwhile to jump through all the hoops and Apple may require an XCode generated build to accept an app into the App Store.
It may be the case that for regular code editing you can work reasonably well in Eclipse, then switch to XCode for interactive debugging.
Most of the existing Eclipse plugins seem to be oriented towards developer iPhone-aware web applications, so I'm not sure if you'll get any help there.
As far as I know you cant use Eclipse or any other IDE to develop for iPhone.
Apple only supports XCode and this wont change in the future. So I think you have to get used to XCode.
Late in the game, but you might want to kick the tires with JetBrains's AppCode, eventually a full feature drop-in replacement for xCode ... and very similar to IntelliJ (GUI, work flows, etc...). Still Early Adopter as of now, it performs some tasks rather well. I still use xCode for configuring the build options and targeting the device, but that will eventually be taken care of.
regards
There's cross compiling that give you ability to develop IPhone apps on eclipse
http://www.youtube.com/watch?v=TG-NIt2O5J8
There are no plugins that support Apple IOS application development in Eclipse but on windows, you can develop using Adobe CS5. This is one of the powerful tool from Adobe in which you can develop .ipa applications on windows but you need some stuff to be ready before you start developing IOS applications using Adobe CS5