yashsingh1/xdaforums huggingface dataset:
[Android Software Development] andrbrks:
I'm still having trouble even getting the service itself to install. I would included the log file, but one is not created. The command prompt simply opens and immediately closes and doesn't seem to fully run through the install.
[Android Software Development] Adarzh:
Hi,

Did a few minutes of testing. So far its working fine. No crashes in the service or app. Here is some of my observations.

My phone extremely overheats while using the application

If the same file is copied, it overwrites the file. A popup or an option in settings to set this would've been nice

Option to choose multiple files

Since i couldn't make the app crash . I did the following to make it crash. Once the open/close dialog box is present, delete the file from the Temp folder, and when you press the open button again, the app will crash.

Adarsh
[Android Software Development] om22:
What transfer speeds is this averaging for you? I'm curious because FTP server apps or WIFI file transfer apps max out at about 90mbit/s.

However my wifi link speed is 150mbit/s on 5GHZ.

Defenitely will try this later today.

Gesendet von meinem Nexus 5 mit Tapatalk
[Android Software Development] Borg1of3:
do not give up ;)

:cool: but it does not working yet... I will keep on my eye...thx DEV ...looks like good idea...
[Android Software Development] OmarBizreh:
Once you run the install.bar, 2 log files will be created in the same directory, can you please send me those files.

those will include what happened during installation and will help me find out why it failed on your end.

hmmm... tried to make it crash, I like your style :good:

I will fix that, although I'm happy to know that things are solved now and users are able to use the app :D

Actually I have made it fixed to 800KB per second for now, I will work on making it faster once I'm done with fixing issues reported :good:

doesn't work yet :eek:

At what point you are having issues?

Some of the issues that I face which are not because of the app is wifi channel interference, I sometimes have to change the channel so that it doesn't interfere with my neighbors channel so that my phone can get through the router and connect to my laptop.

Can you please tell me what issues you faced :highfive:
[Android Software Development] Borg1of3:
I am text U my log...but unfortunately is in Czech leanguage :(

Instalace sestavení C:\Users\Filip\Desktop\Droid_Sync_Manger_Server\Droid Sync Manger\Droid Sync Manager.exe

Zasažené parametry:

logtoconsole =

i =

assemblypath = C:\Users\Filip\Desktop\Droid_Sync_Manger_Server\Droid Sync Manger\Droid Sync Manager.exe

logfile = C:\Users\Filip\Desktop\Droid_Sync_Manger_Server\Droid Sync Manger\Droid Sync Manager.InstallLog

Instalace služby DroidSyncManagerService...

Vytváření zdroje EventLog DroidSyncManagerService v protokolu Application...

Odvolání sestavení C:\Users\Filip\Desktop\Droid_Sync_Manger_Server\Droid Sync Manger\Droid Sync Manager.exe

Zasažené parametry:

logtoconsole =

i =

assemblypath = C:\Users\Filip\Desktop\Droid_Sync_Manger_Server\Droid Sync Manger\Droid Sync Manager.exe

logfile = C:\Users\Filip\Desktop\Droid_Sync_Manger_Server\Droid Sync Manger\Droid Sync Manager.InstallLog

Obnova protokolu událostí na předchozí stav zdroje DroidSyncManagerService

V odvolací fázi instalační služby System.Diagnostics.EventLogInstaller došlo k výjimce.

System.Security.SecurityException: Zdroj nebyl nalezen, ale některé nebo všechny protokoly událostí nelze prohledat. Nepřístupné protokoly: Security.

Při odvolací fázi instalace došlo k vyvolání výjimky. Výjimka bude ignorována a odvolání bude pokračovat. Po dokončení odvolací operace se však počítač nemusí zcela vrátit do původního stavu.
[Android Software Development] OmarBizreh:
Can you please try what is mentioned in this comment he was facing exactly the same issue you had.

Waiting for your feedback :)
[Android Software Development] _nextman_:
Thanks goods application

