Have a trouble with developing an app for smarteyeglass - android

Recently,i need to build an app for smart eyeglass. with official instruction,i have to import three library project,including SmartExtensionAPI,SmartExtensionUtils SmartEyeglassAPI.and i have develop dependencies for my project when i run this app, there a lot of error information.
such as Error:(44, 57)
com.sonyericsson.extras.liveware.aef.notification is not
existing;Error:(45, 57)
com.sonyericsson.extras.liveware.aef.registration is not
existiong!Error:(49, 52)com.sonyericsson.extras.liveware.aef.control
is not existing,Error:(198, 40)Registration.Intents is not existing
and so on.
what's wrong? search for help.
thanks

It seems like you are missing registration for your extension in your application.
Please take a look at sample projects for details. You can also start developing directly using sample projects in the SDK.

Related

Xamarin Android error on DeviceInfo.Model

I have a Xamarin for Android app that has been working until today. I needed to make a change but before I did, I ran a test to ensure no VS or Nuget package updates caused an issue. I have Xamarin.Essentials in my app and this line worked before, not sure what is happening now.
if(DeviceInfo.Model == "TC72"){scannerIndex = 1;}
Exception Unhandled:
Xamarin.Essentials.NotImplementedInReferenceAssemblyException: 'This
functionality is not implemented in the portable version of this
assembly. You should reference the NuGet package from your main
application project in order to reference the platform-specific
implementation.'
Any insight would be helpful. TIA
I changed the DeviceInfo.Model to Build.Model and get the same info I was expecting. That fixed my issue. If anyone has a different suggestion, happy to entertain them.
Added 8/11/21 3:25pm CT
I also found that changing my Compile Target to 10.0 fixed the Xamarin.Essentials issues. So far the application is working on 8.1 on the device (Zebra MC3300).

The name 'AuthenticationAgentContinuationHelper' does not exist in the current context

Hi,I tired to develop Azure Active Directory, But I am facing some issue, I installed Microsoft.Identity.Client NuGet package, but it shows like**"The name 'AuthenticationAgentContinuationHelper' does not exist in the current context**" AuthenticationAgentContinuationHelper.SetAuthenticationAgentContinuationEventArgs(); Please Help me to find the Solution.
I'm not able to find AuthenticationAgentContinuationHelper class in Microsoft.Identity.Client github repo.
By checking the Configuration requirements and troubleshooting tips for Xamarin Android with MSAL.NET, which should be the latest, it's using
AuthenticationContinuationHelper.SetAuthenticationContinuationEventArgs()
You're probably referring an old doc, please check the latest document and update your code accordingly.

Showing badges in android phonegap app

I am developing a phonegap app and I want to show push notification count on app icon. I am using com.phonegap.plugins.pushplugin for receiving push notification.
I am trying to use this plugin https://github.com/katzer/cordova-plugin-badge for displaying badge.
But while building the app it fails and the log shows the following
[javac] /project/src/de/appplant/cordova/plugin/badge/BadgeImpl.java:33: error: package me.leolin.shortcutbadger does not exist
[javac] import me.leolin.shortcutbadger.ShortcutBadger;
Can anyone help me in solving the issue? Thanks in advance.
Add import me.leolin.shortcutbadger.ShortcutBadger; in the top of file "BadgeImpl.java" so that ShortcutBadger class is imported, this should fix the error.
Otherwise try the latest version of cordova-plugin-badge, it should work fine.I did not get any errors while building with latest version (0.7.3).
But I found some different issue with that plugin, badge count is not getting added in Samsung device whereas its working with "ShortcutBadger" "SampleApp"! strange that plugin code is not yet updated with latest ShorcutBadger code!!
Just found another plugin cordova-plugin-android-badge-counter
and its working in Samsung device as well. Try it :)

Phonegap Cordova 5.x looking for working Android QR-Code-Scanner Plugin (Google API 23)

i am looking for a working barcode-scanner plugin..
i´ve already found this one:
https://github.com/phonegap/phonegap-plugin-barcodescanner
..but unfortunately it doesn´t work with the Google API 23 (there are errors occurring by the bookmarkcolumns plugin included).. as far as i know it works with api 22 or less
so the errors ocurr in the CaptureActivity (src folder) > com.google.zxing.client.android.share
files:
AppPickerActivity.java
BookmarkPickerActivity.java
ShareActivity.java
Error: BookmarkColumns cannot be resolved or is not a field
so my question is, is there any other barcode-scanner-solution for phonegap or is there a way to fix these errors?
any help would be appreciated!
thanks!
BarCode Scanner :
Click on the below link you will find multiple numbers of barcode scanner plugin. Please add which ever shoots your API level.
Barcode Scanner plugins

App Engine Connected Android Project - Could not find ...RequestFactorySource

I'm unable to run even the default App Engine connected Android app, since updating my SDK. I've gone as far as deleting eclipse and all of my libraries and reinstalling them with no success. I've followed Google's tutorial to the letter and verified the validation tool is in my build path. This is the error I'm getting (and yes requestfactory-client.jar is in my library).
dalvikvm(375): Could not find method com.google.web.bindery.requestfactory.vm.RequestFactorySource.create, referenced from method com.Util.getRequestFactory
dalvikvm(375): VFY: unable to resolve static method 84: Lcom/google/web/bindery/requestfactory/vm/RequestFactorySource;.create (Ljava/lang/Class;)Lcom/google/web/bindery/requestfactory/shared/RequestFactory;
I'm completely lost at this point and about to pull some hair out, please help. Thanks
In my case it's an issue with the new ADT 17 and how it handles library projects. This post is a good explanation on how to fix it:
http://android.foxykeep.com/dev/how-to-fix-the-classdefnotfounderror-with-adt-17
I, too, was going crazy on this. Hope this helps.
The validation step can be important too (like you did):
http://code.google.com/p/google-web-toolkit/wiki/RequestFactoryInterfaceValidation

Categories

Resources