Download the free trial version
Basic4android Video
Features
Tutorials and manuals
Showcase
Screenshots

Go Back   Android Development Forum - Basic4android > Foreign Languages > Spanish Forum
Documentation Wiki Register Members List B4P Search Today's Posts Mark Forums Read

[B4A] Imposible leer SMS

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-15-2011, 05:07 PM
JorgeMC's Avatar
Knows the basics
 
Join Date: Nov 2011
Location: Madrid (ESPAÑA)
Posts: 56
Default [B4A] Imposible leer SMS

Buenas, estoy poniendo este código, pero no se que narices pasa que no me muestra ningún mensaje:


Code:
'Activity module
Sub Process_Globals
    
'These global variables will be declared once when the application starts.
    'These variables can be accessed from all modules.

End Sub

Sub Globals
    
'These global variables will be redeclared each time the activity is created.
    'These variables can only be accessed from this module.

End Sub

Sub Activity_Create(FirstTime As Boolean)

Try
Dim SmsMessages1 As SmsMessages
Dim List1 As List
List1 = SmsMessages1.GetAll 
For i = 0 To List1.Size - 1
    
Dim Sms As Sms
    
Sms = List1.Get(i)
    
Log(Sms)
Next

Catch

End Try



End Sub

Sub Activity_Resume

End Sub

Sub Activity_Pause (UserClosed As Boolean)

End Sub
Alguna idea de por que no se muestran ?
__________________
Mi blog: www.historiasdeuncazique.com
Reply With Quote
  #2 (permalink)  
Old 12-18-2011, 11:34 AM
JorgeMC's Avatar
Knows the basics
 
Join Date: Nov 2011
Location: Madrid (ESPAÑA)
Posts: 56
Default

Nada, seguro que es una tontería pero no soy capaz Ya no se ni por donde tirar de verdad
__________________
Mi blog: www.historiasdeuncazique.com
Reply With Quote
  #3 (permalink)  
Old 12-21-2011, 08:48 PM
Junior Member
 
Join Date: Oct 2011
Posts: 11
Default

Hola Jorge, como te fue con el SMS?

Me llamó la atención tu post y probé si podía leer los SMS y lo logré en mi Galaxy Ace. Si te interesa te puedo pasar el código aunque tengo una falla del designer o en mi código en el que al actualizar crea una segunda ventana y le cae encima a la vieja, pero entonces los botones de la vieja ya no se pueden usar. En fin, lo hice sólo para probar lo de los SMS, cosa que en futuro espero utilizar.

Saludos.
Reply With Quote
  #4 (permalink)  
Old 12-21-2011, 08:54 PM
JorgeMC's Avatar
Knows the basics
 
Join Date: Nov 2011
Location: Madrid (ESPAÑA)
Posts: 56
Default

Te lo agradecería mucho. Gracias.
__________________
Mi blog: www.historiasdeuncazique.com
Reply With Quote
  #5 (permalink)  
Old 01-21-2012, 02:57 PM
Basic4ppc Veteran
 
Join Date: Nov 2011
Location: Spain
Posts: 275
Default

Sería bueno que actualizárais el post con el código que funciona. Un saludo
Reply With Quote
  #6 (permalink)  
Old 01-24-2012, 10:29 PM
JorgeMC's Avatar
Knows the basics
 
Join Date: Nov 2011
Location: Madrid (ESPAÑA)
Posts: 56
Default

OK joseluis, me paso el código Nubi. Lo pongo un poco en limpio y lo paso. Llevo unas semanas muy liado.
__________________
Mi blog: www.historiasdeuncazique.com
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Leer Fila con Sql PepSoft Spanish Forum 2 06-14-2010 03:49 PM


All times are GMT. The time now is 01:09 PM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0