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
{
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
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
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
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" />
>
>
>
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:
>>
>>
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);
7 matches
Mail list logo