dev

EXC_BAD_ACCESS NSUrlConnection

Hi all, i got an EXC_BAD_ACCESS when i perform the last line of the function (webData). -(void)requestSoap{ NSString *requestUrl = @"http://www.website.com/webservice.php"; NSString *soapMessage = @"the soap message"; //website and soapmessage are valid in original code. NSError **error; NSURLResponse *response; //Convert paramete...

AAC header and other info in IPhone

Hello Everyone, I'm building an IPhone Application that records sound. I'm using Audio Queue Services, and everything works great for recording. The thing is, I'm using AudioFileWritePackets for file writing, and I'm trying to put the same "AAC + ADTS" packets to a network socket. The resulting file is different since some "headers...

Need instructions for development environment setup for Portable Apps

Hi, I need to customize the Portable Apps launcher executable. I understand it is an open source project. Can anyone who has done this in the past, please tell me the development environment needed (what compilers, libraries etc), and the link to the source code for the launcher itself? I downloaded the source code from SourceForge p...

Switch structure in C++ not working

#include<iostream> #include<stdio.h> using namespace std; void student_array(); void query(); void show_arr(); void student_entry(); struct student { char name[80]; char f_name[80]; char the_class[3]; char grade[2]; }; student std_arr[10]; char action; int count; int main() { cout<<"add 1st student"<<endl; st...

iTunes Connect uploading problem

Too bad that iTunes Connect changed its behavior recently. I'm providing an update to an existing app. I submitted new binary using the Loader without problem on the first try. Then I discovered that different from before, one has to reject the binaries in order to change screenshots. Too bad that the update is in the status of "In Revie...

dx.jar error code 2 android dev

I have working project,in Intellij IDEA,when i want add a new class and rebuild project,i have an error: trouble processing: class name (az/mecid/atodo/rtm/api/data/RtmData) does not match path (/home/mega/IdeaProjects/atodo/out/production/atodo/az/mecid/atodo/rtm/api/data/RtmData.class) ...while parsing /home/mega/IdeaProjects/atodo/ou...

Dev express grid view sorting/paging/filter problem.

I am using a dev express gridview to dispaly some data. I have used visual stuido to set the correct properties in the design view to enable sorting, filtering and paging on the gridview. However, when the page loads I can see the data correctly and the filtering, sorting and paging elements but I cant sort or filter until i have paged ...

how to programmaticaly lock screen android

how to programmaticaly lock screen android? ...

Android Development: Dialog Box With EditText and Spinner

I have a button that pops up with a dialog box on click. I want the dialog box to have an EditText and a Spinner inside the dialog box. I don't know how I'd set the view for it, I have the code for an AlertDialog and it works, it's just the EditText and Spinner that I need to place inside it then I can get on with the rest of the app's...

Android Development: Problems With Creating Spinner

Hello, In my app I'm developing, I have a spinner in an alert dialog box. The spinner works fine, but when I added the following lines to add the array to the spinner, my app crashing a few seconds after starting up: ArrayAdapter<CharSequence> adapter = ArrayAdapter.createFromResource(this, R.array.newFileTypeArray, android.R.layo...

iPhone Dev Programming Question: Help on BOOL and String!

Okay I am completely noob on C++ or Objective C++. Here is my question. There is .plist file that has a key say XYZ and the value can be on or off. Now I have this method ...BOOL isEnabled(). I want to check the value for that in that plist and return BOOL based on on or off. How do I do that? NSDictionary *plistDict = [NSDictionar...

C++ - Set a class instance's function after it has already been defined

I am trying to give a class event functions such as .onShow() and .onHide(), so when the object is shown, the .onShow() function will run. How can I allow the function to be change like so: MyClass myInst = MyClass(); myInst.onShow = OnShowFunction; Is it possible to allow this? ...

iphone dev, NSXmlParser problem

Hey guys, I have difficulty to get the location value When I use the NSXMLParser. In the g:location element there are two more child elements g:latitude and g:longitude. I don't want these two elements, I just want the location value "1231 Judge Place, VICTORIA, BC, V8P 2C7, CA" in this case. Can anybody show me how to do it? thanks ...

Android Development: How To Use onKeyUp?

I'm new to Android development and I can't seem to find a good guide on how to use an onKeyUp listener. In my app, I have a big EditText, when someone presses and releases a key in that EditText I want to call a function that will perform regular expressions in that EditText. I don't know how I'd use the onKeyUp. Could someone please s...

UINavigationControl with Image View as root, table views thereafter

All, This is one that should be simple, but since I'm rather new to the xcode IOS 4 developement, I gotta ask: What I need: an Image View with a button that will then display a series of linked table views. This screams (to me) a UINavigationController where the first view is NOT a table view, but the UIImage view. I cannot get this...

iPhone Development - multiple views in one window.

Hey, I want to have a UIView at the top half of my app, and a UITable at the bottom half. If I create a basic window application I can do this using IB. My main problem is that I seem to be only to do this in the delegate file which I would like to avoid. I repeat the exact same steps I did in delegate in a separate controller and all ...

Asp.net mvc app running in Azure Dev. Fabric and RequireHttps attribute

I have a Asp.Net MVC that runs on Azure Dev. Fabric. I have a few pages that need to run under SSL, so I marked the corresponding controllers/actions with requiresHTTPs attribute. Now when I run the app, as soon as I navigate to pages that redirect to https, IIS throws 404 error. I created a self-signed certificate for IIS, thus https://...

How to do Photo management in PHP?

Hello, I have a basic script to upload and manage photos, but there are many things that it lacks. For some reason photo files like .tif do not get uploaded and there is no automatic re-sizing of different images (vertical or horizontal). Could someone please suggest some solutions for this? Sincerely appreciative, Alex ...

ipad dev, close keyboard upon rotation

I have an issue where I want the keyboard to resign upon the ipad rotating. If the keyboard is open in portrait, and I rotate to landscape, the keyboard pops up in landscape. I want it to not appear! HOW DO I RESIGN the keyboard when I rotate! I've tried putting: [self.textField1 resignFirstResponder]; in the: -(void)willAnimateFirstH...