simulator

Getting an image into blackberry through asp.net webservice

Hi, I would like to know how to get over an image in to blackberry from asp.net webservice. I have used the below code in the webservice to encode the image into bytes and convert them in to string byte[] toEncodedBytes = System.Text.ASCIIEncoding.UTF8.GetBytes(pngFile); string strimage = System.Convert.ToBase64String(toEncodedBytes)...

How to build a library for both iPhone simulator and device?

I want to build a static library for iphone. I want to give my users the .a library which they can use for both simulator test and device test. Do I have to build two library in simulator mode and device mode? Is there any way to build a single one that can be used for both platforms? ...

iphone - Can't uninstall app on device

hey guys, I am testing my app on my jailbreaked iPhone and i noticed something strange. When i want to uninstall it on device i got no cross to delete the app. All the other apps (not mines) have the white circled cross. Whereas on the simulator i am able to delete my app. Is it because i run it on a jailbreak with a codesign workarou...

Differences between iPhone/iPod Simulator and Devices

Hi, since I started iPhone/iPod Development I have come across some differences between how the simulator and how real device react. Maybe I will come across some other differences I will have to figure out as well, maybe other people haven't met these problems here (YET) and can profit from the knowledge, and maybe you know some problem...

Testing iPhone app on older OS versions in xCode

All, Is there a way to download older versions of the iPhone simulator to test an application with an older version of the iPhone OS? I'm running xCode 3.2.2. and it only has iPhone OS 3.1.3 and I need to test on 3.1.2. Thanks in advance ...

CLLocationManager on iPhone Simulator fails with kCLErrorDomain Code=0.

CLLocationManager on iPhone Simulator is supposed to fake Cupertino (isn't it?) but it does NOT, it fails with kCLErrorDomain Code=0 instead. LocationManager's delegate receives the message didFailWithError. This method is implemented to log the error and the console outputs the following: Error Domain=kCLErrorDomain Code=0 "The operati...

Exception when running on simulator 3.2

Hello, I'm testing my app on simulator 3.1.3, it runs fine. When it come to simulator 3.2, it crashes right from the beginning: 2010-06-24 16:35:29.208 MyTestApp[6991:207] *** Terminating app due to uncaught exception 'NSGenericException', reason: 'This coder requires that replaced objects be returned from initWithCoder:' 2010-06-24 16...

UIWebView does not show scrolling bars on iphone Simulator

CGRect fullFrame = CGRectMake(10, 150, 300, 200); UIWebView *fullTextView = [[UIWebView alloc] initWithFrame:fullFrame]; fullTextView.userInteractionEnabled = YES; NSString *imagePath = [[MDImageManager sharedImageManager].imagesPath copy]; imagePath = [imagePath stringByReplacingOccurrencesOfString:@"/" withString:@"//"]; imagePath = ...

Using AbsoluteLayout on Android?

All pages of my application use the AbsoluteLayout which is deprecated. I was told that the reason i should not use absolutelayout is that it's not flexible in different screen sizes. I tested my app with every simulator comes with android sdk, and I had no problem. But all screens on all simulators seem to have the same size. am i safe...

How to add images to iphone simulator v4

I've always been able to get images into iphone simulator 3 by the usual methods described on this site (i.e. dragging image into iphone simulator). However, having upgarded to the new xcode 3.2.3, although I can still save images to the simulator, I can't actually see them there when I go to the library on the simulator. Thankfully - ...

Detect compilation on Bada OS

Hi, I would like to do something similar to #ifdef __linux__, but with the bada SDK. Is there a constant defined by default? Also, can I detect when I am compiling for the simulator? ...

Why is my program receiving EXC_BAD_ACCESS in _class_isInitialized() during an objc_msgSend()?

Final Update: Turns out the fix to this problem is a depressing one. Go into the .xcodeproj directory inside your project, and remove the <username>.mode1v3 and <username>.pbxuser files. That fixed it. Boo, Xcode. I'll start this off by saying that it's not your usual retain/release bug. It just started happening on a development bra...

Iphone Sqlite3 Query too slow

Hello I'm really stuck with my app. I need to make a simple SELECT on one of my tables with aprox 250.000 rows (50mb) using SQLITE3. When I load with Iphone Simulator the query takes 3 sec aprox. When i test my app on the Device the query takes 90 sec. Unfortunately I can't release my app with 90 sec of wait. Here i post my code: -(void...

Android video simulator

I am new to Android development. I have a requirement to record video through front and back cameras of android device. The default Android simulator doesn't support this video recording. Please tell me how to run and test the video recording. Tell me if there are any simulators available. Thank you! ...

Debugger that watches jvm running a BlackBerry application on device simulator

I need a debugger that watches jvm running a BlackBerry application on device simulator (the same way as OllyDbg is used to debug Windows applications.) Any recommends? ...

Andorid ==> Simulator VS Device?

Does the android simulator use the same amount of memory as the real device? For example if my app doesn't run out of memory on a simulator, does it mean that it doesn't run out of memory on an actual device? ...

How to `cat' file in a specific baud?

I'm using uCsim to do unit test on SDCC projects. In uCsim/S51, you can simulate serial line traffic by s51 -s /dev/tty PROGRAM.ihx or s51 -S in=testdata.in,out=testdata.out PROGRAM.ihx In the latter form, the data is immediately sent to the simulator which causes a lot of frames are lost. So instead of given the test data in p...

wan simulator for windows

Is there an open source /freeware wan similator for windows ? ...

iOS SDK 4.0 & 4.1 add images to simulator

I've seen many questions asked about how to add images to the simulator and have seen two answers: - Click and hold to save in Mobile Safari on the phone - Add the files to the 100Apple (or whatever) folder Both worked great in everything previous to iOS SDK 4.0. Those same methods no longer work for me, and neither for anyone else that ...

Problem with .cod deployment to simulator

Hi Everyone: This is a re-post of a topic on the Blackberry Development Forums, but I wasn't getting any answers there, so I thought I would try SO. I have an in-house library that I developed called Ichabod that is required by one of our applications, Spyder, which runs on the Blackberry 4.5.0 operating system (our original target was...