Adding app in Windows Phone gallery - windows-phone-7

I am new in Windows Phone app development.
I have just created an app which deals with image processing.
I want to add my app to the list shown in the photo gallery and could not find a way to do it.
It would be great if anyone could help me.

You can edit the WMAppManfiest.xml file using XML Editor. Add Extensions after the Token element. And Insert extension of Photos_Extra_Hub into extensions.
<Extensions>
<Extension ExtensionName="Photos_Extra_Hub"
ConsumerID="{5B04B775-356B-4AA0-AAF8-6491FFEA5632}"
TaskID="_default" />
</Extensions>
So your app will appear on the Photo Hub Apps. If you want to edit your picture by your app in WP8. You can read Extending the photo edit picker for Windows Phone 8

Related

Can a Xamarin app be updated by downloading an image, CSS, or .js files using WCF service?

Suppose we write a Xamarin MVC application which is deployed to a device and runs connected to the web.
If we need to update the application by downloading some images, CSS, or .js files using WCF service, for example, is that possible?
Does iOS, Android, and Windows allow you to do that?
Thanks
You can not update the app bundle itself on either iOS or Android, and presumably UWP but I am not very familiar with that platform so not sure. For iOS and Android the app bundles are signed so they can not be modified or else the signature will no longer be valid. You can, however, download anything you want and store the downloaded files in the file system. Every app does have a file system it can access to read and write from. See this Xamarin doc:
Forms:
https://developer.xamarin.com/guides/xamarin-forms/working-with/files/
You might also want to look into the PCLStorage plugin:
Xamarin Component: https://components.xamarin.com/view/pclstorage
NuGet: https://www.nuget.org/packages/PCLStorage/
Source: https://github.com/dsplaisted/PCLStorage
(I know I should paste relevant bits from links, but there is just too much to paste and would end up pasting the whole article. If above link is broken, just google "Xamarin working with files")
Note: I work for MS/Xamarin

How to create image gallery in ASP.NET MVC3 with jquerymobile?

i have develop a Jquerymobile applicataion in MVC3(Razor) it is working fine in mobile devices and desctop.Now i want create image gallery in this app that is when i open the app in Iphone then i get the images from Iphone gallery for uploading..Please help me how can i get all images gallery in Iphone..
a google [ other search engines available ] search for html image gallery, jquery gallery etc should yeild quite good results for displaying a gallery. however if you want the photo from the phone itself then you need something like phonegap and create an application for a phone so that you can access the phone itself.
there is no way for a website to access iphones files, hence the reason why upload boxes are disabled when you visit websites.
the other options is to hook through facebook and allow users to pick a photo from the ONLINE content, that can then be passed over, however this is theory and you need to actually create something, anything and then maybe get guidance when you are stuck, or have problems.

how to change a Windows phone 7 market place application icon

I uploaded windows phone 7 app in market and it's rejected by apphub market,with reason of displaying default app icon,here the application icon is not being displayed instead it shows an default application icon.I also uploaded all design images in artwork design with suitable dimension of icon.Please help me to show application icon in market place.
Have a look at the end of this post
It shows how to set these icons. (The posts starts with drawing them but you could skip that)
If you are looking in the app hub at the details of your released ap, this always shows the default "cog" app at the top.
If you've uploaded the correcct images these will be seen in the application artwork section of the page.
If the wrong images are being displayed in the marketplace, is this the phone marketplace or the desktop one? Or both?
If the images displayed in the marketplace don't match the ones listed in the details in the app hub then you should contact app hub support.

How do you get your WP7 app to show up in the Games Hub?

I've made a simple game for WP7 but apparently simply using the XNA template isn't enough to get your game to show up in the games hub. What code do I need to make that happen?
Also, can I get games made in silverlight to show up in the Games Hub as well? If so, how do I do that?
Thanks!
You need to edit the WMAppManifest.xml file (in Properties [C#] or My Project [VB.NET]) to set Genre="apps.normal" (in the <App> element) to Genre="apps.games". This will work for both XNA and Silverlight apps. See Application Manifest File for Windows Phone for more details.
Give it a try and side-load it to your phone for testing - it's pretty cool to see it show up in the Games Hub.

facebook login with facebook c# sdk doesn't work on windows phone 7

I want to include the option to share some acutivies of my WP7 app on facebook. For this I have downloaded the Facebook C# SDK and I'm currently over the authentication phase.
I have followed the WP7 example but then I run the app the login button of the facebook page isn't working. Is this a bug in my code, in the facebook sdk or a facebook bug?
I have uploaded a test project to my SkyDrive account.
Thanks for the help.
Best regards,
Ralf
Change the WebBrowser definition (in XAML) to this:
<phone:WebBrowser Grid.Row="1"
Name="FacebookLoginBrowser"
Navigated="FacebookLoginBrowser_Navigated"
LoadCompleted="FacebookLoginBrowser_LoadCompleted"
IsScriptEnabled="True" />
The last item is the key. WP7's WebBrowser control defaults to having scripting off. Facebook login requires it.
(Please mark me as the answer if it solves your problem.. it worked for me)
You may have run into a Visual Studio bug (or your folders were not packaged up properly and I am the only one seeing this ;). Try this:
Launch notepad, and edit `FacebookTest\FacebookTest.csproj' (as a text file)
Halfway down in the file, the is an <ItemGroup> containing <Reference ...> tags
Add a reference <Reference Include="mscorlib" />
Save, (re)start Visual Studio
At this point, I was able to build your code, but deploying and running may require additional steps.
This is the exact behavior I saw when I trying to authenticate with the C# Facebook SDK in Windows Phone 7. When you load Facebook's auth page into a BrowserControl a page loads with a button, but tapping on the button does nothing - the page with the token in the never loads (in contrast with my nearly identical WPF project).

Resources