send to tapatalk
[Android Software Development] OmarBizreh:
You're welcome :)

Enjoy.
[Android Software Development] [-Hausmeister-]:
New Windows Service and Android app installed.

Directly on the first try to watch an image the Android app crashed.

<TAG: ServerListener DATE: 09.03.2014 13:40 > LOG MESSAGE: Received request from client:192.168.2.214 using Port: 41144
<TAG: NewSession DATE: 09.03.2014 13:40 > LOG MESSAGE: Client: opened new session, file Browsing Started.
<TAG: ClientRequest DATE: 09.03.2014 13:40 > LOG MESSAGE: Received client request. Request is: -1

<TAG: BrowsingMyComputer DATE: 09.03.2014 13:40 > LOG MESSAGE: Getting available HDD partitions
<TAG: SendingPartitionList DATE: 09.03.2014 13:40 > LOG MESSAGE: Sending available HDD partitions
<TAG: SendingPartitionsList DATE: 09.03.2014 13:40 > LOG MESSAGE: Sending complete
<TAG: NewSession DATE: 09.03.2014 13:40 > LOG MESSAGE: Client: 192.168.2.214 opened new session, file Browsing Started.
<TAG: ClientRequest DATE: 09.03.2014 13:40 > LOG MESSAGE: Received client request. Request is: Z:\

<TAG: FileBrowsing DATE: 09.03.2014 13:40 > LOG MESSAGE: Directory Map sent
<TAG: NewSession DATE: 09.03.2014 13:40 > LOG MESSAGE: Client: opened new session, file Browsing Started.
<TAG: ClientRequest DATE: 09.03.2014 13:40 > LOG MESSAGE: Received client request. Request is: Z:\Bilder

<TAG: FileBrowsing DATE: 09.03.2014 13:40 > LOG MESSAGE: Directory Map sent
<TAG: NewSession DATE: 09.03.2014 13:41 > LOG MESSAGE: Client: opened new session, file Browsing Started.
<TAG: ClientRequest DATE: 09.03.2014 13:41 > LOG MESSAGE: Received client request. Request is: d;Z:\Bilder\4.jpg
<TAG: FileSending DATE: 09.03.2014 13:41 > LOG MESSAGE: Android requested file: Z:\Bilder\4.jpg
<TAG: FileSending DATE: 09.03.2014 13:41 > LOG MESSAGE: File information: 4.jpg:120136
<TAG: FileSending DATE: 09.03.2014 13:41 > LOG MESSAGE: Total bytes sent: 120136
<TAG: FileSending DATE: 09.03.2014 13:41 > LOG MESSAGE: File Sent
<TAG: ----ERROR---- DATE: 09.03.2014 13:41 > LOG MESSAGE: Error Message: Eine Anforderung zum Senden oder Empfangen von Daten wurde verhindert, da der Socket nicht verbunden ist und (beim Senden über einen Datagrammsocket mit einem sendto-Aufruf) keine Adresse angegeben wurde

I also noticed, as soon as i am connected the app uses constantly 15% CPU even if i'm doing nothing. (I think at this point this is not that important)

Request is: d;Z:\Bilder\4.jpg

Just curious ... what does the d; mean for before the path?
[Android Software Development] OmarBizreh:
According to the log file I conclude it's an Android App issue, I have did few changes, and I'd appreciate if you try this one(attached in comment).

As for the "d;" and "-1" you see in the log file, those are sort of flags I use to tell the windows service what the user wants,

if it receives a "-1" this means the user now reached "My Computer" and what he should see is the partitions available on his computer.

if it receives "d;" this means the user wants to get the file or folder that is mentioned right after the semicolon.

I usually use semicolon to separate string data, like file name and file size when replying to android app, and when requesting file I use "d" and then file / folder path separated so I avoid sending multiple byte arrays just for file information.
[Android Software Development] [-Hausmeister-]:
i think ... i think .. you got it.

Downloaded over 10 files, even canceling one file did nothing to the app. It seems to work now.

One little cosmetic thing is that some Folders are shown as drives. Folder "NB". It is not Shared, has no Autorun.inf or folder.inf in it. Realy just a standard folder

But for now it works :good:
[Android Software Development] OmarBizreh:
Great, now I can move on to the next feature :highfive:

Edit:

About that folder, I just noticed the same on my end, I'm working on a fix on it. (on my end the folder name is OS) I'm suspecting it has to do with name length.
[Android Software Development] [-Hausmeister-]:
i'm sorry to say that now ... but on the second run it crashed again.

Same Error in the log as always. I Noticed that this error (about the closed socket) was even there in the first try, were it didn't crash
[Android Software Development] OmarBizreh:
May I ask you for a favor, I need to make sure if the router was blocking the request or if it's an app issue,

I need you to download Connectify-me or any app you prefer that allows you to connect directly to your laptop and then test my app again.

Thanks in advance :)
[Android Software Development] Borg1of3:
error printscreen

I enclosed print screen from W8.1 ... Android app is working, but it can not find connected computer- obviously
[Android Software Development] OmarBizreh:
Hello [MENTION=2124018]Borg1of3[/MENTION]

Did the service install successfully?

You can find out by either checking Services (found at: Control Panel -> Administrative Tools)

Service name is: Droid Sync Manager

Can you please send me the install log, you should find two files in the same folder of install.bat.
[Android Software Development] Borg1of3:
... it does not...

