Is there such a thing as an "on load complete" for images in iphone?
I want to be able to destroy a UIActivity indicator once and image is loaded.
What the general best practice for doing this?
Could someone with knowledge of jQTouch for the iPhone have a quick look at my source and let me know what the heck I'm doing wrong? Clicking the big green buttons is supposed to reveal that particular section.
http://designsnack.com/mobile/
What's the battery time of iPhone 3G and 3Gs with GPS active? I'm getting approx. 2 hours of battery life with active GPS (Note: I'm using my own App).
Hi Friends,
Please take a Matt Gallagher's Audio Streaming code with call interruption from the following link,
http://www.smartsdktips.com/blog/2010/03/14/iphone-audio-streamer-working-code-with-call-interruption/
Thanks.
Hey guys,
I have a xml file on my server like the one below :
www.myWebSite.com/myXmlFile.xml
which is used by my iphone application.
In case the address of my xml file changes to
www.myOtherWebsite.com/myXmlFile.xml
How can I make my app to work anyway ? What kind of PHP server-side code do I need to write ? Is NSURLConnection supporting reirections ?
Thanks for any incomings ;)
Gotye.
Hello,
when looking on:
http://www.pharao.mobi/WebApp17/
i can call this website on the normal webbrowser and on safari, but on iphone it is black, why?
I have added caching by adding Expires:------ to the header
iPhone Safari seems to have some sort of problem whereby a page with css like this:
body {
background: #000 url(fixedimage.png) fixed repeat-x;
}
...doesn't actually lead to a fixed image. It scrolls as the user scrolls.
I've seen plenty of people kvetching about this on the internets, but no real solution. Does anyone have any ideas?
Hey there. I am creating my first iPhone native app (beginner Objective-C). On my main menu title screen, i would like for the background image to move slowly to the left. Is it possible to tile a background image and have it move? I'm basically trying to have my clouds drift across the background. How would you accomplish this?
Will iPhone OS 4.0 will give developers to send SMS and MMS inside the application..!
Or is it already been in SDK?
All the time while sending SMS, native window is popping up.!
Do any one has any idea about this?
I can't find any support for GL_TEXTURE_RECTANGLE_ARB in OpenGL ES. Is there any extension specific for iPhone or iPad which can render arbitrary sprites (non power of two)?
Thanks for help.
I downloaded the iPhone 4.0 Beta. But for my projects I need to compile for 3.1.3 to be able to still submit my projects to the App Store. If I run an old project that isn't a problem I can see all the versions, but when I start a new project I can only pick the 4.0 beta, how can I fix this?
Hi,
I a bit overwhelmed with all of the sample code I've seen on the apple dev site.
I'm looking for a simple example to show me how to load an xml file from a server into iphone.
I would like to read url's from this xml file and load an image.
In my iPhone app, I am using the UIImagePickerController with source type UIImagePickerControllerSourceTypeCamera. When the user takes a picture, the phone plays the familiar camera shutter sound. How can I replace this with my own custom sound? I know it's possible because I've seen other apps from the App Store do it (e.g. Red Laser).
Thanks in advance!
Hello,
Is there any one who can help me to understand how we can implement Hessian protocol in iPhone. I have Hessian kit, but its not that straightforward as I thought.
Please help me, either by Hello World example or some link which explain Hessian implementation.
Thanks
Shikhar
Are you an iPhone/iPad/Android programmer with a designer soul? If so we would like to hear from you.
Drop us your best work/portfolio and than we talk.
[email protected]
Cheers
T
Hello,
I am trying to compile the Enet source code into my code framework for iPhone games. After modifying the header files I get it compiling and linking, but I absolutely must be compiling with the "Compile Source As" set to "Objective-C++" in my xcode project (because the framework code requires this). When I flip this switch in my test project, I get these errors:
Undefined symbols:
"_enet_list_clear", referenced from:
_enet_host_connect in host.o
...
Can anyone help get this linking with "Compile Source As" set to "Objective-C++"?
Creating some simple html pages specific for the iphone, and would like to use autocomplete for one of my textboxes. Is it possible to do this with javascript and if so, how?
Hi..
I am developing a application in iphone which requires me to load my phone contacts.
how to load my contacts in the application?Is there any API or LIBRARY which allows me do the this.
Kindly suggest me with some solutions.
Regards,
Vijaya
When you use facebook connect on the iPhone do you have to use the supplied login button and login screen built into the framework? The reason I ask is because I'm also using twitter and I would like to have the same user experience when they log in to user as they have when they log in to facebook. So I can either replicate the login screen facebook connect uses for twitter or just not use the facebook connect login screen all together.
I would like apply a 3D rotation on a view (in particular to a UILabel) in iPhone. What's the simplest way to do this?
A code example will be much appreciated.
Could someone please tell me what I am doing wrong? I'm not a newbie at programming but I feel like it tonight! Every time I increment the incrementing variable it throws a fit! When add one to it, it behaves fine, but if I try to add one more to it it wants to add 2 more. And then if I try to de-increment it wants to subtract from the original number that it was assigned to.
I've tried:
i++;
i = i+1;
i = i++;
Nothing seems to work. It's got to be a stupid mistake.
Press the buttons to increment and de-increment.
http://michaelreynolds.net/iphone/
here's the code:
var dayNum = 30;
//----------------------------------------------------------------------
$.jQTouch({
icon: 'dailyqoteicon.png',
statusBar: false,
initializeTouch: 'a.touch'
});
//----------------------------------------------------------------------
$(document).ready(function(){
//$(function(){});
$(function(){
$('a.touch').swipe( function(event, info){
//alert("jQTouch swipe event");
//alert(info.direction);
});
});
$(function updateVerse(){
//alert("updateVerse called");
$.ajax({
type: "GET",
dataType: 'JSON',
data: 'day='+ dayNum,
url: 'forward.php',
success: function(data){
var obj = $.parseJSON(data);
$("h2.quote").html("");
$("h3.reference").html("");
$("h2.quote").append(obj.quote);
$("h3.reference").append(obj.reference, " ", obj.version);
//$("span.version").append(obj.version);
//-----------------------------------
// JSON string {"id":"1","quote":"For to me, to live is Christ, and to die is gain","reference":"Philippians 1:21","version":"NKJV"}
},
error: function(request, error){
alert("problem retrieving json data string");
}
});
function addDayNum(){
dayNum = dayNum + 1;
//dayNum = dayNum++;
}
function subDayNum(){
dayNum = dayNum - 1;
//dayNum = dayNum--;
}
$("div#header a.next").tap( function(){
addDayNum();
//dayNum++;// doesn't work at all
//dayNum = dayNum + 1;//doesn't work at all
updateVerse();
//alert(dayNum);
//alert("next clicked");
});
$("div#header a.prev").live('click', function(){
subDayNum();
//dayNum--;//doesn't work at all
//dayNum = dayNum - 1;// doesn't work at all
updateVerse();
//alert(dayNum);
//alert("previous clicked");
});
});
});
hi,
i want to use google translate api from the iphone.
what i found is :
http://code.google.com/p/gdata-objectivec-client/
but in the list i can not see the translate api.
where i can found the library ?
thanks.
Hi,
I'm trying to load at run-time Lua scripts on the iPhone.
Is there a possibility to do that?
How can I getting started with Lua? I can't find something. The only thing I can find is that this should be possible, but I am wondering how.
Thanks