I create a database file by sqlitebrowser and copy it in
data/data/ir.smspeik.sms/databases/mydb1. How can I use it as a content
provider in my app? Which Uri I must use to declare it?
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To po
I have a broadcastreceiver and after receive sms, I abort the receiver so
the sms doesn't go to inbox. I want to have a custom inbox in my app to
users can see last 20 received sms in it. I use adapter to view inbox but
only saved smss are shown and my app sms are lost. How can I handle those?
I have these codes in broadcast receiver :
Intent mainActivityIntent =
*new* Intent(context, ir.smspeik.sms.GetResponse.*class*);
mainActivityIntent.setFlags(Intent.
*FLAG_ACTIVITY_NEW_TASK*);
context.startActivity(mainActivityIntent);
Intent broadcastIntent =
*new* Intent();
broadca
I create a broadcast receiver :
package ir.smspeik.sms;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.telephony.SmsMessage;
public class ReceiveSms exten
How can I create a toolbar that shows in every activity in my android app.
how can I hide/show some button in that toolbar by a background service?
For example, I want everytime a sms received, a button showed in toolbar
and when sms read, the toolbar hide.
--
You received this message becau
I want to save received sms and show last 20 sms to users in an activity. I
want users can click on each sms and see details of sms like builtin sms
application.
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, sen
I want to save received sms and show last 20 sms to users in an activity. I
want users can click on each sms and see details of sms like builtin sms
application.
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, sen
And how can I change that?
در چهارشنبه 5 سپتامبر 2012، ساعت 15:29:06 (UTC+4:30)، asheesh arya نوشته:
>
> check your permission in android manifest file
>
>
در چهارشنبه 5 سپتامبر 2012، ساعت 15:29:06 (UTC+4:30)، asheesh arya نوشته:
>
> check your permission in android manifest file
>
>
--
You recei
I use this code as a broadcast receiver :
package ir.smspeik.sms;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.telephony.SmsMessage;
import android.widget.Toast;
I write this broadcast receiver to receive sms from certains number :
package ir.smspeik.sms;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.telephony.SmsMessage;
I have this
public class ReceiveSms extends BroadcastReceiver{
@Override
public void onReceive(Context context, Intent intent)
{
//---get the SMS message passed in---
//---get the SMS message passed in---
Bundle bundle = intent.getExtras();
SmsMessage[] msgs
How can I run an activity in background and minimized it until invoke that?
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email
I create an activity Hoghoughi but when i try to start it an error raise :
08-22 05:50:08.890: E/AndroidRuntime(608): FATAL EXCEPTION: main
08-22 05:50:08.890: E/AndroidRuntime(608): java.lang.RuntimeException:
Unable to start activity
ComponentInfo{ir.smspeik.sms/ir.smspeik.sms.Hoghoughi}:
ja
problem during onPollAlarm:
java.lang.IllegalStateException: problem parsing stats:
java.io.FileNotFoundException: /proc/net/xt_qtaguid/iface_stat_all: open
failed: ENOENT (No such file or directory)
در شنبه 11 اوت 2012، ساعت 21:17:17 (UTC+4:30)، Ehsan Sadeghi نوشته:
> I create an activity
>an
I use eclipse to debug but an error raise :
Application SMS s waiting for the debugger to attach
در شنبه 11 اوت 2012، ساعت 21:17:17 (UTC+4:30)، Ehsan Sadeghi نوشته:
> I create an activity
>android:name=".GetResponse"
>
>
I create an activity
that starts when a sms received. i write this code to
display sms but nothing is shown :
public class GetResponse extends Activity{
IntentFilter intentFilter;
private Broadcas
I declare an intent in my manifest :
and then create a class name GetResponse :
package ir.smspeik.sms;
import android.app.Activity;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.c
it doesn't any solution for filter
در دوشنبه 6 اوت 2012، ساعت 6:51:32 (UTC)، HOUSSEM ZAIER نوشته:
>
>
> You have to filter all what you are receiving by the broadcast receiver.
> http://www.tutos-android.com/broadcast-receiver-android
> example of using the broadcast receiver.
> Good luck
--
How can I receive from certain numbers and only for them my app is started
and how doesn't messages that app receive appear in the messaging built in?
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to and
How can I receive from certain numbers and only for them my app is started
and how doesn't messages that app receive appear in the messaging built in?
در دوشنبه 30 ژوئیهٔ 2012، ساعت 18:44:03 (UTC)، Ehsan Sadeghi نوشته:
>
> I write this code in manifest file :
> android:mi
I have layout and layout-land in my app and in both have a file is named
realstate.xml, in portrait everything is ok, but in landscape application
stops by following error :
07-30 18:29:51.186: D/gralloc_goldfish(659): Emulator without GPU emulation
detected.
07-30 18:29:53.757: D/InputEventCons
I write this code in manifest file :
and this code in Receiv
I create a new activity by below code :
an warning raise :
Exported activity does not require permission
but when i add android:exported="false" to it the warning disapears. what
is it?
also I write this code to show car
I am newbie in android. I use eclipse. When I create new project and add
some controls to activity_main.xml the following error raise :
res\layout\activity_main.xml:0: error: Resource entry activity_main is
already defined.
[2012-07-23 02:05:41 - EhsanCan] res\layout\activity_main.out.xml:0:
24 matches
Mail list logo