Ok then I check what U said to me, the service does not working :(... no firewall, no antivirus... hmmm

---------- Post added at 07:49 PM ---------- Previous post was at 07:44 PM ----------

Spouštění instalace s podporou transakcí

Zahajování instalační fáze instalace

Prohlédněte si obsah souboru protokolu pro průběh sestavení C:\Users\Filip\Desktop\Droid_Sync_Manger_Server\Droid Sync Manger\Droid Sync Manager.exe.

Umístění souboru: C:\Users\Filip\Desktop\Droid_Sync_Manger_Server\Droid Sync Manger\Droid Sync Manager.InstallLog

V průběhu instalační fáze došlo k výjimce.

System.Security.SecurityException: Zdroj nebyl nalezen, ale některé nebo všechny protokoly událostí nelze prohledat. Nepřístupné protokoly: Security.

Zahajování odvolací fáze instalace

Prohlédněte si obsah souboru protokolu pro průběh sestavení C:\Users\Filip\Desktop\Droid_Sync_Manger_Server\Droid Sync Manger\Droid Sync Manager.exe.

Umístění souboru: C:\Users\Filip\Desktop\Droid_Sync_Manger_Server\Droid Sync Manger\Droid Sync Manager.InstallLog

Odvolací fáze byla úspěšně dokončena.

Instalace s podporou transakcí byla dokončena.

Spouštění instalace s podporou transakcí

Zahajování instalační fáze instalace

Prohlédněte si obsah souboru protokolu pro průběh sestavení C:\Users\Filip\Desktop\Droid_Sync_Manger_Server\Droid Sync Manger\Droid Sync Manager.exe.

Umístění souboru: C:\Users\Filip\Desktop\Droid_Sync_Manger_Server\Droid Sync Manger\Droid Sync Manager.InstallLog

V průběhu instalační fáze došlo k výjimce.

System.Security.SecurityException: Zdroj nebyl nalezen, ale některé nebo všechny protokoly událostí nelze prohledat. Nepřístupné protokoly: Security.

Zahajování odvolací fáze instalace

Prohlédněte si obsah souboru protokolu pro průběh sestavení C:\Users\Filip\Desktop\Droid_Sync_Manger_Server\Droid Sync Manger\Droid Sync Manager.exe.

Umístění souboru: C:\Users\Filip\Desktop\Droid_Sync_Manger_Server\Droid Sync Manger\Droid Sync Manager.InstallLog

Odvolací fáze byla úspěšně dokončena.

Instalace s podporou transakcí byla dokončena.

Spouštění instalace s podporou transakcí

Zahajování instalační fáze instalace

Prohlédněte si obsah souboru protokolu pro průběh sestavení C:\Users\Filip\Desktop\Droid_Sync_Manger_Server\Droid Sync Manger\Droid Sync Manager.exe.

Umístění souboru: C:\Users\Filip\Desktop\Droid_Sync_Manger_Server\Droid Sync Manger\Droid Sync Manager.InstallLog

V průběhu instalační fáze došlo k výjimce.

System.Security.SecurityException: Zdroj nebyl nalezen, ale některé nebo všechny protokoly událostí nelze prohledat. Nepřístupné protokoly: Security.

Zahajování odvolací fáze instalace

Prohlédněte si obsah souboru protokolu pro průběh sestavení C:\Users\Filip\Desktop\Droid_Sync_Manger_Server\Droid Sync Manger\Droid Sync Manager.exe.

Umístění souboru: C:\Users\Filip\Desktop\Droid_Sync_Manger_Server\Droid Sync Manger\Droid Sync Manager.InstallLog

Odvolací fáze byla úspěšně dokončena.

Instalace s podporou transakcí byla dokončena.
[Android Software Development] [-Hausmeister-]:
luckily i have on my PC an unused wifi onboard.

What i have tried now...

Connectify (PC as Hotspot and Android as Client)

Android Hotspot (PC as Client)

USB Thetering

Bluetooth PAN Connection

(also disabling the Windows Firewall)

I got it to crash on all four (five) connection types. Some earlier, some later. The only difference is, that it is on Connectify WAAAYY faster. And it still shows the "clossed socket" error in the Log (on all connection types)

By the way, if the device is in Flightmode (or just without an Internet Connection) it crashes on start.

My main router doesn't filter anything between clients (self compiled OpenWrt). I have some Vlans but that shouldn't matter. Because the clients doesn't see anything about it.
[Android Software Development] OmarBizreh:
Once again I rewrote few things for both android and windows app, please try them and let me know the result, they can be downloaded from: my google drive account

As for installation I will provide support tomorrow, it's 1:30 AM right now and I can barely open my eyes :-/

I will be creating an installer for the windows service so that users don't have to go through the trouble.

Enjoy the rest of your day people :cool:
[Android Software Development] [-Hausmeister-]:
and again crashes. Log still says that the socket was not closed.

after the first try, i tried something different. I just only downloaded one file, then waited some time and it crashed.

the next try i didn't downloaded anything just kept scrolling (not even a dir change, just in one Directory). After some time, it crashed. (I don't have GPU-Rendering active in the developer settings). If i don't scroll up and down, it seems not to crash. Or just not so fast...

I tried to watch Logcat if there is something usefull, but no, just the Crash message.

I wish i had another android >4.x device to test this with.

Wait... i have .. my TV Stick.

OK i will test this today in the evening. I have to go to work now :(

Good Luck
[Android Software Development] OmarBizreh:
I'm a bit lost over here, I tried it on three different devices with the following android versions:

4.0.4

4.1.2

4.4.2

And everything seemed to be ok.

Have you updated both android app and windows service?!

can you please attempt to do it again, and once it crashes, click on send report button in the dialog window that opens after my app is crashed

this will let me know what is happening with the app on your device.

Thanks in advance :)
[Android Software Development] [-Hausmeister-]:
i replaced the service and the android app with the one from your google drive.

I wish i could send some crash logs. But all i get is the message that "Droid Sync Manager stopped" there is no report button.

