How to resume WP8 apps by click app icon again - windows-phone-8

I am writing a C++ DirectX application without XAML for Windows Phone 8.
first I use win key or long press back key to hang the app.
and then click the icon , the app will restart not resume.
same as
lots of games in store and the default template cube DirectX sample app.
but Gameloft's game Asphalt 7, when i click the icon, it resume the game
(it resume without loading , so I am sure that it is resumed ,it is not restated)
how can resume the apps by click icon.
and another question, how could I declare my apps as a game
(it will be listed in "XBOX GAME").
I used to think it will be declared when submitting. but when I tested a lot xap file, I find that it is declared in xap file,not a information defined in app store.

You can achieve this by implementing "fast app resume". You can read about this on MSDN here.
The question about game categorization has been covered before at How to make an app appear in games (xbox) section of wp 7/8.

Related

How to write an app that does not open a window in Windows Phone

I want to write an app that just manipulates the content of it's own tile and then silently terminates.
How do I get rid of any default window and splash screen?
Thanks!
You cannot do this fully. Tapping the tile will always launch the app so there will always be a context switch even if it exits immediately.
The closest you can get is to write a Silverlight app and not include a SplashScreenImage.jpg file. When the app starts up immediately exit by calling Application.Terminate (Runtime apps always show their splash screens while loading, but splash screens are optional for Silverlight apps).
This isn't recommended and is likely to confuse your users. A better design would be to let the app launch and do something useful such as displaying more information about what is on the tile or letting the user know what changes are being made.
As Romasz says, this may not pass certification. See Windows and Windows Phone Store Policies for the certification requirements. I suspect an immediate exit with no reason given will appear as and be treated as an app crash.

Windows Phone 8 App Failed Certification

I recently submitted a very simple app to the WP app store that is basically buttons that play sounds on click.
However, the app failed certification for the following reason(s):
Comments: Result: Fail
The application terminates unexpectedly in response to user input.
Steps to Reproduce:
Play music from music+videos hub and Launch the application.
Tap on any option from MY APPS NAME HERE.
Notice the application unexpectedly terminates.
Comments: Result: Fail
The application terminates unexpectedly in response to user input.
Steps to reproduce:
Play music on the device from the Music + Videos Hub.
Launch the application.
Press the device's universal volume control.
Select "Pause" from the device's universal volume control.
Notice the application unexpectedly terminates.*
My questions are:
What is "the device's universal volume control" ?
How can I stop these errors from happening?
I used Blend to assign a sound to the buttons so there is no code to work with as far as I can see.
I've written similar apps for the Android market and always use a 'stop' and 'release' for each mediaplayer element at the beginning of each button's code. I'm assuming I need something similar here but not sure how to go about it in WP8. Any ideas?
Unviersal volume control refers to the phone physical volume buttons.
Did you have AdMod ads in your app? Recently i found an app with the same behavior failing certification and it was caused by AdMob control doesn't working right when the volume buttons show the volume popup over the app.
If you follow this link, you can see a workaround:
https://groups.google.com/forum/#!topic/google-admob-ads-sdk/vw61ZdJALYo
Hope this helps.

How to build a windows phone 8 application like kid's corner?

I need help on how to build an app for windows 8 phone which is exactly similar to Kid's Corner application which is available with NOKIA LUMIA 520.
I registered with the App Studio of Microsoft and tried to create a simple application like album but as a nubee I am not aware of all fundamentals and so need a simple guide.
Here is what I want my application should do:
Once you launch it, you can not go back until you lock phone and unlock it using password. same way as Kid's Corner.
I want that the app user should be able to see videos and photos only which the app is allowed to access.
User should be able to Zoom photos and play pause videos and using touch-slide can view the next one.
User should not be able to delete any files.
Thanks for pointing me to the exact resource where I can find some things which are easy to understand and simple to do :) .
Thanks a lot!
EDIT:
Is it possible to get the source code of Kid's Zone/Corner application?
1. Once you launch it, you can not go back until you lock phone and unlock it using password. same way as Kid's Corner.
This is impossible to lock user into your app. User always can exit or suspend your app using hardware buttons, you just can handle back button tab, but user also can touch to startmenu button or can hold to backbutton.
And you cant get kid zone's source code, its part of Windows Phone OS.

Not able to install app made using App studio Windows phone 8

Initially I was able to install on my lumia 620 apps made using app studio.
Now I'm getting the following error.
"We haven’t been able to contact the Microsoft Corporation company account to make sure you can install this app. Make sure you’re connected to a mobile or WiFi network, and we’ll try again as soon as we can.
Unfortunately, it may take a couple of days before we can make that connection. If you continue to have trouble contact your company’s support person for help."
I'm in India and I'm using the same live account I used earlier.
Take a look at this : How do I get my app on my Windows Phone device?
It explains in details all the steps you need to do.
For Windows Phone 8.1
As well as various 3rd party QR Code readers you can use, you can also use Bing vision by doing the following. Open your camera on your Windows phone. Press the “Lenses” button Search icon( Sometimes the lenses button won’t be bound to your screen, you can do this by pressing the three dots and adding it to your bindings ) From here, a new menu will appear with various lenses listed. Choose Bing Vision.
Remember that by clicking “install” you download the app. By clicking Tap to open, you add the company certificate. It pushes you back to “Install company app” at that point, but you do not have to do it a second time. At this point, go to your app menu and you will see your app. Point the phone’s camera at the QR code that opens with the certificate link, and the phone will automatically scan it. Click “add” and the certificate is successfully installed once it returns to the original Install the certificate page.
...... CAN'T UNDERSTAND THIS FULLY. PLEASE EXPLAIN

Air as3 app: One App to house many Apps

I am wondering if it is possible to create a master app or suite or container (not sure what to call it) to house multpile apps? I am working in Flash using as3 and packaging as air.
I am working on creating multiple apps for a company and they would like to have an app that when you click on it, all of the apps the person has downloaded from the company would appear inside of it. Keeping all of that companies apps on your device in one location, easy to find. For example, the kindle app. It is one app on your device that when you click on it, it opens up and displays all of the books you have chosen to download. You click the book you want and it opens up. Any ideas?
I don't want to package all of the apps together because I want the person to be able to choose which apps they want to download. I have no clue where to start on this one.
Sorry if my explanation is kind of confusing but I appreciate any help. Keep in mind I am fairly new at this stuff. Thank you!
If your idea is to target iOS then no, you can't. Because it's not allowed to load extra code from anywhere else but the app's own directory so you have to package everything into one app. Android may be a different story though.