Cupcake availability?

by arnouf » Fri, 03 Apr 2009 15:37:48 GMT


Sponsored Links
 Hi all,

Do we have more information about the availability of the Android SDK
cupcake version?

A first phone running on Cupcake should be available this month in
France and it should be great to have a SDK exactly the same :)

Rgds
--~--~---------~--~----~------------~-------~--~----~



Cupcake availability?

by Al Sutton » Fri, 03 Apr 2009 15:54:26 GMT


 At the moment it would appear that you need to build your own Linux cupcake
SDK and Windows cupcake SDKs aren't available and there aren't any
instructions on how to make one.

Al.
---

* Written an Android App? - List it at  http://andappstore.com/  *

======
Funky Android Limited is registered in England & Wales with the 
company number  6741909. The registered head office is Kemp House, 
152-160 City Road, London,  EC1V 2NX, UK. 

The views expressed in this email are those of the author and not 
necessarily those of Funky Android Limited, it's associates, or it's 
subsidiaries. 


-----Original Message-----
From: android-developers@googlegroups.com
[mailto:android-develop...@googlegroups.com] On Behalf Of arnouf
Sent: 03 April 2009 08:38
To: Android Developers
Subject: [android-developers] Cupcake availability?


Hi all,

Do we have more information about the availability of the Android SDK
cupcake version?

A first phone running on Cupcake should be available this month in France
and it should be great to have a SDK exactly the same :)

Rgds



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


Sponsored Links


Other Threads

1. Jersey client with android does not work

Hi there,

Im trying to use my webservice via the jersey client api.
This is my webservice:

@Path("/myresource")
@Component
@Scope("request")
public class MyResource {

@GET
// The Java method will produce content identified by the MIME Media
// type "text/plain"
@Produces(MediaType.TEXT_PLAIN)
@Path("test")
public String test(){
return "test";
}
}

This is my Client:

public class MyClient {
public static void main(String[] args) {
System.out.println(
Client.create().resource( "http://testwebservice.de:8080/
CompetenceNetwork/api/myresource/test" ).get( String.class ) );

}
}

Everythings works fine. Now I try this in an android class:

TextView tv;
public void onCreate(Bundle savedInstanceState)
{
super.onCreate(savedInstanceState);
tv = new TextView(this);
Client c = Client.create();
WebResource r = c.resource("http://testwebservice.de:8080/
CompetenceNetwork/api/myresource/test");
String s = r.get(String.class);
tv.setText(s);
setContentView(tv);
}

Nothing happends and after a few minutes I get the following
exception:

11-04 17:13:27.382: ERROR/AndroidRuntime(231):
java.lang.RuntimeException: Unable to start activity
ComponentInfo{com.example.tablayout/com.example.tablayout.MyLogin}:
com.sun.jersey.api.client.ClientHandlerException:
java.net.SocketException: The operation timed out
11-04 17:13:27.382: ERROR/AndroidRuntime(231): at
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:
2496)
11-04 17:13:27.382: ERROR/AndroidRuntime(231): at
android.app.ActivityThread.startActivityNow(ActivityThread.java:2335)
11-04 17:13:27.382: ERROR/AndroidRuntime(231): at
android.app.LocalActivityManager.moveToState(LocalActivityManager.java:
127)
11-04 17:13:27.382: ERROR/AndroidRuntime(231): at
android.app.LocalActivityManager.startActivity(LocalActivityManager.java:
339)
11-04 17:13:27.382: ERROR/AndroidRuntime(231): at
android.widget.TabHost
$IntentContentStrategy.getContentView(TabHost.java:648)
11-04 17:13:27.382: ERROR/AndroidRuntime(231): at
android.widget.TabHost.setCurrentTab(TabHost.java:320)
11-04 17:13:27.382: ERROR/AndroidRuntime(231): at
android.widget.TabHost$2.onTabSelectionChanged(TabHost.java:129)
11-04 17:13:27.382: ERROR/AndroidRuntime(231): at
android.widget.TabWidget$TabClickListener.onClick(TabWidget.java:379)
11-04 17:13:27.382: ERROR/AndroidRuntime(231): at
android.view.View.performClick(View.java:2364)
11-04 17:13:27.382: ERROR/AndroidRuntime(231): at
android.view.View.onTouchEvent(View.java:4179)
11-04 17:13:27.382: ERROR/AndroidRuntime(231): at
android.view.View.dispatchTouchEvent(View.java:3709)
11-04 17:13:27.382: ERROR/AndroidRuntime(231): at
android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:852)
11-04 17:13:27.382: ERROR/AndroidRuntime(231): at
android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:884)
11-04 17:13:27.382: ERROR/AndroidRuntime(231): at
android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:884)
11-04 17:13:27.382: ERROR/AndroidRuntime(231): at
android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:884)
11-04 17:13:27.382: ERROR/AndroidRuntime(231): at
android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:884)
11-04 17:13:27.382: ERROR/AndroidRuntime(231): at
android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:884)
11-04 17:13:27.382: ERROR/AndroidRuntime(231): at
android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:884)
11-04 17:13:27.382: ERROR/AndroidRuntime(231): at
android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:884)
11-04 17:13:27.382: ERROR/AndroidRuntime(231): at
com.android.internal.policy.impl.PhoneWindow
$DecorView.superDispatchTouchEvent(PhoneWindow.java:1659)
11-04 17:13:27.382: ERROR/AndroidRuntime(231): at
com.android.internal.policy.impl.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:
1107)
11-04 17:13:27.382: ERROR/AndroidRuntime(231): at
android.app.Activity.dispatchTouchEvent(Activity.java:2061)
11-04 17:13:27.382: ERROR/AndroidRuntime(231): at
com.android.internal.policy.impl.PhoneWindow
$DecorView.dispatchTouchEvent(PhoneWindow.java:1643)
11-04 17:13:27.382: ERROR/AndroidRuntime(231): at
android.view.ViewRoot.handleMessage(ViewRoot.java:1691)
11-04 17:13:27.382: ERROR/AndroidRuntime(231): at
android.os.Handler.dispatchMessage(Handler.java:99)
11-04 17:13:27.382: ERROR/AndroidRuntime(231): at
android.os.Looper.loop(Looper.java:123)
11-04 17:13:27.382: ERROR/AndroidRuntime(231): at
android.app.ActivityThread.main(ActivityThread.java:4363)
11-04 17:13:27.382: ERROR/AndroidRuntime(231): at
java.lang.reflect.Method.invokeNative(Native Method)
11-04 17:13:27.382: ERROR/AndroidRuntime(231): at
java.lang.reflect.Method.invoke(Method.java:521)
11-04 17:13:27.382: ERROR/AndroidRuntime(231): at
com.android.internal.os.ZygoteInit
$MethodAndArgsCaller.run(ZygoteInit.java:860)
11-04 17:13:27.382: ERROR/AndroidRuntime(231): at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
11-04 17:13:27.382: ERROR/AndroidRuntime(231): at
dalvik.system.NativeStart.main(Native Method)
11-04 17:13:27.382: ERROR/AndroidRuntime(231): Caused by:
com.sun.jersey.api.client.ClientHandlerException:
java.net.SocketException: The operation timed out
11-04 17:13:27.382: ERROR/AndroidRuntime(231): at
com.sun.jersey.client.urlconnection.URLConnectionClientHandler.handle(URLConnectionClientHandler.java:
131)
11-04 17:13:27.382: ERROR/AndroidRuntime(231): at
com.sun.jersey.api.client.Client.handle(Client.java:616)
11-04 17:13:27.382: ERROR/AndroidRuntime(231): at
com.sun.jersey.api.client.WebResource.handle(WebResource.java:559)
11-04 17:13:27.382: ERROR/AndroidRuntime(231): at
com.sun.jersey.api.client.WebResource.get(WebResource.java:182)
11-04 17:13:27.382: ERROR/AndroidRuntime(231): at
com.example.tablayout.MyLogin.onCreate(MyLogin.java:94)
11-04 17:13:27.382: ERROR/AndroidRuntime(231): at
android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:
1047)
11-04 17:13:27.382: ERROR/AndroidRuntime(231): at
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:
2459)
11-04 17:13:27.382: ERROR/AndroidRuntime(231): ... 31 more
11-04 17:13:27.382: ERROR/AndroidRuntime(231): Caused by:
java.net.SocketException: The operation timed out
11-04 17:13:27.382: ERROR/AndroidRuntime(231): at
org.apache.harmony.luni.platform.OSNetworkSystem.connectSocketImpl(Native
Method)
11-04 17:13:27.382: ERROR/AndroidRuntime(231): at
org.apache.harmony.luni.platform.OSNetworkSystem.connect(OSNetworkSystem.java:
114)
11-04 17:13:27.382: ERROR/AndroidRuntime(231): at
org.apache.harmony.luni.net.PlainSocketImpl.connect(PlainSocketImpl.java:
245)
11-04 17:13:27.382: ERROR/AndroidRuntime(231): at
org.apache.harmony.luni.net.PlainSocketImpl.connect(PlainSocketImpl.java:
535)
11-04 17:13:27.382: ERROR/AndroidRuntime(231): at
java.net.Socket.connect(Socket.java:1054)
11-04 17:13:27.382: ERROR/AndroidRuntime(231): at
org.apache.harmony.luni.internal.net.www.protocol.http.HttpConnection.<init>(HttpConnection.java:
62)
11-04 17:13:27.382: ERROR/AndroidRuntime(231): at
org.apache.harmony.luni.internal.net.www.protocol.http.HttpConnectionManager
$ConnectionPool.getHttpConnection(HttpConnectionManager.java:145)
11-04 17:13:27.382: ERROR/AndroidRuntime(231): at
org.apache.harmony.luni.internal.net.www.protocol.http.HttpConnectionManager.getConnection(HttpConnectionManager.java:
67)
11-04 17:13:27.382: ERROR/AndroidRuntime(231): at
org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnection.getHTTPConnection(HttpURLConnection.java:
821)
11-04 17:13:27.382: ERROR/AndroidRuntime(231): at
org.apache.harmony.luni.internal.net.www.protocol.ht