Maybe because it is not from the PlayStore?
[Android Software Development] OmarBizreh:
Yup, that would be the reason, can you please join the G+ community and follow the steps there to download the app from Play Store, I need your report to be able to identify the issue :(
[Android Software Development] [-Hausmeister-]:
First report is on the way
[Android Software Development] OmarBizreh:
Luckily I received your report, unfortunately this is what I received:

Can you please check the report window before you send it, I checked it few days ago when I had a crash in my app, and it contained info about which class raised the exception and at which line, can you please attempt to make the app crash again and send me those info :)
[Android Software Development] [-Hausmeister-]:
hm k i try it.

On my TV Stick (Android 4.0.4) it seems to be Stable. At this point, i could not get it to crash.
[Android Software Development] OmarBizreh:
After doing some investigation, it turned out for some odd reason your Note 3 memory is being filled out which is causing that signal 16 issue we saw.

Although my app doesn't use resources at all, yet I will take a look again at the code and see what could be causing memory leak without me knowing about it.

This explains why sometimes you were able to work a little on the app and why most of the times it just crashed.

I will take a deeper look at my code and see what might have caused this issue for, although I'm a bit shocked that this issue shouldn't appear on a powerful device like Note 3, luckily it appeared while the app in Alpha state, this will keep me in the safe side by at least admitting it's in alpha state :P

Sorry for the trouble caused [MENTION=1214901][-Hausmeister-][/MENTION]

I'd appreciate it if you always update from Google Play and send any crash report that might appear (which I hope you don't see any in the feature.)

I will be working on it now and will let you know if a new update is available :)

Thank you for your patience and help my friend :D
[Android Software Development] [-Hausmeister-]:
Second report. But it the content is the same. Allways a Native Crash with no module Information.

On my TV Stick i got another problem. After 3 - 4 downloads and some time it gets slow like hell. I started OS Monitor and this saw that it uses over 90% CPU on a QuadCore.

Maybe it is the same reason it crashes on my Phone. On booth devices i still get the Closed Socket error in the Log.

[EDIT] ahhh ok ... hmm strange ... why is it only on my Note 3 .. not on my TV Stick ... *whistle_x-files_theme
[Android Software Development] OmarBizreh:
Thank you very much I Just saw the new report and it's the same as the one I got from your phone.

On both devices you reported high cpu usage and some device overheat, I will look deeper into the code now to see what could be causing it.

Will be back with a fix :highfive:
[Android Software Development] [-Hausmeister-]:
only from curiosity i installed a memory status bar to see how much memory is free.

direct befor launch: 1767 mb

after launch (IP scanner aktive): 1740 mb

direct befor the crash: 1730 mb

i don't see that much memory leak there. But i also don't know much about the memory managemend in Android (i just know you can limit the amount that an appilcation can use... thats it).
[Android Software Development] Gramzz:
I don't see this new service in windows service list. I have Windows 8.1. i tried all Your versions second day

Finger crossed

Logs:

https://www.dropbox.com/s/hd26635glqrdini/Droid%20Sync%20Manager.InstallLog

https://www.dropbox.com/s/b72pqtozdglplw4/InstallUtil.InstallLog
[Android Software Development] OmarBizreh:
[MENTION=1214901][-Hausmeister-][/MENTION]

Actually it wasn't a memory leak rather than it's a resource leak. I turned on native CPU monitor and found that the app is actually using lots of CPU, digging through the code I found that I did a simple mistake by using a thread to do a task which apparently didn't stop causing the following issues:

1. You having to face a crash

2. Overall slow performance of the app (which you faced it too)

3. Heating up CPU and exhausting it.

Luckily I fixed that, now that the leak is fixed the app should work on your end :highfive:

I have attached it in this comment, if you confirm it's working I will be pushing it to Google Play :cool:

[MENTION=4153228]Gramzz[/MENTION]

according to what I saw in the install log, you are facing Permission Denied issue, are you running "Install.bat" as administrator?

