[android-developers] Receiving Intent

2013-03-06 Thread TWProgrammers
I am trying to get the file path of the intent. Everything I find doesn't seem to work. This is what I have so far: Intent i = getIntent(); Uri uri = i.getData(); if (uri == null) { return; } String startFile = ""; try {

Re: [android-developers] Receiving Intent

2013-03-07 Thread TWProgrammers
at 10:33 PM, TWProgrammers > > > wrote: > >> I am trying to get the file path of the intent. >> > > What intent? > > >> Everything I find doesn't seem to work. >> > > Like what? > > >> However if I open a file in "/mnt/sd

Re: [android-developers] Receiving Intent

2013-03-07 Thread TWProgrammers
me find this. On Thursday, March 7, 2013 2:24:18 PM UTC-6, Mark Murphy (a Commons Guy) wrote: > > On Thu, Mar 7, 2013 at 3:03 PM, TWProgrammers > > > wrote: > > My app shows in the list for text files, I launch the file from a file > > manager such as ES File Exp

[android-developers] Application Crash

2013-04-01 Thread TWProgrammers
I am trying to create an app that receives SMS messages and if it has a specific prefix it uses the information in it then deletes it. I have it where it shows no errors and seems like it would run but when ran it force closes. Here is my code: SMSReceiver.java: package com.TWP.Project.IES; i

[android-developers] Re: Application Crash

2013-04-02 Thread TWProgrammers
Did you not read the code? On Monday, April 1, 2013 1:05:39 PM UTC-5, TWProgrammers wrote: > > android:enabled="true"> > > android:name="android.provider.Telephony.SMS_RECEIVED" /> > > >

[android-developers] Re: Application Crash

2013-04-03 Thread TWProgrammers
SMSReceiver > > "com.TWP.Project.TDC.SMSReceive" != "com.TWP.Project.IES.SMSReceiver" > > The class it is trying to instantiate does not match your source file > package name. > > On Wednesday, April 3, 2013 12:41:06 AM UTC+1, TWProgrammers wrote: >> >>

[android-developers] SmsManager crashes app

2013-04-03 Thread TWProgrammers
I am trying to send a very long SMS message using SmsManager but when it hits that line it either crashes or throws a general error. Here is my code: private void execute(String phone) { PendingIntent sent = PendingIntent.getBroadcast(this, 0, new Intent("SMS_SENT"), 0);