Archive

Posts Tagged ‘apple’

Submit Form Using Ajax (Post)

September 24, 2011 1 comment

Post.html

<script type="text/javascript" language="javascript">// <![CDATA[
var h_request = false;
function makePOSTRequest(url, parameters) {
h_request = false;

<!--more-->

if (window.XMLHttpRequest) //MOZILLA
{
h_request = new XMLHttpRequest();
if (h_request.overrideMimeType)
{
h_request.overrideMimeType('text/html');
}
}
else if (window.ActiveXObject) { // IE
try {
h_request = new ActiveXObject("Msxml2.XMLHTTP");
} catch (e) {
try {
h_request = new ActiveXObject("Microsoft.XMLHTTP");
} catch (e) {}
}
}
if (!h_request) {
alert('Cannot create XMLHTTP instance');
return false;
}

h_request.onreadystatechange = alertContents;
h_request.open('POST', url, true);
h_request.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
h_request.setRequestHeader("Content-length", parameters.length);
h_request.setRequestHeader("Connection", "close");
h_request.send(parameters);
}

function alertContents() {
if (h_request.readyState == 4) {
if (h_request.status == 200) {
result = h_request.responseText;
document.getElementById('myspan').innerHTML = result;
} else {
alert('There was a problem with the request.');
}
}
}

function get(obj) {
var poststr = "mytextarea1=" + encodeURI( document.getElementById("mytextarea1").value ) +
"&mytextarea2=" + encodeURI( document.getElementById("mytextarea2").value );
makePOSTRequest('post.php', poststr);
}

// ]]></script>

<form action="javascript:get(document.getElementById('form1'));" name="form1" id="form1">
<textarea id="mytextarea1">testing data
1
2
3
</textarea>
<textarea id="mytextarea2">testing data 2
4
5
6</textarea>
<br>
<input type="button" name="button" value="Submit"
onclick="javascript:get(this.parentNode);">

</form>

<br><br>
Server-Response:<br>
<hr>
<span name="myspan" id="myspan"></span>
<hr>

Post.php

<?
print_r($_POST);
?>
Categories: ajax, Androide developer, CakePHP, CakePHP Developer India, freelance developer, Freelance PHP Developer, Freelance PHP Programmer, Freelance Programmer India, freelance web, freelance web designer, Freelance web developer, get a freelancer, Hire Dedicated Programmer, Hire Dedicated Programmer India, Hire PHP Developer India, Hire PHP Professional, Hire PHP Professional India, Hire PHP Programmer India, Hire Web developer, Hire Web Developer India, india web development, Indian Freelancer, iOS, ipad, iphone developer, JavaScript, joomla, joomla developer india, jquery, mysql, oscommerce Customization, oscommerce developer, php, PHP Freelancer, PHP Freelancer India, php freelancing india, php freelancing india mumbai, PHP programmer, PHP Programmer India, Php programming, PHP Web Development, php web programmer, web designer india, Web Developement Company USA, web developer, web developer ahemdabad india, web developer india, Web development India, Word Press Reserch, wordpress, Wordpress Blog Developer, Wordpress Customization Services, wordpress freelance developer, wordpress freelance programmer, wordpress freelancer, Wordpress Freelancer India, Wordpress Programmer, Wordpress Shopping Cart, Wordpress theme customization, wordpress theme integration, x cart development india Tags: , , , , , , , , , , , , , , , , , , , ,

Apple Confirms iCloud Web Apps for Mail, Contacts, Calendar, and Find My iPhone

September 14, 2011 Leave a comment

Web access to iCloud Mail, Contacts, Calendar, and Find My iPhone will be available at icloud.com this fall.Apple also confirms that the existing iWeb publishing, Gallery, and iDisk services from MobileMe will not be making the transition to iCloud. Some of these functionalities will, however, be replaced and/or enhanced with the already-announced photo and cloud services in iCloud.

All existing MobileMe services will continue to be available through June 30, 2012, although some such as syncing of Mac Dashboard widgets, keychains, Dock items, and System Preferences will become unavailable if users transfer their existing MobileMe accounts to iCloud before that deadline. Other MobileMe services not transitioning to iCloud such as iWeb publishing, Gallery, and iDisk will continue to be available until June 30, 2012 regardless of whether users maintain their existing MobileMe accounts or transition them to iCloud.

Contact Me:

bhavinrana07[@]gmail.com

Open-source project ports Android apps to iOS

September 14, 2011 1 comment



A new open-source project entitled “In The Box” hopes to make the job of porting Android applications over to Apple’s iOS platform much easier by providing tools that can take a ready-coded Android app, execute and test it on different iOS devices and then submit the binary to Apple’s App Store.

In The Box operates by taking the Dalvik virtual machine from Google’s Android operating system and allows it to run alongside tools provided for iOS apps, requiring little or no changes to the code to get the apps in the App Store.

Currently, the process is a complicated one – the project requires a decent amount of technical knowledge and an understanding of both the Android SDK and iOS development applications. The official website includes a video of a demonstration app, but only shows how to port a simple “Hello World” application, not a dedicated Android Market title.

Whether Apple would approve such apps remains to be seen and we imagine there could be issues with specific functions and hardware support. But, as it stands, there seems to be a bonafide way to be able to get Android apps ported over to iOS.

 

for projects mail me on:

bhavinrana07[@]gmail.com

%d bloggers like this: