Ajax load with swipe gesture on touch screen phones

by nolovelust 21. July 2011 15:26

There is a nice jQuery plugin called TouchWipe to obtain touch gestures from iPhone, iPod Touch and iPad and Android phones. Simple example below shows how to trigger an ajax load with left or right swipe on certain element

<!DOCTYPE html>
<html>
    <script src="http://code.jquery.com/jquery-latest.min.js" type="text/javascript"></script>
    <script src="http://www.netcu.de/templates/netcu/js/jquery.touchwipe.min.js"  type="text/javascript"></script>
    <script type="text/javascript">
        $(document).ready(function () {
            $("#list").touchwipe({
                wipeLeft: function () { loadData(); },
                wipeRight: function () { loadData(); },
                preventDefaultEvents: true
            });
        });  
		
		function loadData() {
		$.ajax({
			type: "GET",
			url: "AjaxLoad.htm",
			dataType: "html",
			success: function (result) { $('#listul').html(result); },
			error: function (err) {  }
		});
	}

    </script>
</head>
<body>
<div id="list" class="list" title="Swipe your finger left or right on the thumbnails below to load next set video set.">
<ul id="listul"></ul>
</div>
</body>
</html>

Tags: , , , , , , ,

Mobile web | Useful

Jailbreaking your iPhone is not illegal

by nolovelust 27. July 2010 18:30

Yes! you can freely jailbreak your iPhone. EFF (Electronic Frontier Foundation) won a landmark case in the U.S.

"In its reasoning in favor of EFF's jailbreaking exemption, the Copyright Office rejected Apple's claim that copyright law prevents people from installing unapproved programs on iPhones: "When one jailbreaks a smartphone in order to make the operating system on that phone interoperable with an independently created application that has not been approved by the maker of the smartphone or the maker of its operating system, the modifications that are made purely for the purpose of such interoperability are fair uses.""

 

Details:

http://www.eff.org/press/archives/2010/07/26

http://www.copyright.gov/1201/2010/Librarian-of-Congress-1201-Statement.html

 

I am not lawyer but it should be legal in any other country as apple is an U.S. company

 

Tags: , ,

iPhone

Mobile publishers, iPhone or Android app developers. Be careful when placing ads on your sites, apps!

by nolovelust 23. July 2010 12:12

A rough advert slipped in to Admob's publisher network costed money to quite few people who use iPhone application called Talking Tom Cat.

Application designed for kids was using Admob adverts to support free version and some adverts was designed to trick users/children to click and dial premium rate numbers.

Admob said: "Click-to-call ads with premium numbers are classified as age-appropriate and normally would not appear in apps for children. We will work with the app developer to block these ads if we discover they are showing."

 

From TheRegister;

 

Tags: , , , , , ,

Android | iPhone | mobile internet | Mobile web | Useful

Build iPhone Apps with ASP.NET! If you have 1100 USD!

by nolovelust 13. July 2010 15:35

StudioiPhone is set of controls from ComponentOne enables you to design iPhone web sites simply using ASP.Net Controls. Sounds good but it costs $1,100.00 with support or $800.00 without support.

Don't get me wrong, controls looks amazing and demo site is amazing too. But you are not creating an iPhone app! It is simply a mobile web site designed for iPhone you could use jQuery and Css to achieve same thing! See Building iPhone Apps from O'REILLY

 

 

Tags: , ,

ASP.NET | iPhone

iPhone developer makes $1,400 in iAd Revenue in one day and you poor mobile web developer trying to make $5 per day from your site!

by nolovelust 9. July 2010 08:54

Well, Apple made headlines again! An iPhone developer made $1,400 from adverts on his free flashlight app for iPhone 4 in it's first day! Here is the proof

 

 

It is of course no where near sustainable and novelty of iAd plays big role in this income but still  $1,400 in one day is huge money to make from adverts! I know tens of mobile web developers that would be happy with $5 income a day from their mobile site!

iAd gives %60 of  income from an advert to the developer so from a $2.00 CPC advert publisher gets $1.2. On the other side you earn between $0.01 - $0.07 per click from other mobile advertising companies such as Admob, Inmobi, Mojiva, Buzzcity, AdModa.

 As much as I am against this App hype and Apple's Walled garden approach. I can't help my self but envy!

 

Link to source 

Tags: , , , ,

iPhone

Tag cloud

Month List