System event handler ?

Falco32

Member
Licensed User
Longtime User
i have a problem. i wrote a app wich interact with the sdcard. now my
question.
how can i get the system message when user connect the sdcard via usb to pc?
can i get any message wich inform my program that the sdcard is now attempt
to connect with pc via usb ? or the sdcard is unmount ? unmount event ?

Regards Falco
 

Falco32

Member
Licensed User
Longtime User
but not working

AddReceiverText(evs,
<intent-filter>
<action android:name="android.intent.action.ACTION_MEDIA_SHARED" />
</intent-filter>)

i have made a log output but no events are come in my evs service modul..
any ideas ?
 
Upvote 0

Falco32

Member
Licensed User
Longtime User
Thanks a lot!

Erel this is working perfect. :sign0098:
this was the problem.
can i see this <data android:scheme="file" /> in any overview ? Tutorial ?
In wich cases must i give this parameter ?
Erel greetings and many thanks!!!
 
Upvote 0

Falco32

Member
Licensed User
Longtime User
Oooops ? Error Messages ?

Caused by: java.lang.ClassNotFoundException: com.myproject.freemanager.de.srvc$srvc_BR
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:61)

Erel, whats that ?
can i ignore this message ?
 
Upvote 0
Top