Autore Topic: problema strano  (Letto 1940 volte)

Offline pegaso993

  • Utente junior
  • **
  • Post: 84
  • Respect: 0
    • Mostra profilo
  • Dispositivo Android:
    note 2
  • Sistema operativo:
    android
problema strano
« il: 27 Settembre 2013, 20:43:55 CEST »
0
Ragazzi non so se sia la sezione giusta in caso sposto

Ma e possibile che ho fatto un app con eclipse non mi da nessun errore su emulatore va alla grande e su telefono si blocca e crasha ???

l ho fatta con le api giuste e tutto il resto non capisco perchè :(

Offline uglyicons

  • Utente junior
  • **
  • Post: 88
  • UglyIcons - Great Apps (perlomeno ci proviamo)
  • Respect: +3
    • Mostra profilo
    • La mia app: EML Reader FREE
  • Dispositivo Android:
    Huawei Honour
  • Play Store ID:
    UglyIcons
  • Sistema operativo:
    Win
Re:problema strano
« Risposta #1 il: 28 Settembre 2013, 08:23:00 CEST »
0
Incolla il LogCat e diamo un'occhiata... :)
EML Reader FREE
Apri file e allegati EML e MSG da qualsiasi fonte.
Download su Play Store!

Offline pegaso993

  • Utente junior
  • **
  • Post: 84
  • Respect: 0
    • Mostra profilo
  • Dispositivo Android:
    note 2
  • Sistema operativo:
    android
Re:problema strano
« Risposta #2 il: 28 Settembre 2013, 08:43:27 CEST »
0
ciao ecco a te
Codice (LScript): [Seleziona]
09-28 08:34:33.055: V/LvOutput(1991): detachEffects: detach processing for output 2, stream 1, session 18168
09-28 08:34:33.055: V/LvOutput(1991): detachEffects: no output processing was attached to this stream
09-28 08:34:33.055: V/AudioPolicyManagerBase(1991): stopOutput() output 2, stream 1, session 18168
09-28 08:34:33.055: V/AudioPolicyManagerBase(1991): changeRefCount() stream 1, count 0
09-28 08:34:33.055: V/AudioPolicyManagerBase(1991): getNewDevice() selected device 0
09-28 08:34:33.055: V/AudioPolicyManagerBase(1991): setOutputDevice() output 2 device 0000 force 0 delayMs 184
09-28 08:34:33.055: V/AudioPolicyManagerBase(1991): setOutputDevice() prevDevice 0002
09-28 08:34:33.055: D/AudioPolicyManagerBase(1991): getDeviceForStrategy :STRATEGY_MEDIA mAvailableOutputDevices & AUDIO_DEVICE_OUT_EXTERNAL_TMS
09-28 08:34:33.055: D/AudioPolicyManagerBase(1991): getDeviceForStrategy :STRATEGY_MEDIA mAvailableOutputDevices & AUDIO_DEVICE_OUT_EXTERNAL_TMS
09-28 08:34:33.055: D/AudioPolicyManagerBase(1991): getDeviceForStrategy :STRATEGY_MEDIA mAvailableOutputDevices & AUDIO_DEVICE_OUT_EXTERNAL_TMS
09-28 08:34:33.055: D/AudioPolicyManagerBase(1991): getDeviceForStrategy :STRATEGY_MEDIA mAvailableOutputDevices & AUDIO_DEVICE_OUT_EXTERNAL_TMS
09-28 08:34:33.055: V/AudioPolicyManagerBase(1991): setOutputDevice() setting same device 0000 or null device for output 2
09-28 08:34:33.065: D/KeyguardViewMediator(3200): setHidden false
09-28 08:34:33.090: I/SurfaceFlinger(1988): id=11791 Removed QopupWindow idx=4 MapSz=4
09-28 08:34:33.090: D/KeyguardViewMediator(3200): setHidden false
09-28 08:34:33.090: I/SurfaceFlinger(1988): id=11791 Removed QopupWindow idx=-2 MapSz=4
09-28 08:34:33.280: I/InputReader(3200): Touch event's action is 0x0 (deviceType=0) [pCnt=1, s=0.17783 ]
09-28 08:34:33.280: I/InputDispatcher(3200): Delivering touch to current input target: action: 0x0
09-28 08:34:33.280: I/InputDispatcher(3200): Delivering touch to current input target: action: 0x0
09-28 08:34:33.280: I/InputDispatcher(3200): Delivering touch to current input target: action: 0x0
09-28 08:34:33.280: I/InputDispatcher(3200): Delivering touch to current input target: action: 0x0
09-28 08:34:33.300: E/AudioPolicyService(1991): getOutput() tid 10610 ++
09-28 08:34:33.300: E/AudioPolicyService(1991): getOutput() tid 10610 --
09-28 08:34:33.300: D/AudioPolicyManagerBase(1991): getDeviceForStrategy :STRATEGY_MEDIA mAvailableOutputDevices & AUDIO_DEVICE_OUT_EXTERNAL_TMS
09-28 08:34:33.300: V/AudioPolicyManagerBase(1991): getOutput() stream 1, samplingRate 0, format 0, channelMask 3, flags 0
09-28 08:34:33.300: V/AudioPolicyManagerBase(1991): getOutputsForDevice device 0002 -> 0002
09-28 08:34:33.300: V/AudioPolicyManagerBase(1991): getOutput() returns output 2
09-28 08:34:33.300: E/AudioPolicyService(1991): getOutput() tid 4805 ++
09-28 08:34:33.300: E/AudioPolicyService(1991): getOutput() tid 4805 --
09-28 08:34:33.300: D/AudioPolicyManagerBase(1991): getDeviceForStrategy :STRATEGY_MEDIA mAvailableOutputDevices & AUDIO_DEVICE_OUT_EXTERNAL_TMS
09-28 08:34:33.300: V/AudioPolicyManagerBase(1991): getOutput() stream 1, samplingRate 0, format 0, channelMask 3, flags 0
09-28 08:34:33.300: V/AudioPolicyManagerBase(1991): getOutputsForDevice device 0002 -> 0002
09-28 08:34:33.300: V/AudioPolicyManagerBase(1991): getOutput() returns output 2
09-28 08:34:33.300: E/AudioPolicyService(1991): getOutput() tid 2570 ++
09-28 09-28 17:46:11.075: E/SpannableStringBuilder(949): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
09-28 17:46:11.075: E/SpannableStringBuilder(949): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
09-28 17:46:11.515: W/dalvikvm(949): threadid=13: thread exiting with uncaught exception (group=0x410712a0)
09-28 17:46:11.520: E/AndroidRuntime(949): FATAL EXCEPTION: AsyncTask #2
09-28 17:46:11.520: E/AndroidRuntime(949): java.lang.RuntimeException: An error occured while executing doInBackground()
09-28 17:46:11.520: E/AndroidRuntime(949):      at android.os.AsyncTask$3.done(AsyncTask.java:299)
09-28 17:46:11.520: E/AndroidRuntime(949):      at java.util.concurrent.FutureTask$Sync.innerSetException(FutureTask.java:273)
09-28 17:46:11.520: E/AndroidRuntime(949):      at java.util.concurrent.FutureTask.setException(FutureTask.java:124)
09-28 17:46:11.520: E/AndroidRuntime(949):      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:307)
09-28 17:46:11.520: E/AndroidRuntime(949):      at java.util.concurrent.FutureTask.run(FutureTask.java:137)
09-28 17:46:11.520: E/AndroidRuntime(949):      at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:230)
09-28 17:46:11.520: E/AndroidRuntime(949):      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076)
09-28 17:46:11.520: E/AndroidRuntime(949):      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569)
09-28 17:46:11.520: E/AndroidRuntime(949):      at java.lang.Thread.run(Thread.java:856)
09-28 17:46:11.520: E/AndroidRuntime(949): Caused by: java.lang.NumberFormatException: Invalid double: "3,63"
09-28 17:46:11.520: E/AndroidRuntime(949):      at java.lang.StringToReal.invalidReal(StringToReal.java:63)
09-28 17:46:11.520: E/AndroidRuntime(949):      at java.lang.StringToReal.parseDouble(StringToReal.java:269)
09-28 17:46:11.520: E/AndroidRuntime(949):      at java.lang.Double.parseDouble(Double.java:295)
09-28 17:46:11.520: E/AndroidRuntime(949):      at com.the.restaurant.YourOrder.getDataFromDatabase(YourOrder.java:326)
09-28 17:46:11.520: E/AndroidRuntime(949):      at com.the.restaurant.YourOrder$getDataTask.doInBackground(YourOrder.java:283)
09-28 17:46:11.520: E/AndroidRuntime(949):      at com.the.restaurant.YourOrder$getDataTask.doInBackground(YourOrder.java:1)
09-28 17:46:11.520: E/AndroidRuntime(949):      at android.os.AsyncTask$2.call(AsyncTask.java:287)
09-28 17:46:11.520: E/AndroidRuntime(949):      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
09-28 17:46:11.520: E/AndroidRuntime(949):      ... 5 more
09-28 17:46:16.835: I/Choreographer(949): Skipped 300 frames!  The application may be doing too much work on its main thread.
09-28 17:46:16.960: E/SpannableStringBuilder(949): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
09-28 17:46:16.960: E/SpannableStringBuilder(949): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length

