microsoft / project-rome

Code samples and documentation of Microsoft's Project Rome SDK
https://aka.ms/projectrome
Creative Commons Attribution 4.0 International
447 stars 99 forks source link

Project Rome Xamarin.Android Unbrauchbar #43

Open AndiFs opened 6 years ago

AndiFs commented 6 years ago

Project Rome Xamarin.Android Unbrauchbar

useless

cmknox commented 6 years ago

@AndiFs can you please let us know what you're trying to do here?

AndiFs commented 6 years ago

Mmhhh… get Connection to my windows 10 pc( FCU) for remote control over xamarin.forms… and windows mobile for sure lol lol lol

Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows 10


Von: Carmen Forsmann notifications@github.com Gesendet: Wednesday, January 3, 2018 11:07:44 PM An: Microsoft/project-rome Cc: AndiFs; Mention Betreff: Re: [Microsoft/project-rome] Project Rome Xamarin.Android Unbrauchbar (#43)

@AndiFshttps://github.com/andifs can you please let us know what you're trying to do here?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/Microsoft/project-rome/issues/43#issuecomment-355141435, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AV7zac46pB-YzdC6R74biw4iDlBbrK3Pks5tG_owgaJpZM4RPzNj.

AndiFs commented 6 years ago

Login to MS account works okay

But when recognize or init Remove System discoverty always Errors occure!!!!

Nothing help!!!

Android Handy version is V7.0… Samsung galaxy 8 s+ (iPhone not possible and wanted so far…)

Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows 10


Von: Carmen Forsmann notifications@github.com Gesendet: Wednesday, January 3, 2018 11:07:44 PM An: Microsoft/project-rome Cc: AndiFs; Mention Betreff: Re: [Microsoft/project-rome] Project Rome Xamarin.Android Unbrauchbar (#43)

@AndiFshttps://github.com/andifs can you please let us know what you're trying to do here?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/Microsoft/project-rome/issues/43#issuecomment-355141435, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AV7zac46pB-YzdC6R74biw4iDlBbrK3Pks5tG_owgaJpZM4RPzNj.

cmknox commented 6 years ago

@AndiFs ok, sorry that this is not working for you. Ok, so the setup is Android phone to Windows PC using the RemoteSystem APIs for discovery. You can login with your MSA, but you initialize the platform this error occurs, do I have that right? And the error is,

Unhandled Exception: Java.Lang.UnsatisfiedLinkError: No implementation found for long com.microsoft.connecteddevices.RemoteSystemWatcher.initialize() (tried Java_com_microsoft_connecteddevices_RemoteSystemWatcher_initialize and Java_com_microsoft_connecteddevices_RemoteSystemWatcher_initialize__)

is that right?

AndiFs commented 6 years ago

I can log in to my msa without any Errors…. But when discoverty.start is called i get this error…

And no sorry… native Android is no way!!! So xamarin is the way i want to use it

Lg andi

Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows 10


Von: Carmen Forsmann notifications@github.com Gesendet: Saturday, January 6, 2018 12:42:31 AM An: Microsoft/project-rome Cc: AndiFs; Mention Betreff: Re: [Microsoft/project-rome] Project Rome Xamarin.Android Unbrauchbar (#43)

@AndiFshttps://github.com/andifs ok, sorry that this is not working for you. Ok, so the setup is Android phone to Windows PC using the RemoteSystem APIs for discovery. You can login with your MSA, but you initialize the platform this error occurs, do I have that right? And the error is,

Unhandled Exception: Java.Lang.UnsatisfiedLinkError: No implementation found for long com.microsoft.connecteddevices.RemoteSystemWatcher.initialize() (tried Java_com_microsoft_connecteddevices_RemoteSystemWatcher_initialize and Java_com_microsoft_connecteddevices_RemoteSystemWatcher_initialize__)

is that right?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/Microsoft/project-rome/issues/43#issuecomment-355695298, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AV7zafmzqhXlkTXQI3_iV7t-mOLzmPlFks5tHrNngaJpZM4RPzNj.

cmknox commented 6 years ago

@AndiFs sorry for the confusion, I'm not suggesting you use Android natively, instead I was recommending we test your scenario without using Xamarin Forms and just use the traditional method of creating cross platform application with Xamarin, similar to this post: https://forums.xamarin.com/discussion/45765/cross-platform-without-xamarin-forms

Would you be willing to try to see if Xamarin Forms is causing your problem?

AndiFs commented 6 years ago

Okay but i’ve enough Troubles with you on other sides and programs ,… i will read through and will try

Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows 10


Von: Carmen Forsmann notifications@github.com Gesendet: Monday, January 8, 2018 7:58:33 PM An: Microsoft/project-rome Cc: AndiFs; Mention Betreff: Re: [Microsoft/project-rome] Project Rome Xamarin.Android Unbrauchbar (#43)

@AndiFshttps://github.com/andifs sorry for the confusion, I'm not suggesting you use Android natively, instead I was recommending we test your scenario without using Xamarin Forms and just use the traditional method of creating cross platform application with Xamarin, similar to this post: https://forums.xamarin.com/discussion/45765/cross-platform-without-xamarin-forms

Would you be willing to try to see if Xamarin Forms is causing your problem?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/Microsoft/project-rome/issues/43#issuecomment-356060448, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AV7zaRI5yubiOr2DU-5RQvtarVy7SM_xks5tImVZgaJpZM4RPzNj.

hannespreishuber commented 6 years ago

Same here Java.Lang.UnsatisfiedLinkError: No implementation found for long com.microsoft.connecteddevices.RemoteSystemWatcher.initialize()

with RomeCastSample App- worked some month ago-

kbmuri commented 5 years ago

Is there a solution for this?

I have a thoroughly tested UWP app running on Windows 10 in Desktop mode implementing App Services and several thoroughly tested client UWP apps running on same PC communicating very nicely. I extended the App Services code per your instructions to make it work with Connected Devices. Local PC communication is still working fine after these modifications. Am trying to develop an Android phone app that will communicate with same UWP app. Am taking elements from your Project Rome's Main Activity and incorporating them into my Phone App's Main Activity. Seems like I'm following instructions pretty well. Am stopped at the error as described in this thread.

Code is running on a physical Android 5.0.2 device at present. Expecting it to work on Kit Kat or greater in the future. UWP apps were written under Xamarin on Visual Studio 2017 Community, 15.5.6. Android app in question is being debugged under same.

I put a try-catch around the line: remoteSystemWatcher.Start();

and caught the exception as follows: Unhandled Exception:Java.Lang.UnsatisfiedLinkError No implementation found for long com.microsoft.connecteddevices.RemoteSystemWatcher.initialize() (tried Java_com_microsoft_connecteddevices_RemoteSystemWatcher_initialize and Java_com_microsoft_connecteddevices_RemoteSystemWatcher_initialize__) occurred

A little research says I'm:

"attempting to dynamically load a native library that cannot be located by the Java Runtime Environment (JVM)"

Native (rural Midwest) USA English is my one and only fluent language. Been programming in variants of C language for more than 35 years. Total mastery of Windows. More than willing to

Xamarin has had me pulling my hair out lately.

Assistance?

Thanks.

kbmuri commented 5 years ago

p.s. Your Flux Capacitor is malfunctioning.

flux capacitor forum