MahdiGhiasi / Roamit

A seamless experience across Android, Windows 10 and Windows 10 Mobile devices.
https://roamit.ghiasi.net
GNU General Public License v3.0
93 stars 23 forks source link

[Android] An error when trying to share an image with text/link/whatever #15

Open Kenya-West opened 6 years ago

Kenya-West commented 6 years ago

Please, fix the app, it can't handle sharing from Android to Windows 10, when a picture comes with text or any other content.

When I share picture without any content, it is shared successfully.

MahdiGhiasi commented 6 years ago

Can you give me an example of the app where you share the content you mentioned and it fails? So I can find and fix the issue.

Thanks.

Kenya-West commented 6 years ago

Try to share any picture (actually, even without description) from Telegram or Whatsapp through Roamit, the app crashes.

Luckily, MIUI has some kind of error handler. Here's an exception that leads to crash:

java.lang.NullPointerException
at java.io.File.<init>(File.java:262)

The exception is the same in all cases, either I share a pic with a text or not.

If I share a picture from Mi Explorer app, it shares successfully without any exceptions.

My phone: Xiaomi Mi Max 2; Android: 7.1.1; Both Bluetooth and Wi-Fi are turned on at endpoint devices during sharing.

MahdiGhiasi commented 6 years ago

Current version of Roamit for Android only supports file-based targets for sharing. I'm working on supporting other targets (started here), which will fix the issue described here.

Kenya-West commented 6 years ago

Thanks for answer! Waiting for update