Is it possible to use placeholder in WP7 (PhoneGap)? - windows-phone-7

I have been making an app using Apache Cordova (formerly known as PhoneGap), and I have input fields with the placeholder attribute.
This works fine on Android and iOS, but not Windows Phone 7.
I know you can use JavaScript to emulate the same functionality, but I want to avoid reinventing the wheel.
Is it possible to use placeholder on Windows Phone 7 in input elements? If so, how do use it?

The placeholder is an HTML5 element. Apparently WP7 browser does not recognize this yet.

Related

Casting with application not in Chrome

Does the SDK allow me to cast from a straight windows application, rather than from the Chrome browser? I want to upgrade our application to include casting a particular form and sound to the TV.
No it doesn't allow that; there is no SDK for such approach.

if I use a BlankApp(xaml) Template in Metro Apps and develop my desired UI , will it work accordingly in Windows phone also?

1) What I have understood that if you develop a application in metro style, it work in desktop, tablet and also phone?
2) I can understand if I use a standard template like grid template for developing my metro style app, that grid view will be converted to listview because of visual state transitions and will work in Windows phone. but my doubt is if we use a blank app template and develop whatever UI I developed as per client requirement will it be able to render or show up in windows phone?
A WinRT app (I assume that is what you mean by Metro) will run on the desktop/tablet and theoretically a Windows Phone 8 device without code changes. First, note that we are talking about Windows Phone 8 (not the current Windows Phone 7) and that it runs, not that the UI layout will be exactly right.
You can design the app however you like, whether it conforms to the Metro design or some other look altogether. If it is developed on WinRT, it should be code compatible with the phone as well.

jQueryMobile alternative for windows phone 7?

i have a problem, i'm using jquerymobile for some android apps and it runs very nice.
after trying it on windows phone which dont uses the webkit, it relly disapointed me.
when e.g. you click a button its looks very ugly.
do someone know a framework which is quite equal to jquerymobile but optimized for windows phone?
Have you tried using the jQuery Mobile Metro theme? It is, as far as I know, the only HTML5 mobile framework optimised for WP7.

Can we programmaticllay take screen shots using Blackberry and Windows 7 SDK?

I know that we can take screen shot of an App during runtime. In iOS we can use UIGraphicsBeginImageContext to get the screen shot. We can also do the same in Android.
But is it possible with Blackberry and Windows 7 Mobile OS?
A simple search for "blackberry screenshot" on stackoverflow returned this pretty straightforward answer:
Taking screenshot of the current screen in BlackBerry
And a search for "windows-phone screenshot" yields this:
Windows Phone 7 - Capture Screen
If what you need is for capture a screenshot of your own Windows Phone app, then this post from Jeff Wilcox will come in handy!
It looks like there is a function for that in Display. Check out the SDK reference.
There are a couple of Homebrew tools you can use to take screenshots on WP7 here and here however you wont be able to use these programatically. You can also something along the lines of Mark Artega or Jeff Wilcox
There is no Silverlight VisualBrush support for WP7 and no global Screenshot functionality on WP7 Mango, but writablebitmap.
There is a very usefull way by using default Microsoft Emulator integrated WP7 Screenshot Tool
or use third party methods.
If you are familar with XNA Framework, there you can access to the screen. Using Multithreading, you can do your screenshots that way. If never used the last app because I feel fine using Microsofts Emulator Screenshot button to save my png images.
After you can stitch it together using different ways.

Live tile inside windows phone 7 application

Is it possible to create a live tile inside our windows phone 7 application? I am asking the similar functionality as in AppHub app "...i'm a WP7!".
Please provide me input, how i can achieve this functionality?
Check out the HubTile control from the Silverlight Toolkit for Windows Phone over at codeplex.
Just be careful that it looks good and makes sense in your app - it's a very dynamic control and you can't see the Title of the control all the time.

Resources