CERCA
PER MODELLO
FullScreen Chatbox! :)

Utente del giorno: 9mm con ben 3 Thanks ricevuti nelle ultime 24 ore
Utente della settimana: 9mm con ben 8 Thanks ricevuti negli ultimi sette giorni
Utente del mese: 9mm con ben 29 Thanks ricevuti nell'ultimo mese

Visualizzazione dei risultati da 1 a 1 su 1
Discussione:

Parsing Feed Rss su Virtual Device funzione, su Galaxy S e Y no

Se questa discussione ti è stata utile, ti preghiamo di lasciare un messaggio di feedback in modo che possa essere preziosa in futuro anche per altri utenti come te!
  1. #1
    Androidiano


    Registrato dal
    Jan 2012
    Località
    Catanzaro
    Messaggi
    63
    Smartphone
    Wiko Raimbow

    Ringraziamenti
    11
    Ringraziato 1 volta in 1 Post
    Predefinito

    Parsing Feed Rss su Virtual Device funzione, su Galaxy S e Y no

    Salve a tutti, volevo parlarvi di un problema strano.
    Ho trovato su internet una guida dove spiegava come realizzare un parser per feed rss.
    Seguendo la guida, sono riuscito a scriver un parser che mette in una listview i feed rss.
    Ho collegato il Galaxy S un Debug mode, mentre al Galaxy Y ho solo mandato l'Apk firmato via bluetooth.
    Nel Virtual Device il parser funziona, sul Galaxy S no. Mi Da' un errore come se non ci fosse connessione ad internet, eppure la wifi sul Galaxy S è collegata al router e funziona.

    Vi allego il codice Java e il logcat del Galaxy S

    layour main


    Classi utilizzate:










    Logcat Galaxy S:
    codice:
    08-07 21:53:15.044: D/AndroidRuntime(11093): >>>>>> AndroidRuntime START com.android.internal.os.RuntimeInit <<<<<<
    08-07 21:53:15.044: D/AndroidRuntime(11093): CheckJNI is OFF
    08-07 21:53:15.052: D/AndroidRuntime(11093): setted country_code = ITALY
    08-07 21:53:15.052: D/AndroidRuntime(11093): setted sales_code = OMN
    08-07 21:53:15.052: D/AndroidRuntime(11093): readGMSProperty: start
    08-07 21:53:15.052: D/AndroidRuntime(11093): readGMSProperty: already setted!!
    08-07 21:53:15.060: D/AndroidRuntime(11093): readGMSProperty: end
    08-07 21:53:15.076: D/PoliciesMultiplexer(8605): grouping policies by name
    08-07 21:53:15.076: D/PoliciesMultiplexer(8605): grouped policies by name
    08-07 21:53:15.076: D/PoliciesMultiplexer(8605): finding the strongest policies
    08-07 21:53:15.076: D/PoliciesMultiplexer(8605): found the strongest policies
    08-07 21:53:15.076: D/PoliciesMultiplexer(8605): applying policies to the device
    08-07 21:53:15.083: D/ExchangeService(8655): collect eas accounts
    08-07 21:53:15.099: D/ExchangeService(8655): onAccountChanged(): mAccountList size is 1
    08-07 21:53:15.123: I/ExchangeService(8655): updateAccountDb start
    08-07 21:53:15.123: I/ExchangeService(8655): 3: in offpeak=[-2] db interval=[-2]
    08-07 21:53:15.138: D/EmailProvider(8617): getDB first open?false
    08-07 21:53:15.138: D/EmailProvider(8617): get used db ok
    08-07 21:53:15.138: I/ExchangeService(8655): updateAccountDb end
    08-07 21:53:15.138: D/ActivityThread(8617): Loading provider com.android.email.provider;com.android.email.notifier: com.android.email.provider.EmailProvider
    08-07 21:53:15.177: D/PoliciesMultiplexer(8605): update
    08-07 21:53:15.177: D/PoliciesMultiplexer(8605): getAllPolicies
    08-07 21:53:15.185: D/PoliciesMultiplexer(8605): grouping policies by name
    08-07 21:53:15.185: D/PoliciesMultiplexer(8605): grouped policies by name
    08-07 21:53:15.185: D/PoliciesMultiplexer(8605): finding the strongest policies
    08-07 21:53:15.185: D/PoliciesMultiplexer(8605): found the strongest policies
    08-07 21:53:15.185: D/PoliciesMultiplexer(8605): applying policies to the device
    08-07 21:53:15.208: I/ExchangeService(8655): updateAccountDb start
    08-07 21:53:15.208: I/ExchangeService(8655): 3: in offpeak=[-2] db interval=[-2]
    08-07 21:53:15.216: I/ExchangeService(8655): updateAccountDb end
    08-07 21:53:15.240: D/LibQmg_native(11093): register_android_app_LibQmg
    08-07 21:53:15.271: D/AndroidRuntime(11093): Calling main entry com.android.commands.am.Am
    08-07 21:53:15.279: I/power(210): *** acquire_dvfs_lock : lockType : 1  freq : 1008000 
    08-07 21:53:15.279: I/ActivityManager(210): START {intent.toShortString} from pid 11093
    08-07 21:53:15.279: D/PowerManagerService(210): acquireDVFSLockLocked : type : DVFS_MIN_LIMIT  frequency : 1008000  uid : 1000  pid : 210  tag : ActivityManager
    08-07 21:53:15.279: W/ActivityManager(210): mDVFSLock.acquire()
    08-07 21:53:15.294: D/dalvikvm(8605): GC_EXPLICIT freed 363K, 10% free 7795K/8647K, paused 2ms+3ms
    08-07 21:53:15.341: D/KeyguardViewMediator(210): setHidden false
    08-07 21:53:15.357: D/AndroidRuntime(11093): Shutting down VM
    08-07 21:53:15.357: D/ActivityManager(210): Trying to launch applicationName
    08-07 21:53:15.365: D/dalvikvm(11093): GC_CONCURRENT freed 102K, 81% free 509K/2560K, paused 0ms+1ms
    08-07 21:53:15.365: D/jdwp(11093): Got wake-up signal, bailing out of select
    08-07 21:53:15.365: D/dalvikvm(11093): Debugger has detached; object registry had 1 entries
    08-07 21:53:15.373: I/AndroidRuntime(11093): NOTE: attach of thread 'Binder Thread #3' failed
    08-07 21:53:15.373: D/OpenGLRenderer(10353): Flushing caches (mode 1)
    08-07 21:53:15.388: D/KeyguardViewMediator(210): setHidden false
    08-07 21:53:15.412: E/ITCRssReader(10865): Couldn't open http://mic87xp1.altervista.org/wordpress/?feed=rss2
    08-07 21:53:15.427: D/STATUSBAR-StatusBarManagerService(210): setSystemUiVisibility(0x0)
    Nel Manifest ho messo questo permesso:


    Forse ne devo aggiungere altri?
    Ultima modifica di mic87xp1; 08-08-12 alle 15:53
    Device: Asus Zenfone 2
    Chuwi HI10 Pro 10.1"


  2.  

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire risposte
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Torna su
Privacy Policy