Welcome to the Android Central Forums Create Your Account or Ask a Question Answers in 5 minutes - no registration required!
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

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


    theres the logcat

    W/ActivityManager(  140):   Force finishing activity com.google.AppInventorPhone
    W/ActivityManager(  140): Activity pause timeout for HistoryRecord{4414a4b8 com.
    D/dalvikvm(11014): GC_FOR_MALLOC freed 9279 objects / 430928 bytes in 80ms
    W/ActivityManager(  140): Activity destroy timeout for HistoryRecord{4414a4b8 co
    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
    W/InputManagerService(  140): Got RemoteException sending setActive(false) notif
    ication to pid 13421 uid 10131
  2. Thread Author  Thread Author    #2  


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


    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"
  4. #4  


    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.
  5. Thread Author  Thread Author    #5  


    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  


    Here is the source.

Posting Permissions