Double tap on application to open - double

I want to open an application with double tap on it,
can anyone tell how do i implement it.
Any code or suggestion would be appreciated.
Thanks in advance.

Related

How to hide the application during the runtime?

How to hide the application during the runtime. During the run time when i click the button , i need to perform the action application will close and then hide the application in phone. How to achieve this, even jailbroken iOS is not a problem. How to do.
Thanks in Advance.
add these line to you plist but it will hide your app forever on frist run
SBAppTags
hidden

Android webview perform double click when doing a single tap

i'm have a problem with android webview on some device. When i do a single click, webview performs a double click and when i do a long tap, it performs as a single click.
Here is my webview setting code:
webSettings.setJavaScriptEnabled(true);
webSettings.setLoadWithOverviewMode(false);
webSettings.setUseWideViewPort(false);
webSettings.setPluginState(WebSettings.PluginState.ON);
webSettings.setPluginsEnabled(true);
webSettings.setAppCacheEnabled(false);
webSettings.setCacheMode(WebSettings.LOAD_NO_CACHE);
webSettings.setDefaultZoom(ZoomDensity.FAR);
// Cleaning previous cookies
CookieSyncManager.createInstance(baseContext);
CookieManager cookies = CookieManager.getInstance();
cookies.removeAllCookie();
webSettings.setRenderPriority(WebSettings.RenderPriority.HIGH);
webSettings.setSavePassword(false);
webView.setInitialScale(width*100/320);
//webView.requestFocus(View.FOCUS_DOWN);
webView.setBackgroundColor(Color.TRANSPARENT);
webView.setBackgroundResource(R.drawable.body_bg);
webView.setOverScrollMode(View.OVER_SCROLL_NEVER);
webView.setScrollBarStyle(WebView.SCROLLBARS_OUTSIDE_OVERLAY);
if (Build.VERSION.SDK_INT >= 11) {// Android v3.0+
webView.setLayerType(WebView.LAYER_TYPE_SOFTWARE, null);
}
Do i make a wrong somewhere? Anyone can give a suggestion? I'm sorry because my bad English. Thank you for your help in advance.
Update: i found the reason of this problem. When i set webview scale is 1, it's seem ok but when i set scale large than 1, i have this bug. I also tested with default browser and the phenomenon is same. Can anyone help me?

Add an icon to a Perl/GTK application

I've written a little app in perl/Gtk, now I want to add an icon to it. I"ve got a jpg file.
The app is very basic, and of course use a Gtk2::Window object.
I was thought to use Image::Base::Gtk2::Gdk::Pixbuf but Gtk2::Window->set_default_icon only want a Gtk2::Gdk::Pixbuf object, and I have not managed to create one (if someone can show me). I'm on a debian with perl-5.14.2.
Thanks guys!
Oh, got it!
use Image::Base::Gtk2::Gdk::Pixbuf;
my $navIco = Gtk2::Gdk::Pixbuf->new_from_file("./mltwb.png"); `
$window->set_default_icon($navIco);`
Just had to read doc. Thanks folks!

iPhone accessibility on button with image

Anyone knows how to prevent VoiceOver from speaking the button image filename?
Thanks in advance!
self.button.accessibilityLabel = #"Your accessibility label";
self.button.accessibilityTraits = UIAccessibilityTraitButton;
Hope this help
If you set an accessible name for the button, Voiceover will read that instead of the filename. find exact info at http://developer.apple.com/accessibility

Using Widgets IN Android

I'm new to Android. I want to take input from user and display on it screen. Is anyone help to me.. And also give me explanation also, that help me to understand.. Please help me..
Thanks In Advance...
Snehal Choudhari..
You should probably start by reading: http://developer.android.com/guide/topics/ui/index.html