Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Mobile Development
  3. Mobile
  4. Android Data

Android Data

Scheduled Pinned Locked Moved Mobile
androidtutorialcomhelpquestion
4 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    MsmVc
    wrote on last edited by
    #1

    Hi All Once again i am asking how to send data PC to Android phone?I have search but i havn't get any ans.What i need to do

    package com.example.helloandroid;

    import android.app.Activity;
    import android.os.Bundle;
    import android.widget.TextView;

    public class HelloAndroid extends Activity {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    String test="";
    TextView tv = new TextView(this);
    tv.setText(test);
    setContentView(tv);
    }
    }

    This is my example code.I compile and run successfully and make helloandroid.apk i install through adb command. Now i want to Set the values of Srtring test from PC. Please help me

    M M 2 Replies Last reply
    0
    • M MsmVc

      Hi All Once again i am asking how to send data PC to Android phone?I have search but i havn't get any ans.What i need to do

      package com.example.helloandroid;

      import android.app.Activity;
      import android.os.Bundle;
      import android.widget.TextView;

      public class HelloAndroid extends Activity {
      /** Called when the activity is first created. */
      @Override
      public void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      String test="";
      TextView tv = new TextView(this);
      tv.setText(test);
      setContentView(tv);
      }
      }

      This is my example code.I compile and run successfully and make helloandroid.apk i install through adb command. Now i want to Set the values of Srtring test from PC. Please help me

      M Offline
      M Offline
      MsmVc
      wrote on last edited by
      #2

      Please help me

      1 Reply Last reply
      0
      • M MsmVc

        Hi All Once again i am asking how to send data PC to Android phone?I have search but i havn't get any ans.What i need to do

        package com.example.helloandroid;

        import android.app.Activity;
        import android.os.Bundle;
        import android.widget.TextView;

        public class HelloAndroid extends Activity {
        /** Called when the activity is first created. */
        @Override
        public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        String test="";
        TextView tv = new TextView(this);
        tv.setText(test);
        setContentView(tv);
        }
        }

        This is my example code.I compile and run successfully and make helloandroid.apk i install through adb command. Now i want to Set the values of Srtring test from PC. Please help me

        M Offline
        M Offline
        Madhu Nair 0
        wrote on last edited by
        #3

        MsmVc wrote:

        Once again i am asking how to send data PC to Android phone?

        Please read these instructions while developing with an Android device - http://developer.android.com/guide/developing/device.html[^]

        MsmVc wrote:

        I have search but i havn't get any ans.What i need to do

        Hope they have clearly mentioned everything you searching for.

        modified on Wednesday, February 2, 2011 1:56 AM

        M 1 Reply Last reply
        0
        • M Madhu Nair 0

          MsmVc wrote:

          Once again i am asking how to send data PC to Android phone?

          Please read these instructions while developing with an Android device - http://developer.android.com/guide/developing/device.html[^]

          MsmVc wrote:

          I have search but i havn't get any ans.What i need to do

          Hope they have clearly mentioned everything you searching for.

          modified on Wednesday, February 2, 2011 1:56 AM

          M Offline
          M Offline
          MsmVc
          wrote on last edited by
          #4

          Thanks for reply

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups