Huawei Tool Converter Cannot Resolve Symbol 'xms' - huawei-mobile-services

I'm using the HMS Toolkit- Converter to add HMS API to my app automatically. After it converts import com.google.android.gms.analytics.HitBuilders; into import org.xms.g.analytics.HitBuilders; it tells me that Cannot Resolve Symbole 'xms'. I also tried going to HMS repository and add the Analytics Kit then hit Apply but it gives me an error HMS Analytics Kit applyplugin dependence added failed:/Users.....
How can I resolve the issue on 'xms' during the conversion? (I used Add HMS API conversion policy.)

Is Cannot Resolve Symbol 'xms' displayed when you use the Add HMS API(HMS API First) or Add HMS API(GMS API First) function?
If so, check whether the following method could solve your problem:
Check whether your HMS Core Toolkit is the latest version. If not, download the latest one.
After obtaining the latest version of HMS Core Toolkit, try again to generate the XMS code.
If the steps above do not work, try to use Sync Project With Gradle File.

Did you try add the HMS toolkit to your application from android studio. I think you can solve the issue with it.
https://developer.huawei.com/consumer/en/doc/development/Tools-Guides/95569931

How to open a file with the suffix "XMS"?
Do you have to use software?
The memory located after 1MB called extended memory.
Generally, programs cannot directly use extended memory.
The usage of extended memory is supported by XMS (extended memory specification), so the extended memory is sometimes referred to as XMS.
Before using extended memory, you should add the command of HIMEM.SYS in the CONFIG.SYS firstly.
Here is the link about what is XMS.
Here is the link reffering to the extended memory of Huawei mobile phone.

Related

How to include google cast sdk into AOSP. What are the essential requirements. We want to build custom AOSP for TV that has cast enabled

Unable to find the solution for Google cast on AOSP
We have gone through documentation, did not do any implementation yet.
Google Cast seems to be a private commercial protocol, so it can't be available in vanilla AOSP code. You can't find in AOSP source code for Google Play Services either, it is installed to devices certificated by Google.
There are 'dark' installs of Google Play Services, from binary files extracted from stock ROMs, see OpenGApps. Not sure if Google Cast framework can be added in such way.
I found a similar question here, please have a look.

How to integrate Huawei Mobile Services (HMS) in Unity?

I've found a lot of guidelines on how to integrate HMS in my apps. But majority of them are different or using android studio. May I know which one is the latest guidelines to integrate HMS in my apps for Unity.
Also, I want to enable In-App-Purchase (subscription) for my apps as well.
Thanks in advance.
UPDATED
Currently I'm trying to implement In-App-Purchase for huawei. Huawei tech said that users need to signIn first before they can use IAP. But I received this error while testing signIn
How to obtain product info ? here
AFAIK you have two main options:
UDP SDK from Unity, which is the Unity official solution to HMS in Unity. However has been under maintenance for some days now.
Unity HMS Plugin from EvilMinds, an open source alternative that is already functional and includes supports to more HMS kits. Looks pretty promising for the future.
In any case you can still manually access HMS Android SDK directly using Unity SDK Android API.
Unity provides the HMS Plugin here: Unity Asset Store > Huawei HMS Core App Services
The README file contains information about development guides, API references. For more technical questions, please submit a ticket with Unity Customer Service.
Currently Unity does not support the In-App-Purchase (subscription) function. It will be planned in the future.
Update:
For the IAP error:
It is a null pointer. Please check for unassigned objects. If you cannot find anything, please delete project and install again cause sometimes these kind of things happening.

How to get package name and version number from play store?

currently, I used firebase_remote_config to give update message to application.
But I update firebase manual when always release new version. Is that anyway to check google play store app version number with package name?
There is no official API to check your latest version in the play store. You could do a webcall getting the contents of https://play.google.com/store/apps/details?id=[appid] and find the version somewhere in the HTML. I cannot really recommend it because the HTML might change overtime. I would suggest keeping it the way it is with a variable in remote_config.
There's no official Playstore API to check the version. You'll have to make API yourself. The API will send the latest version number (and build number) and then the mobile app compares it with itself and displays the message in case update is available.
Since you are already using Firebase, there's one more way (without writing any code).
You send push notifications only to those users who are using old app version. See below :
There's no official way to do it using Flutter. But you can write code in platform wise. Above way is for Android.
Official documentation
click here
medium article click tutorial

'sharedApplication' is unavailable: not available on iOS (App Extension) for Segmentio/Analytics Pod

Running Xcode version 8.2.1, Swift 3, and Cocoapods version 1.1.1 and I can't for the life of me figure out how to resolve this issue. I need to use the analytics library but can't get past this error in the UIViewController+SEGScreen.m class:
Without forking, is there another solution here?
What exactly do you need to figure out? The API is not available when targeting iOS extensions. There is no solution but fixing the API. If this is an open source, the fix looks really simple (wrapping in a custom macro such #ifdef TARGET_EXTENSION). If not, time to use a properly written analytics framework, that takes into account all aspects of iOS development, not the most trivial ones only.

Google Analytics with MonoTouch crashes on device

I am trying to use Google Analytics with a MonoTouch application (iPhone). It works great on the simulator but crashes on startup on an actual iPhone.
This is apparently due to a bug in the XCode linker than doesn't allow libraries with Thumb and non-Thumb instruction sets to be linked together.
http://monotouch.net/Documentation/Troubleshoot
From what I can see, MonoTouch is compiled with non Thumb. The Google Analytics lib is compiled with Thumb.
Has anyone figured out a workaround for this?
Clarification - We are using GA to track the page & event views of our own app. We are not writing an app to query the GA API.
Hello i've done some work with the Analytics API
http://dl.dropbox.com/u/2058130/Analytics.zip
here you are the DLLs i used, this are already monotouch precompiled DLL's you need to import to your project the 3 of them in order to use it
here is the documentation of the dll
http://code.google.com/apis/analytics/docs/gdata/gdataLibraries.html
Hope this helps
Alex
There is no workaround at this time, you should "star" this issue to let Google know its important for you:
http://code.google.com/p/gdata-issues/issues/detail?id=1705
As of version 1.1, the Google Analytics SDK provides a nothumb version of the library.