queste le stringhe di errore se avvio da cellulare

Post unito: 28 Settembre 2013, 17:48:00 CEST
09-28 17:46:11.075: E/SpannableStringBuilder(949): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
09-28 17:46:11.075: E/SpannableStringBuilder(949): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
09-28 17:46:11.515: W/dalvikvm(949): threadid=13: thread exiting with uncaught exception (group=0x410712a0)
09-28 17:46:11.520: E/AndroidRuntime(949): FATAL EXCEPTION: AsyncTask #2
09-28 17:46:11.520: E/AndroidRuntime(949): java.lang.RuntimeException: An error occured while executing doInBackground()
09-28 17:46:11.520: E/AndroidRuntime(949):    at android.os.AsyncTask$3.done(AsyncTask.java:299)
09-28 17:46:11.520: E/AndroidRuntime(949):    at java.util.concurrent.FutureTask$Sync.innerSetException(FutureTask.java:273)
09-28 17:46:11.520: E/AndroidRuntime(949):    at java.util.concurrent.FutureTask.setException(FutureTask.java:124)
09-28 17:46:11.520: E/AndroidRuntime(949):    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:307)
09-28 17:46:11.520: E/AndroidRuntime(949):    at java.util.concurrent.FutureTask.run(FutureTask.java:137)
09-28 17:46:11.520: E/AndroidRuntime(949):    at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:230)
09-28 17:46:11.520: E/AndroidRuntime(949):    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076)
09-28 17:46:11.520: E/AndroidRuntime(949):    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569)
09-28 17:46:11.520: E/AndroidRuntime(949):    at java.lang.Thread.run(Thread.java:856)
09-28 17:46:11.520: E/AndroidRuntime(949): Caused by: java.lang.NumberFormatException: Invalid double: "3,63"
09-28 17:46:11.520: E/AndroidRuntime(949):    at java.lang.StringToReal.invalidReal(StringToReal.java:63)
09-28 17:46:11.520: E/AndroidRuntime(949):    at java.lang.StringToReal.parseDouble(StringToReal.java:269)
09-28 17:46:11.520: E/AndroidRuntime(949):    at java.lang.Double.parseDouble(Double.java:295)
09-28 17:46:11.520: E/AndroidRuntime(949):    at com.the.restaurant.YourOrder.getDataFromDatabase(YourOrder.java:326)
09-28 17:46:11.520: E/AndroidRuntime(949):    at com.the.restaurant.YourOrder$getDataTask.doInBackground(YourOrder.java:283)
09-28 17:46:11.520: E/AndroidRuntime(949):    at com.the.restaurant.YourOrder$getDataTask.doInBackground(YourOrder.java:1)
09-28 17:46:11.520: E/AndroidRuntime(949):    at android.os.AsyncTask$2.call(AsyncTask.java:287)
09-28 17:46:11.520: E/AndroidRuntime(949):    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
09-28 17:46:11.520: E/AndroidRuntime(949):    ... 5 more
09-28 17:46:16.835: I/Choreographer(949): Skipped 300 frames!  The application may be doing too much work on its main thread.
09-28 17:46:16.960: E/SpannableStringBuilder(949): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
09-28 17:46:16.960: E/SpannableStringBuilder(949): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length


Post unito: 28 Settembre 2013, 17:48:21 CEST
dai un occhiata al nuovo e quello che fa errore
« Ultima modifica: 28 Settembre 2013, 17:48:21 CEST da pegaso993, Reason: Merged DoublePost »

Offline uglyicons

  • Utente junior
  • **
  • Post: 88
  • UglyIcons - Great Apps (perlomeno ci proviamo)
  • Respect: +3
    • Mostra profilo
    • La mia app: EML Reader FREE
  • Dispositivo Android:
    Huawei Honour
  • Play Store ID:
    UglyIcons
  • Sistema operativo:
    Win
Re:problema strano
« Risposta #3 il: 29 Settembre 2013, 08:04:43 CEST »
0
Ciao

Scusa ma ieri ero impegnato con i bambini... :)

Direi che stai pescando dal DB un double con un formato errato (la virgola decimale).

Puoi incollare il codice ?

EML Reader FREE
Apri file e allegati EML e MSG da qualsiasi fonte.
Download su Play Store!