Can any one suggest me how to write a program to send sms to another mobile
and what is the phone number input format to be given as parameter to
sendTextMessage() method.

Thanks
Abhilash

On Tue, Aug 21, 2012 at 11:54 AM, <[email protected]>wrote:

>   Today's Topic Summary
>
> Group: http://groups.google.com/group/android-developers/topics
>
>    - Draw OverlappedBitmap - (Draw onto 
> itself).<#13947db7bfa04bdf_group_thread_0>[3 Updates]
>    - how to customize tab bar in some different 
> shape<#13947db7bfa04bdf_group_thread_1>[2 Updates]
>    - The lightest UI element to show a background 
> picture?<#13947db7bfa04bdf_group_thread_2>[1 Update]
>    - How to print value on console <#13947db7bfa04bdf_group_thread_3> [3
>    Updates]
>    - Where to Host Downloadable Content for your 
> app?<#13947db7bfa04bdf_group_thread_4>[1 Update]
>    - NFC / Detecting another phone <#13947db7bfa04bdf_group_thread_5> [1
>    Update]
>    - AsyncTask blocking UI thread <#13947db7bfa04bdf_group_thread_6> [1
>    Update]
>
>   Draw OverlappedBitmap - (Draw onto 
> itself).<http://groups.google.com/group/android-developers/t/565f96006516d61d>
>
>    Nathan <[email protected]> Aug 20 10:21PM -0700
>
>    On Monday, August 20, 2012 3:59:10 PM UTC-7, Kostya Vasilyev wrote:
>
>    > Can't you break the bitmap into smaller tiles, and create/render
>    them
>    > independently?
>
>
>    I am. For purposes of this discussion, assume that the picture is
>    constructed of tiles that are prerendered, but that may reside on
>    local
>    file storage or on a network. There is some other stuff going on too,
>    but
>    that is sufficient.
>
>    I did say rendering, but actual drawing calls are not the bottleneck.
>    It is
>    retrieving and decompressing the tiles.
>
>
>    > You could even detect that the user is scrolling in a particular
>    direction
>    > and prepare new tiles in advance.
>
>    True, but I'm not counting on being able to avoid showing any blank
>    spots.
>
>    Flickering is a different problem where a portion of the screen goes
>    from
>    fully rendered to blank to partially rendered to fully rendered.
>
>    To prevent the flickering problem, I would guess I should predict
>    which
>    tiles I will reuse and keep them in memory. That is essentially the
>    other
>    option I've considered.
>
>    So I have the choice between keeping a bunch of tiles in memory, or
>    having
>    enough buffer to do the overlapped bitmap draw. A cache of
>    uncompressed
>    tiles would probably take as much memory as having a double buffer for
>    the
>    offscreen bitmap.
>
>    Nathan
>
>
>
>
>    Sravanthi Dadu <[email protected]> Aug 21 10:59AM +0530
>
>    hi,.
>    how to set a value 8 dinamically with out creating edittext. or any
>    number
>    that should be display as * when we click on button.
>    plz send me the solution.
>
>
>
>
>    Thanks & Regards,
>    Sravanthi Dadu.
>
>
>
>
>    Sravanthi Dadu <[email protected]> Aug 21 11:00AM +0530
>
>    On Tue, Aug 21, 2012 at 10:59 AM, Sravanthi Dadu
>
>
>
>   how to customize tab bar in some different 
> shape<http://groups.google.com/group/android-developers/t/b049e3858da83538>
>
>    Gaurav <[email protected]> Aug 20 09:15PM -0700
>
>    hey
>    i want to create a tab bar in some shape like the attached pic. can
>    somebody please guide me how to do it. i am new in developing android
>    applications.
>    thanking you
>    Gaurav
>
>
>
>
>    srikanth <[email protected]> Aug 20 10:19PM -0700
>
>    me also thinking to create this type app
>
>    On Tuesday, August 21, 2012 9:45:38 AM UTC+5:30, Gaurav wrote:
>
>
>
>   The lightest UI element to show a background 
> picture?<http://groups.google.com/group/android-developers/t/86ec2222bd4069db>
>
>    Sean Wang <[email protected]> Aug 20 09:33PM -0700
>
>    thx mark!
>
>
>
>   How to print value on 
> console<http://groups.google.com/group/android-developers/t/cf662f9d00cac481>
>
>    Sadhna Upadhyay <[email protected]> Aug 21 09:12AM +0530
>
>    ---------- Forwarded message ----------
>    From: Sadhna Upadhyay <[email protected]>
>    Date: Sun, Aug 19, 2012 at 3:16 PM
>    Subject: How to print value on console
>    To: [email protected]
>
>
>    Hi everybody,
>
>    I am creating a database and i have done it, but i don't
>    know how to print those records on simulator,actually i am getting
>    value
>    from edit text box and i can print those value in Toast but i want to
>    print
>    those value on simulator when user click on View button to see records
>    please help me if any one have any clue.
>
>
>    *This is my code*
>    *
>    *
>    *
>    *
>    package SQliteDemo.s;
>
>    import java.util.Locale;
>
>    import android.app.Activity;
>    import android.content.ContentValues;
>    import android.database.Cursor;
>    import android.database.sqlite.SQLiteDatabase;
>    import android.os.Bundle;
>    import android.util.Log;
>    import android.view.MotionEvent;
>    import android.view.View;
>    import android.widget.Button;
>    import android.widget.EditText;
>    import android.widget.Toast;
>
>    public class SQliteDemo extends Activity {
>    /** Called when the activity is first created. */
>    SQLiteDatabase sampleDB;
>    Button btninsert,btn_view;
>    EditText edtid,etname,passwrd;
>    int id;
>    @Override
>    public void onCreate(Bundle savedInstanceState) {
>    super.onCreate(savedInstanceState);
>    setContentView(R.layout.main);
>
>
>    initializeUI();
>
>
>    
> sampleDB=this.openOrCreateDatabase("sampleDB",SQLiteDatabase.CREATE_IF_NECESSARY,null);
>    sampleDB.setVersion(1);
>    sampleDB.setLocale(Locale.getDefault());
>    sampleDB.setLockingEnabled(true);
>    String createTable="Create table if not exists USER(id int,name
>    Varchar,password Varchar);";
>    sampleDB.execSQL(createTable);
>    btninsert.setOnTouchListener(new View.OnTouchListener() {
>    @Override
>    public boolean onTouch(View v, MotionEvent event) {
>    // TODO Auto-generated method stub
>    //int id=Integer.parseInt(edtid.getText().toString().trim());
>    String id1 = edtid.getText().toString().trim();
>    id=Integer.valueOf(id1);
>    String name=etname.getText().toString().trim();
>    String pass=passwrd.getText().toString().trim();
>    try
>    {
>    if (!edtid.equals("")|| edtid!=null){
>    // depositAmount1 = Integer.valueOf(costt);
>
>    }}
>    catch(NumberFormatException ex1)
>    {
>    // Uh oh! Bad input!
>    }
>    //String sqlForInsert="insert into USER values("+ id +" , "+ name +",
>    "+pass+");";
>    ContentValues values=new ContentValues();
>    values.put("id",id);
>    values.put("name",name);
>    values.put("password",pass);
>
>    sampleDB.insert("USER"," ", values);
>    return false;
>    }
>    });
>
>    btn_view.setOnTouchListener(new View.OnTouchListener() {
>    @Override
>    public boolean onTouch(View v, MotionEvent event) {
>    // TODO Auto-generated method stub
>    String query="select *from USER";
>    Cursor cursor=sampleDB.rawQuery(query,null);
>    String result="";
>    cursor.moveToFirst();
>    do
>    {
>    int id=cursor.getInt(cursor.getColumnIndex("id"));
>    String name=cursor.getString(cursor.getColumnIndex("name"));
>    String pass=cursor.getString(cursor.getColumnIndex("password"));
>    result=id+" |"+name+" |"+pass;
>    Toast.makeText(getApplicationContext(), result, 9).show();
>    Log.d("Result,--------------" + result,"------------");
>    }
>    while(cursor.moveToNext());
>    return false;}});
>    //return false;
>
>    }
>
>    private void initializeUI() {
>    // TODO Auto-generated method stub
>    edtid=(EditText)findViewById(R.id.editText1);
>    etname=(EditText)findViewById(R.id.editText2);
>    passwrd=(EditText)findViewById(R.id.editText3);
>
>    btninsert=(Button)findViewById(R.id.button1);
>    btn_view=(Button)findViewById(R.id.button2);
>    }
>    protected void onStop()
>    {
>    super.onStop();
>    sampleDB.close();
>    }
>    }
>
>
>
>
>    Michael Banzon <[email protected]> Aug 21 05:56AM +0200
>
>    You are using the logger in several places. Just use it some more -
>    where you want to see values logged in the dev. env.
>
>    On Sun, Aug 19, 2012 at 11:46 AM, Sadhna Upadhyay
>
>    --
>    Michael Banzon
>    http://michaelbanzon.com/
>
>
>
>
>    Aprido Sandyasa <[email protected]> Aug 21 10:57AM +0700
>
>    Hello,
>    if u want to view your records in a view, try making a view like a
>    simple
>    listview.
>    Your method of viewing your record can be looked on listview if it is
>    right
>    or not
>
>    trying making a listview and inside the listview adding a textview so
>    your
>    line on toast can replace with adding your value on textview.
>
>
>
>   Where to Host Downloadable Content for your 
> app?<http://groups.google.com/group/android-developers/t/f8749aa57e3cbb3d>
>
>    saernz <[email protected]> Aug 20 06:57PM -0700
>
>    Ohh genius!
>
>    I never knew this service existed. This will help greatly and save me
>    some
>    money as well!
>    Also it saves me having to fully implement and test my download code.
>
>    Thanks for that!
>
>    Cool looks like you can even set up test accounts for application
>    licensing
>    which it uses
>    to provide the download URL.
>
>    I guess if I wanted to release onto different markets I could create
>    a separate APK, I guess
>    I'll have to see how far the app goes first and if extending onto
>    other
>    markets is worth it.
>
>    On Tuesday, August 21, 2012 1:04:47 PM UTC+12, Nikolay Elenkov wrote:
>
>
>
>   NFC / Detecting another 
> phone<http://groups.google.com/group/android-developers/t/8b25b5e975610a50>
>
>    Nikolay Elenkov <[email protected]> Aug 21 10:40AM +0900
>
>    > sending anything. Just switched on screen and tapped to mine. The
>    system
>    > plays some sound, so it's somehow hooked somewhere, but I can't get
>    an
>    > intent in my app.
>
>    There is no reliable way to do this. What are you trying do do?
>
>    A 'phone' can be anything: it can act as a card/tag if it is in card
>    emulation
>    mode, or it can be sending you data in P2P mode. It can even be acting
>    as a reader and trying to read *your* device.
>
>    Generally, the Android NFC APIs are fairly high level, so you can't
>    really
>    do whatever you want. You have to stick to the higher level
>    abstractions:
>    reading a tag, NDEF push, Android Beam, etc.
>
>    > close, it only plays the sound (as if it failed, or as if it didn't
>    have an
>    > app to handle the intent). Any idea how to do this? All I need is
>    the event
>    > when someone puts an NFC chip/device in range.
>
>    It tries to start P2P and fails, hence the sound. TAG_DISCOVERED should
>    work as a general event, but for phones it will only work (maybe) if
>    the device
>    is in card emulation mode. And, AFAIK, you can really disable the
>    built-in
>    P2P logic (disabling Android Beam from Settings doesn't seem to do
>    it), but
>    I haven't really looked into this.
>
>
>
>   AsyncTask blocking UI 
> thread<http://groups.google.com/group/android-developers/t/4cc36e64370bb5d6>
>
>    Wolfgang <[email protected]> Aug 20 10:47AM -0700
>
>    Thanks for all the replies guys. I have it working properly now. The
>    problems was .get(), as you said TreKing.
>
>    -W
>
>
>
>  You received this message because you are subscribed to the Google Group
> android-developers.
> You can post via email <[email protected]>.
> To unsubscribe from this group, 
> send<[email protected]>an empty message.
> For more options, 
> visit<http://groups.google.com/group/android-developers/topics>this group.
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to