[android-developers] Re: ShellCommandUnresponsiveException
Hi, I've solved this problem by recreating my application's run configuration. Hope this will help on your case too. On Dec 1, 2:45 am, Kelo mcac...@gmail.com wrote: Hi, I'm just starting on Android and trying to launch Hello Android, this error comes up: !ENTRY com.android.ide.eclipse.adt 4 0 2010-11-30 13:05:15.914 !MESSAGE No command output when running: 'am start -n com.example.helloandroid/com.example.helloandroid.HelloAndroid -a android.intent.action.MAIN -c android.intent.category.LAUNCHER' on device emulator-5554 !STACK 0 com.android.ddmlib.ShellCommandUnresponsiveException at com.android.ddmlib.AdbHelper.executeRemoteCommand(AdbHelper.java: 408) at com.android.ddmlib.Device.executeShellCommand(Device.java:277) at com.android.ide.eclipse.adt.internal.launch.ActivityLaunchAction.doLaunchAc tion(Unknown Source) at com.android.ide.eclipse.adt.internal.launch.AndroidLaunchController.launchA pp(Unknown Source) at com.android.ide.eclipse.adt.internal.launch.AndroidLaunchController.clientC hanged(Unknown Source) at com.android.ddmlib.AndroidDebugBridge.clientChanged(AndroidDebugBridge.java : 861) at com.android.ddmlib.Device.update(Device.java:399) at com.android.ddmlib.Client.update(Client.java:834) at com.android.ddmlib.HandleAppName.handleAPNM(HandleAppName.java:90) at com.android.ddmlib.HandleAppName.handleChunk(HandleAppName.java: 64) at com.android.ddmlib.MonitorThread.callHandler(MonitorThread.java: 414) at com.android.ddmlib.MonitorThread.processClientActivity(MonitorThread.java: 322) at com.android.ddmlib.MonitorThread.run(MonitorThread.java:263) with: XP SP2 Eclipse Helios JDK 1.6.0_22 Android SDK r07 ADT plugin 0.9.9 Please, I would like someone replies my post. Thanks in advance. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Android 2.3: eclipse reporting Unable to execute dex: null
Like I said in my message, I'm using: Oracle (Sun) JDK 6 Update 21 (1.6.0_21) Eclipse 3.5.2 (3.5.2.M20100211-1343) Windows XP Professional SP3 I'll try getting Eclipse 3.6.1 and see if that works (I have been putting off upgrading because I also do Blackberry development and their awful plugin doesn't yet support Eclipse 3.6). Adam On Mon, Dec 6, 2010 at 5:16 PM, Xavier Ducrohet x...@android.com wrote: gotta love the error message. *sigh* From what you're saying you have all that's needed. Have you tried using the Sun VM instead of OpenJDK? We load dx.jar through reflection and it looks like calling out to a method through reflection failed. Xav On Mon, Dec 6, 2010 at 2:33 PM, Tom Gibara tomgib...@gmail.com wrote: I upgraded to the 2.3 SDK and have hit a problem I can't resolve. First I updated the android plugins for eclipse (3.5.2) to the new version (8.0.0.v201011171904-77661). Then I used the SDK manager within eclipse to install the Android SDK 2.3 API 9 package, its documentation, and the Android SDK platform tools revision 1. On restarting eclipse I found that every non-library android project was reporting the same error: [2010-12-06 21:58:32 - Dex Loader] Unable to execute dex: null [2010-12-06 21:58:32 - ] Conversion to Dalvik format failed: Unable to execute dex: null I have tried cleaning the projects, reinstalling the plugins and changing the declared SDK location. I have confirmed that eclipse has the latest plugin, that the platform-tools directory exists, as does the platforms/android-9 directory, and that they contain the correct files. I switched the plugin into verbose for building, but can't see anything remotely suspicious. I can even run dx manually on the project bin directory and produce a classes.dex file. I'm stumped, does anyone have any ideas? This is on a 32-bit Ubuntu (Lucid Lynx) machine with OpenJDK (IcedTea6 1.8.2) (6b18-1.8.2-4ubuntu2) (build 16.0-b13, mixed mode) -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Xavier Ducrohet Android SDK Tech Lead Google Inc. Please do not send me questions directly. Thanks! -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Fwd: [ASK] Newbie coders in android
-- Forwarded message -- From: Handita Okviyanto viyanatm...@gmail.com Date: 7 December 2010 12:02 Subject: [ASK] Newbie coders in android To: Android Developers android-developers@googlegroups.com Hello all. I'm sorry if i make a wrong place to ask. I am a newbie to developer of android. I'm interesting to learn a more practice of my development. I want to make an application that can access to my webservice in PHP. But I don't know how to start it. And I want to make charting data in my application later. I'm interesting to use chartdroid project that gives me an easy code to make a chart. But I'm still regret about the performance of the visualization. I find a product of ArtfulBits. It is charting library to android application but it is not opensource. I want to develop my application using open source only. Any one can help me to solve this?? I'm appreciate for your answer. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] [北京招聘]安卓联航 公司招聘Android人才
外地能否兼职?是做游戏还是应用?游戏用的什么框架哩? From: 何斌斌 Sent: Tuesday, December 07, 2010 10:41 AM To: android-developers@googlegroups.com Subject: Re: [android-developers] [北京招聘]安卓联航公司招聘Android人才 薪资面议,如果您对我们公司感兴趣,有意加入我们,请将您的简历发至: an...@andlisoft.com 在 2010年12月7日 上午10:17,袁堂夫 yuantangf...@gmail.com写道: 不至于吧,都跑这里招聘了,哈哈~多少钱一个月呢? 在 2010年12月7日 上午10:13,何斌斌 hbbs...@gmail.com 写道: 一、企业介绍: 安卓联航软件科技(北京)有限公司: http://www.andlisoft.com 二、职位描述: 从事Android相关软件的开发 三、职位要求: 1. Java技术扎实,同时有C++与Java开发经验优先; 2. 半年以上Android平台开发经验,熟悉Android架构; 3. 对研究和探索新技术有浓厚兴趣; 4. 具备良好的职业素养和团队协作精神,以及较强的学习能力,能够承担工作压力; 四、工作地点:北京 五、联系方式:有意者请发简历至 an...@andlisoft.com -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- binbin he Mobile: +86-15110035996 Msn: hbbs...@hotmail.com -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Android 2.3: eclipse reporting Unable to execute dex: null
I've been having this problem too on both WinXP and OSX 10.6. The common issue seems to be referencing a platform-neutral project from the android project. I had to revert back to the 2.2 SDK since I haven't been able to find a solution. On Dec 6, 3:16 pm, Xavier Ducrohet x...@android.com wrote: gotta love the error message. *sigh* From what you're saying you have all that's needed. Have you tried using the Sun VM instead of OpenJDK? We load dx.jar through reflection and it looks like calling out to a method through reflection failed. Xav On Mon, Dec 6, 2010 at 2:33 PM, Tom Gibara tomgib...@gmail.com wrote: I upgraded to the 2.3 SDK and have hit a problem I can't resolve. First I updated the android plugins for eclipse (3.5.2) to the new version (8.0.0.v201011171904-77661). Then I used the SDK manager within eclipse to install the Android SDK 2.3 API 9 package, its documentation, and the Android SDK platform tools revision 1. On restarting eclipse I found that every non-library android project was reporting the same error: [2010-12-06 21:58:32 - Dex Loader] Unable to execute dex: null [2010-12-06 21:58:32 - ] Conversion to Dalvik format failed: Unable to execute dex: null I have tried cleaning the projects, reinstalling the plugins and changing the declared SDK location. I have confirmed that eclipse has the latest plugin, that the platform-tools directory exists, as does the platforms/android-9 directory, and that they contain the correct files. I switched the plugin into verbose for building, but can't see anything remotely suspicious. I can even run dx manually on the project bin directory and produce a classes.dex file. I'm stumped, does anyone have any ideas? This is on a 32-bit Ubuntu (Lucid Lynx) machine with OpenJDK (IcedTea6 1.8.2) (6b18-1.8.2-4ubuntu2) (build 16.0-b13, mixed mode) -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Xavier Ducrohet Android SDK Tech Lead Google Inc. Please do not send me questions directly. Thanks! -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Android 2.3: eclipse reporting Unable to execute dex: null
Thanks! Please let us know when it is ready :-) On Dec 6, 7:54 pm, Xavier Ducrohet x...@android.com wrote: hey all, we found the issue. It's related to referencing java project. We're looking at pushing a fix to ADT asap. In the meantime you can temporarily change to including your java project as a jar file. On Mon, Dec 6, 2010 at 4:42 PM, Mario Zechner badlogicga...@gmail.com wrote: I have the exact same issue. I went the exact same route as the original poster. The verbose output of all the Android tools in Eclipse is not all that verbose it turns out. However, digging up the .log file in $workspace/.metadata/.log brought this up: !ENTRY com.android.ide.eclipse.adt 4 0 2010-12-07 01:40:29.576 !MESSAGE Unable to execute dex: null !STACK 0 java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.android.ide.eclipse.adt.internal.build.DexWrapper.run(Unknown Source) at com.android.ide.eclipse.adt.internal.build.BuildHelper.executeDx(Unknown Source) at com.android.ide.eclipse.adt.internal.build.builders.PostCompilerBuilder.bui ld(Unknown Source) at org.eclipse.core.internal.events.BuildManager $2.run(BuildManager.java:629) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java: 172) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java: 203) at org.eclipse.core.internal.events.BuildManager $1.run(BuildManager.java:255) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java: 258) at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.j ava: 311) at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java: 343) at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java: 144) at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java: 242) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) Caused by: java.lang.NullPointerException at java.io.File.init(Unknown Source) at com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java: 106) at com.android.dx.command.dexer.Main.processOne(Main.java:284) at com.android.dx.command.dexer.Main.processAllFiles(Main.java:220) at com.android.dx.command.dexer.Main.run(Main.java:176) ... 19 more Root exception: java.lang.NullPointerException at java.io.File.init(Unknown Source) at com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java: 106) at com.android.dx.command.dexer.Main.processOne(Main.java:284) at com.android.dx.command.dexer.Main.processAllFiles(Main.java:220) at com.android.dx.command.dexer.Main.run(Main.java:176) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.android.ide.eclipse.adt.internal.build.DexWrapper.run(Unknown Source) at com.android.ide.eclipse.adt.internal.build.BuildHelper.executeDx(Unknown Source) at com.android.ide.eclipse.adt.internal.build.builders.PostCompilerBuilder.bui ld(Unknown Source) at org.eclipse.core.internal.events.BuildManager $2.run(BuildManager.java:629) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java: 172) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java: 203) at org.eclipse.core.internal.events.BuildManager $1.run(BuildManager.java:255) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java: 258) at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.j ava: 311) at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java: 343) at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java: 144) at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java: 242) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) This is the output i get when cleaning a previously
[android-developers] MMS not going through to iphone
Hello All, We have an issue with the MMS application that we have developed. This is a third party MMS app using http, We can send message to all phones from the Android, except for iphone. When we send the message to an iphone from the Android, we get a REJECT alert. Can anyone help? Many thanks, Abe -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] GL_LINES clipping problem in emulator?
Hi, I'm having a problem that may be my fault, or may be an emulator problem, but I'm not sure. I'm using OpenGL GL_LINES to draw a grid- like object. When the grid is within the view, it draws fine, but when I translate the grid towards camera, it looks like it's clipping the lines incorrectly. You can see some sample images and source code here: https://docs.google.com/Doc?docid=0ATlFN-46mbTCZGh0ZHJ4ZGZfMTFndzRkNHFjMghl=enauthkey=CL3wzdwB This example is a simplified version of the app I'm writing, which requires lines drawn between adjacent grid points. I don't get the artifact when I run the app on my Captivate, so could this be an emulator bug? Or am I doing something wrong in the source code that's showing up in the emulator but not my phone? Any help would be appreciated... Thanks, Rob -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Installed Android 2.3 SDK -- Ant Fails
Ever since I installed Gingerbread I am now getting this error when I attempt to do an ant compile. I ran android update project just to make sure things were up to date. I did happen to notice that android-9 DOES NOT have an ant folder. I do realize I'm setup to build against API Level 7. This is the error: bher...@gotham:/Development/android/zlcore(master)$ ant compile Buildfile: /Development/android/zlcore/build.xml [setup] Android SDK Tools Revision 8 [setup] Project Target: Google APIs [setup] Vendor: Google Inc. [setup] Platform Version: 2.1-update1 [setup] API level: 7 [setup] Project Type: Android Library [setup] [setup] -- [setup] Resolving library dependencies: [setup] No library dependencies. [setup] [setup] -- [setup] [setup] Importing rules file: tools/ant/lib_rules.xml -dirs: [echo] Creating output directories if needed... -pre-build: -resource-src: [echo] Generating R.java / Manifest.java from the resources... -aidl: [echo] Compiling aidl files into Java classes... BUILD FAILED /Development/SDKs/android-sdk-mac_86/tools/ant/lib_rules.xml:121: Reference android.libraries.src not found. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] G-Sensor
Can anyone get me started with G-Sensor Sample Code? Like if tilt the mobile to the left, it moves the a object(image) to the left etc.. thanks -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Android 2.3: eclipse reporting Unable to execute dex: null
Here goes the stack trace from eclipse: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.android.ide.eclipse.adt.internal.build.DexWrapper.run(Unknown Source) at com.android.ide.eclipse.adt.internal.build.BuildHelper.executeDx(Unknown Source) at com.android.ide.eclipse.adt.internal.build.builders.PostCompilerBuilder.build(Unknown Source) at org.eclipse.core.internal.events.BuildManager $2.run(BuildManager.java:627) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java: 170) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java: 201) at org.eclipse.core.internal.events.BuildManager $1.run(BuildManager.java:253) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java: 256) at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java: 309) at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java: 341) at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java: 140) at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java: 238) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55) Caused by: java.lang.NullPointerException at java.io.File.init(Unknown Source) at com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java: 106) at com.android.dx.command.dexer.Main.processOne(Main.java:284) at com.android.dx.command.dexer.Main.processAllFiles(Main.java:220) at com.android.dx.command.dexer.Main.run(Main.java:176) ... 19 more On Dec 7, 1:16 am, Xavier Ducrohet x...@android.com wrote: gotta love the error message. *sigh* From what you're saying you have all that's needed. Have you tried using the Sun VM instead of OpenJDK? We load dx.jar through reflection and it looks like calling out to a method through reflection failed. Xav On Mon, Dec 6, 2010 at 2:33 PM, Tom Gibara tomgib...@gmail.com wrote: I upgraded to the 2.3 SDK and have hit a problem I can't resolve. First I updated the android plugins for eclipse (3.5.2) to the new version (8.0.0.v201011171904-77661). Then I used the SDK manager within eclipse to install the Android SDK 2.3 API 9 package, its documentation, and the Android SDK platform tools revision 1. On restarting eclipse I found that every non-library android project was reporting the same error: [2010-12-06 21:58:32 - Dex Loader] Unable to execute dex: null [2010-12-06 21:58:32 - ] Conversion to Dalvik format failed: Unable to execute dex: null I have tried cleaning the projects, reinstalling the plugins and changing the declared SDK location. I have confirmed that eclipse has the latest plugin, that the platform-tools directory exists, as does the platforms/android-9 directory, and that they contain the correct files. I switched the plugin into verbose for building, but can't see anything remotely suspicious. I can even run dx manually on the project bin directory and produce a classes.dex file. I'm stumped, does anyone have any ideas? This is on a 32-bit Ubuntu (Lucid Lynx) machine with OpenJDK (IcedTea6 1.8.2) (6b18-1.8.2-4ubuntu2) (build 16.0-b13, mixed mode) -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Xavier Ducrohet Android SDK Tech Lead Google Inc. Please do not send me questions directly. Thanks! -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Need help with twitter integration
Vishnu - you should post your code. If your credentials work, you may have a simple piece of whitespace. Twitter twitter; twitter = new Twitter (username, password); Are you doing anything fancier than this? On Dec 1, 6:15 pm, vishnu vishnu...@gmail.com wrote: I am developing an android application in which a tweet option is to be implemented. I have downloaded the jTwitter.jar file and when i try to tweet from my application it says the login is invalid, eventhoigh i can login to twitter from a pc using the same login details.Please help. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Gingerbread SDK incompatibility to Froyo: Conversion to Dalvik format failed
Since the installation of Gingerbread SDK (and ADT 8 / Eclipse 3.5), I get the following error in my project: Conversion to Dalvik format failed: Unable to execute dex: null The project compiled fine on Froyo. What's the problem here? Best regards, Andreas -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Conversion to Dalvik format failed with error 1
Sumanth - I had this error yesterday and found this helpful. Go to Project » Properties » Java Build Path » Libraries and remove all except the Android X.Y (in my case Android 2.2). click OK. Go to Project » Clean » Clean projects selected below » select your project and click OK. That should work. On Dec 1, 10:59 pm, sumanth ag.suma...@gmail.com wrote: Hi all, I'm new to android and currently stuck with this error when I try to create a simple android project. I apologize if this is a repost, but the solutions in other discussions in this group and the net was not helping me. I get this when i create a new project and try to compile: UNEXPECTED TOP-LEVEL EXCEPTION: java.util.zip.ZipException: error in opening zip file at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.init(ZipFile.java:115) at java.util.zip.ZipFile.init(ZipFile.java:132) at com.android.dx.cf.direct.ClassPathOpener.processArchive(ClassPathOpener.jav a: 205) at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java: 130) at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.j ava: 190) at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java: 122) at com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java: 108) at com.android.dx.command.dexer.Main.processOne(Main.java:247) at com.android.dx.command.dexer.Main.processAllFiles(Main.java:183) at com.android.dx.command.dexer.Main.run(Main.java:139) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java: 48) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp l.java: 25) at java.lang.reflect.Method.invoke(Method.java:600) at com.android.ide.eclipse.adt.internal.sdk.DexWrapper.run(Unknown Source) at com.android.ide.eclipse.adt.internal.build.PostCompilerHelper.executeDx(Unk nown Source) at com.android.ide.eclipse.adt.internal.build.PostCompilerBuilder.build(Unknow n Source) at org.eclipse.core.internal.events.BuildManager $2.run(BuildManager.java:633) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java: 170) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java: 201) at org.eclipse.core.internal.events.BuildManager $1.run(BuildManager.java:253) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java: 256) at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.j ava: 309) at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java: 341) at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java: 140) at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java: 238) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55) [2010-12-02 11:55:24 - helloandroid] 1 error; aborting [2010-12-02 11:55:24 - helloandroid] Conversion to Dalvik format failed with error 1 I'm not sure which zip file android is having trouble opening. Thanks! Sumanth -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] [ASK] Newbie coders in android
Hello all. I'm sorry if i make a wrong place to ask. I am a newbie to developer of android. I'm interesting to learn a more practice of my development. I want to make an application that can access to my webservice in PHP. But I don't know how to start it. And I want to make charting data in my application later. I'm interesting to use chartdroid project that gives me an easy code to make a chart. But I'm still regret about the performance of the visualization. I find a product of ArtfulBits. It is charting library to android application but it is not opensource. I want to develop my application using open source only. Any one can help me to solve this?? I'm appreciate for your answer. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Android CFS Scheduling
Hi, If you use 'ps' command, you will get a list of all the current processes in the system - let us assume that we have n processes. My question is if a new application is lauched - say Process-A, will A share the CPU with all the exisiting processes in the system? So the fraction of CPU for A is about 1/(n+1) - assuming they are of same nice value ? Thanks a lot. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: GLIBC 2.11 needed for emulator in SDK 2.3 !!!!
I am also getting same error...any solution?? please On Dec 6, 4:27 pm, elpix1 elp...@gmail.com wrote: Hi, I updated the SDK for the Android 2.3 and the emulator is not running anymore because it needs GLIBC 2.11 and my system has 2.10 ! It seems that the emulator is the only tool from the new SDK that requires 2.11 ! ./emulator: /lib/tls/i686/cmov/libc.so.6: version `GLIBC_2.11' not found (required by ./emulator) linux-gate.so.1 = (0x00cf8000) libutil.so.1 = /lib/tls/i686/cmov/libutil.so.1 (0x003ae000) librt.so.1 = /lib/tls/i686/cmov/librt.so.1 (0x00851000) libpthread.so.0 = /lib/tls/i686/cmov/libpthread.so.0 (0x00724000) libm.so.6 = /lib/tls/i686/cmov/libm.so.6 (0x0017e000) libdl.so.2 = /lib/tls/i686/cmov/libdl.so.2 (0x00779000) libstdc++.so.6 = /usr/lib/libstdc++.so.6 (0x0023e000) libgcc_s.so.1 = /lib/libgcc_s.so.1 (0x0011) libc.so.6 = /lib/tls/i686/cmov/libc.so.6 (0x003b2000) /lib/ld-linux.so.2 (0x00221000) -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Nested ImageButtons overlayed on top of one another
Hi, One of the pages on my app contains 2 images (a larger image and a smaller image). Imagine that the larger image is a green square and the smaller image as a much smaller pink circle. The smaller image sits on top of the larger image. By 'sits on top', I mean that the smaller ImageButton is arranged to the front, thereby covering a portion of the larger ImageButton. Is it possible to have ImageButtons overlayed on top of one another? When clicking or holding on the larger image, a only the larger ImageButton's listener event should be triggered. When clicking or holding onto the smaller image inside of the larger image, then only the smaller ImageButton's events should be triggered. Is this possible? Thank you -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] [北京招聘]安卓联航 公司招聘Android人才
我正经了,还以为垃圾邮件 在 2010-12-7 上午10:14,何斌斌 hbbs...@gmail.com编写: 一、企业介绍: 安卓联航软件科技(北京)有限公司: http://www.andlisoft.com 二、职位描述: 从事Android相关软件的开发 三、职位要求: 1. Java技术扎实,同时有C++与Java开发经验优先; 2. 半年以上Android平台开发经验,熟悉Android架构; 3. 对研究和探索新技术有浓厚兴趣; 4. 具备良好的职业素养和团队协作精神,以及较强的学习能力,能够承担工作压力; 四、工作地点:北京 五、联系方式:有意者请发简历至 an...@andlisoft.com -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Android 2.3: eclipse reporting Unable to execute dex: null
I have been experiencing the same problem since updating everything earlier today. I read elsewhere that increasing the amount of memory to Eclipse could help, but it hasn't for me. I'm thinking that library projects could be the culprit. I have three non-library projects that each depend on a single core library project. I noticed after performing the update that the linkedResources sections of the .project files of the non-library projects changed. The locationURIs changed - from _android_MyLibrary/ src to _android_MyLibrary_ae53e0d6/src. I made a simple test app that doesn't depend on a library and it works fine. Building the project through Ant works just fine, so it seems to just be a problem with the Eclipse integration. I'm running Win XP Pro SP3 with Eclipse 3.5.2 and Oracle/Sun JDK 1.6.0_21. I have tried upgrading to Eclipse 3.6.1, uninstalling and cleanly reinstalling the SDK and plugin, adding the new tools and platform-tools directories to my PATH, removing and readding the library project links, and nothing works. Any idea how to fix this? Thanks, Adam (P.S. Sending to this group from Gmail doesn't seem to be working for me so I'm sending this from the Groups web interface. Sorry if this ends up being a double post). On Dec 6, 5:16 pm, Xavier Ducrohet x...@android.com wrote: gotta love the error message. *sigh* From what you're saying you have all that's needed. Have you tried using the Sun VM instead of OpenJDK? We load dx.jar through reflection and it looks like calling out to a method through reflection failed. Xav On Mon, Dec 6, 2010 at 2:33 PM, Tom Gibara tomgib...@gmail.com wrote: I upgraded to the 2.3 SDK and have hit a problem I can't resolve. First I updated the android plugins for eclipse (3.5.2) to the new version (8.0.0.v201011171904-77661). Then I used the SDK manager within eclipse to install the Android SDK 2.3 API 9 package, its documentation, and the Android SDK platform tools revision 1. On restarting eclipse I found that every non-library android project was reporting the same error: [2010-12-06 21:58:32 - Dex Loader] Unable to execute dex: null [2010-12-06 21:58:32 - ] Conversion to Dalvik format failed: Unable to execute dex: null I have tried cleaning the projects, reinstalling the plugins and changing the declared SDK location. I have confirmed that eclipse has the latest plugin, that the platform-tools directory exists, as does the platforms/android-9 directory, and that they contain the correct files. I switched the plugin into verbose for building, but can't see anything remotely suspicious. I can even run dx manually on the project bin directory and produce a classes.dex file. I'm stumped, does anyone have any ideas? This is on a 32-bit Ubuntu (Lucid Lynx) machine with OpenJDK (IcedTea6 1.8.2) (6b18-1.8.2-4ubuntu2) (build 16.0-b13, mixed mode) -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Xavier Ducrohet Android SDK Tech Lead Google Inc. Please do not send me questions directly. Thanks! -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] AnimationDrawable只显示图 片的第一张
在onCreate方法加入这些代码,布局xml定义了Id为image的ImageButton。 显示效果就只有icon_avi.png这张图片,第二种图片icon_file_document.png没播放到,为什么? ImageButton imageButton = (ImageButton)findViewById(R.id.image); AnimationDrawable imageButtonAnimation = new AnimationDrawable(); imageButtonAnimation.addFrame(getResources().getDrawable(R.drawable.icon_avi), 300); imageButtonAnimation.addFrame(getResources().getDrawable(R.drawable.icon_file_document), 300); imageButton.setImageDrawable(imageButtonAnimation); imageButtonAnimation.setVisible(true, false); imageButtonAnimation.start(); -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Can't download the Android SDK
2010/12/2 Big Dick i...@channel99web.com Failed to fetch URL https://dl-ssl.google.com/android/repository/repository.xml, reason: HTTPS SSL error. You might want to force download through HTTP in the settings. ..the error i get each time i run the setup.exe for android ?? try this url: http://dl-ssl.google.com/android/repository/repository.xmlhttps://dl-ssl.google.com/android/repository/repository.xml there is not 's'. thanks in advance Dick -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 欢迎访问我的网站:http://songfei.org -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Android 2.3: eclipse reporting Unable to execute dex: null
This has been occurring for many people. This happened to me on a windows 7 box and if you look on stack overflow, no one has solved this yet. Anything from Google? On Dec 6, 6:16 pm, Xavier Ducrohet x...@android.com wrote: gotta love the error message. *sigh* From what you're saying you have all that's needed. Have you tried using the Sun VM instead of OpenJDK? We load dx.jar through reflection and it looks like calling out to a method through reflection failed. Xav On Mon, Dec 6, 2010 at 2:33 PM, Tom Gibara tomgib...@gmail.com wrote: I upgraded to the 2.3 SDK and have hit a problem I can't resolve. First I updated the android plugins for eclipse (3.5.2) to the new version (8.0.0.v201011171904-77661). Then I used the SDK manager within eclipse to install the Android SDK 2.3 API 9 package, its documentation, and the Android SDK platform tools revision 1. On restarting eclipse I found that every non-library android project was reporting the same error: [2010-12-06 21:58:32 - Dex Loader] Unable to execute dex: null [2010-12-06 21:58:32 - ] Conversion to Dalvik format failed: Unable to execute dex: null I have tried cleaning the projects, reinstalling the plugins and changing the declared SDK location. I have confirmed that eclipse has the latest plugin, that the platform-tools directory exists, as does the platforms/android-9 directory, and that they contain the correct files. I switched the plugin into verbose for building, but can't see anything remotely suspicious. I can even run dx manually on the project bin directory and produce a classes.dex file. I'm stumped, does anyone have any ideas? This is on a 32-bit Ubuntu (Lucid Lynx) machine with OpenJDK (IcedTea6 1.8.2) (6b18-1.8.2-4ubuntu2) (build 16.0-b13, mixed mode) -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Xavier Ducrohet Android SDK Tech Lead Google Inc. Please do not send me questions directly. Thanks! -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Android 2.3: eclipse reporting Unable to execute dex: null
I have been experiencing the same problem. I read elsewhere that increasing the amount of memory to Eclipse could help, but it hasn't for me. I'm thinking that library projects could be the culprit. I have three non-library projects that each depend on a single core library project. I noticed after performing the update that the linkedResources sections of the .project files of the non-library projects changed. The locationURIs changed - from _android_MyLibrary/src to _android_MyLibrary_ae53e0d6/src. I made a simple test app that doesn't depend on a library and it works fine. As I stated in my earlier email Ant is working, so it appears to just a problem with the Eclipse plugin and the Eclipse project configuration. I'm running Win XP Pro SP3 with Eclipse 3.5 and Oracle JDK 1.6.0_21. Anyone out there have any idea how to fix this? Adam On Mon, Dec 6, 2010 at 4:33 PM, Tom Gibara tomgib...@gmail.com wrote: I upgraded to the 2.3 SDK and have hit a problem I can't resolve. First I updated the android plugins for eclipse (3.5.2) to the new version (8.0.0.v201011171904-77661). Then I used the SDK manager within eclipse to install the Android SDK 2.3 API 9 package, its documentation, and the Android SDK platform tools revision 1. On restarting eclipse I found that every non-library android project was reporting the same error: [2010-12-06 21:58:32 - Dex Loader] Unable to execute dex: null [2010-12-06 21:58:32 - ] Conversion to Dalvik format failed: Unable to execute dex: null I have tried cleaning the projects, reinstalling the plugins and changing the declared SDK location. I have confirmed that eclipse has the latest plugin, that the platform-tools directory exists, as does the platforms/android-9 directory, and that they contain the correct files. I switched the plugin into verbose for building, but can't see anything remotely suspicious. I can even run dx manually on the project bin directory and produce a classes.dex file. I'm stumped, does anyone have any ideas? This is on a 32-bit Ubuntu (Lucid Lynx) machine with OpenJDK (IcedTea6 1.8.2) (6b18-1.8.2-4ubuntu2) (build 16.0-b13, mixed mode) -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Android 2.3: eclipse reporting Unable to execute dex: null
I'm having the same problem with eclipse 3.5 on both WinXP and OSX 10.6. The common problem seems to be android projects that reference platform-independent library projects. I couldn't find a fix so I had to revert to SDK 2.2. On Dec 6, 3:16 pm, Xavier Ducrohet x...@android.com wrote: gotta love the error message. *sigh* From what you're saying you have all that's needed. Have you tried using the Sun VM instead of OpenJDK? We load dx.jar through reflection and it looks like calling out to a method through reflection failed. Xav On Mon, Dec 6, 2010 at 2:33 PM, Tom Gibara tomgib...@gmail.com wrote: I upgraded to the 2.3 SDK and have hit a problem I can't resolve. First I updated the android plugins for eclipse (3.5.2) to the new version (8.0.0.v201011171904-77661). Then I used the SDK manager within eclipse to install the Android SDK 2.3 API 9 package, its documentation, and the Android SDK platform tools revision 1. On restarting eclipse I found that every non-library android project was reporting the same error: [2010-12-06 21:58:32 - Dex Loader] Unable to execute dex: null [2010-12-06 21:58:32 - ] Conversion to Dalvik format failed: Unable to execute dex: null I have tried cleaning the projects, reinstalling the plugins and changing the declared SDK location. I have confirmed that eclipse has the latest plugin, that the platform-tools directory exists, as does the platforms/android-9 directory, and that they contain the correct files. I switched the plugin into verbose for building, but can't see anything remotely suspicious. I can even run dx manually on the project bin directory and produce a classes.dex file. I'm stumped, does anyone have any ideas? This is on a 32-bit Ubuntu (Lucid Lynx) machine with OpenJDK (IcedTea6 1.8.2) (6b18-1.8.2-4ubuntu2) (build 16.0-b13, mixed mode) -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Xavier Ducrohet Android SDK Tech Lead Google Inc. Please do not send me questions directly. Thanks! -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Widget is not removed after the application is uninstalled
Hi google team. I face an issue with my custom android widget. The widget is working ok, but after I uninstall my application the widget disappears and the Problem loading widget is displayed. Is this an android bug or I an not doing something right? Also should this be handled by the OS? Thanks -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: ADT 8 / 2.3 ant build no longer bundling libs?
Hi, Same trouble for me this morning :( I upgraded to 2.3 and after that my project keep on crashing with VerifyError. I finally found that it was caused by missing classes from external libs. I was under Ant 1.7.1 and I upgraded to 1.8.0 as suggested here. It fixed my issue, closed for me :) Thanks, On Dec 7, 12:05 am, Xavier Ducrohet x...@android.com wrote: I'll take a look at that. thanks Xav On Mon, Dec 6, 2010 at 2:50 PM, Matt Hall matt.h...@gmail.com wrote: Thanks for taking a look. Specifically my problem was with out.dex.jar.input.ref in the dex- helper. Ant 1.7 had a warning about the conditional in that macrodef, and then tried to guess the value for it or something. If I just put forced a value for out.dex.jar.input.ref it would work in 1.7. Hope that helps. On Dec 6, 5:33 pm, Xavier Ducrohet x...@android.com wrote: ugh, this is bad. I'll have to check it out. I'm running 1.8.1 too but we're trying to be compatible with 1.7. Of course that particular difference is harder to detect because 1.7 won't complain, it'll simply not do the right thing. I'll do some checks but in the mean time, we'll update the system requirements. On Mon, Dec 6, 2010 at 2:11 PM, Matt Hall matt.h...@gmail.com wrote: For anyone else who ends up here, it appears that it was an Ant version dependency. We were still using v1.7.1 and there was a problem resolving a conditional setting. Upgrading to 1.8.1 seems to have fixed it. On Dec 6, 2:10 pm, Matt Hall matt.h...@gmail.com wrote: Hi, we're trying to build our app with the new 2.3 toolset via the ant build.xml. The compile completes successfully, but fails to run in the emulator or device saying it's missing classes contained in a jar file. So it's compiling with the libs folder, but then not bundling those libs in the APK. Anyone have any ideas? Thanks, Matt -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Xavier Ducrohet Android SDK Tech Lead Google Inc. Please do not send me questions directly. Thanks! -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Xavier Ducrohet Android SDK Tech Lead Google Inc. Please do not send me questions directly. Thanks! -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] playing RTP/TCP/AVP video stream (RTSP over HTTP tunnel)
Hello! We are trying to play a video stream on the Android platform, with no success. Using the VideoView, we are able to play youtube mobile videos (e.g. this url works just fine: rtsp://v3.cache7.c.youtube.com/CjYLENy73wIaLQnMYzt2FtQmqxMYESARFEIJbXYtZ29vZ2xlSARSBXdhdGNoYI6vr52RlLW1Sww=/0/0/0/video.3gp ) However, we need to play a given stream from an RTSP url, over which we have no control. The RTSP server delivers RTP/TCP/AVP packets interleaved over RTSP. RTSP itself is supported via HTTP tunnelling over port 80. The video format is MPEG4-Part2 (H.263). Moreover, the rtsp url can be used one time only; built with a key- string every time. On a desktop system, quicktime could play the stream, VLC could not. Is it possible to play back such a stream on an Android device somehow? I read googling around that the builtin (openCore?) RTP stack only supports RTP over UDP, not TCP. Is this (still) true? Can I somehow bypass this problem? Thanks! Turi András -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Difference between Android 2.2 and Google API for Android
Hi, Thanks, is there any link or reference from where I can find out these additional APIs. Regards, Zeeshan Hanif On Tue, Dec 7, 2010 at 4:56 AM, vogella lars.vo...@googlemail.com wrote: The Google one contains also API which is not part of the standard Android SDK. For example the Google Maps is not part of Android. On Dec 4, 4:28 pm, Zeeshan Hanif zeeshanha...@gmail.com wrote: Hi, I'm unable to understand the difference between Standard Android platform 2.2 and Android + Google APIs. Because while adding Platform in Netbeans we can add either of two. Regards, Zeeshan Hanif -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Android 2.2 appWidgetManager.updateAppWidget not work?
Hello, I am working on a widget project. I use Service to update the widget. Some code shows here: public static void updateView(RemoteViews views){ for(int id:appWidgetIds){ appWidgetManager.updateAppWidget(id, views); } } -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Plug-in for email client
hello fellow developers, I am required to develop a add-on/plug-in which will sit on the top of the native email client of android phone. I DONOT want to develop a whole new application (like Gmail or K-9) and then tweak it further as per my need, instead I just want to develop a plug-in with which will do a specific task. I want to know: 1. If this possible to do so? 2. Will the native email client will support my plug-in? 3. And if it is possible then how and where can I start? This is a very gray area for me so far, so please any guidance will be appreciated. Looking forward for an early reply. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: GLIBC 2.11 needed for emulator in SDK 2.3 !!!!
I am also getting same errorany solution please On Dec 6, 4:27 pm, elpix1 elp...@gmail.com wrote: Hi, I updated the SDK for the Android 2.3 and the emulator is not running anymore because it needs GLIBC 2.11 and my system has 2.10 ! It seems that the emulator is the only tool from the new SDK that requires 2.11 ! ./emulator: /lib/tls/i686/cmov/libc.so.6: version `GLIBC_2.11' not found (required by ./emulator) linux-gate.so.1 = (0x00cf8000) libutil.so.1 = /lib/tls/i686/cmov/libutil.so.1 (0x003ae000) librt.so.1 = /lib/tls/i686/cmov/librt.so.1 (0x00851000) libpthread.so.0 = /lib/tls/i686/cmov/libpthread.so.0 (0x00724000) libm.so.6 = /lib/tls/i686/cmov/libm.so.6 (0x0017e000) libdl.so.2 = /lib/tls/i686/cmov/libdl.so.2 (0x00779000) libstdc++.so.6 = /usr/lib/libstdc++.so.6 (0x0023e000) libgcc_s.so.1 = /lib/libgcc_s.so.1 (0x0011) libc.so.6 = /lib/tls/i686/cmov/libc.so.6 (0x003b2000) /lib/ld-linux.so.2 (0x00221000) -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Steps to integrate any new codec into Android.
Dear all, Please help me out. I am new to Android. I want to integrate new codec into Android. Please any one send me the steps for Integrated new codec also parser into Android. Waiting for your reply. Thanks Regards KirtiKrishna Badkundri -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] triggering a refund from within an application
Hello, Is there a way to trigger a refund from within an application purchased on the android marketplace? What if I call Intent.ACTION_DELETE to uninstall the app? Will the user receive his money back as well? thanks Ian -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] how to deal without keyboardtouchscreen peripherals
Hi all, I am working on an android (froyo) board, but I don't have any keyboardtouchscreen devices connected to it. Sure, I am able to access it through the console. However when using androidvnc server to access the user interface (using keyboardmouse of my host computer), keyboardtouchscreen events injected by this server into /dev/input/ eventxxx files of the board are not handled. Does someone knows what to do in order to handle these events? I wrote two fake input built-in drivers (keyboard+touchscreen) having the skeleton given just below. After system start-up, logcat utility reports expected log messages from [platform/frameworks/base.git]/ services/java/com/android/server/KeyInputQueue.java, but there are no log messages from [frameworks/base.git]/libs/ui/EventHub.cpp. Thanks for helping, Fabrice. PS: Skeleton of the fake input drivers: static int __init fake_kbd_init(void) { /* set appropriate evbit and keybit masks here */ // do it /* register to input subsystem. This will create the associate /dev/ input/eventxxx */ return input_register_device(fake_xxx_dev); } static void __exit fake_xxx_exit(void) { input_unregister_device(fake_xxx_dev); } module_init(fake_xxx_init); module_exit(fake_xxx_exit); -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] developer.android.com cannot be retrieved
Hello everybody, At this very first post, i'd like to ask a question about the problem as in the subject title. According to the google (show previous version of the page) the last successful retrieval was on 3.12.2010, until then I, myself, couldn't access to the webpage. I wonder if there are any problems about the main server of this site or not. Any technical definition will be appreciated. Thanks. Notes: - I checked every security settings loaded and - I checked whether there is a restriction on our IP addresses ( a blockage or anything else) or not, but i couldn't find or noticed any kind of a 'loyal court notice' or sth like that, so it doesn't seem that there is a problem due to the restrictions. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: What Tablet would you get
Hi Jon: I also have the VIewsonic 10 Tablet, and I think it's great. However, I'm having trouble to debug my programs because it's not being recognized for ADB. Did you try that? Is it working for you? I couldn't get the drivers from Viewsonic for that. Thanks; Gus On Dec 7, 11:00 am, Jon F Hancock jonfhanc...@gmail.com wrote: So the more I use my Viewsonic g Tablet, the more I love it. It does have some weird issues, but in general, it is fantastic. After using Android and especially playing Angry Birds on a nice big 10 screen, my phone seems useless. If I wasn't so concerned about having internet everywhere, I would switch to a feature phone, and just use the tablet for internet and gaming. It's also comforting that my main app (LauncherPro Icons) works beautifully on the higher resolution screen. I want to scream at Google though because the Google Reader app looks great in the listing activity, then when you go to actually read a story, it confines itself to a little window the size of my phone... What is so hard about following the design guidelines of fluid resizing, Google? On Fri, Dec 3, 2010 at 4:25 PM, Bill Morgan b...@bmorgan.com wrote: On 12/3/2010 6:09 PM, Phil Endecott wrote: Giving a crapo resistive cheaptab would be an insult. So buy a NOOKcolor. Or an iPad :-) (Anyone here played with the new Nook yet? I think I need to get one.) Had one for about a week now. Seems solid. BN just made their SDK available today. People over at XDA got it rooted this week: http://forum.xda-developers.com/ -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en- Hide quoted text - - Show quoted text - -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Regarding gcov using arm-eabi toolchain
Dear All, We have developed an application for which we would like to check the code coverage. We have used gcov available in android toolchain. In our Android.mk file we have added the following LOCAL_FLAGS and included the libgcov static library. LOCAL_CFLAGS:= -fprofile-arcs -ftest-coverage LOCAL_STATIC_LIBRARIES := libgcov We got some compilation issues which was resolved by copying the libgcov library from prebuilt/linux-x86/toolchain/arm-eabi-4.4.0/lib/gcc/arm-eabi/4.4.0/android/libgcov.a using BUILD_PREBUILT make rules. The output executable size is also increased with this and in out folder was can see *.gcno files getting created. When we execute the test *.gcda files are generated on target but when we try to take the code coverage using lcov it is not generating the code coverage report. lcov --directory code_coverage/ --capture --output-file ./code_coverage.info genhtml -o code_coverage/ ./code_coverage.info We have tested the same setup with arm-linux toolchain and it works fine. Please provide some pointer which we can look into. Regards, Manish -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Free version to Paid version
Alternatively, I created a library project which I put 80% of my code into. Then created two new projects - one for the free version and one for the paid. Both use the library and the free one simply extends the library but adds nothing more. The full one also extends but adds extra functionality. If I do a bug fix to the core of the app, I change it in the library and both the free and paid inherit the bug fix straight away. HTH. On Dec 7, 1:41 pm, TreKing treking...@gmail.com wrote: On Tue, Dec 7, 2010 at 3:03 AM, YuviDroid yuvidr...@gmail.com wrote: But at least I don't have two completely separate applications in which case I would have to keep copying/pasting every fix/modification/feature/etc... A half-decent diff tool will allow you to bring over any and all changes you need from one version to the other fairly easily. --- -- TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] MediaController.MediaPlayerControl for audio
I have to use MediaController.MediaPlayerControl in order to display a MediaController at the bottom of my Custom View but I can't get it to work. Please help me.. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] IMediaPlaybackService and gingerbread
I found this discussion http://www.last.fm/group/Last.fm+Android/forum/114391/_/660948/1?fallback=1noredirect=1 where the last.fm developer claims that the IMediaPlaybackService will be made private in gingerbread. Is this true? If so can someone explain to me why this change is happening -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] DB changes for next version, how to debug?
I see that I need to do some queries to back up the data in the onUpgrade method. My question is how do I test the two versions to upgrade from X to Y without touching the actual marketplace? Sources: http://groups.google.com/group/android-developers/browse_thread/thread/313e7aca283f1e8d/2e615cc4dfe6a961?lnk=gstq=add+a+column+to+db+upgrade+app%3F#2e615cc4dfe6a961 -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] ADB drivers for Windows XP available for Android devices
Hi All: I have the Viewsonic G Tablet with Android 2.2, and I want to debug my own programs. Once I connected to my PC (Windows XP), it was recognized and I'm able to access the tablet as a Mass Storage Device. However, when I want to debug the application, the tablet it's not being recognized as a ADB device (Android Debug Bridge). (USB Debugging is enable in the device). I know there is a USB drivers which cover many of the available Android devices, but not all of them. My question is, does the manufacturer (Viewsonic in this case) need to develop and provide an ADB driver for each device? Otherwise, how can we debug the device? Is there any other solution for this (like a generic driver)? Thanks; Gus -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] ant build seems to be broken on lib-projects with Android 2.3 SDK
With the 2.3 SDK installed I cannot ant to work correctly on any of my library projects. Even starting from scratch: android create lib-project --package com.test.test --target 8 --path testLib when I try to: ant compile I get this error: Buildfile: /Development/scratch/testLib/build.xml [setup] Android SDK Tools Revision 8 [setup] Project Target: Google APIs [setup] Vendor: Google Inc. [setup] Platform Version: 2.1-update1 [setup] API level: 7 [setup] Project Type: Android Library [setup] [setup] -- [setup] Resolving library dependencies: [setup] No library dependencies. [setup] [setup] -- [setup] [setup] WARNING: No minSdkVersion value set. Application will install on all Android versions. [setup] [setup] Importing rules file: tools/ant/lib_rules.xml -dirs: [echo] Creating output directories if needed... [mkdir] Created dir: /Development/scratch/testLib/gen [mkdir] Created dir: /Development/scratch/testLib/bin/classes -pre-build: -resource-src: [echo] Generating R.java / Manifest.java from the resources... -aidl: [echo] Compiling aidl files into Java classes... BUILD FAILED /Development/SDKs/android-sdk-mac_86/tools/ant/lib_rules.xml:121: Reference android.libraries.src not found. These rules and paths need to be appear to be set from (as seen in build.xml): !-- Execute the Android Setup task that will setup some properties specific to the target, and import the build rules files. The rules file is imported from SDK/platforms/target_platform/ant/ant_rules_r#.xml 1) The target does not seem to be being obeyed correctly, i said it should build against 8 and it says its building against 7 2) The only folder without the path (SDK/platforms/ target_platform/ant/ant_rules_r#.xml) is the most recent api (9) Please Help, this is keeping me from building multiple applications -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: ProGuard Integration?
Please note that on a windows machine, the BuildHelper is writing the temporary .pro file to the windows temp folder. If this is under Local Settings\Temp then the space causes a problem and you can't pass that full file name into the proguard.bat batch file. NOTE also that if your workspace is also under a folder who has spaces in it then this will cause more problems. You won't be able to pass the other parameter into proguard.bat, and the content within the .pro file will also have spaces in it when it shouldn't. If the BuildHelper can be updated to fix this and either use quotes or (more reliably) use the 8dot3 notation then this should fix it for windows users. Considering the default for windows is a temp folder that BuildHelper doens't like, I don't think it's right to ask all users to move that elsewhere - some users may not be able to due to local policies. Same with the workspace. HTH On Dec 7, 9:17 am, Michael A. michael.aki...@gmail.com wrote: Hi, The missing space support was the problem here; moving the SDK to c: \Android seems to have fixed the problem on my install. Thanks again. Regards. Michael A. On Dec 7, 5:40 am, Xavier Ducrohet x...@android.com wrote: Michael, We're fixing ADT to properly report what the problem really is but we just noticed the .bat that proguard ships with doesn't support path with spaces. We'll provide our own .bat for the next tools release but in the mean time you may want to check this. Xav On Mon, Dec 6, 2010 at 3:37 PM, Michael A. michael.aki...@gmail.com wrote: I'm getting an error when trying to export using Proguard: !MESSAGE Failed to export application !STACK 0 com.android.ide.eclipse.adt.internal.build.ProguardResultException at com.android.ide.eclipse.adt.internal.build.BuildHelper.runProguard(Unknown Source) at com.android.ide.eclipse.adt.internal.project.ExportHelper.exportReleaseApk( Unknown Source) at com.android.ide.eclipse.adt.internal.wizards.export.ExportWizard.doExport(U nknown Source) at com.android.ide.eclipse.adt.internal.wizards.export.ExportWizard.access $0(Unknown Source) at com.android.ide.eclipse.adt.internal.wizards.export.ExportWizard $1.run(Unknown Source) at org.eclipse.jface.operation.ModalContext $ModalContextThread.run(ModalContext.java:121) This is a brand new, clean project in Eclipse Helios (Win7) with - as far as I know - the latest plugin and SDK. I'm guessing that there's something in my Eclipse/Windows environment that needs to be set up. Any tips? Regards, -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: StrictMode
On Dec 7, 3:16 am, Bob Kerns r...@acm.org wrote: Kudos to the Android team for this. My experience is that this sort of checking avoids a lot of problems and really makes a difference in application quality. Indeed! We've been using it to fix hundreds of performance glitches across apps and across the system services. I haven't tried it yet, but I do expect my code to ALMOST pass -- but are things like preferences and database access considered disk accesses, in this environment with flash memory instead of disks? Yes, the disk in this case means the filesystem, whatever it happens to be. (spinning, raw MTD, iNand FTL, etc..) It would be helpful if the documentation were clear about which system APIs with implicit file IO would be affected by the policy -- and perhaps some tuning in this regard. Well, the docs do at least say that it's not guaranteed and that the set may change (get more or get some removed) over time. Perhaps rather than any file IO, give the ability to control how much, either in data size or IO time? The thing to keep in mind for data size is that on filesystems like yaffs (used by the majority of Android devices), the data size doesn't matter... yaffs has a giant lock around the whole filesystem code, so even a tiny stat() can block for seconds if the disk is otherwise being hammered by something else (during boot, heavy sync, etc). And if you're hitting the disk at all, even if it's 8ms one time, you're still hitting the disk in that code path and I'd rather not hide the good 8ms cases when the exact same stack could take 30 or 100 ms later and cause a glitch. It's really quite boolean: you hit the disk in a particular stack trace (and are those potentially always gltichy there) or you don't. To make it even more useful, can I suggest some overrides: * On the device, per application, so developers and concerned users can investigate already-installed applications. * In the AVDs, per AVD, so developers can choose to always test in this mode. * In the launch configurations -- where perhaps the default should be to be the strictest, complete with crash. * In the manifest -- where the manifest editor will help people discover the option Yes, I'd like to make it easier to use in those ways too. I'll be ramping up its breadth and visibility in future releases. For now consider it a preview. And perhaps: * In the market, which would give you a hard time about it is your application does not have a safe and sane setting in the manifest? Safe and sane is currently documented to be off, but I think would better be some combination of detecting network, ignoring disk, and not crashing the app. Let's see if users do it on their own, first. I'd also like to let developers easily enable silent performance collection for their users and make the performance data visible on the Market developer site, similar to the crashes and ANRs that are already there. I bet we'd see a lot better applications as a result. hope so! It's been working for us so far! In the meantime, when people ask in this group about ANRs, or post code that has relevant problems, we should direct them to turn on StrictMode. Please do. Also, I don't read this group too often, but I'll take questions on stackoverflow.com for anything tagged strictmode, if you use that site. But I'll also try to poll this group more often now. - Brad -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: 2.3 Emulator instability
Noticed the same. I had to restart the emulater four times before it would work properly - first time there was no status bar at all, second time there was no connectivity, third time there was connectivity but the accounts login thought there wasn't and only on the fourth attempt could I finally login to my google account. All the while doing thhis *some* of the screens ran fast but *most* were slower than the 2.1 and 2.2 emulators I've been using recently. Even a custom VanillaEclair rom runs faster most of the time in the emulator than this does. On Dec 7, 2:13 pm, Raymond Rodgers raym...@badlucksoft.com wrote: I've noticed that the 2.3 emulator seems to be a lot slower overall, and has a tendency to spontaneously reboot. Has anyone else noticed this? I have updated two machines to use the latest SDK and ADT, one is on Fedora 13, the other on 14. I've been using both machines in development, and they both ran the 2.2 emulator just fine, though I haven't tried the 2.2 emulator with the latest SDK. At first I thought it was my app which might have been triggering the sluggish performance and reboots, but as I just finished installing the updates on the F13 machine, and simply ran the 2.3 emulator without installing my app at all in it when it rebooted while I was trying to open the Maps application. A key feature of the reboot attempt, by the way, seems to be that it never completes: I have to close the emulator altogether, then restart it because it never gets out of the boot animation. It also isn't sending messages to LogCat. This will make working with 2.3 a little bit tougher until it gets pushed to my Nexus One... :-) Raymond -- Raymond Rodgershttp://www.badlucksoft.com/ -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Android 2.3: eclipse reporting Unable to execute dex: null
The export to jar seemed to work for me as well, but I'd rather get 8.0.1 running. Any idea when that will be pushed out? On Dec 7, 11:32 am, dario dario.nycj...@gmail.com wrote: Anselm, I couldn't repro with latest build. Xavier, I posted the bug I described as issue #13010 -Dario On Dec 7, 8:46 am, garbeam garb...@gmail.com wrote: I also wanted to note, that I see similar problems with Android Library projects. It appears as if the ADK does not properly include the Android Library project classes in a APK project (this is at least true for interface classes that my Android Library project contains). Can you confirm this? Thanks, Anselm On Dec 7, 9:48 am, Tom Gibara tomgib...@gmail.com wrote: Thanks Xavier. That's definitely the cause of the problem. Eclipse projects, when stripped of their dependencies on other eclipse projects, build fine. Tom. On 7 December 2010 00:54, Xavier Ducrohet x...@android.com wrote: hey all, we found the issue. It's related to referencing java project. We're looking at pushing a fix to ADT asap. In the meantime you can temporarily change to including your java project as a jar file. On Mon, Dec 6, 2010 at 4:42 PM, Mario Zechner badlogicga...@gmail.com wrote: I have the exact same issue. I went the exact same route as the original poster. The verbose output of all the Android tools in Eclipse is not all that verbose it turns out. However, digging up the .log file in $workspace/.metadata/.log brought this up: !ENTRY com.android.ide.eclipse.adt 4 0 2010-12-07 01:40:29.576 !MESSAGE Unable to execute dex: null !STACK 0 java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.android.ide.eclipse.adt.internal.build.DexWrapper.run(Unknown Source) at com.android.ide.eclipse.adt.internal.build.BuildHelper.executeDx(Unknown Source) at com.android.ide.eclipse.adt.internal.build.builders.PostCompilerBuilder.bui ld(Unknown Source) at org.eclipse.core.internal.events.BuildManager $2.run(BuildManager.java:629) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java: 172) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java: 203) at org.eclipse.core.internal.events.BuildManager $1.run(BuildManager.java:255) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java: 258) at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.j ava: 311) at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java: 343) at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java: 144) at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java: 242) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) Caused by: java.lang.NullPointerException at java.io.File.init(Unknown Source) at com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java: 106) at com.android.dx.command.dexer.Main.processOne(Main.java:284) at com.android.dx.command.dexer.Main.processAllFiles(Main.java:220) at com.android.dx.command.dexer.Main.run(Main.java:176) ... 19 more Root exception: java.lang.NullPointerException at java.io.File.init(Unknown Source) at com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java: 106) at com.android.dx.command.dexer.Main.processOne(Main.java:284) at com.android.dx.command.dexer.Main.processAllFiles(Main.java:220) at com.android.dx.command.dexer.Main.run(Main.java:176) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.android.ide.eclipse.adt.internal.build.DexWrapper.run(Unknown Source) at com.android.ide.eclipse.adt.internal.build.BuildHelper.executeDx(Unknown Source) at com.android.ide.eclipse.adt.internal.build.builders.PostCompilerBuilder.bui ld(Unknown Source) at
[android-developers] Can i use Android SDK with eclipse plugin for debugging Drivers?
Hi Guys, Can I use Android SDK with eclipse plugin for debugging Drivers? What is the problem if it is not possible? Thanks, Rahul. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Best way to store data in database
BroadcastExample.java -- package com.example.broadcast; import android.app.Activity; import android.content.Context; import android.os.Bundle; import android.telephony.*; import android.util.Log; import android.widget.TextView; public class BroadcastExaple extends Activity { TextView textOut; TelephonyManager telephonyManager; PhoneStateListener listener; /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { try { super.onCreate(savedInstanceState); // Get the UI textOut = new TextView(this); textOut.setText(DEmoBroadCast); setContentView(textOut); // Get the telephony manager telephonyManager = (TelephonyManager) getSystemService(Context.TELEPHONY_SERVICE); // Register the listener wit the telephony manager telephonyManager.listen(listener,PhoneStateListener.LISTEN_CALL_STATE); // Create a new PhoneStateListener listener = new PhoneStateListener() { @Override public void onCallStateChanged(int state, String incomingNumber) { Log.d(DEBUG, Phone listener); String stateString = N/A; switch (state) { case TelephonyManager.CALL_STATE_IDLE: stateString = Idle; break; case TelephonyManager.CALL_STATE_OFFHOOK: stateString = Off Hook; break; case TelephonyManager.CALL_STATE_RINGING: stateString = Ringing; break; } textOut.append(String.format(\nonCallStateChanged: %s, stateString)); } }; } catch (Exception e) { } } } AndroidManifest.xml --- ?xml version=1.0 encoding=utf-8? manifest xmlns:android=http://schemas.android.com/apk/res/android; package=com.example.broadcast android:versionCode=1 android:versionName=1.0 application android:icon=@drawable/icon android:label=@string/app_name activity android:name=.BroadcastExaple android:label=@string/app_name intent-filter action android:name=android.intent.action.MAIN / category android:name=android.intent.category.LAUNCHER / /intent-filter /activity /application uses-prmission android:name=android.permission.READ_PHONE_STATE / uses-sdk android:minSdkVersion=7 / /manifest Anybody can indicate me why this code doesn't work.. Thanks On Tue, Dec 7, 2010 at 7:35 PM, Kostya Vasilyev kmans...@gmail.com wrote: Danny, The values in R can change as you add and remove resources. I'd say store color names, or actual RGB values (and match them to names when need to present to the user). -- Kostya 07.12.2010 16:56, Danny Schimke пишет: Hi, I have 2 textual inputs that I saved to database, furthermore I have a spinner with color selection. Color names and color values both stored in the application resources. I want to save a color in the database, but what is the best way to do this in your mind? Should I save the resource id? I figured out, that the int value of the color resource is allways the same, e.g. when I delete the R file and let it recreate. I do not have the certainty that this is correct?! Or would you put colors in a seperate database table instead using resources for this? This seems to be a good way and the user is able to add own colors to the application. I don't know what is the best way to store this. What are your experiences? Thank you very much! -Danny Schimke -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Kostya Vasilyev -- WiFi Manager + pretty widget -- http://kmansoft.wordpress.com -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to
[android-developers] 2.3 Platform Google APIs missing Licensing Service..?
Used adb to install an app that works fine on a 2.2 Platform Google API avd, but in the newly release 2.3 flavour, I keep getting this message: I/LicenseChecker( 530): Binding to licensing service. W/ActivityManager( 70): Unable to start service Intent { act=com.android.vending.licensing.ILicensingService }: not found E/LicenseChecker( 530): Could not bind to service. However I have been having problems with my 2.3 avd (had to start it four times before it was stable enough to sign in) so I can't be sure if my avd is corrupted or not. Can anyone else confirm if the Licensing Service is installed correctly on the 2.3 Google APIs package..? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] ListView with Cutom adapter does not show all Item seperator between different items
Hi all, I developed a small application .it contain ListView with Custom adapter .That listView does not show all Item seperator between Items .First Time it appears it show all items after scrolling some list Items are not shown.And also When I dragged some of it's items Then Item is overlapped over other .I really stuck with this problem I did not get proper direction from web I added uses-sdk android:minSdkVersion=6 / got same result this is my code public View getView(int position,View convertView,ViewGroup parent) { if(convertView==null) { rootview= new LinearLayout(getContext()); LayoutInflater l=(LayoutInflater)getContext().getSystemService(Context.LAYOUT_INFLATER_SERVICE); l.inflate(R.layout.adv_themelist, rootview, true); l=null; } Themes mytheme=new Themes(5,); TextView themeLabel=(TextView)rootview.findViewById(R.id.ThemeLabel); ImageView themeIcon=(ImageView)rootview.findViewById(R.id.ThemeIcon); mytheme=getItem(position); themeLabel.setText((CharSequence)mytheme.getlabel()); themeIcon.setBackgroundResource(mytheme.getvalue()); return this.rootview; } Lay out of ListItem ?xml version=1.0 encoding=utf-8? RelativeLayout xmlns:android=http://schemas.android.com/apk/res/android; android:layout_width=wrap_content android:layout_height=wrap_content TextView android:layout_height=60dip android:id=@+id/ThemeLabel android:layout_width=wrap_content android:layout_alignParentLeft=true android:paddingRight=50dip android:paddingLeft=20dip android:paddingTop=10dip android:text=Theme 7 android:textColor=#fff android:textSize=20dip /TextView ImageView android:layout_width=50dip android:layout_height=50dip android:paddingRight=10dip android:layout_margin=3dip android:id=@+id/ThemeIcon android:background=@drawable/icon android:layout_toRightOf=@id/ThemeLabel /ImageView /RelativeLayout Any help will be Highly appreciated Thanks in advance for Your time -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Setting up a test project issues
On the developer.android.com website there is a guide to testing android that says: You can create a test project anywhere in your file system, but the best approach is to add the test project so that its root directory tests/ is at the same level as the src/ directory of the main application's project. This helps you find the tests associated with an application. For example, if your application project's root directory is MyProject, then you should use the following directory structure: MyProject/ AndroidManifest.xml res/ ... (resources for main application) src/ ... (source code for main application) ... tests/ AndroidManifest.xml res/ ... (resources for tests) src/ ... (source code for tests) The link to the website is: http://developer.android.com/guide/topics/testing/testing_android.html So i took this approach and then tried to Run MyProject as an Android JUnit Test. However when i do this the error message i get says: An instrumentation test runner is not specified! This would make sense if i didn't have the test manifest file AndroidManifest.xml in the tests/ directory but i do have the file there. What could be the issue? I have been able to create a test project that is separate from the main project and run the test project as an Android JUnit Test, but i don't get how to add the test project so that its root directory tests/ is at the same level as the src/ directory of the main application's project. Does anyone know whats going on here, or has anyone been successful in getting this to work? Thanks for any help. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] computer applications
http://123maza.com/35/market158/ -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Android 2.3: eclipse reporting Unable to execute dex: null
I've just updated, but getting same error. My app was compiling fine before updating to ADT 8.0.0 We've just released ADT 8.0.1 to fix this issue. You can use the update site or the direct link (dev site not updated yet):http://dl.google.com/android/ADT-8.0.1.zip -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Android 2.3 SDK Emulator is very slow
Hello! I use Eclipse + ADT + Android SDK for development. Current configuration is Eclipse Helios SR1 20100917-0705 + ADT 8.0.1.v201012062107-82219 + Android 2.3 SDK on Windows 7 32-bit. SDK emulator works very slow or freezes at the boot time. Here is the summary of what was done/observed. 1) The problem appeared after I updated my SDK to 2.3, and ADT to 8.0.0 (and then 8.0.1). I haven't observed such problem before 2.3/8.0.0 update. Clean install of Eclipse and SDK doesn't help. 2) It doesn't look like ADT or Eclipse problem, because running emulator.exe directly from console gives exactly the same result (as well as using SDK Manager). 3) It doesn't matter what AVD target is. Reproduced for 2.1/2.2/2.3. 4) Running emulator -debug-all it stucks at (emulator windows is not responding): emulator: goldfish_audio_write: AUDIO_INT_ENABLE 7 emulator: goldfish_audio_write: AUDIO_INT_ENABLE 0 emulator: goldfish_audio_write: AUDIO_INT_ENABLE 7 emulator: goldfish_audio_write: AUDIO_INT_ENABLE 0 emulator: goldfish_audio_write: AUDIO_INT_ENABLE 7 5) emulator -noaudio doesn't help. I also tried to give more memory (-memory), but it doesn't help too. I appreciate any suggestions of what can I do to fix the problem. Alexei. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] LVL and 2.3 Emulator
I have LVL working with my app and am able to test it with the 2.2 Google API emulator. I updated to 2.3 and created a 2.3 Google API emulator. I signed in with you dev account on the emulator just like before, but now I am getting: 12-07 21:42:57.879: INFO/LicenseChecker(760): Binding to licensing service. 12-07 21:42:57.899: WARN/ActivityManager(61): Unable to start service Intent { act=com.android.vending.licensing.ILicensingService }: not found 12-07 21:42:57.899: ERROR/LicenseChecker(760): Could not bind to service. I haven't changed anything in the code and it still works on 2.2. I have read the 2.3 release docs and haven't found any documented changes to LVL? Obviously I don't have a real phone with 2.3 to test on :) Does 2.3 w/ Google API SDK support LVL? Any ideas? Thanks, Nick -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: 2.3: WebView's JavaScriptInterface throwing exception 100% of time
Hey, I reported the issue that you linked to. I'm trying to find a workaround but have yet to see any possible way of getting things up and running. Anyone out there with any thoughts? Or someone at Google who can let us know the status of this? I'm really hoping that someone just screwed up the emulator build and that this won't affect the production builds... tony On Dec 7, 8:10 am, jsdf jasons...@gmail.com wrote: Hi all, Has anyone played with the 2.3, WebViews, and the JavaScript to Java interface? If so, have you gotten it working? I, and a number of others, have seen this fail 100% of the time.http://code.google.com/p/android/issues/detail?id=12987 This is a very serious issue. Anyone have suggestions? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Gingerbread Media Framework
The release announcements for Android v2.3 Gingerbread state that a new media framework fully replaces OpenCore, maintaining all previous codec/container support for encoding and decoding. However, I cannot find what this new media framework is. Is it a Google proprietary framework or something that already exists (such as OSMF)? I curious to know that this new media framework has to offer and how it can be leveraged. Thanks. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Buying your own App, Testing Licensing
So, apparently i'm unable to buy my own app. Two problems: First is that it looks like Market wont accept my Google Apps credentials even though I have a valid checkout account (including merchant account). This thread describes others having the same problem: http://www.google.as/support/forum/p/Google+Apps/thread?tid=78d6fa09fc666151hl=enfid=78d6fa09fc666151000496d7189838f7 Also, I came across another bit of info saying that developers are *not allowed* to buy their own apps re the Google Checkout policies. The problem is that in order for licensing to be tested properly, not to mention I actually want to *use* my own app (because i like it), I need to get it through the Market. See: http://market.android.com/support/bin/answer.py?hl=enanswer=141659 So, can someone riddle me this: If the Market refuses to work with my existing account and I'm not allowed to buy my own app anyway, how the heck am I supposed to use and or test the darn thing using Licensing? I might as well roll my own licensing API... at least then I know it would work! -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] 2.3 LVL in Google API Package?
When using the Google APIs by Google Inc., Android API 9, revision 1 in the emulator, my licensing is failing. It works on API 8 (2.2). Anyone else seeing this issue? Was LVL included in this revision so we can test, or must we stick with 2.2 for Licensing testing? -Hunter -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Improvement of existing Android App - Setting
Hi, I would like to improve exisiting functions of android - setting. I have checked out the 'Setting' application from repo, but how can I compile it ? There are missing classes - such as os.properties, etc. Thanks a lot. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] App Works is looking for users and beta testers!
Hello all, I've come here to ask for support for my new website I have started working on called App Works. Basically App Works was created to allow users to create Android apps online with ease, and not need to install or worry about the SDK or signing their apps by themselves. The end goal is to have App Works work just like any other IDE, however i'll be needing people to test! If you're interested in helping, please visit http://www.steelcoretech.com/machine/index.php -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Cannot display Hello World per the suggestion of Installing of SDK
Hi, Team, I am the newer of Android Developer. I did completed the installation of SDK and Eclipse 3.6.1 at my notebook with Window Vista. Eveything seems ok. However, I followed the first try per the instruction of the program of Hello World - create AVD. It won't show Hello World, but the general emulator display with Android_ at the center. I checked and cannot find any error indicated.Please help and let me know if anything is wrong or where I should check. Your prompt response and advise is highly appreciated. Thanks. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: GLIBC 2.11 needed for emulator in SDK 2.3 !!!!
I have the same issue on OpenSuse 11.2 32-bit. There is a similar issue with aapt, although it manages to run just fine despite the alarming error message. ~/android/sdk rpm -q glibc zlib glibc-2.10.1-10.9.1.i686 zlib-1.2.3-140.2.i586 ~/android/sdk ldd tools/emulator platform-tools/aapt tools/emulator: tools/emulator: /lib/libc.so.6: version `GLIBC_2.11' not found (required by tools/emulator) linux-gate.so.1 = (0xe000) libutil.so.1 = /lib/libutil.so.1 (0xb774) librt.so.1 = /lib/librt.so.1 (0xb7736000) libpthread.so.0 = /lib/libpthread.so.0 (0xb771c000) libm.so.6 = /lib/libm.so.6 (0xb76f3000) libdl.so.2 = /lib/libdl.so.2 (0xb76ed000) libstdc++.so.6 = /usr/lib/libstdc++.so.6 (0xb75f9000) libgcc_s.so.1 = /lib/libgcc_s.so.1 (0xb75d9000) libc.so.6 = /lib/libc.so.6 (0xb7479000) /lib/ld-linux.so.2 (0xb7765000) platform-tools/aapt: platform-tools/aapt: /lib/libz.so.1: no version information available (required by platform-tools/aapt) linux-gate.so.1 = (0xe000) librt.so.1 = /lib/librt.so.1 (0xb77fb000) libpthread.so.0 = /lib/libpthread.so.0 (0xb77e1000) libz.so.1 = /lib/libz.so.1 (0xb77cd000) libstdc++.so.6 = /usr/lib/libstdc++.so.6 (0xb76d9000) libm.so.6 = /lib/libm.so.6 (0xb76af000) libgcc_s.so.1 = /lib/libgcc_s.so.1 (0xb768f000) libc.so.6 = /lib/libc.so.6 (0xb752f000) /lib/ld-linux.so.2 (0xb7826000) On Dec 7, 2:56 pm, Fred J fred.jea...@gmail.com wrote: Same error on (Mandriva release 2010) On 6 déc, 22:27, elpix1 elp...@gmail.com wrote: Hi, I updated the SDK for the Android 2.3 and the emulator is not running anymore because it needs GLIBC 2.11 and my system has 2.10 ! It seems that the emulator is the only tool from the new SDK that requires 2.11 ! ./emulator: /lib/tls/i686/cmov/libc.so.6: version `GLIBC_2.11' not found (required by ./emulator) linux-gate.so.1 = (0x00cf8000) libutil.so.1 = /lib/tls/i686/cmov/libutil.so.1 (0x003ae000) librt.so.1 = /lib/tls/i686/cmov/librt.so.1 (0x00851000) libpthread.so.0 = /lib/tls/i686/cmov/libpthread.so.0 (0x00724000) libm.so.6 = /lib/tls/i686/cmov/libm.so.6 (0x0017e000) libdl.so.2 = /lib/tls/i686/cmov/libdl.so.2 (0x00779000) libstdc++.so.6 = /usr/lib/libstdc++.so.6 (0x0023e000) libgcc_s.so.1 = /lib/libgcc_s.so.1 (0x0011) libc.so.6 = /lib/tls/i686/cmov/libc.so.6 (0x003b2000) /lib/ld-linux.so.2 (0x00221000) -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Google Nexus S - Please provide as DEV phone, asap :-)
I concur i would totally love it as a dev phone! On Dec 7, 2010 9:29 PM, gjs garyjamessi...@gmail.com wrote: Hi, Google Nexus S - Please provide as DEV phone, asap :-) Regards -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: 2.3 Emulator instability
The emulator is almost unusable, and contrary to the OS, it's generally of poor quality. I understand that Google engineers all have a Nexus S at their disposal, but it's not the case for us mere mortals, and since I'm in Canada, I don't expect having one until hell freezes over as hardly anyone in California even know where Canada is. This is a competitive disadvantage and very unfortunate. There are also other problems I am investigating, like an emulator that won't turn on anymore after shutdown and screen orientation problems new to the latest SDK. Please Google, invest some time in the emulator for the next version. It may look stupid, but thousands of developers around the world loosing their time with the emulator is a lot of hours wasted at not making great apps. forgive my English, it might s***. Thanks ! vincent On Dec 7, 9:13 am, Raymond Rodgers raym...@badlucksoft.com wrote: I've noticed that the 2.3 emulator seems to be a lot slower overall, and has a tendency to spontaneously reboot. Has anyone else noticed this? I have updated two machines to use the latest SDK and ADT, one is on Fedora 13, the other on 14. I've been using both machines in development, and they both ran the 2.2 emulator just fine, though I haven't tried the 2.2 emulator with the latest SDK. At first I thought it was my app which might have been triggering the sluggish performance and reboots, but as I just finished installing the updates on the F13 machine, and simply ran the 2.3 emulator without installing my app at all in it when it rebooted while I was trying to open the Maps application. A key feature of the reboot attempt, by the way, seems to be that it never completes: I have to close the emulator altogether, then restart it because it never gets out of the boot animation. It also isn't sending messages to LogCat. This will make working with 2.3 a little bit tougher until it gets pushed to my Nexus One... :-) Raymond -- Raymond Rodgershttp://www.badlucksoft.com/ -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] BroadcastReceiver onReceive startActivity Issue
Hello, I am trying to start an Activity (say A) from BroadcastReceiver onReceive method. Most of the time activity (A) is started as expected but some times Activity (B) is displayed which is already in the background (last shown activity). Not sure why Activity B is being displayed instead of Activity A. Am I doing something wrong ? I have registered BroadcastReceiver in the Android manifest xmll file. Here is code @Override public void onReceive(Context context, Intent intent) { Log.d(TAG, onReceive); Intent startIntent = new Intent( context, Activity_A.class); startIntent.addFlags(Intent.FLAG_FROM_BACKGROUND); startIntent.addFlags(Intent.FLAG_ACTIVITY_SINGLE_TOP); // Added startIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); context.startActivity(startIntent); } Any help to resolve this issue would be very most appreciated. Thanks, -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] android 2.3 hierarchyviewer.bat problems
It seems this version of sdk changed the directory structure. Some tools, including adb are moved from tools folder to platform-tools. You can add this folder to your PATH environement variable. So you don't need to do this manually anymore. Best Regards, Raymond Wen On Wed, Dec 8, 2010 at 12:08 PM, ryan cheng ryan.h...@gmail.com wrote: In android 2.3 sdk, the hierarchyviewer.bat don't work, it shows Failed to get the adb version: Cannot run program adb.exe after I put all platform-tools dir files to tools dir, it works fine. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: New ADT 8.0.1
Updating was fine, but error executing dex is the same. Verified ADT 8.0.1 is installed. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] 2.3 Emulator instability
I'm having the same problem with 2.3 and its not my computer. Because I have a pretty good computer. On Dec 7, 2010 9:29 PM, Raymond Rodgers raym...@badlucksoft.com wrote: Thanks for replying David. I just set the flag to 256 and 512 with the same results. On 12/07/2010 12:35 PM, David Turner wrote: I'm currently looking into it, but it seems the emulator needs more emulated RAM to run 2.3 properly. Try starting it with the -memory 256 option and tell me if it behaves better for you. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Regarding using condition in Service
Hello Everybody, I am new in Android development, I used service in my app to get Httpconnection from internet and read that specific page in service. after reading the page, i am using pattern matching to match particular value from page while doing this, In service the if condition is not working that means it does not enter in the if condition. And also i have to display that data on Activity So please suggest me solution about to display content in activity(Code is mentioned below) Thanks in advance package example.demo; import java.net.URL; import java.net.URLConnection; import java.util.regex.Matcher; import java.util.regex.Pattern; import android.app.Service; import android.content.Intent; import android.os.IBinder; import android.util.Log; import android.widget.Toast; public class Mysevice extends Service { protected static final String TAG = MyService; public static final int MAX_VALUE=100; //public static byte[]readData=new byte[MAX_VALUE]; public static String out=null; public static String data ,readData ; @Override public IBinder onBind(Intent intent) { return null; } @Override public void onCreate() { Toast.makeText( this, My Service Created, Toast.LENGTH_LONG).show(); Log.d( TAG, onCreate); } @Override public void onDestroy() { Toast.makeText( this, My Service Stopped, Toast.LENGTH_LONG).show(); Log.d( TAG, onDestroy); } @Override public void onStart(Intent intent, int startid) { try { int connectTimeout = 10; int readTimeout = 20; URL url = new URL(http://money.rediff.com/;); URLConnection urlConn = (URLConnection) url.openConnection(); urlConn.setDoOutput( true); urlConn.setDoInput( true); urlConn.setDoOutput( true); // 20 Seconds Connect Timeout urlConn.setConnectTimeout(connectTimeout * 1000); // 20 Minutes ReadTimeout urlConn.setReadTimeout(readTimeout * 1000); try{ urlConn.connect(); out = new StreamToString().convertStreamToString(urlConn.getInputStream()); Toast.makeText( this, Reading the page, Toast.LENGTH_LONG).show(); Log.d( TAG, onStart); } catch(java.net.SocketTimeoutException ex) { String msg = Could not able to establish the connection between ur machine and money.rediff.com; System. out.println(msg); } String regex = div class=\floatR\span class=\f20 bold\[^]* + .*? + ([^\]+)/span; Pattern p = Pattern.compile(regex); Matcher m = p.matcher( out); while(m.find()) { readData = m.group(1); // ByteArrayInputStream baos = new ByteArrayInputStream(readData); // data=baos.toString(); Toast.makeText( this, Pattern has matched, Toast.LENGTH_LONG).show(); } Toast.makeText( this, Match not found, Toast.LENGTH_LONG).show(); } catch (Exception ex) { ex.printStackTrace(); throw new RuntimeException(Exception occured in testDownApplicationTurnedGreenByTraffic, ex); } Toast.makeText( this, My Service Started, Toast.LENGTH_LONG).show(); Log.d( TAG, onStart); } } -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Regarding service
Hello Everybody, I am new in Android development, I used service in my app to get Httpconnection from internet and read that specific page in service. after reading the page, i am using pattern matching to match particular value from page while doing this, In service the if condition is not working that means it does not enter in the if condition. And also i have to display that data on Activity So please suggest me solution about to display content in activity(Code is mentioned below) Thanks in advance * package* example.demo; * import* java.net.URL; * import* java.net.URLConnection; * import* java.util.regex.Matcher; * import* java.util.regex.Pattern; * import* android.app.Service; * import* android.content.Intent; * import* android.os.IBinder; * import* android.util.Log; * import* android.widget.Toast; * public* *class* Mysevice *extends* Service { *protected* *static* *final* String *TAG* = MyService; *public* *static* *final* *int* *MAX_VALUE*=100; //public static byte[]readData=new byte[MAX_VALUE]; *public* *static* String *out*=*null*; *public* *static* String *data* ,*readData* ; @Override *public* IBinder onBind(Intent intent) { *return* *null*; } @Override *public* *void* onCreate() { Toast.*makeText*(*this*, My Service Created, Toast.*LENGTH_LONG*).show(); Log.*d*(*TAG*, onCreate); } @Override *public* *void* onDestroy() { Toast.*makeText*(*this*, My Service Stopped, Toast.*LENGTH_LONG*).show(); Log.*d*(*TAG*, onDestroy); } @Override *public* *void* onStart(Intent intent, *int* startid) { *try * { *int* connectTimeout = 10; *int* readTimeout = 20; URL url = *new* URL(http://money.rediff.com/;); URLConnection urlConn = (URLConnection) url.openConnection(); urlConn.setDoOutput(*true*); urlConn.setDoInput(*true*); urlConn.setDoOutput(*true*); // 20 Seconds Connect Timeout urlConn.setConnectTimeout(connectTimeout * 1000); // 20 Minutes ReadTimeout urlConn.setReadTimeout(readTimeout * 1000); *try*{ urlConn.connect(); *out* = *new*StreamToString().convertStreamToString(urlConn.getInputStream()); Toast.*makeText*(*this*, Reading the page, Toast.*LENGTH_LONG*).show(); Log.*d*(*TAG*, onStart); }*catch*(java.net.SocketTimeoutException ex) { String msg = Could not able to establish the connection between ur machine and money.rediff.com; System.*out*.println(msg); } String regex = div class=\floatR\span class=\f20 bold\[^]* +.*? +([^\]+)/span; Pattern p = Pattern.*compile*(regex); Matcher m = p.matcher(*out*); *while*(m.find()) { *readData* = m.group(1); // ByteArrayInputStream *baos* = new ByteArrayInputStream(readData); // data=baos.toString(); Toast.*makeText*(*this*, Pattern has matched, Toast.*LENGTH_LONG*).show(); } Toast.*makeText*(*this*, Match not found, Toast.*LENGTH_LONG*).show(); } *catch* (Exception ex) { ex.printStackTrace(); *throw* *new* RuntimeException(Exception occured in testDownApplicationTurnedGreenByTraffic, ex); } Toast.*makeText*(*this*, My Service Started, Toast.*LENGTH_LONG*).show(); Log.*d*(*TAG*, onStart); } } -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Repacking a .apk file
Hi all, Forgive my ignorance, I would just like to ask if it possible for me to repack (unpack and pack the binaries again and sign it using my own certificates) a .apk file that's been done by another party? Well, let's just say I've got this special agreement with a third party that I can add features or some sort of starter Activity before their application -- no original source codes and recompiling required on their end but just their existing .apk file. Is this even possible? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] ninePatch bug?
Hi: I create a ninepatch image from a png, and I draw it by draw9patch.bat. However, when I put the new png under drawable folder and put it on to a imageview controller, sawtooth shows without any stretching and compressing. Does anyone find the same issue? Thanks. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Sending key event to foreground app from background app.
http://www.slideshare.net/CodeAndroid/android-intent-intent-filter-broadcast-receiverstry this. http://www.slideshare.net/CodeAndroid/android-intent-intent-filter-broadcast-receivers Broadcast Intent and BroadcastReceiver is all you need. On Wed, Dec 8, 2010 at 2:46 PM, nikki nikhileshsingh...@gmail.com wrote: Hi Group My query is I have a service running in a separate application process and a activity in another application process running in foreground. Can i send key event from the service to foreground activity. If yes how can i achieve this. Thanks in advance. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Beside the Planet of Big Blue Sea, lies the moon called proteus . Please come and visit me :) -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Dex not working with spaces in path on the new android platform tools (V8)
On the new android platform tools (v8) released with the 2.3 SDK, I get an error while running dex from the ant script I typed the usual ant release, and got an error in the dex stage -dex: [echo] Converting compiled files and external libraries into C: \Documents a nd Settings\omri\My Documents\my app\builddir\classes.dex... [apply] =C:\Documents was unexpected at this time. BUILD FAILED C:\Android\tools\ant\main_rules.xml:449: The following error occurred while exec uting this line: C:\Android\tools\ant\main_rules.xml:199: apply returned: 255 I know its because of the spaces in the path, but I'm not sure as to how to fix this. any help would be very appreciated. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] device id
I used device.uuid to get device id of the phone. Is this you want or something else? Full Example: !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01//EN http://www.w3.org/TR/html4/strict.dtd; html head titleDevice http://docs.phonegap.com/phonegap_device_device.md.html#Device Properties Example/title script type=text/javascript charset=utf-8 src=phonegap.js/script script type=text/javascript charset=utf-8 // Wait for PhoneGap to load // function onLoad() { document.addEventListener(deviceready http://docs.phonegap.com/phonegap_events_events.md.html#deviceready, onDeviceReady, false); } // PhoneGap is ready // function onDeviceReady() { var element = document.getElementById('deviceProperties'); element.innerHTML = 'Device http://docs.phonegap.com/phonegap_device_device.md.html#Device Name: ' + device.name http://docs.phonegap.com/phonegap_device_device.md.html#device.name + 'br /' + 'Device http://docs.phonegap.com/phonegap_device_device.md.html#Device PhoneGap: ' + device.phonegap http://docs.phonegap.com/phonegap_device_device.md.html#device.phonegap + 'br /' + 'Device http://docs.phonegap.com/phonegap_device_device.md.html#Device Platform: ' + device.platform http://docs.phonegap.com/phonegap_device_device.md.html#device.platform + 'br /' + 'Device http://docs.phonegap.com/phonegap_device_device.md.html#Device UUID: ' + device.uuid http://docs.phonegap.com/phonegap_device_device.md.html#device.uuid + 'br /' + 'Device http://docs.phonegap.com/phonegap_device_device.md.html#Device Version: ' + device.version http://docs.phonegap.com/phonegap_device_device.md.html#device.version + 'br /'; } /script /head body onload=onLoad() p id=devicePropertiesLoading device properties.../p /body /html On Wed, Dec 8, 2010 at 10:48 AM, yanamala siddaiah siddaiahforj...@gmail.com wrote: HOw to get device id using phone gap application. device.uuid ; not working for this one . -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: JPEG Image has a map
Thank guys for your suggestion @Frank What do you mean Mobile CAD, i want just a mark up on the JPEG image based on predefined locations , thats it. i thot Google Map API would provide me better support of doing markup if i am able to convert JPEG image into google map do u have any good pointer or reference to application which does mark up on image. @Igor Buddy, i have developed an application to draw a image on MapView , logic wise i know its right somewhere i am messing with certain objects which leads to exception . so i requested for sample code so that i can cross verify regards Sal On Dec 8, 6:04 am, ip332 iprile...@gmail.com wrote: Sol, No offense, but ability to debug the application (especially when you have source code and debugging tools) is one of the most basic things any programmer must have. Yes, Android make programming looks like a pretty simple and easy activity however when you don't understand what are you doing and cannot debug the problem - you won't get anything good out of it. They say There is no replacement for a displacement about a car engine. Same here - you can't ask for a ready-to-use code to get more or less acceptable result unless you spent certain amount of time, nerves, coffee, etc. Nobody get it from the first time. Google it, ask questions but do not expect someone to solve your problem. Anyway I will try to create a sample app but don't know when I'll have time (my current program belongs to the company) On Dec 6, 11:54 pm, sal suhailb...@gmail.com wrote: thanks for ur concerns, @Frank I have JPEG sketch of my apartment, getting just geocode of my apartment doesnt serve my purpose. i want to do location markup on that JPEG image, i have stored location information which i want to mark on the image using android API's so i want to convert my image as a google map then use android API's to mark location on that. let me know if u need more information. @Igor As i am new to android can u give me simple example with main activity illustrating on how to draw JPEG image on MapView with overlays to mark on the co-ordinate of the image i tried doing it but i am getting NULL exception while using overlays rgds Sal On Dec 6, 6:46 am, ip332 iprile...@gmail.com wrote: I used the Overlay class for this purpose. Here is the main part of the MyOverlay::Draw() method: // convert bitmap's bounding box into pixels Point top_left = new Point(); mapView.getProjection().toPixels(min, top_left); Point bottom_right = new Point(); mapView.getProjection().toPixels(max, bottom_right); // Prepare two rectangles (pixels) Rect src = new Rect( 0,0,bmp.getWidth() - 1, bmp.getHeight() - 1 ); Rect dst = new Rect( top_left.x, bottom_right.y, bottom_right.x,top_left.y ); // draw bitmap canvas.drawBitmap( bmp, src, dst, null); Since it uses current mapView then zooming and panning are supported automatically. Obviously you need to know left top (GeoPoint min in the code above) and right bottom (GeoPoint max) coordinates for your picture (I used Google Earth for this purpose). Good luck. Igor On Dec 5, 6:36 am, suhail ahmed suhailb...@gmail.com wrote: Hi, I have JPEG, PDF of sketch of my apartment, i want to make it as a google map so that i can use Google API's (geocoding, reverse geocoding) on that. may i know the solution for the problem regards Sal -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Buying your own App, Testing Licensing
Reply inline, below... On Dec 7, 12:23 pm, Brill Pappin br...@pappin.ca wrote: So, apparently i'm unable to buy my own app. Two problems: First is that it looks like Market wont accept my Google Apps credentials even though I have a valid checkout account (including merchant account). This thread describes others having the same problem:http://www.google.as/support/forum/p/Google+Apps/thread?tid=78d6fa09f... You'll need to register for a regular (non-Google Apps) account. This has been the case for quite a while. You can do so here: https://www.google.com/accounts/NewAccount Also, I came across another bit of info saying that developers are *not allowed* to buy their own apps re the Google Checkout policies. The problem is that in order for licensing to be tested properly, not to mention I actually want to *use* my own app (because i like it), I need to get it through the Market. See:http://market.android.com/support/bin/answer.py?hl=enanswer=141659 Create a new GMail account for testing purposes. -- Trevor Johns -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] playing yuv file
Can you show me your key codes for displaying? Then I maybe give u some useful information. 2010/12/8 venu venuthepo...@gmail.com: Hi everyone, I am playing a yuv file on my hardware using my one own c application(using v4l2 interface).It is playing but display is not comming.If i play the samething on linux its gets display on lcd. In android just some blinking is there on lcd apart from that nothing is showing. How to play yuv file in android using own application or using android application. Any suggestion welcome.. Thanks in advance -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] How to sort MergeCursor rows?
Hi, I have two different cursors, from two different ContentProviders , to return. I am using MergeCursor to merge the two cursors into one. But i have to give the data in sorted manner. How can i sort MergeCursor? Thanks in advance. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: SDK 2.3: Get Multiple substitutions specified in non-positional format error
On 7 Dez., 16:39, Mark Murphy mmur...@commonsware.com wrote: On Tue, Dec 7, 2010 at 10:35 AM, Ecthelion ep...@joergjahnke.de wrote: Yes, if the library project includes all the sources. But in this case part of the foreign code is inside a jar file. Resources cannot be in a JAR file. Yes, but I never said so. I said foreign code is inside the jar file. And can I really be sure that the string is not used somewhere inside this library (e.g. via getResources().getIdentifier(...)) in a way that breaks once I modify the resource? Yes. Sorry, but the answer is no. Context.getResources().getIdentifier(...) allows any resource inside the project to be accessed via its name. So there could be code inside the library jar that accesses the string properties that I am to modify because they contain %s %s or similar text. And I can't be sure that such text then gets processed correctly. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Repacking a .apk file
I don't think so. Kumar Bibek http://techdroid.kbeanie.com http://www.kbeanie.com On Wed, Dec 8, 2010 at 11:44 AM, TigerFox harold.alc...@gmail.com wrote: Hi all, Forgive my ignorance, I would just like to ask if it possible for me to repack (unpack and pack the binaries again and sign it using my own certificates) a .apk file that's been done by another party? Well, let's just say I've got this special agreement with a third party that I can add features or some sort of starter Activity before their application -- no original source codes and recompiling required on their end but just their existing .apk file. Is this even possible? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Improvement of existing Android App - Setting
You have to checkout the whole source code I guess, or atleast it's dependencies. Kumar Bibek http://techdroid.kbeanie.com http://www.kbeanie.com On Wed, Dec 8, 2010 at 5:51 AM, Yu ywu...@gmail.com wrote: Hi, I would like to improve exisiting functions of android - setting. I have checked out the 'Setting' application from repo, but how can I compile it ? There are missing classes - such as os.properties, etc. Thanks a lot. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Camera preview issue on SDK 2.3 emulator?
Am I really the only one with this problem? Even the built-in camera app gives me only a blank screen in the SDK 2.3 emulator, but after taking a snapshot I do get a picture of the familiar green Android in the Gallery. Thanks On Dec 7, 12:27 pm, blindfold seeingwithso...@gmail.com wrote: Just found that the CameraPreview sample that comes bundled with SDK 2.3 compiles fine but also gives me a plain white preview screen in the SDK 2.3 emulator on Windows 7 64-bit, so apparently it is not (just) my app not playing by the new rules. Any ideas? Gingerbread hardware acceleration acting up? Thanks On Dec 7, 11:24 am, blindfold seeingwithso...@gmail.com wrote: In testing my camera app in the SDK 2.3 emulator, I find that it runs OK *except* that the live camera preview is missing and instead shows a plain white area. Is anyone else experiencing this? Despite the live preview not showing, I can still do image processing as expected and redraw the emulator's familiar built-in checkerboard video on the screen, but the direct preview is plain white despite the video data in the preview callback apparently being fine. Is there some change in SurfaceView/SurfaceHolder handling or something? My app runs fine in SDK 1.6 through 2.2 devices and emulators, and I wonder what is causing the preview issue with SDK 2.3. I'm not using any of the new camera API features of SDK 2.3, for backward compatibility, and I am not observing any exceptions being thrown. Thanks! The vOICe for Androidhttp://www.seeingwithsound.com/android.htm -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Android 2.3 android.net.sip package question.
Hello folks, I'm looking at sip package in adroid 2.3 and i found it's great! so I'got some questions about it. 1. what codecs does SipAudioCall support?(G.711/729/AMR/etc.) Does google use GIPS codec internally? :) 2. If I use SipSession (instead of SipAudioCall), do I have to implement any media related functions(rtp/rtcp, audio en/decode, etc) by myself? 3. Is there any way to send non-INVITE message like UPDATE, REFER and MESSAGE using SipSession or any others ? 4. The description of auto-registration is not sufficient to me, so I want to explain exactly how it work in Android 2.3. Thanks in advance. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Repacking a .apk file
Possible. This is what some thieves do with other's applications. You need to change the extension to .zip from .apk. Then extract the files. Remove to META-INF directory (to make it unsigned). Modify the contents. Then, make zip, change extension to .apk to .zip. Finally sign the apk with your own cert. Search in google or this group. I hope you really have an agreement, though I have never heard of this kind of agreement. If I was the first party to have any such agreement, I would send you an unsigned apk, you would add your contents, sign and publish. And, if I had done the major development, I would rather ask you to send me the part you developed, then add that and sign with my cert and then publish. Regards Sarwar Erfan -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: ninePatch bug?
Did you set the stretch and content areas correctly in the 9 patch? And are you using correct filename format (file.9.png)? Regards Sarwar Erfan -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Improvement of existing Android App - Setting
Some built-in applications use internal (private) APIs that are not part of the SDK. So if you're looking to modify some code and create an regular application, it may need code changes to replace those. -- Kostya 08.12.2010 12:06, Kumar Bibek ?: You have to checkout the whole source code I guess, or atleast it's dependencies. Kumar Bibek http://techdroid.kbeanie.com http://www.kbeanie.com On Wed, Dec 8, 2010 at 5:51 AM, Yu ywu...@gmail.com mailto:ywu...@gmail.com wrote: Hi, I would like to improve exisiting functions of android - setting. I have checked out the 'Setting' application from repo, but how can I compile it ? There are missing classes - such as os.properties, etc. Thanks a lot. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com mailto:android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com mailto:android-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Kostya Vasilyev -- WiFi Manager + pretty widget -- http://kmansoft.wordpress.com -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Android 2.3 SDK Emulator is very slow
Yes, with every coming sdk version the emulator becomes slower. On 7 Грд, 23:59, Alexei 'keyhell' Zhurba keyh...@keyhell.org wrote: Hello! I use Eclipse + ADT + Android SDK for development. Current configuration is Eclipse Helios SR1 20100917-0705 + ADT 8.0.1.v201012062107-82219 + Android 2.3 SDK on Windows 7 32-bit. SDK emulator works very slow or freezes at the boot time. Here is the summary of what was done/observed. 1) The problem appeared after I updated my SDK to 2.3, and ADT to 8.0.0 (and then 8.0.1). I haven't observed such problem before 2.3/8.0.0 update. Clean install of Eclipse and SDK doesn't help. 2) It doesn't look like ADT or Eclipse problem, because running emulator.exe directly from console gives exactly the same result (as well as using SDK Manager). 3) It doesn't matter what AVD target is. Reproduced for 2.1/2.2/2.3. 4) Running emulator -debug-all it stucks at (emulator windows is not responding): emulator: goldfish_audio_write: AUDIO_INT_ENABLE 7 emulator: goldfish_audio_write: AUDIO_INT_ENABLE 0 emulator: goldfish_audio_write: AUDIO_INT_ENABLE 7 emulator: goldfish_audio_write: AUDIO_INT_ENABLE 0 emulator: goldfish_audio_write: AUDIO_INT_ENABLE 7 5) emulator -noaudio doesn't help. I also tried to give more memory (-memory), but it doesn't help too. I appreciate any suggestions of what can I do to fix the problem. Alexei. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: What Tablet would you get
Are you on windows, Linux or Mac? You'll have to manually add the vendor ID to your arbitrary settings, but where you do that depends on your platform. On Dec 8, 2010 12:30 AM, Gus gussab...@yahoo.com wrote: Hi Jon: I also have the VIewsonic 10 Tablet, and I think it's great. However, I'm having trouble to debug my programs because it's not being recognized for ADB. Did you try that? Is it working for you? I couldn't get the drivers from Viewsonic for that. Thanks; Gus On Dec 7, 11:00 am, Jon F Hancock jonfhanc...@gmail.com wrote: So the more I use my Viewsonic g Tablet, the more I love it. It does have some weird issues, but in general, it is fantastic. After using Android and especially playing Angry Birds on a nice big 10 screen, my phone seems useless. If I wasn't so concerned about having internet everywhere, I would switch to a feature phone, and just use the tablet for internet and gaming. It's also comforting that my main app (LauncherPro Icons) works beautifully on the higher resolution screen. I want to scream at Google though because the Google Reader app looks great in the listing activity, then when you go to actually read a story, it confines itself to a little window the size of my phone... What is so hard about following the design guidelines of fluid resizing, Google? On Fri, Dec 3, 2010 at 4:25 PM, Bill Morgan b...@bmorgan.com wrote: On 12/3/2010 6:09 PM, Phil Endecott wrote: Giving a crapo resistive cheaptab would be an insult. So buy a NOOKcolor. Or an iPad :-) (Anyone here played with the new Nook yet? I think I need to get one.) Had one for about a week now. Seems solid. BN just made their SDK available today. People over at XDA got it rooted this week: http://forum.xda-developers.com/ -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com android-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en- Hide quoted text - - Show quoted text - -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: ninePatch bug?
Yes, I read the api guideline carefully. On Wed, Dec 8, 2010 at 5:26 PM, Sarwar Erfan erfanonl...@gmail.com wrote: Did you set the stretch and content areas correctly in the 9 patch? And are you using correct filename format (file.9.png)? Regards Sarwar Erfan -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: ninePatch bug?
On Wed, Dec 8, 2010 at 9:37 AM, 陈彧堃 chenyuku...@gmail.com wrote: Yes, I read the api guideline carefully. Did you mark the stretchable regions correctly? Did you see in the tool itself your PNG correctly stretched? Any chance of you pasting that image somewhere for people to look at? Daniel -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: ninePatch bug?
Not sure which bug you mean. I now of two troubles with 9patch-drawables: - AFAIR (might be wrong): If you've got only ldpi/mdpi images and a hdpi device, the images are first stretched with 9patch to the mdpi pixel size and then to hdpi. I.e., the corners might become sawtoothy, but will stay the same relative size on the device. Solution: Just put hdpi images to the corresponding resource folder - depending on your images, they could be the same, if smaller corners don't matter. - ImageViews will ignore the 9patch-border and stretch the inner image like they do with every other image. This is especially annoying because it would be the only way to offer skinable backgrounds for app widgets, where there's no setBackgroundViewResource. Otherwise you can do a simple workaround by using setBackgroundResource. (Better use FrameView, you don't need a foreground and the overhead of ImageView in that use case.) - Loading an image first and then setting it (as Bitmap or Drawable) will always lose the information it's been a 9patch-drawable On 8 Dez., 06:15, Yukun Chen chenyuku...@gmail.com wrote: Hi: I create a ninepatch image from a png, and I draw it by draw9patch.bat. However, when I put the new png under drawable folder and put it on to a imageview controller, sawtooth shows without any stretching and compressing. Does anyone find the same issue? Thanks. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Widget is not removed after the application is uninstalled
If it's not a bug, it's certainly the known behavior of the OS, and always has been. Froyo is a bit better at this than previous versions, although still far from 100%. It sometimes will remove appwidgets when the underlying app is uninstalled; I think it happens when the Launcher has focus, though I wouldn't swear to that. I don't immediately see a bug for this on b.android.com, so feel free to file one. String -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] developer.android.com cannot be retrieved
On 7 December 2010 21:01, andrioTurk mrundergroundmeis...@gmail.com wrote: At this very first post, i'd like to ask a question about the problem as in the subject title. Not fully sure what you talk about exaclty but http://developer.android.com/ works fine if you ask. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] triggering a refund from within an application
On 7 December 2010 20:26, Ian tetris...@gmail.com wrote: Is there a way to trigger a refund from within an application purchased on the android marketplace? No. Launch Market application with details page on your app instead. What if I call Intent.ACTION_DELETE to uninstall the app? Will the user receive his money back as well? Uninstalling app from device is not triggering refund which makes sense as these two operations are not mandatory related. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Proguard and Conversion to Dalvik format failed with error 1
Dear, When I used the default proguard configuration, I have got the following error : Conversion to Dalvik format failed with error 1 I have found a blog explaining more about this error : http://bimbim.in/post/2010/09/24/Reason-of-Conversion-to-dalvik-format-failed-with-error-1.aspx So, the problem seems to be all Java class can't be convert to dex file when I use proguard. Nice, but How can I solve the problem ? I am using three external jars and two android libraries. Regards, Olivier -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Android 2.3 SDK Emulator is very slow
Well... Yes, but in my case it's unreasonably slow. Looking at -debug-all output it's clear it stucks at: emulator: goldfish_audio_write: AUDIO_INT_ENABLE 7emulator: goldfish_audio_write: AUDIO_INT_ENABLE 0 emulator: goldfish_audio_write: AUDIO_INT_ENABLE 7emulator: goldfish_audio_write: AUDIO_INT_ENABLE 0 emulator: goldfish_audio_write: AUDIO_INT_ENABLE 7emulator: goldfish_audio_write: AUDIO_INT_ENABLE 0 emulator: goldfish_audio_write: AUDIO_INT_ENABLE 7emulator: goldfish_audio_write: AUDIO_INT_ENABLE 0 -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en