sdk

How to change the iVar of another class.

This is the code. It is pretty straight forward. I made two classes one is returning the error and hydrate the iVar of another class (TheView) and show it to the User. however I cant figure it out why the View return Null at all time. Thanks is advance guys. @interface AccountControllerModel : NSObject { NSString *anErr...

Does UIAutomation framework works on the simulator?

Hi, I am new to iPhone Automation, and UIAutomation framework introduced by iOS4. Recently I am using UIAutomation to automate testing app on iPhone Simulator via instruments but it gives me an error like "Unexpected error in -[UIATarget_0x5a20d20 frontMostApp], /SourceCache/UIAutomation_Sim/UIAutomation-37/Framework/UIATargetElements.m ...

Android Loud speaker and call interception

Hi, I would like to know how to intercept incoming calls and activate loud speaker automatically. I read this class is used com.android.internal.telephony but I could not find propre documentation. Thanks for your help. ...

XCode - Classes folder set aside

I have lost my classes folder in Xcode and have discovered it has been 'Set Aside' and called Classes-1. How on earth did this happen and how do I undo it. There is no Classes folder in my project at all now and Classes-1 doesn't show up in XCode, only Finder. I can do nothing with the project at all except restore to a previous snapshot...

iPhone SDK - convert strings to call variable names

Ok, I got used to coding with PHP. I'm currently trying to do a sudoku app. Now I'm coming to a point where I need to show the proper number in the appropriate cell (UITextfield) based on the number pressed. (I have 9 buttons that correspond to 1-9 respectively) Conceptually when the used clicks on a cell, I want to: 1. put the UITextFi...

MPMoviePlayerViewController for older versions of iPhone SDK

If I use MPMoviePlayerViewController in 3.2/4.0 it builds fine. If I use it in 3.1.3 and below the build fails with error Expected specifier-qualifier-list before MPMoviePlayerViewController' I use this class in 113 places, so I get 113 errors. What is the best way to fix this critical issue? ...

C# - Windows Phone 7 SDK - math class

Hi It seems that I cant use system.math class within the windows phone projects... I cant even add the mscorelib.dll manually (windows phone dlls are different than windows dlls) Is there any way to use System.Math class within the windows phone SDK projects? Thanks. ...

iphone keyboard touch events

I need to be able to detect touch events on the keyboard. I have an app which shows a screen which occurs after a certain period of inactivity (i.e. no touch events) To solve this issue, I have subclassed my UIWindow and implemented the sendEvent function, which allows me to get touch events on the whole application by implementing the...

Android sdk 1.6 WVGA, webview within scrollview is not working

Hello All, I have added the webview within scrollview in the layout. So data in webview is not fully displayed. Only in android sdk1.6 WVGA resolution, It is not working properly. This bug is filed in android bug tracker also. For your reference, http://groups.google.com/group/android-developers/browse_thread/thread/d66d908993d51d65 ...

Declare an UIView on app delegate

Hi , i have problem with showing an UIView on app delegate ... there is no place on interface builder to connect IBOutlet with app delegate . [self.view addSubview:UIVIEW]; //doesn't work ...

AVSPEED iConf.net SDK Video Conferencing bad quality

Hi guys, after googling and spending a whole day in to this topic, i'm giving up and must ask you guys this question. I'm installed AVSPEED iConf.net SDK Video Conferencing on 2 machines and trying to get a good conference between them with the server application. First, i had run the ip2ip.exe and, no wonder, the quality and the connect...

Working with EnvDTE library within Visual Studio 2010SDK - build modes and binary path (?)

Dear Community, I am working on a small program which aims to modify my main, top-level application binary file post-build. In order to fully automate the process, I need to obtain a valid path to the binary, e. g. ../debug/application.exe or ../release/application.exe. My problem is, that I need to get the binary path independently o...

Problems with Android SDK and Eclipse (Windows 7 32bit)

Hi , before posting I have searching around this forum and the web on one of my problems the Java build path error. Currently I am going through a Sams learn Android SDK in 24 hours book and cannot get past the first hour!!!! because of the problems As I mentioned before, I have read all suggestions I could find on the gen folder erro...

Swipe gesture in iPhone SDK 4.0?

How do i put a swipe gesture in the new iPhone SDK? I'm trying to detect a swipe gesture over a UIImageView? A swipe up and a swipe down? ...

Android SDK 2.0.1

Can any one knows, how i can get android SDK 2.0.1, i have seen developer.android.com but there is not avaiable the Android version 2.0.1. However Available in Older versions What is that mean ? the version is obsolete ??? Kindly give me the authentic answer Thanks in Advance. ...

UINavigationController reloading tableview

In my application I am parsing XML to create a UITableView. When a user selects a row it changes the file that it is parsing and reloads the tableview. I want to create a back button so that the user can go back the the previous XML page they were viewing. In short how can I tell the navigation controller to create a back arrow for th...

Accelerometer works on IPhone but not IPad...help?

Hi everyone . iam trying to shake device with Accelerometer (NOT SHAKE API) because i have a problem with shake api . but idon't know why my code doesn't work on iPad !!! : viewDidLoad: [[UIAccelerometer sharedAccelerometer] setUpdateInterval:(1.0 / 40)]; [[UIAccelerometer sharedAccelerometer] setDelegate:self]; As a method : - (voi...

Can I use Android SDK to test a handset?

Here's what I want to do. Please let me know if this is possible. I have an android phone, which I want to control using the SDK to send calls, receive calls , start some application, tap the screen etc. TIA ...

EXC_BAD_ACCESS with iPhone SDK UINavigationController

Okay so I am trying to use a simple UINavigationController with iPhone SDK in Xcode and it works all well when pushing but if go past 2 pushes and try to pop the view controllers I keep getting the error: EXC_BAD_ACCESS I know what it means but how the heck do I fix it? Here is my code... (Assume the MainViewController has a button tha...

Handling multiple alert views in iPhone/iPad application

Hi All, I am working on an application that involves communication between two devices. When device#1 seeks to communicate with device#2, it first sends a request message. Upon receiving the message, device#2 informs the user that a person wishes to communicate with it. If the user is interested in receiving the data, he choses Yes ot...