F Falco32 Member Licensed User Longtime User Oct 10, 2012 #1 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
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
Erel B4X founder Staff member Licensed User Longtime User Oct 10, 2012 #2 See this tutorial: Intent Filters - Intercepting SMS messages in the background You should use the following actions: android.intent.action.MEDIA_MOUNTED android.intent.action.MEDIA_EJECT Upvote 0
See this tutorial: Intent Filters - Intercepting SMS messages in the background You should use the following actions: android.intent.action.MEDIA_MOUNTED android.intent.action.MEDIA_EJECT
F Falco32 Member Licensed User Longtime User Oct 10, 2012 #3 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
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 ?
Erel B4X founder Staff member Licensed User Longtime User Oct 11, 2012 #4 Seems like you should use: Code: AddReceiverText(evs, <intent-filter> <action android:name="android.intent.action.MEDIA_MOUNTED" /> <data android:scheme="file" /> </intent-filter> ) Upvote 0
Seems like you should use: Code: AddReceiverText(evs, <intent-filter> <action android:name="android.intent.action.MEDIA_MOUNTED" /> <data android:scheme="file" /> </intent-filter> )
F Falco32 Member Licensed User Longtime User Oct 11, 2012 #5 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
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!!!
Erel B4X founder Staff member Licensed User Longtime User Oct 11, 2012 #6 There is no general guidelines available. You can read more about intent filters on Google documentation. Though the best way in this case is to Google for: android.intent.action.MEDIA_MOUNTED You will see many discussions about intents not intercepted. Upvote 0
There is no general guidelines available. You can read more about intent filters on Google documentation. Though the best way in this case is to Google for: android.intent.action.MEDIA_MOUNTED You will see many discussions about intents not intercepted.
F Falco32 Member Licensed User Longtime User Oct 12, 2012 #7 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
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 ?
Erel B4X founder Staff member Licensed User Longtime User Oct 12, 2012 #8 You should not ignore this message. Please start a new thread for this question and provide more information about it. Upvote 0
You should not ignore this message. Please start a new thread for this question and provide more information about it.