Do you have Framework 4.0 installed on your computer (although it's not stated in the install log, I just want to make sure :angel: )

Please try running install.bat as administrator (by right click on it -> run as administrator)

and if you are still having issues let me know so we can work out a solution :highfive:
[Android Software Development] [-Hausmeister-]:
Tried it now two times in a row. No crash at all. I could download over 1gb files without any problems. It still has a high CPU load while Transferring. But the high load while browsing the folders is completly gone :good::good: Good work :)
[Android Software Development] OmarBizreh:
Great to hear that :D

Although regarding the high cpu load while downloading it's because the app goes through a loop to read from the network socket, it will only stop if it finds the socket input stream empty. I could change it by making the app read a 1 MB or 2 and sleep for a like 250 milliseconds.

But I prefer that I don't do that so transfer is kept as fast as possible.

At least now we have come into a solution for that issue :highfive:

Now time to do few changes for users in your situation where they have to wait for a long time until they are connected to their computer. :good:

Enjoy using Droid Sync Manager

and thank you very much for your patience in testing and reporting :D
[Android Software Development] andrbrks:
That's what I'm saying. I do run that file and no log is created. The problem may be on my end as far as how my system runs scripts, but I haven't had any troubles before. I'll be available for the remainder of tonight [7:30 EST] and, most likely, all day tomorrow if you'd like to do a Team Viewer session so you can poke around and see if you can find something. (I just saw you requested to perform one to another user and thought I'd offer)
[Android Software Development] OmarBizreh:
That will be great, I'm ready to open a teamviewer session with you, although I'm now at work, it's 9AM in my time and I finish at 5 PM :-/

My local time is +2 GMT can you please tell what time will it be at 5PM in my local time.
[Android Software Development] Gramzz:
Hi,

1. I have Framework 4.0 ofcourse

2. I tried running install.bat as administrator and this dont help - still no service

3. I tried all files from you from beginning but i cant go forward
[Android Software Development] OmarBizreh:
[MENTION=4153228]Gramzz[/MENTION]

can you please attempt to do the following.:

right click on Droid Sync Manager.exe then click on properties, see if there is an unblock button in the window that appears click the button if its there.

So far that's all I can think of that might be blocking installation since u r the user admin and u ran install.bat with admin privilege.

Please let me know the result :)
[Android Software Development] Gramzz:
Sorry but i dont see this unblock button in properties...

look:

https://www.dropbox.com/s/tm8c0jyaumv6w1o/1.jpg
[Android Software Development] OmarBizreh:
[MENTION=4153228]Gramzz[/MENTION]

After digging deeper into the issue, some people reported that sometimes a batch doesn't work for them (maybe because the installutil I provide in the zipped file doesn't match with the framework build you have on your system), while installing it directly from a command line solves it.

To do:

Run Command line as Administrator (check attached image)

Then type this command:

Although you need to make sure of:

"v4.0.30319" in the command I gave you matches the on installed on your system, if they don't match, replace the one in the command with the one you see in the Framework folder.

Please let me know the result :)
[Android Software Development] ardicli2000:
I won't let you know the result :P
[Android Software Development] Gramzz:
Ok,

thank You for Your help my friend - i see service it's running after this command.

But i have another problem, apk in my phone doesn't see my computer.

1. I have windows 8.1

2. Note 3 SM-N9005

3. Service is running

4. I added exception to firewall

https://www.dropbox.com/s/yi7exhkws4glh2f/Service.jpg

https://www.dropbox.com/s/1ivrznr4a4mm8ys/Us%C5%82uga.jpg
[Android Software Development] OmarBizreh:
Shame on you, instead of helping a developer, you make his job tougher :p

Have you added firewall exception? please check first post, it has the link on how to do that :D

By the way, a useful tip, if you want to take a screenshot of the currently focused window ONLY(like in your first image link), click and hold alt button then click the printscreen button :highfive:
[Android Software Development] Gramzz:
[MENTION=219918]omar[/MENTION],

I thank You so much for Your help. I deleted existed exception in my firewall and I added it again and this was solution in my case.

Really great app I see enormous potential in it. I will test and I will give future feedback