Im using target GoogleAPI 7 and the following jars:

jersey-bundle-1.4.jar
jsr311-api-1.1.jar
junit-4.5.jar

Does anybode has an idea to fix this?

Greetings
Christine Bauers

-- 

2. How to position the dilaog in screen ?

Hi all,

I wanted my activity to be displayed as dialog, so i changed my
manifest.xml to have
 android:theme="@android:style/Theme.Dialog"

Then i wanted it be at position (50,50 ) . I could able to set width &
height but not (x,y). I went through one more post,

http://www.mail-archive.com/android-developers@googlegroups.com/msg32466.html

it says how to set the x,y by setting to window layout params of the
dialog.

I tried like below.

this.getWindow().setLayout(200,200);

There are no apis for Window to set x,y. Can anyone pls help here ?
How to position the dialog ( activity ).

I also tried to set the parameter android:layout_x & android:layout_y
for activity & application both, nothing worked out.!!


<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
      package="com.android.helloworld"
      android:versionCode="1"
      android:versionName="1.0">
    <application android:icon="@drawable/icon" android:label="@string/
app_name"
    android:windowSoftInputMode="stateAlwaysVisible"
    android:debuggable="true"
     android:layout_x="135px" android:layout_y="100px" >
        <activity android:name=".helloworld"
                  android:label="@string/app_name"
                  android:theme="@android:style/Theme.Dialog"
                   android:layout_x="135px" android:layout_y="360px" >
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category
android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>

    </application>
<uses-permission android:name="android.permission.INTERNET"/>

</manifest>

- mani

-- 

3. Draw on SurfaceView(VideoPlayer) Canvas

4. sms broascast

5. listview selector based on item-type

6. Missing ACTION_UP

7. New? SamdroidMod 2.0.1.alpha7 - Froyo [AOSP] for i5700