Archive
Nokia X Try & Buy Pilot
Unveiled at the MWC in Barcelona was the Nokia X, the first Nokia phone to run Android.
Keen to get started, I submitted an app on the day, to the Nokia Publish site, although, it wasn’t until afterwards that I realised I never set a price point for the app. Believe it or not, There is no simple pay-to-download option for Nokia X apps. – Gasp –
So, after research, I see that Nokia are piloting a Try & Buy scheme using in-app payments. Here is the technical details I’ve found about it:
Nokia Try&Buy Pilot – Developer Guide
- Select your apps for T&B
- Create the app metadata in Publish, if new app.
- Create the Product ID (and related metadata) in Publish
- Remember to include: Display name, short and long description and Global Price Point (recommended 3 to 5)
- Choose the type of trial
- Time based (180 seconds) or usage based (3 plays)
- You can change the duration of the trial, 180 seconds is the default setting.
- Fill the T&B configurations in the table below with the following information: Content ID, Product ID, Display Name, Price Point, Trial Type (time vs plays) and Trial Duration
- Send your APKs and T&B configurations to the partner manager
- Use the cloud storage information provided to you by your partner manager
- Package your files in a single zip file with a meaningful name (eg PacMan_T&B.zip)
- Upload your package in the storage provided
- Nokia T&B team will wrap your APKs and upload a new package in the same folder
- Sign your APKs and upload to Publish
- If premium, convert your app to free (App must be published as free)
- Change the content file name (not the display name) to end with _TRYBUYNOK (Eg. PacMan becomes PacMan_TRYBUYNOK)
- Add the following sentence to the Content Description: This content has a time-based free trial which provides the user with free access to the content for a limited time period.
- Modify your application icon in order to include the wording “Free trial”. Example
- Make sure to sign each APK with your signature, upload them Publish and submit your app.
- Notify your PM once these steps have been completed
Title | Title 1 | Title 2 | Title 3 | Title 4 |
Content ID | ||||
Product ID | ||||
Display Name | ||||
Price Point | ||||
Trial Type | ||||
Trial Duration |
Find duplicate name values in resx files
A Resx file is used to define localized text in a .NET application. It is an XML file, which is primarily in the form:
var datanodes = document.getElementsByTagName(“data”);var strNames = [];for(i=0;i<datanodes.length;i++){strNames.push(datanodes[i].getAttribute(“name”));};strNames = strNames.sort();var results = []; for (var i = 0; i < strNames.length – 1; i++) { if (strNames[i + 1] == strNames[i]) { results.push(strNames[i]); }}; console.log(results);
It will then list any duplicate name vales.