Install 1.5 to Dev Phone 1

by michaelg » Thu, 16 Apr 2009 07:53:02 GMT


Sponsored Links
 Hopefully this is a dumb question and there is an existing page that
answers this, but... What is the easiest way to install the new
Cupcake / OS 1.5 to a Dev Phone? I noticed that in the SDK there is a /
platforms/images is this what is to be used? Thanks.

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



Install 1.5 to Dev Phone 1

by Justin (Google Employee) » Thu, 16 Apr 2009 07:54:41 GMT


 Cupcake / OS 1.5 does not exist as a shipping operating system. We
have provided SDK 1.5_pre as a *preview* SDK release of an unreleased
software platform.

Regards,
Justin
Android Team @ Google



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


Sponsored Links


Other Threads

1. How to get SMS Delivery Report setting

Hi,

I want to know how to get SMS  Delivery Report setting which is stored
in the /data/data/com.android.mms/com.android.mms_preferences.xml.

I wrote a application to read it with the following code:

             SharedPreferences prefs =
PreferenceManager.getDefaultSharedPreferences(this);
              boolean requestDeliveryReport = prefs.getBoolean(
                          "pref_key_sms_delivery_reports",
                      true);

Seems it does not work, it always returns the default value which is
"true". Does anybody know how to read/write the SMS  Delivery Report
setting.

Thanks,

motdev

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

2. Scrolling a TileView around with your finger

I'm fairly new to Android development and Java (I come from a Windows
and Windows Mobile background, using C# and .NET), so I hope this is
the correct group to post this question! :)

I am creating a board game (similar to Checkers), and I am using the
Snake game from the API Samples as a starting point / general
framework. I like the TileView as it gives me a good grid to work
with, and I am extending it just like the Snake example does with
SnakeView.

My problem is that I want to make the board bigger than the screen,
and I want the user to be able to move the board around by dragging
and flicking it with their finger.

I enclosed my SkyGame view (which extends TileView) in a ScrollView,
but did not get the expected results. The ScrollView didn't let me
scroll the SkyGame (TileView) around at all with my finger.

Here's my code for my SkyGame.xml:

...............................

<FrameLayout xmlns:android="http://schemas.android.com/apk/res/
android"
        android:layout_width="fill_parent"
        android:layout_height="fill_parent"
        android:background="@color/d_sky_blue">


   <ScrollView xmlns:android="http://schemas.android.com/apk/res/
android"
    android:layout_width="200px"
    android:layout_height="200px"
    android:scrollbars="none"
    android:background="@color/d_sky_blue">

        <com.spacetornado.skytime.SkyGame
         android:id="@+id/skytime_view"
                android:layout_width="fill_parent"
        android:layout_height="fill_parent"
        />
   </ScrollView>

        <RelativeLayout
                android:layout_width="fill_parent"
                android:layout_height="fill_parent" >

<!-- ... (other views not related to the board go here) --->

        </RelativeLayout>
</FrameLayout>


................................................................

The SkyGame / skytime_view is 300x300 in size (12x12 tile grid, each
tile is 25px square)... so it should be bigger than the 200x200
ScrollView?

Am I going about this the wrong way? Is there a better way to do this?
Basically my board is too big for the screen, and I want a good way
for users to be able to manipulate the board and move it around easily
so they can quickly see whatever part of it they want.

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

3. How to set the layout from java code?

4. internet access in android dev phone via broadband

5. MSN Messenger protocol issues

6. Change the Web Challenge

7. Video player resize