Installing an app offline using usb

by ajb » Tue, 23 Mar 2010 01:41:25 GMT


Sponsored Links
 When I bought my Nexus One, I took the card out of my G1 and put it in
my N1. I've developed an app and I know how it works on the Nexus but
I want to test it on my G1.

I wanted to see how my app looks on a G1 so I connected it to my
computer and put my .apk file into the downloads folder on my G1's SD-
Card. Ok, now my app is on my OFFLINE G1 but how do I install it? Can
I install it with only the native apps on my G1? Right now, I don't
see anyway to view the file.

I know I can take the chip out of my N1 and put it back into my G1 and
then simply download and install it but I would rather not do that.

Any help would be appreciated...al

--



Installing an app offline using usb

by Steeler » Tue, 23 Mar 2010 04:55:35 GMT


 If your G1 is running Android 1.6 or higher, I think you can go into
Settings, and "Enable Installations of Non-Market Applications" or
something like that. Then go to your downloads folder (I believe you
can do this from the menu in the web browser), select the .apk, and it
should give you an install option.





--


Sponsored Links


Other Threads

1. How to rotate my view

Hi, everyone
   I want to rotate my view in specified degree, for example 30
degrees, 45 degrees. There is no rotate method in view class, I was
trying to rotate its inside canvas, but the view doesn't rotate
acordingly, please help!
   Here is my code section:

   public class rotate extends Activity {
            float mDegree;

            /** Called when the activity is first created. */
        @Override
        public void onCreate(Bundle icicle) {
               super.onCreate(icicle);

           MyView tx1 = new MyView(this);
           tx1.setText("Rotate Me");
           tx1.setBackgroundResource(R.drawable.bk_yellow);
           AbsoluteLayout l = new AbsoluteLayout(this);
           AbsoluteLayout.LayoutParams p1 = new AbsoluteLayout.LayoutParams(
                   AbsoluteLayout.LayoutParams.WRAP_CONTENT,
                   AbsoluteLayout.LayoutParams.WRAP_CONTENT,
                   10,
                   10);
           l.addView(tx1,p1);
           tx1.rotate(30);
          setContentView(l);
        }


    class MyView extends Button{
         public MyView(Context c){
                 super(c);
         }


          @Override
          public void draw(Canvas canvas) {
                  // TODO Auto-generated method stub
                  //canvas.rotate(45, mStartX, mStartY);
                  super.draw(canvas);
                  //this.draw(canvas);

          }

                  public void rotate(float degree){
                        mDegree = degree;
                        this.invadate();
                  }
          }

 }


Thanks for reply in advance!

BR,
-David
--~--~---------~--~----~------------~-------~--~----~

2. Why is the market listing my app as exactly twice the size of the APK I uploaded?

copy-protection doubles the amount of size needed to store the app on
the device indeed.

JBQ






-- 
Jean-Baptiste M. "JBQ" Queru
Android Engineer, Google.

Please don't contact me directly.

--~--~---------~--~----~------------~-------~--~----~

3. Long click on Button

4. Why is the market listing my app as exactly twice the size of the APK I uploaded?

5. Emulator: clearing apps out of cache

6. When do I need a new Activity?

7. Android presentation backgrounds