I am a begginer in XCode. My first real application for iPhone requires connection to a webservices. Since I wanted to use RPC XML or Soap, I searched on internet and found few examples (Apple programmers aren’t so into code sharing) to implement my requests. I want to mention that since the app is in the stage of proof of concept, the code is still not structured in classes separating the data and business layers as should.
So I took the example from CocoaDev and expected to run flawlessly.
But after pasting the code in my application and build it, a lot of unknown errors started to show:
The question of What’s that user agent string used for? should has been duly answered in the previous post. The next question is about How to change or spoof user agent string?
The structure of Internet Explorer user agent string.
The template of user agent string used by Microsoft Internet Explorer.
Why there is a need to change or spoof user agent string?
Well, this question should have been answered in the previous post too. In short, changing or spoofing user agent string is needed when online security is a concern or to bypass web services access restriction for certain type of web browser.
For example, Adobe Reader download site will display different download page according to the web browser that visiting the site, limit or auto pick up Adobe Reader version for the OS type in the user agent string, force Adobe Updater to manage Adobe Reader download progress. So, by changing the user agent string, one can directly download any Adobe Reader version of any platforms or languages with Internet Explorer or Mozilla Firefox, without using the Adobe Updater or Opera web browser!
How to change User Agent String of Internet Explorer?
For Internet Explorer 6 SP2 on Windows 2000 and IE7 For Windows XP, open up Windows Registry Editor to locate this Registry key:
HKLMSoftwareMicrosoftWindowsCurrentVersionInternet Settings5.0User Agent (more…)
1. System requirements: verify if the iPhone sdk needs are met.
2. Go to Apple’s iPhone Developer Center , then download the SDK.
3. As you’ll need some experience and code to work on, download the Hello World sample application.
4. Double click (gotcha!) on the the Hello World project file (the .xcodeproj).
5. Alternatively, you can use the research assistant to increase your knowledge about the iPhone libraries.
6. Optional, but really recommended: look deeply into all source code examples that you can find and use the research assistant often.
Take a big breath and … just start!
I just started the most interesting lab of my life : Programming Apple’s iPhone using a MacBook with Cocoa Touch.It is held in Frauhover FIT, under Prof. Dr. Wolfgang Prinz and Dr. Wolfgang Gräther. In this lab we will start develop an iPhone application using Usability principles, Apple’s User interface Guides.
For me it’s the best opportunity to take a peak into the neighbor’s( Apple’s ) garden. For long time I was just curious about their technology and ways to program. But I lacked the hardware, because you can develop for Mac and iPhone only in MacBooks, Macs and obviously need an iPhone for testing.
So I want to share my experience as a newbie into Apple stuff. (more…)
Starting from the Fall of 2002 a close collaboration begin between the RWTH Aachen University, University of Bonn, the Fraunhofer Institute Centre Birlinghoven Castle IZB and the University of Applied Sciences Bonn Rhein-Sieg . They joined forces to establish the Bonn-Aachen International Center for Information Technology (B-IT) who, as a collaboration, ranked the first university in Computer Science in Germany, above Technical University of Munich and the University of Karlsruhe.
I just got the confirmation that I will be enrolled into Agile lab and study the Agile development techniques along with Ruby on Rails and mobile programming. (more…)
Adobe Flex 3 has a very interesting component : LocalConnection. The idea behind is that the modules (which runs on client side) might change some data. The exchanged data is not limited at all to simple forms, but can be from a simple String to a XML or Arrays.
Few things must be known from the start, but as any technology, only after you learn it everything becomes easy.
- First of all, the communication can be restrained to a certain domain, let’s say by example www.radupoenaru.com .
- You can’t have bidirectional communication from a single LocalConnection. One module acts as a server and another one as a client.
- Server module opens a connection to which client connects. If the client loads but the server don’t, then an error occurs in client module.
- Be very careful to the name of the procedure called by server – should be the same in server as in client module. (more…)
Do you have a website and would like to post your tweets from it ? Or maybe you want to create a widget that posts weather on your twitter account?
NOTE: I use it for a Vista sidebar gadget, so only IE code is below. For FireFox or Opera the modifications are trivial. (more…)
While working at Fraunhofer FIT, I had few small projects to develop internal modules for extending the interaction between researchers. The technologies were set from the start to Flex 3 and ActionScript.
As starter in Flex, but not ActionScript, I was quite anxious to begin coding in this interesting tool. But after I created my new Workspace (seems that now everyone creates its own paradigm for Project) and wrote some code, I hit a wall: the Flex IDE debugger interface raised an error that he couldn’t connect to the Flash debugger:
One of the most important questions in launching a website is the hosting.
When moving to private hosting, I realized that I don’t need all features of the premium hosting plans, just a reliable hosting with basic tools to help me do my tasks easier, without too much investment. Also I wanted to continue using WordPress and reuse the content already created in my old website.
The requirements of WordPress from my hosting were pretty small:
- PHP 4.3 or greater
- MySQL 4.0 or greater
- The mod_rewrite Apache module
- What they don’t mention on website Required WordPress space: At least 10 Mbytes of space on server
SEO tools and mod_rewrite were out for a while. They do amazing things, like enabling humans to have a crisp view about the contents of a link. Unfortunately, until IIS 7 Microsoft didn’t had nothing comparable as default, but some companies struggled to offer this basic service.The two options were the rather cheap IISRewrite and the free ISAPI Rewrite Filter.
Mr Thomas Deml, Lead Program Manager in the IIS team, responsible for Security, Performance, Shared Hosting, presents in his overview about how SEO can be added to your application in his breakout session in MIX 09
Come learn SEO best practices and proven techniques that can boost the position of a Web site in search results pages.
Instead of having www.blabla.com/index.aspx?q=cats you can create a redirect to same page, but have instead the link www.blabla.com/search/cats. This enables the search engines to operate more efficiently in serving their customers (which can be also your customers, by the way) more accurate responses to their needs.