Objective C :: CLLocationManager Crashing App?

Jan 19, 2012

I'm working on a quite simple native extension for Adobe Air powered iOS app.I'm playing with CLLocationManager class and i ran into really strange problem.When i'm trying to initialize CLRegion object app crashes.

CLLocationCoordinate2D coords = CLLocationCoordinate2DMake(0.0, 0.0);
CLRegion *region = [[CLRegion alloc] initCircularRegionWithCenter:coords radius:100.0 identifier:@"Region1"];`

[code].....

View 1 Replies


Similar Posts:


Objective C :: Objective C - Can Play Flash Video File On IPad

Sep 15, 2011

I want to make simple project which play flash video file from online. I've searched some articles and read carefully. But I can't understand, how to play flash video files on iPad by Code.

View 5 Replies

Objective C :: Objective C Prevent Flash In Cocoa WebView

Feb 3, 2011

In my Cocoa app, I want to prevent Flash from loading in a WebView, and let the user decide if the Flash should be shown for each page. (That's the same behavior already available through the ClickToFlash plugin or Safari extension. Bundling any of those extensions is probably not an option because of licensing issues.)Unfortunately most of the Flash I'm trying to avoid is generated from embedded JavaScript specifically designed to prevent easy flash blocking, so I cannot filter the raw HTML for inclusion of Flash objects.Also, I cannot disable JavaScript for my WebView, as the page I want to display looks completely different when JavaScript is turned off.Is there a notification/hook I can use to modify the page DOM after JavaScript has been executed, but before the Flash plugin is loaded?

View 3 Replies

Objective C :: Converting Syntax To Objective C?

Oct 6, 2010

I have a game I wrote in Actionscript 3 I'm looking to port to iOS. The game has about 9k LOC spread across 150 classes, most of the classes are for data models, state handling and level generation all of which should be easy to port.

However, the thought of rejiggering the syntax by hand across all these files is none too appealing. Are there tools that can help me speed up this process?

I'm not looking for a magical tool here, nor am I looking for a cross compiler, I just want some help converting my source files.

View 3 Replies

Incorporate Flash Animation In Objective-c?

May 11, 2011

I'd like to incorporate some flash animation (a 2d character animation) into my objective c app.

I heard you can create and export a flash cs5 app into iphone. But I don't want to export an entire app. Just a small component...

for example, I want to get an animation of a 2d character waving that was made in flash and just incorporate that into my objective c app.

View 3 Replies

Android :: Embed Adobe Air App In IOS Objective C App?

Mar 22, 2012

We have a project developed in Flex, which we have already successfully able to integrate with our Android app. The best part is Android let you embed adobe air app as part of another Android app so you can integrated seamlessly. We would like to do similar thing with iOS app but cant any way to sort of embed Air app in iOS Objective-C based app. We can launch one app from another but thats not what we want. We would like to show show flex app in half part of the screen of iOS obj C app. If anyone has managed to do such thing, are there any other tricks to achieve such thing? ( Flex app needs to load data do its own bits)

View 1 Replies

AS3 :: Objective-C-Cocoa Book Recommendation For A Developer

Jan 15, 2010

Just looking for more recommendations for great Ojective-C-Cocoa books. My ideal book would be one with actual hands-on walk thru examples increasing in complexity and doesn't spend unnecessary time on basic OOP. Trying to leverage what knowledge I DO have in Actionscript 3. (or maybe its all about unlearning?)

View 1 Replies

Iphone :: Actionscript Style Events In Objective-C?

Jul 7, 2010

I have an iPhone app with an UIApplicationDelegate conforming delegate called MyAppDelegate - it has a UIWindow.Instead of adding buttons, labels and whatnot directly to the window, I guess I'm supposed to make a child class of UIViewController for every screen I wanna make. When that screen should be displayed, I add the respective controller's view to the window as a subview. When another screen should be displayed, I should pop off any other view from the window and add the new view. Hope I got everything correct so far...

My intent is to make each view controller only know about its own things, so let's say I wanna call view A from view B, in ActionScript I'd add a button in A firing off an event which would be caught in view A's owning object (could be the application), which could take proper action (remove view A, instantiate view B and display it).How do I do this in Objective-C?

View 2 Replies

Java :: Translating Ecmascript (javascript) Knowledge To Objective C?

Apr 24, 2010

Newcomer to Objective C and trying to translate concepts and sytax I know from ecmascript based languages to Objective C.Is it proper to think of the .h header file in ObjectiveC as an Interface in Actionscript?Lets take the following code example in Objective C which calls a method containing 2 arguments

[myTextObject setString: @"Hello World" color: kWhiteColor];

In Actionscript(or javascript) would this be the same as calling 2 accessor methods on 'myTextObject'?
ie

myTextObject.setString("Hello World")
myTextObject.color(kWhiteColor);

View 2 Replies

Actionscript :: Objective C - Convert Methods From Java To ObjectiveC

Jun 1, 2010

I'm tring to convert the following 3 methods from java-actionscript to Objective C. Part of my confusion I think is not knowing what Number types, primitives I should be using. ie in actionscript you have only Number, int, and uint. These are the 3 functions I am trying to convert public function normalize(value:Number, minimum:Number, maximum:Number):Number

[Code]...

View 3 Replies

Flash :: Read Objective-c Code That Is Generated From Adobe?

Nov 10, 2010

I make an iPhone app with Flash and it generates my app and a xml (that I don't understand if is it useful).My question is if I can read the objective-c code that Flash generates.

View 2 Replies

Iphone :: Haxe Convert Flash Content Into Objective C?

Dec 15, 2011

I went through many links like this,this and this, but not getting good direction to move with. I need to implement some flash content in my iPhone app. good tutorials to move on with the conversion process.

Suppose I am having a flash air iOS app and I need to convert the whole app in objective c for say adding some features like APNS then I have to do some needful. I want to convert the air iOS based app in objective c for same thing and hence need a tool like Haxe.

View 2 Replies

Objective C :: Failing To Build Air IPhone App (with A IOS Native Extension) With Adt?

Feb 13, 2012

My issue is when I try to compile my .ipa using the adt tool (through Terminal) I get the following error:

ld: absolute addressing (perhaps -mdynamic-no-pic) used in -[MediaCaptureViewController showCamera] from /var/folders/NP/NPNiEhuUEwGiPRg0Bym7Sk+++TI/-Tmp-/97f7f1f9-6d5e-4486-9ba0- 147ff50f7157/libcom.luxson.mediacapture.a(MediaCaptureViewController.o) not allowed in slidable image. Use '-read_only_relocs suppress' to enable text relocs
Compilation failed while executing : ld64

The iOS native extension pops up an instance of the UIImagePickerController and it works apart from the following line of code, which causes the above adt error:

cam.mediaTypes = [NSArray arrayWithObject:(NSString *)kUTTypeMovie];

I have included the MobileCoreServices framework in my project and added the following to my header file:

#import <MobileCoreServices/MobileCoreServices.h>

I'm using Xcode 4.2.Project set to build with the following settings:

iOS Deployment Target: iOS 4.3
Enable Linking With Shared Libraties: No

View 1 Replies

Objective C :: What Language/API To Use For A Standalone Live-input Audio Visualizer App

Mar 24, 2010

I develop with Actionscript and was glad to see that AIR 2.0 was going to give access to mic input data. I planned to use this to create a visualizer set to the tempo of the incoming live audio. After doing a few days of google research it seems unlikely that it will be possible to analyze the data of the mic input in Flash/AIR. If anyone has ideas on how I can achieve this in AIR please let me know. (I'm open to workarounds.)Run on OSX Two windows - one that can go fullscreen while the other(controller GUI) stays put Able to access live mic input data I've done reading on FFT and understand what needs to be done on the sound side so no need to help with that.

View 1 Replies

Find A Function On Objective C To Write System Messages As Trace?

Mar 27, 2011

I'm starting to learn Objective C and I wonder if there is any similar function toactionscript trace to show messages in a console.

View 1 Replies

Iphone :: Write Mobile Games In ActionScript3 Rather Than Java / Objective-C?

May 6, 2011

I'm writing a simple game based on my physics engine for Android (in Java). Because I want to play with some special graphic effects performance is very important for me. I read on the Internet that you can write an application in ActionScript3 and then just export it as an iPhone/iPad or Android application. That means, I wouldn't have to rewrite everything from Java to Objective-C if I wanted to make version also for iPhone. Do you have any experience with writing games in ActionScript3 for both Android and iPhone/iPad? Are there any significant advantages / disadvantages?

View 4 Replies

Actionscript 3.0 :: CSS - Make An Application For The Iphone - What / How To Start Learning Objective-C

Mar 13, 2010

I know javascript, CSS, AJAX, and HTML/ XHTML. I was told to learn these in order to make an application for the iphone. Now what? What/how do I start learning objective-C?

View 1 Replies

Flash :: Keeps Crashing In OS X?

May 4, 2010

So after I installed CS5 Design Premium, flash often crashes; luckily it doesn't crash the browser (which I guess is the feature on the browsers these days), so a refresh reloads flash and things usually work a couple times; then flash crashes again.
 
This a known issue? Or am I the only experiencing this? This happens on both my Macs (Mac Pro and MacBook Pro). I've already tried reinstalling and getting the latest updates. Those don't work (since there are no updates either).

View 3 Replies

Iphone :: Objective C - Read Flash Video In Iphone App?

Jan 21, 2011

I would like to play flash video in my iphone app.I'm parsing XML file and I get flash video url like this : http:[url]....

View 2 Replies

ActionScript 3.0 :: Flash Crashing From Exe?

Aug 12, 2010

I've created a flash exe presentation. I checked the CD before I sent it out, and it worked fine on the PC that I was testing it on. (it was created on a mac). Anywho... I sent it out and now some people are having issues with flash crashing, while other are having no trouble. I used a CD duplicated, so all the CDs should be the same. I'm thinking it may be a global setting, but I don't normally work on PC and don't know what it could be. Here is the error message they receive:

Error message: Adobe Flash Player 10.1 r52 has encountered a problem and needs to close.Then once I click the error report to read the reporting details it says: this error includes information regarding the condition of adobe flash player 10.1 r52 when the problem occurred; the operating system version and computer hardware in use; your digital product ID, which could be used to identify your license; and the internet protocol (IP) addresses of your computer.

View 1 Replies

Encoding Flash From Wmv Crashing

Apr 23, 2008

I've been using Flash Video Encoder for quite a while now and never had a problem encoding flash from wmv. But in the last week suddenly encoding crashes on ever attempt. At first I thought it was a change in the format of the video that was being introduced, but then I tired videos that I know that I've converted previously. They crash too. I've also tried on 3 different computers, that have all had success in the past.

View 6 Replies

Flash Crashing After 5 Seconds Of Use

Nov 29, 2008

I was wondering if anyone else has been experiencing the same problem with flash that I have. For me Flash can't even stay open for 5 seconds without it completely crashing and having to restart.

View 7 Replies

Professional :: Flash CS3 Keeps Crashing?

Feb 13, 2010

When I copy and paste an illlustrator file into Flash, it keeps quitting on me. I can't seem to get past the first step. Is there some kind of bug fix i can download. I have a big project to start and I have to get this figured out soon!!

View 12 Replies

CS4 :: Flash Professional Keep Crashing

Feb 16, 2010

Flash CS4 keep crashing. Is there some kind of bug fix i can download.

View 1 Replies

ActionScript 3.0 :: Flash Keep Crashing?

Nov 3, 2010

I'm building this whack-a-turkey game and every time the countdown clock reaches 00:00, if I try to do anything other than stop the timers, it makes Flash crash.I've commented my code below where it crashes and you can also check ou the app here.[code].....

View 1 Replies

Flash :: Crashing But Won't Uninstall From My Mac

Nov 14, 2010

Flash is crashing when I try playing video in Safari, Firefox or Google Chrome.

Chrome says that I have two almost identical versions of flash installed.
 
I have downloaded the uninstaller - it completes and says it has uninstalled, but does absolutely nothing.

Installing new versions does nothing either, I have rebooted in between etc but nothing. I've even tried removing the browsers and reinstalling.

View 2 Replies

Professional :: Flash Cs5 Crashing?

Feb 18, 2011

i have been using flash cs5 for like a week and almost everytime i try to save, make a movieclip, or test my file flash decides its going to crash so my work often is gone.. non existant after that.    The error message that pops up  is something about aflamingo.dll.

View 1 Replies

Flash :: CS4 Crashing When Compiling?

Sep 5, 2011

Since I purchased flash CS4 (upgrading from flash 8), I have gradually shifted from writing code in AS2 to AS3. Now all of my projects are in AS3 except 1, it's an old legacy project written in such a way that conversion would be almost impossible. Earlier today I started to work on it and then tried to compile it causing flash to crash. After about an hour I realised that whenever I compile an AS2 project flash crashed. After trying to download patches, restarting countless times and searching the internet for similar bugs, I uninstalled and reinstalled flash. But to no avail, the bug persisted. So I decided to create an acount and post about the bug I encountered on this form, hoping that somone might know about it.

View 3 Replies

Professional :: CS5.5 Crashing All The Time?

Feb 6, 2012

Flash CS5.5 has suddenly started crashing all the time. It's ridiculous.It's always about 2 seconds after:- Minimizing/Bringing forward another window.- Testing a movie- Opening/closing another fla in CS5.5This is with any fla file. It's incredibly frustrating.The window just tints white and I get a "____________ has stopped working", and my only choice is to close program.I am using Windows 7. am really shocked at how progressively unreliable EVERY Flash Pro has been since CS3, despite being an industry standard.It's been incredibly useful to me since I first started using it in 2004 (MX 2004 that is). However, considering all my other development software, it is clear that it is by far the most unreliable.It is unacceptable.

View 14 Replies

IDE :: Flash CS3 Crashing All The Time?

Nov 3, 2009

I am a flash games developer, and I am currently working on a game that is truly massive.The main file size is over 250MB.It's been a work in progress for about 4 months of solid work.Due to the size of the file, I prefer to create things like characters and objects in another file. I then need to import it over, replacing old movieclips.

When copying and pasting now, it always crashes, or tells me that its run out of virtual memory.It appears to be impossible to get it all over, even bit by bit.I've saved and compacted, I've saved as, I've moved it onto another disk drive.All of the above seemed to help temporarily, but I'm now at a stage where nothing is working.I don't think the file is corrupted in anyway. I've had no problems with any other component of flash. Just the copying.I just don't understand what's so intensive about moving over an object of about 10-20 mb.My computer is quite high performance, 5.6ghz, 4gb of ram.

I've asked for help on so many forums now, and all i get is criticism at my file size. Well it can't be helped. It's a massive game.I've tried using a runtime shared library, but unfortunately it doesn't allow attachmovie to get it from the library. It seems the identifier is only being used to connect the 2 libraries when you set up a runtime shared library.attachmovie is very important to the code and it can't be done any other way.

View 9 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved