Results 1 to 6 of 6
  1. Thread Author  Thread Author    #1  

    Default app keeps force closing

    Alright, this is my first post here... because I was looking for a support forum.
    Before I ask you my problem...

    yes, I'm using google app inventor


    Alright, So i'm attempting to make a sms spammer.
    why? because i'm bored and wanted to check out google's app inventor.
    I know this may seem like a bad idea... but i don't plan on putting it on the market. I'm just "making" it for my own knowledge.

    whenever i press the send button it force closes.

    anyway.. here is what i have so far..

    there is the "code"

    and here's the "app" itself.


    can anyone from this tell me why it's force closing?

    thank you.

    if i take out the foreach and just have

    Code:
    when sendtexts.click
    do
    set texting1.phonenumber to textbox1.text
    set texting1.message to messagetext.text
    call texting1.sendmessage
    it works fine.

    so...

    theres the logcat

    Code:
    W/ActivityManager(  140):   Force finishing activity com.google.AppInventorPhone
    App/.Screen1
    W/ActivityManager(  140): Activity pause timeout for HistoryRecord{4414a4b8 com.
    google.AppInventorPhoneApp/.Screen1}
    D/dalvikvm(11014): GC_FOR_MALLOC freed 9279 objects / 430928 bytes in 80ms
    W/ActivityManager(  140): Activity destroy timeout for HistoryRecord{4414a4b8 co
    m.google.AppInventorPhoneApp/.Screen1}
    I/Process (13421): Sending signal. PID: 13421 SIG: 9
    I/WindowManager(  140): WIN DEATH: Window{44354a78 com.google.AppInventorPhoneAp
    p/com.google.AppInventorPhoneApp.Screen1 paused=false}
    I/ActivityManager(  140): Process com.google.AppInventorPhoneApp (pid 13421) has
     died.
    W/InputManagerService(  140): Got RemoteException sending setActive(false) notif
    ication to pid 13421 uid 10131
  2. Thread Author  Thread Author    #2  

    Default

    Come on now... Bump.././...
  3. #3  

    Default

    I have attached a fixed version for you. The I don't know how to use that foreach block. You were getting the force close because you tried to define a variable from an object. To open the source I sent click "My Projects" then "More Actions" then "Upload Source"
    Attached Files Attached Files
  4. #4  

    Default

    My friend and I made this app a little nicer, added a contact picker and made it look better. You can now use buttons to select the number of texts. I have attached it to this thread. I also changed the icon to a spam can.
    Attached Files Attached Files
  5. Thread Author  Thread Author    #5  

    Default

    wow! Thank you very much for your help. this is fantastic. I hope to learn alot from this. Though, if you don't mind, could you upload the .zip for your second verison?

    thank you.
  6. #6  

    Default

    Here is the source.
    Attached Files Attached Files

Posting Permissions

B