[android-beginners] Re: Installing the android SDK on my new PC
Look at the link given by swarup. You choose target by putting proper command in prompt. You don't have to set anything in IDE. On May 5, 4:32 am, TheSamurai travis.lewi...@gmail.com wrote: Where do we choose the SDK target? I'm new to Eclipse... IDE's are a PITA 'til you get used to them. Thanks in advance. On May 4, 1:29 am, swarup me.s...@gmail.com wrote: SDK 1.5 supports 3 different targets: 1.1, 1.5, Google APIs. you need to choose one for creating a project, based on the target selected, proper Android.jar will added to your project. Also checkhttp://developer.android.com/guide/developing/tools/avd.html On May 4, 7:49 am, weird0 amiredi...@gmail.com wrote: Hi!! I am working on the android platform. Prior to installing it on my PC, i was coding on my laptop. The environment was ready and everything was going okay. I am unable to create a new project on my PC. When I select Start- New Project. The window opens. It has a red mark along with cross sign that says An SDK target must be specified, upon specifying the project nam. Along with that, it also has two additional textboxes on the bottom that say(never seen before): Create Activity Min SDK version When i run the command 'adb' on the emulator to see whether android has been installed properly, they work A-okay. So why am I getting these kind of errors. I tried to re-install the API several times but cant seem to figure out what is the problem. Would some-one suggest what is the problem? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: Installing the android SDK on my new PC
in eclipse go to package explorer, then right click the project u r working on and select properties. on the left handside of dialog box select android, then at project build target select one platform u want then click apply then click ok now build or run the project On May 6, 2009 12:08 AM, Wujo rafa...@gmail.com wrote: Look at the link given by swarup. You choose target by putting proper command in prompt. You don't have to set anything in IDE. On May 5, 4:32 am, TheSamurai travis.lewi...@gmail.com wrote: Where do we choose the SDK target... --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: Eclipse Error: SWT on ubuntu (amd turion )64 bit
I'm getting the same thing with Eclipse 3.4 On May 5, 2009 7:08 PM, Lorenz lorenzoteod...@gmail.com wrote: Hi i've just tried to install SDK 1.5 and I have a big problem, when I try to point the sdk directory(in Eclipse 3.3.2) from Windows- Preferences-Android two windows appear: in the first is written ...pingUsageServerfailed in the second An SWT erro has occured.We are reccomended to exit the workbench. .. Now I've ridden some blogs and I've understood that the problem is in SWT that doesn't support 64bit architecture. What shall I do? Please answer in a simple. Lorenz --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: New Android SDK
Ah, I'm glad its not just me going mad. Thanks for the link dragli, will give it a try later. On May 5, 2009 7:08 PM, dragli dra...@gmail.com wrote: Try to create an AVD. Please follow the page below: http://developer.android.com/guide/tutorials/hello-world.html On 5月1日, 上午3時07分, sbaye...@gmail.com sbaye...@gmail.com wrote: Im just now switching to the n... --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: How does Dalvik VM work?
Actually, the question is not directly on porting the device. It's about how dalvik vm works. But I posted it also in the porting-group to better address the problem :) Thanks On Apr 29, 3:36 pm, Mark Murphy mmur...@commonsware.com wrote: Hi to everybody! I'm not an android expert but i'm working on it ;) I would like to better understand HOW Dalvik works...especially how it communicates with the other layers of android. I'm planning to porting it to a linux-kernel device, but i don't understand if dalvik is linked directly (does it make calls to the kernel?) to the linuxkernel or if it communicates with it ONLY through the HAL or libraries. Can someone give me a link to a tutorial or give me some hints? Questions on porting Android to other devices are best asked on a forum dedicated to porting Android to other devices: http://source.android.com/discuss This list is for beginners developing Android SDK applications. -- Mark Murphy (a Commons Guy)http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 2.0 Available! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: How to create and open an SQLite database? (Based on NotePad tutorial)
check your table creation statements within onCreate() On May 5, 11:29 pm, AJ warhawk...@charter.net wrote: Hello - our dev team is looking into utilizing an SQLite DB as a means to store data within our application. We've been following the official dev guide's NotePad tutorial (http://d.android.com/guide/ tutorials/notepad/notepad-ex1.html) to accomplish this, but we're stuck on Step 2: the preliminary creation of the database itself. We aren't even concerned with inserting into and retrieving from the DB yet. Basically, we re-purposed the NoteDbAdapter.java file (renamed to simply DbAdapter.java) to work with our main activity, called LifeVault. When an instance of the DbAdapter class created within LifeVault.java calls the open() function within DbAdapter.java, however, the Android emulator just crashes and displays a message along the lines of the process has stopped working and needs to close. The code doesn't have any compilation errors, and it's based on the code from the official dev guide, so we're pretty perplexed as to why this happens. /** DbAdapter.java ***/ package com.android.lifevault; import android.content.Context; import android.database.SQLException; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteOpenHelper; import android.util.Log; public class DbAdapter { private static final String TAG = DbAdapter; private DatabaseHelper mDbHelper; private SQLiteDatabase mDb; private static final String DATABASE_NAME = FVDB; private static final String DATABASE_TABLE_USER = User; private static final String DATABASE_TABLE_ACH = Ach; private static final String DATABASE_TABLE_USER_ACH = User_Ach; private static final int DATABASE_VERSION = 1; private final Context mCtx; private static class DatabaseHelper extends SQLiteOpenHelper { DatabaseHelper(Context context) { super(context, DATABASE_NAME, null, DATABASE_VERSION); } �...@override public void onCreate(SQLiteDatabase db) { // Our db.execSQL statements for creating the three tables live here } �...@override public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { Log.w(TAG, Upgrading database from version + oldVersion + to + newVersion + , which will destroy all old data); db.execSQL(DROP TABLE IF EXISTS User_Ach); db.execSQL(DROP TABLE IF EXISTS Ach); db.execSQL(DROP TABLE IF EXISTS User); onCreate(db); } } /** * Constructor - takes the context to allow the database to be * opened/created */ public DbAdapter(Context ctx) { this.mCtx = ctx; } /** ** Open the database - Here's where things get screwy. **/ public DbAdapter open() throws SQLException { mDbHelper = new DatabaseHelper(mCtx); mDb = mDbHelper.getWritableDatabase(); return this; } public void close() { mDbHelper.close(); }} /** END DbAdapter.java **/ /** LifeVault.java **/ package com.android.lifevault; import com.android.lifevault.DbAdapter; import android.app.Activity; import android.os.Bundle; import android.view.View; public class LifeVault extends Activity { private DbAdapter mDbHelper; @Override public void onCreate(Bundle icicle) { super.onCreate(icicle); mDbHelper = new DbAdapter(this); mDbHelper.open(); // - Program crashes here setContentView(R.layout.main); /**The rest of the code**/ }} / END LifeVault.java / - Am I using the Context class incorrectly? - Am I missing a library that the app needs to recognize the getWritableDatabase() funciton? Those are my two best guesses. I'm so close I can taste it! Hopefully someone can help me see this answer that's probably right in front of my face. Thank you; the help is greatly appreciated. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: java.net.UnknownHostException
Hi Raphael, Thanks for the response. Answer to your question is 'Yes' it has that permission. By the way the problem disappeared after I had restarted my PC, looks like it's do with my network connection but not with my Android app/ service. Anyways thanks for replying to my query. Thanks On May 2, 7:29 pm, Raphael r...@android.com wrote: Do you have uses-permission android:name=android.permission.INTERNET in the application that tries to bind to your service too? What does its manifest look like? R/ On Wed, Apr 29, 2009 at 2:14 AM, Explore Android explore.andr...@googlemail.com wrote: Hi, I am working on a implementing IM (yahoo) application in Android. I want to create a service which handles all the core part i.e., creating a socket, logining into the IM server etc., and I want to use this service from a 'Separate' IM application. The manifest file of service apk is as follows, == ?xml version=1.0 encoding=utf-8? manifest xmlns:android=http://schemas.android.com/apk/res/android; package=com.sharp_eu.ste.imservice android:versionCode=1 android:versionName=1.0.0 application android:icon=@drawable/icon android:label=@string/app_name service android:label=@string/app_name android:process=:remote android:name=IMServicesManager android:enabled=true android:exported=true android:permission=android.permission.INTERNET intent-filter action android:name=com.sharp_eu.ste.imservice.START_IM_SERVICE/action action android:name=com.sharp_eu.ste.imservice.BIND_YAHOO_SERVICE/action /intent-filter /service /application uses-permission android:name=android.permission.INTERNET /uses-permission /manifest I have installed this APK into the emulator using 'Run-Run Configuration...' and selecting 'Do Nothing' option for Launch Option in Eclipse. I have checked that this apk is installed in the emulator by going to adb shell. Now I have created a new separate application which starts the above service and bind to that for using it's services. This application calls the login method in the service for logging into yahoo IM server. But I see 'java.net.UnknownHostException' and login is not successful. Why am I getting this error even though I have given permission to access internet both in services manifest and application manifest files. Note: if I make that service as part of my application there is no problem and the login process is successful. But I can not have that service as part of my application that is my requirement. I have to have that service separately existing somewhere in the phone and any application in the phone which wants to use it's service can just bind to it. Any clue why I am getting that error if make service put in different apk file. Thanks- Hide quoted text - - Show quoted text - --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: WebView Issue
glory wrote: hi, loadDataWithBaseURL() method was woking well in the previous version i.e 1.1 but when I migrated to 1.5, in webview it showed only blank screen. Download the source code to my introductory book: http://commonsware.com/Android/ The WebKit/Browser3 application shows the use of loadDataWithBaseURL(), and it works fine for me on the Android 1.5 emulator, with the emulator running a target-3 AVD and the project built for either target-1 or target-2. Also in the API doc it is mentioned that WebView is depricated. That's a documentation bug, previously reported. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Android App Developer Training: http://commonsware.com/training.html --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Linux Kernel with SDK 1.5
Hi to everybody :) I didn't understand which version of linux kernel (modified) is it used by Android. I think it was 2.6.25linux kernel for Android 1.0 what about now? sorry if it's a stupid question, but i can't find it in the site... Thanks! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: PingUsage Server failed
On 3 mayo, 09:18, david.lygagnon david.lygag...@gmail.com wrote: Hello, I am using Ubuntu 9.04, android sdk 1.5 and eclipse Version: 3.4.2 (Ganymede). I am having the following error on eclipse startup: pingUsageServer failed Android SDK Ping Has anyone encountered this problem, and how did you solve it? I never had this problem with the previous android version. Thank you, David From http://groups.google.com/group/android-beginners/browse_frm/thread/e33c913be68517f1 This is very strange because this code has not changed in a long time. It's trying to offer you to opt-in for SDK usage statistic but fails to do so. One solution: launch DDMS from the command line (in SDK/tools), this will offer you to opt-in as well, and write the result in a config file. Then launch Eclipse/ADT again and ADT will not (try to) display the opt-in message and you won't have the crash. We'll fix try to this asap. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: Linux Kernel with SDK 1.5
The kernel version can be found in the .repo/manifests/default.xml in the corresponding SDK. 1.0 = 2.6.25 1.5 (current) = 2.6.27 Cupcake = 2.6.30-rc4 (pulled from latest kernel/common tree) On May 6, 2009 3:25 PM, ja...@work jamai5...@gmail.com wrote: Hi to everybody :) I didn't understand which version of linux kernel (modified) is it used by Android. I think it was 2.6.25linux kernel for Android 1.0 what about now? sorry if it's a stupid question, but i can't find it in the site... Thanks! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Developers to offer priced applications in Europe?
Does any body have a clue when developers from all the countries ,where G1 development edition phone was offered, will be able to offer priced applications? I am particularly interested in Finland or Poland. I see that there is ongoing process in Germany, Austria, Netherlands, France, and Spain but it already took 2-3 months and is still not finished! So how long will other countries have to wait? 6 months? 12 months? Is it only me who things that offering G1 to some countries and then not allowing them to sell their applications is a bit hmm ... disappointing? regards m --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] 1.5 update issue: Emulator won't launch - Failed fo find and AVD error
I followed the update from 1.1 to 1.5 instructions on XP and Eclipse thinks my application is ready to run, but when I try to debug or run it, I get the following message. [2009-05-06 09:08:27 - Metro] Failed to find an AVD compatible with target 'Android 1.1'. Launch aborted. I've also tried using a 1.5 build target as well as deleting the gen tree. Same result. Any ideas on what I'm missing here? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: 1.5 update issue: Emulator won't launch - Failed fo find and AVD error
Got it. Neglected to generate an AVD and update my run configuration. On May 6, 9:47 am, Mark Rosenberg markrosenberg01460...@gmail.com wrote: I followed the update from 1.1 to 1.5 instructions on XP and Eclipse thinks my application is ready to run, but when I try to debug or run it, I get the following message. [2009-05-06 09:08:27 - Metro] Failed to find an AVD compatible with target 'Android 1.1'. Launch aborted. I've also tried using a 1.5 build target as well as deleting the gen tree. Same result. Any ideas on what I'm missing here? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] While creating AVD: android: command not found
Upgrading to SDK 1.5 using Eclipse on a Mac. Finish all the install steps. Following the AVD creation instructions, I cd to the SDK tools folder. But every time I try following the android commands from there I get an android: command not found error. I've been following these instructions: http://developer.android.com/guide/developing/eclipse-adt.html#CreatingAnAvd Any ideas? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: -http-proxy can't work in emulator with 1.5 sdk
Same problem on windows XP 32 bits SP3. No firewall and no antivirus, antispam ... I have trace but it seems to be not supported by traceview. I have packets with incorrect tcp checksum from my host to proxy host. host ip : 172.16.124.133 proxy ip : 172.18.251.23 log with wireshark : No. TimeSourceDestination Protocol Info 1 0.00172.16.124.133172.18.251.23 TCP isg-uda-server http-alt [ACK] Seq=1 Ack=1 Win=65535 [TCP CHECKSUM INCORRECT] Len=0 Frame 1 (54 bytes on wire, 54 bytes captured) Arrival Time: May 6, 2009 10:24:25.741972000 [Time delta from previous captured frame: 0.0 seconds] [Time delta from previous displayed frame: 0.0 seconds] [Time since reference or first frame: 0.0 seconds] Frame Number: 1 Frame Length: 54 bytes Capture Length: 54 bytes [Frame is marked: False] [Protocols in frame: eth:ip:tcp] [Coloring Rule Name: Checksum Errors] [Coloring Rule String: cdp.checksum_bad==1 || edp.checksum_bad==1 || ip.checksum_bad==1 || tcp.checksum_bad==1 || udp.checksum_bad==1] Ethernet II, Src: HewlettP_1d:a7:b6 (00:14:38:1d:a7:b6), Dst: Oneacces_44:73:f5 (00:12:ef:44:73:f5) Destination: Oneacces_44:73:f5 (00:12:ef:44:73:f5) Address: Oneacces_44:73:f5 (00:12:ef:44:73:f5) ...0 = IG bit: Individual address (unicast) ..0. = LG bit: Globally unique address (factory default) Source: HewlettP_1d:a7:b6 (00:14:38:1d:a7:b6) Address: HewlettP_1d:a7:b6 (00:14:38:1d:a7:b6) ...0 = IG bit: Individual address (unicast) ..0. = LG bit: Globally unique address (factory default) Type: IP (0x0800) Internet Protocol, Src: 172.16.124.133 (172.16.124.133), Dst: 172.18.251.23 (172.18.251.23) Version: 4 Header length: 20 bytes Differentiated Services Field: 0x00 (DSCP 0x00: Default; ECN: 0x00) 00.. = Differentiated Services Codepoint: Default (0x00) ..0. = ECN-Capable Transport (ECT): 0 ...0 = ECN-CE: 0 Total Length: 40 Identification: 0xb8a8 (47272) Flags: 0x04 (Don't Fragment) 0... = Reserved bit: Not set .1.. = Don't fragment: Set ..0. = More fragments: Not set Fragment offset: 0 Time to live: 128 Protocol: TCP (0x06) Header checksum: 0x7267 [correct] [Good: True] [Bad : False] Source: 172.16.124.133 (172.16.124.133) Destination: 172.18.251.23 (172.18.251.23) Transmission Control Protocol, Src Port: isg-uda-server (2551), Dst Port: http-alt (8080), Seq: 1, Ack: 1, Len: 0 Source port: isg-uda-server (2551) Destination port: http-alt (8080) Sequence number: 1(relative sequence number) Acknowledgement number: 1(relative ack number) Header length: 20 bytes Flags: 0x10 (ACK) 0... = Congestion Window Reduced (CWR): Not set .0.. = ECN-Echo: Not set ..0. = Urgent: Not set ...1 = Acknowledgment: Set 0... = Push: Not set .0.. = Reset: Not set ..0. = Syn: Not set ...0 = Fin: Not set Window size: 65535 Checksum: 0xcfda [incorrect, should be 0x3e77 (maybe caused by TCP checksum offload?)] [Good Checksum: False] [Bad Checksum: True] 00 12 ef 44 73 f5 00 14 38 1d a7 b6 08 00 45 00 ...Ds... 8.E. 0010 00 28 b8 a8 40 00 80 06 72 67 ac 10 7c 85 ac 12 . (@...rg..|... 0020 fb 17 09 f7 1f 90 54 49 5a 77 87 19 42 3c 50 10 ..TIZw..BP. 0030 ff ff cf da 00 00 .. On 5 mai, 18:23, David Turner di...@android.com wrote: 2009/5/5 stevensli stevens...@gmail.com The version of Windows I am running is XP SP3, 32bit. Can this problem be solved by adjusting the configuation of the emulator? Thanks! I'm just speculating at the moment, but I doubt it's related to the emulator's configuration. Essentially, the emulator doesn't deal very well with certain networking setups at the moment due to changes in its socket code that happened between 1.1 and 1.5. I suspect some interaction with the IPv6 localhost and a few other things. I could be wrong though, but I'll investigate. On May 5, 11:50 pm, David Turner di...@android.com wrote: thanks for posting the details, they are helpful. Which exact version of Windows are you running ? XP or Vista, 32 or 64 bit ? thanks in advance On Mon, May 4, 2009 at 12:05 PM, stevensli stevens...@gmail.com wrote: The -http-proxy works fine for emulator with 1.1r1 sdk, but not work for emulator with 1.5r1 sdk. I use those emulator on the same development computer. The following is debug info: D:\Downloadsemulator -avd avd15addon -sdcard d:\sd.iso -http-proxy 127.0.0.1:58 65 -debug-proxy proxy_http_setup: creating http proxy service
[android-beginners] Eclipse Ganymede Sockets issue
No repository found at https://dl-ssl.google.com/android/eclipse/ Error reading update site https://dl-ssl.google.com/android/eclipse/. Unconnected sockets not implemented Not able to add Android to Eclipse --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: Problems with 1.5 SDK
In case anyone else is having this problem, I seem to have fixed it by going to WindowPreferencesAndroidUsage Stats and just check the box on that screen. No other issues so far. On May 1, 11:56 pm, Frank Duerr frank.d.d...@googlemail.com wrote: As inkspotch pointed out, the SWT version included in SDK 1.5 seems to be 32 bit only causing problems on 64 bit systems. If you do not want to install a separate 32 bit Java environment (ia32-sun-java6), you can simply replace the SWT included in the SDK: 1. Get a 64 bit version of SWT. On Debian you find them in the package libswt-gtk-java: aptitude install libswt-gtk-java 2. Replace the 32 bit SWT by the 64 bit version by replacing the files libswt-atk-gtk-3236.so, libswt-cairo-gtk-3236.so, libswt-gtk-3236.so, libswt-pi-gtk-3236.so, and swt.jar in the SDK's folder tools/lib -- you might want to backup these files first ;-) On Debian you can find the 64 bit files in the folders and /usr/lib/jni/ and /usr/lib/java: cp /usr/lib/jni/libswt-atk-gtk-3236.so /usr/lib/jni/libswt-cairo- gtk-3236.so /usr/lib/jni/libswt-pi-gtk-3236.so /usr/lib/jni/libswt- gtk-3236.so SDKDIR/tools/lib/ cp /usr/lib/java/swt.jar SDKDIR/tools/lib/ HTH. Best regards, Frank --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: -http-proxy can't work in emulator with 1.5 sdk
sorry for my last response but it only works with the integrated browser not for mail or other internet apps. Same error on tcp checksum. On 5 mai, 18:23, David Turner di...@android.com wrote: 2009/5/5 stevensli stevens...@gmail.com The version of Windows I am running is XP SP3, 32bit. Can this problem be solved by adjusting the configuation of the emulator? Thanks! I'm just speculating at the moment, but I doubt it's related to the emulator's configuration. Essentially, the emulator doesn't deal very well with certain networking setups at the moment due to changes in its socket code that happened between 1.1 and 1.5. I suspect some interaction with the IPv6 localhost and a few other things. I could be wrong though, but I'll investigate. On May 5, 11:50 pm, David Turner di...@android.com wrote: thanks for posting the details, they are helpful. Which exact version of Windows are you running ? XP or Vista, 32 or 64 bit ? thanks in advance On Mon, May 4, 2009 at 12:05 PM, stevensli stevens...@gmail.com wrote: The -http-proxy works fine for emulator with 1.1r1 sdk, but not work for emulator with 1.5r1 sdk. I use those emulator on the same development computer. The following is debug info: D:\Downloadsemulator -avd avd15addon -sdcard d:\sd.iso -http-proxy 127.0.0.1:58 65 -debug-proxy proxy_http_setup: creating http proxy service connecting to: 127.0.0.1:5865 server name '127.0.0.1' resolved to 127.0.0.1:5865 proxy_http_setup: creating HTTP Proxy Service Footer is (len=2): ' ' http_service_connect: trying to connect to 64.233.189.104:80 http_service_connect: using HTTP rewriter tcp:64.233.189.104:80(1480): cannot connect to proxy: unknown error http_service_connect: trying to connect to 64.233.189.104:80 http_service_connect: using HTTP rewriter tcp:64.233.189.104:80(1480): cannot connect to proxy: unknown error http_service_connect: trying to connect to 64.233.189.104:80 http_service_connect: using HTTP rewriter tcp:64.233.189.104:80(1480): cannot connect to proxy: unknown error http_service_connect: trying to connect to 64.233.189.104:80 http_service_connect: using HTTP rewriter tcp:64.233.189.104:80(1480): cannot connect to proxy: unknown error http_service_connect: trying to connect to 64.233.189.104:80 http_service_connect: using HTTP rewriter tcp:64.233.189.104:80(1480): cannot connect to proxy: unknown error http_service_connect: trying to connect to 64.233.189.104:80 http_service_connect: using HTTP rewriter tcp:64.233.189.104:80(1480): cannot connect to proxy: unknown error --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: Android 1.5 SDK now available
I am also having the same problem - wish i hadn't updated now.. I even reinstalled it all to make sure I hadn't done anything wrong and I get the error. From my .log: !ENTRY org.eclipse.ui.workbench.texteditor 4 0 2009-05-05 21:18:04.826 !MESSAGE The 'org.eclipse.wst.jsdt.web.ui.internal.hyperlink.script.event.JSPJavaHyperlinkDetector' extension from plug-in 'org.eclipse.wst.jsdt.web.ui' to the 'org.eclipse.ui.workbench.texteditor.hyperlinkDetectors' extension point will be ignored because it contains invalid attributes. !ENTRY com.android.ide.eclipse.adt 4 0 2009-05-05 21:18:08.970 !MESSAGE pingUsageServer failed !STACK 0 org.eclipse.swt.SWTError: Not implemented [multiple displays] at org.eclipse.swt.SWT.error(SWT.java:3803) at org.eclipse.swt.widgets.Display.checkDisplay(Display.java:712) at org.eclipse.swt.widgets.Display.create(Display.java:842) at org.eclipse.swt.graphics.Device.init(Device.java:154) at org.eclipse.swt.widgets.Display.init(Display.java:471) at org.eclipse.swt.widgets.Display.init(Display.java:462) at com.android.sdkstats.SdkStatsService.getUserPermission (SdkStatsService.java:278) at com.android.sdkstats.SdkStatsService.ping(SdkStatsService.java: 126) at com.android.ide.eclipse.common.SdkStatsHelper.pingUsageServer (Unknown Source) at com.android.ide.eclipse.adt.AdtPlugin$12.run(Unknown Source) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55) !ENTRY com.android.ide.eclipse.adt 4 0 2009-05-05 21:18:08.990 !MESSAGE pingUsageServer failed !STACK 0 org.eclipse.swt.SWTError: Not implemented [multiple displays] at org.eclipse.swt.SWT.error(SWT.java:3803) at org.eclipse.swt.widgets.Display.checkDisplay(Display.java:712) at org.eclipse.swt.widgets.Display.create(Display.java:842) at org.eclipse.swt.graphics.Device.init(Device.java:154) at org.eclipse.swt.widgets.Display.init(Display.java:471) at org.eclipse.swt.widgets.Display.init(Display.java:462) at com.android.sdkstats.SdkStatsService.getUserPermission (SdkStatsService.java:278) at com.android.sdkstats.SdkStatsService.ping(SdkStatsService.java: 126) at com.android.ide.eclipse.common.SdkStatsHelper.pingUsageServer (Unknown Source) at com.android.ide.eclipse.adt.AdtPlugin$12.run(Unknown Source) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55) On May 4, 8:27 pm, gritty k...@uoregon.edu wrote: I am also having this problem and I don't have a clue what to do about it. On May 2, 4:27 pm, david.lygagnon david.lygag...@gmail.com wrote: Hi, I am having the same problem as Javier with ubuntu 9.04 Jaunty, x64 and eclipse version: 3.4.2. On launching eclipse after installing the Android plugin, I get the following error: Multiple problems have occured: pingUsageServer failed Android sdk ping Does anyone have a solution to this problem? David On Apr 27, 12:41 pm, Javi javierjc1...@gmail.com wrote: I have problems with the new sdk (1.5), A dialog show with a error a and suggest me to exit the workbench. Other dialog appear with a pingUsageServer failed: Android SDK Ping pingUsageServer failed The .log file says: !SESSION 2009-04-27 21:31:38.570 --- eclipse.buildId=M20090211-1700 java.version=1.6.0_13 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=es_ES Command-line arguments: -os linux -ws gtk -arch x86_64 !ENTRY com.android.ide.eclipse.adt 4 0 2009-04-27 21:31:46.358 !MESSAGE Failed to load properties file for project 'WifiScan' !ENTRY com.android.ide.eclipse.adt 4 0 2009-04-27 21:31:48.330 !MESSAGE pingUsageServer failed !STACK 0 org.eclipse.swt.SWTError: Not implemented [multiple displays] at org.eclipse.swt.SWT.error(SWT.java:3803) at org.eclipse.swt.widgets.Display.checkDisplay(Display.java:712) at org.eclipse.swt.widgets.Display.create(Display.java:842) at org.eclipse.swt.graphics.Device.init(Device.java:154) at org.eclipse.swt.widgets.Display.init(Display.java:471) at org.eclipse.swt.widgets.Display.init(Display.java:462) at com.android.sdkstats.SdkStatsService.getUserPermission(SdkStatsService.java:278) at com.android.sdkstats.SdkStatsService.ping(SdkStatsService.java:126) at com.android.ide.eclipse.common.SdkStatsHelper.pingUsageServer(Unknown Source) at com.android.ide.eclipse.adt.AdtPlugin$12.run(Unknown Source) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55) !ENTRY com.android.ide.eclipse.adt 4 0 2009-04-27 21:31:48.341 !MESSAGE pingUsageServer failed !STACK 0 org.eclipse.swt.SWTError: Not implemented [multiple displays] at org.eclipse.swt.SWT.error(SWT.java:3803) at
[android-beginners] where is http://code.google.com/android/reference/android/....
When I google the android-related articles, I always found the links like http://code.google.com/android/reference/android/, however, when I clicked them and it always reported me that the page is gone. When I typed http://code.google.com/android; directly, it will be redirected into http://code.google.com/intl/zh-TW/android/;, but I appended reference and it still reported me a similar error message (The requested URL /intl/zh-TW/android/reference was not found on this server.). Is there anyone can help me to find these pages? Thanks in advance. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: -http-proxy can't work in emulator with 1.5 sdk
I can't see my last response. So I post again. Same problem with XPSP3 no firewall, no antivirus, ... can't open trace vith traceview but i can send it. With Wireshark, I have Incorrect tcp checksum. Log : No. TimeSourceDestination Protocol Info 1 0.00172.16.124.133172.18.251.23 TCP isg-uda-server http-alt [ACK] Seq=1 Ack=1 Win=65535 [TCP CHECKSUM INCORRECT] Len=0 Frame 1 (54 bytes on wire, 54 bytes captured) Arrival Time: May 6, 2009 10:24:25.741972000 [Time delta from previous captured frame: 0.0 seconds] [Time delta from previous displayed frame: 0.0 seconds] [Time since reference or first frame: 0.0 seconds] Frame Number: 1 Frame Length: 54 bytes Capture Length: 54 bytes [Frame is marked: False] [Protocols in frame: eth:ip:tcp] [Coloring Rule Name: Checksum Errors] [Coloring Rule String: cdp.checksum_bad==1 || edp.checksum_bad==1 || ip.checksum_bad==1 || tcp.checksum_bad==1 || udp.checksum_bad==1] Ethernet II, Src: HewlettP_1d:a7:b6 (00:14:38:1d:a7:b6), Dst: Oneacces_44:73:f5 (00:12:ef:44:73:f5) Destination: Oneacces_44:73:f5 (00:12:ef:44:73:f5) Address: Oneacces_44:73:f5 (00:12:ef:44:73:f5) ...0 = IG bit: Individual address (unicast) ..0. = LG bit: Globally unique address (factory default) Source: HewlettP_1d:a7:b6 (00:14:38:1d:a7:b6) Address: HewlettP_1d:a7:b6 (00:14:38:1d:a7:b6) ...0 = IG bit: Individual address (unicast) ..0. = LG bit: Globally unique address (factory default) Type: IP (0x0800) Internet Protocol, Src: 172.16.124.133 (172.16.124.133), Dst: 172.18.251.23 (172.18.251.23) Version: 4 Header length: 20 bytes Differentiated Services Field: 0x00 (DSCP 0x00: Default; ECN: 0x00) 00.. = Differentiated Services Codepoint: Default (0x00) ..0. = ECN-Capable Transport (ECT): 0 ...0 = ECN-CE: 0 Total Length: 40 Identification: 0xb8a8 (47272) Flags: 0x04 (Don't Fragment) 0... = Reserved bit: Not set .1.. = Don't fragment: Set ..0. = More fragments: Not set Fragment offset: 0 Time to live: 128 Protocol: TCP (0x06) Header checksum: 0x7267 [correct] [Good: True] [Bad : False] Source: 172.16.124.133 (172.16.124.133) Destination: 172.18.251.23 (172.18.251.23) Transmission Control Protocol, Src Port: isg-uda-server (2551), Dst Port: http-alt (8080), Seq: 1, Ack: 1, Len: 0 Source port: isg-uda-server (2551) Destination port: http-alt (8080) Sequence number: 1(relative sequence number) Acknowledgement number: 1(relative ack number) Header length: 20 bytes Flags: 0x10 (ACK) 0... = Congestion Window Reduced (CWR): Not set .0.. = ECN-Echo: Not set ..0. = Urgent: Not set ...1 = Acknowledgment: Set 0... = Push: Not set .0.. = Reset: Not set ..0. = Syn: Not set ...0 = Fin: Not set Window size: 65535 Checksum: 0xcfda [incorrect, should be 0x3e77 (maybe caused by TCP checksum offload?)] [Good Checksum: False] [Bad Checksum: True] 00 12 ef 44 73 f5 00 14 38 1d a7 b6 08 00 45 00 ...Ds... 8.E. 0010 00 28 b8 a8 40 00 80 06 72 67 ac 10 7c 85 ac 12 . (@...rg..|... 0020 fb 17 09 f7 1f 90 54 49 5a 77 87 19 42 3c 50 10 ..TIZw..BP. 0030 ff ff cf da 00 00 .. On 5 mai, 18:23, David Turner di...@android.com wrote: 2009/5/5 stevensli stevens...@gmail.com The version of Windows I am running is XP SP3, 32bit. Can this problem be solved by adjusting the configuation of the emulator? Thanks! I'm just speculating at the moment, but I doubt it's related to the emulator's configuration. Essentially, the emulator doesn't deal very well with certain networking setups at the moment due to changes in its socket code that happened between 1.1 and 1.5. I suspect some interaction with the IPv6 localhost and a few other things. I could be wrong though, but I'll investigate. On May 5, 11:50 pm, David Turner di...@android.com wrote: thanks for posting the details, they are helpful. Which exact version of Windows are you running ? XP or Vista, 32 or 64 bit ? thanks in advance On Mon, May 4, 2009 at 12:05 PM, stevensli stevens...@gmail.com wrote: The -http-proxy works fine for emulator with 1.1r1 sdk, but not work for emulator with 1.5r1 sdk. I use those emulator on the same development computer. The following is debug info: D:\Downloadsemulator -avd avd15addon -sdcard d:\sd.iso -http-proxy 127.0.0.1:58 65 -debug-proxy proxy_http_setup: creating http proxy service connecting to: 127.0.0.1:5865 server name '127.0.0.1' resolved to
[android-beginners] problem with 3D cube
hi =) I have a problem with this code (I found it in the android sdk API demos ), it doesn't work. I mean, I see a black screen, it doesn't draw the 3D cube. Can someone help me? thanks =) import android.app.Activity; import android.os.Bundle; import android.view.View; import android.widget.Button; import java.nio.ByteBuffer; import java.nio.ByteOrder; import java.nio.IntBuffer; import javax.microedition.khronos.opengles.GL10; public class Cubo extends Activity{ @Override public void onCreate(Bundle icicle) { super.onCreate(icicle); new Cube2(); } /** * A vertex shaded cube. */ class Cube2{ public Cube2() { int one = 0x1; int vertices[] = { -one, -one, -one, one, -one, -one, one, one, -one, -one, one, -one, -one, -one, one, one, -one, one, one, one, one, -one, one, one, }; int colors[] = { 0,0,0, one, one,0,0, one, one, one,0, one, 0, one,0, one, 0,0, one, one, one,0, one, one, one, one, one, one, 0, one, one, one, }; byte indices[] = { 0, 4, 5,0, 5, 1, 1, 5, 6,1, 6, 2, 2, 6, 7,2, 7, 3, 3, 7, 4,3, 4, 0, 4, 7, 6,4, 6, 5, 3, 0, 1,3, 1, 2 }; // Buffers to be passed to gl*Pointer() functions // must be direct, i.e., they must be placed on the // native heap where the garbage collector cannot // move them. // // Buffers with multi-byte datatypes (e.g., short, int, float) // must have their byte order set to native order ByteBuffer vbb = ByteBuffer.allocateDirect (vertices.length*4); vbb.order(ByteOrder.nativeOrder()); mVertexBuffer = vbb.asIntBuffer(); mVertexBuffer.put(vertices); mVertexBuffer.position(0); ByteBuffer cbb = ByteBuffer.allocateDirect(colors.length*4); cbb.order(ByteOrder.nativeOrder()); mColorBuffer = cbb.asIntBuffer(); mColorBuffer.put(colors); mColorBuffer.position(0); mIndexBuffer = ByteBuffer.allocateDirect(indices.length); mIndexBuffer.put(indices); mIndexBuffer.position(0); } public void draw(GL10 gl) { gl.glFrontFace(GL10.GL_CW); gl.glVertexPointer(3, GL10.GL_FIXED, 0, mVertexBuffer); gl.glColorPointer(4, GL10.GL_FIXED, 0, mColorBuffer); gl.glDrawElements(GL10.GL_TRIANGLES, 36, GL10.GL_UNSIGNED_BYTE, mIndexBuffer); } private IntBuffer mVertexBuffer; private IntBuffer mColorBuffer; private ByteBuffer mIndexBuffer; } } --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: Android 1.5 SDK now available
I also have got the problem, if anyone have resolved the problem, please help me, thanks On 5月5日, 上午3时27分, gritty k...@uoregon.edu wrote: I am also having this problem and I don't have a clue what to do about it. On May 2, 4:27 pm, david.lygagnon david.lygag...@gmail.com wrote: Hi, I am having the same problem as Javier with ubuntu 9.04 Jaunty, x64 and eclipse version: 3.4.2. On launching eclipse after installing the Android plugin, I get the following error: Multiple problems have occured: pingUsageServerfailed Android sdk ping Does anyone have a solution to this problem? David On Apr 27, 12:41 pm, Javi javierjc1...@gmail.com wrote: I have problems with the new sdk (1.5), A dialog show with a error a and suggest me to exit the workbench. Other dialog appear with a pingUsageServerfailed: Android SDK Ping pingUsageServerfailed The .log file says: !SESSION 2009-04-27 21:31:38.570 --- eclipse.buildId=M20090211-1700 java.version=1.6.0_13 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=es_ES Command-line arguments: -os linux -ws gtk -arch x86_64 !ENTRY com.android.ide.eclipse.adt 4 0 2009-04-27 21:31:46.358 !MESSAGE Failed to load properties file for project 'WifiScan' !ENTRY com.android.ide.eclipse.adt 4 0 2009-04-27 21:31:48.330 !MESSAGEpingUsageServerfailed !STACK 0 org.eclipse.swt.SWTError: Not implemented [multiple displays] at org.eclipse.swt.SWT.error(SWT.java:3803) at org.eclipse.swt.widgets.Display.checkDisplay(Display.java:712) at org.eclipse.swt.widgets.Display.create(Display.java:842) at org.eclipse.swt.graphics.Device.init(Device.java:154) at org.eclipse.swt.widgets.Display.init(Display.java:471) at org.eclipse.swt.widgets.Display.init(Display.java:462) at com.android.sdkstats.SdkStatsService.getUserPermission(SdkStatsService.java:278) at com.android.sdkstats.SdkStatsService.ping(SdkStatsService.java:126) at com.android.ide.eclipse.common.SdkStatsHelper.pingUsageServer(Unknown Source) at com.android.ide.eclipse.adt.AdtPlugin$12.run(Unknown Source) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55) !ENTRY com.android.ide.eclipse.adt 4 0 2009-04-27 21:31:48.341 !MESSAGEpingUsageServerfailed !STACK 0 org.eclipse.swt.SWTError: Not implemented [multiple displays] at org.eclipse.swt.SWT.error(SWT.java:3803) at org.eclipse.swt.widgets.Display.checkDisplay(Display.java:712) at org.eclipse.swt.widgets.Display.create(Display.java:842) at org.eclipse.swt.graphics.Device.init(Device.java:154) at org.eclipse.swt.widgets.Display.init(Display.java:471) at org.eclipse.swt.widgets.Display.init(Display.java:462) at com.android.sdkstats.SdkStatsService.getUserPermission(SdkStatsService.java:278) at com.android.sdkstats.SdkStatsService.ping(SdkStatsService.java:126) at com.android.ide.eclipse.common.SdkStatsHelper.pingUsageServer(Unknown Source) at com.android.ide.eclipse.adt.AdtPlugin$12.run(Unknown Source) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55) I use the latest Ubuntu jaunty and Sun JDK The previous Android SDK (1.1) works without problems I tried to do a clean installation of the eclipse and the sdk but the problem persist Anybody else with this problem? -- Javier Jardón Cabezas --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Create AVD on a Mac
Hi, When is send the command android list targets in terminal on the mac (I am in the tools folder), then it returns command not found. Any idea why this happens? Cheers, John --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Need Simple Sample Application
Hi All, I need very simple sample application with configuration setting details in Eclipse. Can anyone help me. Thanks Suresh Balu --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: -http-proxy can't work in emulator with 1.5 sdk
solution here : http://groups.google.com/group/android-developers/browse_thread/thread/efb4c6884f42dad7/b079f8fcb2b0e9af?lnk=gstq=proxy+1.5#b079f8fcb2b0e9af work for me. But it will be fine to correct the error with -http-proxy On 5 mai, 18:23, David Turner di...@android.com wrote: 2009/5/5 stevensli stevens...@gmail.com The version of Windows I am running is XP SP3, 32bit. Can this problem be solved by adjusting the configuation of the emulator? Thanks! I'm just speculating at the moment, but I doubt it's related to the emulator's configuration. Essentially, the emulator doesn't deal very well with certain networking setups at the moment due to changes in its socket code that happened between 1.1 and 1.5. I suspect some interaction with the IPv6 localhost and a few other things. I could be wrong though, but I'll investigate. On May 5, 11:50 pm, David Turner di...@android.com wrote: thanks for posting the details, they are helpful. Which exact version of Windows are you running ? XP or Vista, 32 or 64 bit ? thanks in advance On Mon, May 4, 2009 at 12:05 PM, stevensli stevens...@gmail.com wrote: The -http-proxy works fine for emulator with 1.1r1 sdk, but not work for emulator with 1.5r1 sdk. I use those emulator on the same development computer. The following is debug info: D:\Downloadsemulator -avd avd15addon -sdcard d:\sd.iso -http-proxy 127.0.0.1:58 65 -debug-proxy proxy_http_setup: creating http proxy service connecting to: 127.0.0.1:5865 server name '127.0.0.1' resolved to 127.0.0.1:5865 proxy_http_setup: creating HTTP Proxy Service Footer is (len=2): ' ' http_service_connect: trying to connect to 64.233.189.104:80 http_service_connect: using HTTP rewriter tcp:64.233.189.104:80(1480): cannot connect to proxy: unknown error http_service_connect: trying to connect to 64.233.189.104:80 http_service_connect: using HTTP rewriter tcp:64.233.189.104:80(1480): cannot connect to proxy: unknown error http_service_connect: trying to connect to 64.233.189.104:80 http_service_connect: using HTTP rewriter tcp:64.233.189.104:80(1480): cannot connect to proxy: unknown error http_service_connect: trying to connect to 64.233.189.104:80 http_service_connect: using HTTP rewriter tcp:64.233.189.104:80(1480): cannot connect to proxy: unknown error http_service_connect: trying to connect to 64.233.189.104:80 http_service_connect: using HTTP rewriter tcp:64.233.189.104:80(1480): cannot connect to proxy: unknown error http_service_connect: trying to connect to 64.233.189.104:80 http_service_connect: using HTTP rewriter tcp:64.233.189.104:80(1480): cannot connect to proxy: unknown error --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] [Managing Activities] What is the best solution in that case ?
Hi, Here my case : I have got an application, that use several activities [A,B]. The A and B activity can be called several times. the A and B activity can call a new A or B activity. When the user press BACK I want him to come back directly to the home screen. My Solution [Works] : Each time, I start an activity through a new Intent, I close the previous with finish. I mean I am in activity A. A.this.startactivity(A or B) A.this.finish() My Question : What is the best solution ? Is there better solutions using specific task ? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: 1.5 update issue: Emulator won't launch - Failed fo find and AVD error
Hi, You may need to create a new version 1.5 for the ADL. Here (file:///C:/Users/lobo/Documents/desarrollo%20eclipse/android-sdk-windows-1.5_r1/docs/guide/tutorials/hello-world.html) we explain how. Regards. 2009/5/6 Mark Rosenberg markrosenberg01460...@gmail.com I followed the update from 1.1 to 1.5 instructions on XP and Eclipse thinks my application is ready to run, but when I try to debug or run it, I get the following message. [2009-05-06 09:08:27 - Metro] Failed to find an AVD compatible with target 'Android 1.1'. Launch aborted. I've also tried using a 1.5 build target as well as deleting the gen tree. Same result. Any ideas on what I'm missing here? -- Un saludo. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: Android 1.5 SDK now available
I am also having this same problem - using 64bit linux and getting the following: !ENTRY org.eclipse.ui.workbench.texteditor 4 0 2009-05-05 21:18:04.826 !MESSAGE The 'org.eclipse.wst.jsdt.web.ui.internal.hyperlink.script.event.JSPJavaHyperlinkDetector' extension from plug-in 'org.eclipse.wst.jsdt.web.ui' to the 'org.eclipse.ui.workbench.texteditor.hyperlinkDetectors' extension point will be ignored because it contains invalid attributes. !ENTRY com.android.ide.eclipse.adt 4 0 2009-05-05 21:18:08.970 !MESSAGE pingUsageServer failed !STACK 0 org.eclipse.swt.SWTError: Not implemented [multiple displays] at org.eclipse.swt.SWT.error(SWT.java:3803) at org.eclipse.swt.widgets.Display.checkDisplay(Display.java:712) at org.eclipse.swt.widgets.Display.create(Display.java:842) at org.eclipse.swt.graphics.Device.init(Device.java:154) at org.eclipse.swt.widgets.Display.init(Display.java:471) at org.eclipse.swt.widgets.Display.init(Display.java:462) at com.android.sdkstats.SdkStatsService.getUserPermission (SdkStatsService.java:278) at com.android.sdkstats.SdkStatsService.ping(SdkStatsService.java: 126) at com.android.ide.eclipse.common.SdkStatsHelper.pingUsageServer (Unknown Source) at com.android.ide.eclipse.adt.AdtPlugin$12.run(Unknown Source) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55) !ENTRY com.android.ide.eclipse.adt 4 0 2009-05-05 21:18:08.990 !MESSAGE pingUsageServer failed !STACK 0 org.eclipse.swt.SWTError: Not implemented [multiple displays] at org.eclipse.swt.SWT.error(SWT.java:3803) at org.eclipse.swt.widgets.Display.checkDisplay(Display.java:712) at org.eclipse.swt.widgets.Display.create(Display.java:842) at org.eclipse.swt.graphics.Device.init(Device.java:154) at org.eclipse.swt.widgets.Display.init(Display.java:471) at org.eclipse.swt.widgets.Display.init(Display.java:462) at com.android.sdkstats.SdkStatsService.getUserPermission (SdkStatsService.java:278) at com.android.sdkstats.SdkStatsService.ping(SdkStatsService.java: 126) at com.android.ide.eclipse.common.SdkStatsHelper.pingUsageServer (Unknown Source) at com.android.ide.eclipse.adt.AdtPlugin$12.run(Unknown Source) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55) On May 4, 8:27 pm, gritty k...@uoregon.edu wrote: I am also having this problem and I don't have a clue what to do about it. On May 2, 4:27 pm, david.lygagnon david.lygag...@gmail.com wrote: Hi, I am having the same problem as Javier with ubuntu 9.04 Jaunty, x64 and eclipse version: 3.4.2. On launching eclipse after installing the Android plugin, I get the following error: Multiple problems have occured: pingUsageServer failed Android sdk ping Does anyone have a solution to this problem? David On Apr 27, 12:41 pm, Javi javierjc1...@gmail.com wrote: I have problems with the new sdk (1.5), A dialog show with a error a and suggest me to exit the workbench. Other dialog appear with a pingUsageServer failed: Android SDK Ping pingUsageServer failed The .log file says: !SESSION 2009-04-27 21:31:38.570 --- eclipse.buildId=M20090211-1700 java.version=1.6.0_13 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=es_ES Command-line arguments: -os linux -ws gtk -arch x86_64 !ENTRY com.android.ide.eclipse.adt 4 0 2009-04-27 21:31:46.358 !MESSAGE Failed to load properties file for project 'WifiScan' !ENTRY com.android.ide.eclipse.adt 4 0 2009-04-27 21:31:48.330 !MESSAGE pingUsageServer failed !STACK 0 org.eclipse.swt.SWTError: Not implemented [multiple displays] at org.eclipse.swt.SWT.error(SWT.java:3803) at org.eclipse.swt.widgets.Display.checkDisplay(Display.java:712) at org.eclipse.swt.widgets.Display.create(Display.java:842) at org.eclipse.swt.graphics.Device.init(Device.java:154) at org.eclipse.swt.widgets.Display.init(Display.java:471) at org.eclipse.swt.widgets.Display.init(Display.java:462) at com.android.sdkstats.SdkStatsService.getUserPermission(SdkStatsService.java:278) at com.android.sdkstats.SdkStatsService.ping(SdkStatsService.java:126) at com.android.ide.eclipse.common.SdkStatsHelper.pingUsageServer(Unknown Source) at com.android.ide.eclipse.adt.AdtPlugin$12.run(Unknown Source) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55) !ENTRY com.android.ide.eclipse.adt 4 0 2009-04-27 21:31:48.341 !MESSAGE pingUsageServer failed !STACK 0 org.eclipse.swt.SWTError: Not implemented [multiple displays] at org.eclipse.swt.SWT.error(SWT.java:3803) at org.eclipse.swt.widgets.Display.checkDisplay(Display.java:712) at
[android-beginners] implementing in-device proxy with standard API?
Greetings, I need to perform a simple profiling study for my project. So I'd like to subscribe to all events related to outgoing and incoming connections, e.g. HTTP, POP3 via WiFi, GPRS and etc. In addition, it would be great if I could change/modify/drop/buffer some packets on-the-fly. Do you think it's possible to implement using standard API or I have to modify all network drivers to be able to do that. Any suggestions and pointers are greatly appreciated. thanks, amre _ Insert movie times and more without leaving Hotmail®. http://windowslive.com/Tutorial/Hotmail/QuickAdd?ocid=TXT_TAGLM_WL_HM_Tutorial_QuickAdd1_052009 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: Android 1.5 SDK now available
I'm having the same problem. I'm running openSuse 11.1 32-bit in Eclipse 3.4.2 (Ganymede). TIA. Bye. On May 4, 11:27 am, gritty k...@uoregon.edu wrote: I am also having this problem and I don't have a clue what to do about it. On May 2, 4:27 pm, david.lygagnon david.lygag...@gmail.com wrote: Hi, I am having the same problem as Javier with ubuntu 9.04 Jaunty, x64 and eclipse version: 3.4.2. On launching eclipse after installing the Android plugin, I get the following error: Multiple problems have occured: pingUsageServer failed Android sdk ping Does anyone have a solution to this problem? David On Apr 27, 12:41 pm, Javi javierjc1...@gmail.com wrote: I have problems with the new sdk (1.5), A dialog show with a error a and suggest me to exit the workbench. Other dialog appear with a pingUsageServer failed: Android SDK Ping pingUsageServer failed The .log file says: !SESSION 2009-04-27 21:31:38.570 --- eclipse.buildId=M20090211-1700 java.version=1.6.0_13 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=es_ES Command-line arguments: -os linux -ws gtk -arch x86_64 !ENTRY com.android.ide.eclipse.adt 4 0 2009-04-27 21:31:46.358 !MESSAGE Failed to load properties file for project 'WifiScan' !ENTRY com.android.ide.eclipse.adt 4 0 2009-04-27 21:31:48.330 !MESSAGE pingUsageServer failed !STACK 0 org.eclipse.swt.SWTError: Not implemented [multiple displays] at org.eclipse.swt.SWT.error(SWT.java:3803) at org.eclipse.swt.widgets.Display.checkDisplay(Display.java:712) at org.eclipse.swt.widgets.Display.create(Display.java:842) at org.eclipse.swt.graphics.Device.init(Device.java:154) at org.eclipse.swt.widgets.Display.init(Display.java:471) at org.eclipse.swt.widgets.Display.init(Display.java:462) at com.android.sdkstats.SdkStatsService.getUserPermission(SdkStatsService.java:278) at com.android.sdkstats.SdkStatsService.ping(SdkStatsService.java:126) at com.android.ide.eclipse.common.SdkStatsHelper.pingUsageServer(Unknown Source) at com.android.ide.eclipse.adt.AdtPlugin$12.run(Unknown Source) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55) !ENTRY com.android.ide.eclipse.adt 4 0 2009-04-27 21:31:48.341 !MESSAGE pingUsageServer failed !STACK 0 org.eclipse.swt.SWTError: Not implemented [multiple displays] at org.eclipse.swt.SWT.error(SWT.java:3803) at org.eclipse.swt.widgets.Display.checkDisplay(Display.java:712) at org.eclipse.swt.widgets.Display.create(Display.java:842) at org.eclipse.swt.graphics.Device.init(Device.java:154) at org.eclipse.swt.widgets.Display.init(Display.java:471) at org.eclipse.swt.widgets.Display.init(Display.java:462) at com.android.sdkstats.SdkStatsService.getUserPermission(SdkStatsService.java:278) at com.android.sdkstats.SdkStatsService.ping(SdkStatsService.java:126) at com.android.ide.eclipse.common.SdkStatsHelper.pingUsageServer(Unknown Source) at com.android.ide.eclipse.adt.AdtPlugin$12.run(Unknown Source) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55) I use the latest Ubuntu jaunty and Sun JDK The previous Android SDK (1.1) works without problems I tried to do a clean installation of the eclipse and the sdk but the problem persist Anybody else with this problem? -- Javier Jardón Cabezas --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Create AVD on a Mac
Hi, I want to create a new AVD on a Mac, so I open a terminal session, navigate to the SDK tools folder and type android list targets. Then I get a command not found. What should I do? Cheers, John --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Spinners
I am trying to make two spinners on a page for an episode list type program, one for Season and one for Episode, I have these two spinners working with the following code: public class Season extends Activity implements OnClickListener { public void onClick(View v) { switch (v.getId()) { } } @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.arrays); Spinner s = (Spinner) findViewById(R.id.spinner); ArrayAdapter adapter = ArrayAdapter.createFromResource( this, R.array.seasons, android.R.layout.simple_spinner_item); adapter.setDropDownViewResource (android.R.layout.simple_spinner_dropdown_item); s.setAdapter(adapter); Spinner s1 = (Spinner) findViewById(R.id.Spinner01); ArrayAdapter adapter2 = ArrayAdapter.createFromResource( this, R.array.episodes, android.R.layout.simple_spinner_item); adapter2.setDropDownViewResource (android.R.layout.simple_spinner_dropdown_item); s1.setAdapter(adapter2); } Now I am trying to make it so when I hit a submit button on the page, it takes the value from spinner s and spinner s1 and opens the right class which will have details on that specific episode, any ideas? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] dtd/xsd for AndroidManifest.xml
Hi, Where can we find schema definition for AndroidManifest.xml? I see that this question has been asked long back but no response: http://groups.google.com/group/android-developers/browse_thread/thread/b342d4daca9e02ee/fafa759938bcd17a?q=schema+for+androidmanifest.xml Any pointers will be of great help. Cheers, Karan P.S: CrossPosted to Android Developers with no response: http://groups.google.com/group/android-developers/browse_thread/thread/7ced581b4c0b31d0/934804034a499674#934804034a499674 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: Create AVD on a Mac
Try these commands: http://groups.google.com/group/android-beginners/browse_thread/thread/b174ed5185f2c5db/bd0d7ef8bdc72857?lnk=gstq=avd#bd0d7ef8bdc72857 Turns out that ./android is pretty important. Why the documentation leaves it out (even if it may be obvious to some) I'll never understand. Hope that helps. -Josiah On May 6, 12:21 pm, JArkelen johnvanarke...@gmail.com wrote: Hi, When is send the command android list targets in terminal on the mac (I am in the tools folder), then it returns command not found. Any idea why this happens? Cheers, John --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: Android 1.5 SDK now available
From the error: org.eclipse.swt.SWTError: Not implemented [multiple displays] It looks like you have multiple displays and that the SWT implementation on your platform doesn't support them yet. Huhu :-( On Tue, May 5, 2009 at 10:23 PM, icedfusion icedfus...@googlemail.comwrote: I am also having the same problem - wish i hadn't updated now.. I even reinstalled it all to make sure I hadn't done anything wrong and I get the error. From my .log: !ENTRY org.eclipse.ui.workbench.texteditor 4 0 2009-05-05 21:18:04.826 !MESSAGE The 'org.eclipse.wst.jsdt.web.ui.internal.hyperlink.script.event.JSPJavaHyperlinkDetector' extension from plug-in 'org.eclipse.wst.jsdt.web.ui' to the 'org.eclipse.ui.workbench.texteditor.hyperlinkDetectors' extension point will be ignored because it contains invalid attributes. !ENTRY com.android.ide.eclipse.adt 4 0 2009-05-05 21:18:08.970 !MESSAGE pingUsageServer failed !STACK 0 org.eclipse.swt.SWTError: Not implemented [multiple displays] at org.eclipse.swt.SWT.error(SWT.java:3803) at org.eclipse.swt.widgets.Display.checkDisplay(Display.java:712) at org.eclipse.swt.widgets.Display.create(Display.java:842) at org.eclipse.swt.graphics.Device.init(Device.java:154) at org.eclipse.swt.widgets.Display.init(Display.java:471) at org.eclipse.swt.widgets.Display.init(Display.java:462) at com.android.sdkstats.SdkStatsService.getUserPermission (SdkStatsService.java:278) at com.android.sdkstats.SdkStatsService.ping(SdkStatsService.java: 126) at com.android.ide.eclipse.common.SdkStatsHelper.pingUsageServer (Unknown Source) at com.android.ide.eclipse.adt.AdtPlugin$12.run(Unknown Source) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55) !ENTRY com.android.ide.eclipse.adt 4 0 2009-05-05 21:18:08.990 !MESSAGE pingUsageServer failed !STACK 0 org.eclipse.swt.SWTError: Not implemented [multiple displays] at org.eclipse.swt.SWT.error(SWT.java:3803) at org.eclipse.swt.widgets.Display.checkDisplay(Display.java:712) at org.eclipse.swt.widgets.Display.create(Display.java:842) at org.eclipse.swt.graphics.Device.init(Device.java:154) at org.eclipse.swt.widgets.Display.init(Display.java:471) at org.eclipse.swt.widgets.Display.init(Display.java:462) at com.android.sdkstats.SdkStatsService.getUserPermission (SdkStatsService.java:278) at com.android.sdkstats.SdkStatsService.ping(SdkStatsService.java: 126) at com.android.ide.eclipse.common.SdkStatsHelper.pingUsageServer (Unknown Source) at com.android.ide.eclipse.adt.AdtPlugin$12.run(Unknown Source) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55) On May 4, 8:27 pm, gritty k...@uoregon.edu wrote: I am also having this problem and I don't have a clue what to do about it. On May 2, 4:27 pm, david.lygagnon david.lygag...@gmail.com wrote: Hi, I am having the same problem as Javier with ubuntu 9.04 Jaunty, x64 and eclipse version: 3.4.2. On launching eclipse after installing the Android plugin, I get the following error: Multiple problems have occured: pingUsageServer failed Android sdk ping Does anyone have a solution to this problem? David On Apr 27, 12:41 pm, Javi javierjc1...@gmail.com wrote: I have problems with the new sdk (1.5), A dialog show with a error a and suggest me to exit the workbench. Other dialog appear with a pingUsageServer failed: Android SDK Ping pingUsageServer failed The .log file says: !SESSION 2009-04-27 21:31:38.570 --- eclipse.buildId=M20090211-1700 java.version=1.6.0_13 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=es_ES Command-line arguments: -os linux -ws gtk -arch x86_64 !ENTRY com.android.ide.eclipse.adt 4 0 2009-04-27 21:31:46.358 !MESSAGE Failed to load properties file for project 'WifiScan' !ENTRY com.android.ide.eclipse.adt 4 0 2009-04-27 21:31:48.330 !MESSAGE pingUsageServer failed !STACK 0 org.eclipse.swt.SWTError: Not implemented [multiple displays] at org.eclipse.swt.SWT.error(SWT.java:3803) at org.eclipse.swt.widgets.Display.checkDisplay(Display.java:712) at org.eclipse.swt.widgets.Display.create(Display.java:842) at org.eclipse.swt.graphics.Device.init(Device.java:154) at org.eclipse.swt.widgets.Display.init(Display.java:471) at org.eclipse.swt.widgets.Display.init(Display.java:462) at com.android.sdkstats.SdkStatsService.getUserPermission(SdkStatsService.java:278) at com.android.sdkstats.SdkStatsService.ping(SdkStatsService.java:126) at com.android.ide.eclipse.common.SdkStatsHelper.pingUsageServer(Unknown Source) at
[android-beginners] Re: Android 1.5 SDK now available
Also, I am not running multiple monitors, OR a 64-bit processor. This is the specific error message, Multiple problems have occured: pingUsageServer failed Android sdk ping Advice? TIA again. On May 6, 2:21 am, portsample portsam...@blepsias.net wrote: I'm having the same problem. I'm running openSuse 11.1 32-bit in Eclipse 3.4.2 (Ganymede). TIA. Bye. On May 4, 11:27 am, gritty k...@uoregon.edu wrote: I am also having this problem and I don't have a clue what to do about it. On May 2, 4:27 pm, david.lygagnon david.lygag...@gmail.com wrote: Hi, I am having the same problem as Javier with ubuntu 9.04 Jaunty, x64 and eclipse version: 3.4.2. On launching eclipse after installing the Android plugin, I get the following error: Multiple problems have occured: pingUsageServer failed Android sdk ping Does anyone have a solution to this problem? David On Apr 27, 12:41 pm, Javi javierjc1...@gmail.com wrote: I have problems with the new sdk (1.5), A dialog show with a error a and suggest me to exit the workbench. Other dialog appear with a pingUsageServer failed: Android SDK Ping pingUsageServer failed The .log file says: !SESSION 2009-04-27 21:31:38.570 --- eclipse.buildId=M20090211-1700 java.version=1.6.0_13 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=es_ES Command-line arguments: -os linux -ws gtk -arch x86_64 !ENTRY com.android.ide.eclipse.adt 4 0 2009-04-27 21:31:46.358 !MESSAGE Failed to load properties file for project 'WifiScan' !ENTRY com.android.ide.eclipse.adt 4 0 2009-04-27 21:31:48.330 !MESSAGE pingUsageServer failed !STACK 0 org.eclipse.swt.SWTError: Not implemented [multiple displays] at org.eclipse.swt.SWT.error(SWT.java:3803) at org.eclipse.swt.widgets.Display.checkDisplay(Display.java:712) at org.eclipse.swt.widgets.Display.create(Display.java:842) at org.eclipse.swt.graphics.Device.init(Device.java:154) at org.eclipse.swt.widgets.Display.init(Display.java:471) at org.eclipse.swt.widgets.Display.init(Display.java:462) at com.android.sdkstats.SdkStatsService.getUserPermission(SdkStatsService.java:278) at com.android.sdkstats.SdkStatsService.ping(SdkStatsService.java:126) at com.android.ide.eclipse.common.SdkStatsHelper.pingUsageServer(Unknown Source) at com.android.ide.eclipse.adt.AdtPlugin$12.run(Unknown Source) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55) !ENTRY com.android.ide.eclipse.adt 4 0 2009-04-27 21:31:48.341 !MESSAGE pingUsageServer failed !STACK 0 org.eclipse.swt.SWTError: Not implemented [multiple displays] at org.eclipse.swt.SWT.error(SWT.java:3803) at org.eclipse.swt.widgets.Display.checkDisplay(Display.java:712) at org.eclipse.swt.widgets.Display.create(Display.java:842) at org.eclipse.swt.graphics.Device.init(Device.java:154) at org.eclipse.swt.widgets.Display.init(Display.java:471) at org.eclipse.swt.widgets.Display.init(Display.java:462) at com.android.sdkstats.SdkStatsService.getUserPermission(SdkStatsService.java:278) at com.android.sdkstats.SdkStatsService.ping(SdkStatsService.java:126) at com.android.ide.eclipse.common.SdkStatsHelper.pingUsageServer(Unknown Source) at com.android.ide.eclipse.adt.AdtPlugin$12.run(Unknown Source) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55) I use the latest Ubuntu jaunty and Sun JDK The previous Android SDK (1.1) works without problems I tried to do a clean installation of the eclipse and the sdk but the problem persist Anybody else with this problem? -- Javier Jardón Cabezas --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] astrid build problem in SDK 1.5
after using the latest sdk i have problem building the astrid app. but all other apps r fine. I even re-download astrid source and delete old project and import the new one in, but still got error message: [2009-05-06 17:12:59 - TaskList] trouble processing javax/net/ssl/TrustManager.class: [2009-05-06 17:12:59 - TaskList] Attempt to include a core VM class in something other than a core library. It is likely that you have attempted to include the core library from a desktop virtual machine into an application, which will most assuredly not work. If you really intend to build a core library -- which is only appropriate as part of creating a full virtual machine binary, as opposed to compiling an application -- then use the --core-library option to suppress this error message. If you go ahead and use --core-library but are in fact building an application, then please be aware that your build will still fail at some point; you will simply be denied the pleasure of reading this helpful error message. [2009-05-06 17:12:59 - TaskList] 1 error; aborting [2009-05-06 17:12:59 - TaskList] Conversion to Dalvik format failed with error 1 can anyone please help --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: astrid build problem in SDK 1.5
Kent Yip wrote: after using the latest sdk i have problem building the astrid app. but all other apps r fine. I even re-download astrid source and delete old project and import the new one in, but still got error message: [2009-05-06 17:12:59 - TaskList] trouble processing javax/net/ssl/TrustManager.class: [2009-05-06 17:12:59 - TaskList] Attempt to include a core VM class in something other than a core library. It is likely that you have attempted to include the core library from a desktop virtual machine into an application, which will most assuredly not work. If you really intend to build a core library -- which is only appropriate as part of creating a full virtual machine binary, as opposed to compiling an application -- then use the --core-library option to suppress this error message. If you go ahead and use --core-library but are in fact building an application, then please be aware that your build will still fail at some point; you will simply be denied the pleasure of reading this helpful error message. [2009-05-06 17:12:59 - TaskList] 1 error; aborting [2009-05-06 17:12:59 - TaskList] Conversion to Dalvik format failed with error 1 can anyone please help You are trying to add a class from the javax.* package into your Android application. That has not been supported since Android 1.1. In terms of fixing android-astrid, you should perhaps ask the developers: http://code.google.com/p/android-astrid/ -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Android App Developer Training: http://commonsware.com/training.html --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: astrid build problem in SDK 1.5
but i did get android-astrid to built in sdk 1.1 and installed to the emulator. even though the latest ADT allow me to build for android 1.1 target still it should work fine, right? On Wed, May 6, 2009 at 5:24 PM, Mark Murphy mmur...@commonsware.com wrote: Kent Yip wrote: after using the latest sdk i have problem building the astrid app. but all other apps r fine. I even re-download astrid source and delete old project and import the new one in, but still got error message: [2009-05-06 17:12:59 - TaskList] trouble processing javax/net/ssl/TrustManager.class: [2009-05-06 17:12:59 - TaskList] Attempt to include a core VM class in something other than a core library. It is likely that you have attempted to include the core library from a desktop virtual machine into an application, which will most assuredly not work. If you really intend to build a core library -- which is only appropriate as part of creating a full virtual machine binary, as opposed to compiling an application -- then use the --core-library option to suppress this error message. If you go ahead and use --core-library but are in fact building an application, then please be aware that your build will still fail at some point; you will simply be denied the pleasure of reading this helpful error message. [2009-05-06 17:12:59 - TaskList] 1 error; aborting [2009-05-06 17:12:59 - TaskList] Conversion to Dalvik format failed with error 1 can anyone please help You are trying to add a class from the javax.* package into your Android application. That has not been supported since Android 1.1. In terms of fixing android-astrid, you should perhaps ask the developers: http://code.google.com/p/android-astrid/ -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Android App Developer Training: http://commonsware.com/training.html --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: astrid build problem in SDK 1.5
Kent Yip wrote: but i did get android-astrid to built in sdk 1.1 and installed to the emulator. I am surprised. Based on an earlier thread, I was under the impression that all javax.* classes would result in the build error. even though the latest ADT allow me to build for android 1.1 target still it should work fine, right? Perhaps not. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Android App Developer Training: http://commonsware.com/training.html --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: -http-proxy can't work in emulator with 1.5 sdk
the emulator is just a normal program that uses the standard Winsock interface to access the network. If you have TCP checksum errors on a real network, this can only come from buggy network drivers, I'm afraid, since there is no way the emulator itself is generating these. That's really weird... 2009/5/6 Fabien Marchewka fura...@gmail.com Same problem on windows XP 32 bits SP3. No firewall and no antivirus, antispam ... I have trace but it seems to be not supported by traceview. I have packets with incorrect tcp checksum from my host to proxy host. host ip : 172.16.124.133 proxy ip : 172.18.251.23 log with wireshark : No. TimeSourceDestination Protocol Info 1 0.00172.16.124.133172.18.251.23 TCP isg-uda-server http-alt [ACK] Seq=1 Ack=1 Win=65535 [TCP CHECKSUM INCORRECT] Len=0 Frame 1 (54 bytes on wire, 54 bytes captured) Arrival Time: May 6, 2009 10:24:25.741972000 [Time delta from previous captured frame: 0.0 seconds] [Time delta from previous displayed frame: 0.0 seconds] [Time since reference or first frame: 0.0 seconds] Frame Number: 1 Frame Length: 54 bytes Capture Length: 54 bytes [Frame is marked: False] [Protocols in frame: eth:ip:tcp] [Coloring Rule Name: Checksum Errors] [Coloring Rule String: cdp.checksum_bad==1 || edp.checksum_bad==1 || ip.checksum_bad==1 || tcp.checksum_bad==1 || udp.checksum_bad==1] Ethernet II, Src: HewlettP_1d:a7:b6 (00:14:38:1d:a7:b6), Dst: Oneacces_44:73:f5 (00:12:ef:44:73:f5) Destination: Oneacces_44:73:f5 (00:12:ef:44:73:f5) Address: Oneacces_44:73:f5 (00:12:ef:44:73:f5) ...0 = IG bit: Individual address (unicast) ..0. = LG bit: Globally unique address (factory default) Source: HewlettP_1d:a7:b6 (00:14:38:1d:a7:b6) Address: HewlettP_1d:a7:b6 (00:14:38:1d:a7:b6) ...0 = IG bit: Individual address (unicast) ..0. = LG bit: Globally unique address (factory default) Type: IP (0x0800) Internet Protocol, Src: 172.16.124.133 (172.16.124.133), Dst: 172.18.251.23 (172.18.251.23) Version: 4 Header length: 20 bytes Differentiated Services Field: 0x00 (DSCP 0x00: Default; ECN: 0x00) 00.. = Differentiated Services Codepoint: Default (0x00) ..0. = ECN-Capable Transport (ECT): 0 ...0 = ECN-CE: 0 Total Length: 40 Identification: 0xb8a8 (47272) Flags: 0x04 (Don't Fragment) 0... = Reserved bit: Not set .1.. = Don't fragment: Set ..0. = More fragments: Not set Fragment offset: 0 Time to live: 128 Protocol: TCP (0x06) Header checksum: 0x7267 [correct] [Good: True] [Bad : False] Source: 172.16.124.133 (172.16.124.133) Destination: 172.18.251.23 (172.18.251.23) Transmission Control Protocol, Src Port: isg-uda-server (2551), Dst Port: http-alt (8080), Seq: 1, Ack: 1, Len: 0 Source port: isg-uda-server (2551) Destination port: http-alt (8080) Sequence number: 1(relative sequence number) Acknowledgement number: 1(relative ack number) Header length: 20 bytes Flags: 0x10 (ACK) 0... = Congestion Window Reduced (CWR): Not set .0.. = ECN-Echo: Not set ..0. = Urgent: Not set ...1 = Acknowledgment: Set 0... = Push: Not set .0.. = Reset: Not set ..0. = Syn: Not set ...0 = Fin: Not set Window size: 65535 Checksum: 0xcfda [incorrect, should be 0x3e77 (maybe caused by TCP checksum offload?)] [Good Checksum: False] [Bad Checksum: True] 00 12 ef 44 73 f5 00 14 38 1d a7 b6 08 00 45 00 ...Ds... 8.E. 0010 00 28 b8 a8 40 00 80 06 72 67 ac 10 7c 85 ac 12 . (@...rg..|... 0020 fb 17 09 f7 1f 90 54 49 5a 77 87 19 42 3c 50 10 ..TIZw..BP. 0030 ff ff cf da 00 00 .. On 5 mai, 18:23, David Turner di...@android.com wrote: 2009/5/5 stevensli stevens...@gmail.com The version of Windows I am running is XP SP3, 32bit. Can this problem be solved by adjusting the configuation of the emulator? Thanks! I'm just speculating at the moment, but I doubt it's related to the emulator's configuration. Essentially, the emulator doesn't deal very well with certain networking setups at the moment due to changes in its socket code that happened between 1.1 and 1.5. I suspect some interaction with the IPv6 localhost and a few other things. I could be wrong though, but I'll investigate. On May 5, 11:50 pm, David Turner di...@android.com wrote: thanks for posting the details, they are helpful. Which exact version of Windows are you running ? XP or Vista, 32 or 64 bit ? thanks in advance On Mon, May 4, 2009 at