[android-developers] Unable to view my posts

2010-12-07 Thread adithya narayan
Hi,

I have written 10 posts in the month of november and 2 in the december. When
i login to google groups it shows me the following :

*Activity in *
 All 2 Groups -- 15 messages Android Developers (13) vogella (2)
  Reading/writing messages in android
applicationhttp://groups.google.com/group/android-developers/browse_thread/thread/66afe64185514189/8fb7b397fdfe73fd#8fb7b397fdfe73fd
   Android
Developers http://groups.google.com/group/android-developers  Nov 28  Content
Provider and Content
Resolverhttp://groups.google.com/group/android-developers/browse_thread/thread/ca37f7a1238a0015/726410d287534d31#726410d287534d31
   Android
Developers http://groups.google.com/group/android-developers  Nov 28  Android
Project association with an
emulator(s)http://groups.google.com/group/android-developers/browse_thread/thread/fb5197aaf2e116b5/753519dedf198633#753519dedf198633
   Android
Developers http://groups.google.com/group/android-developers  Nov 18  Android
Project association with an
emulator(s)http://groups.google.com/group/android-developers/browse_thread/thread/fb5197aaf2e116b5/9098cb80551923e2#9098cb80551923e2
   Android
Developers http://groups.google.com/group/android-developers  Nov 17  Android
Project association with an
emulator(s)http://groups.google.com/group/android-developers/browse_thread/thread/fb5197aaf2e116b5/37ceccbe9a37d05a#37ceccbe9a37d05a
   Android
Developers http://groups.google.com/group/android-developers  Nov 14  Android
source code 
(complete)http://groups.google.com/group/android-developers/browse_thread/thread/fb695fcd08617cde/8d20dca1329b9168#8d20dca1329b9168
   Android
Developers http://groups.google.com/group/android-developers  Nov 6  Android
source code 
(complete)http://groups.google.com/group/android-developers/browse_thread/thread/fb695fcd08617cde/06561ad3dc1d89e6#06561ad3dc1d89e6
   Android
Developers http://groups.google.com/group/android-developers  Nov 4  Android
source code 
(complete)http://groups.google.com/group/android-developers/browse_thread/thread/fb695fcd08617cde/823c70e35b68aee4#823c70e35b68aee4
   Android
Developers http://groups.google.com/group/android-developers  Nov 3  Android
source code 
(complete)http://groups.google.com/group/android-developers/browse_thread/thread/fb695fcd08617cde/6feee529f7b6dfaf#6feee529f7b6dfaf
   Android
Developers http://groups.google.com/group/android-developers  Nov 2  Using
JFace Tables API with Eclipse RCP -
Tutorialhttp://groups.google.com/group/vogella/browse_thread/thread/bed44deb76160cba/551922c9446bf6a3#551922c9446bf6a3
vogella http://groups.google.com/group/vogella  Feb 26 2009  Show
all 
»http://groups.google.com/groups/search?scoring=dfilter=0enc_author=vAKnWBMAAACGpkMOQqWkZLwLuirzAD8HWMj6vob75xS36mXc24h6ww
  Post Activity Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec
2009 2
http://groups.google.com/groups/search?scoring=dfilter=0enc_author=vAKnWBMAAACGpkMOQqWkZLwLuirzAD8HWMj6vob75xS36mXc24h6wwas_drrb=bas_mind=1as_minm=2as_miny=2009as_maxd=28as_maxm=2as_maxy=2009
2010   10
http://groups.google.com/groups/search?scoring=dfilter=0enc_author=vAKnWBMAAACGpkMOQqWkZLwLuirzAD8HWMj6vob75xS36mXc24h6wwas_drrb=bas_mind=1as_minm=11as_miny=2010as_maxd=30as_maxm=11as_maxy=2010
  3
http://groups.google.com/groups/search?scoring=dfilter=0enc_author=vAKnWBMAAACGpkMOQqWkZLwLuirzAD8HWMj6vob75xS36mXc24h6wwas_drrb=bas_mind=1as_minm=12as_miny=2010as_maxd=31as_maxm=12as_maxy=2010



Now, when i click on 3 posts of december it tells me :

*Your search - - did not match any documents. *


For November, when i click on *10* it shows me only four of them and i can't
view my other posts !!
Can anyone please help me ?

-- 


- Adithya Narayan

-- 


- Adithya Narayan

-- 
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

2010-12-07 Thread dario
Fix is in master repo (verified) and it seems like 8.0.1 is ready to
go, however I'm seeing a problem with the layout editor and custom
views that have a dependency on a class that is in a referenced Java
project.

At least the error is accurate this time: NoClassDefFound: name of
class

-Dario

On Dec 7, 1:23 am, Nate nathan.sw...@gmail.com wrote:
 Is the fix ready yet? :D

 -Nate

 On Dec 6, 5:00 pm, Mario Zechner badlogicga...@gmail.com wrote:







  Awesome thanks a bunch :)

  On 7 Dez., 01: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 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 

Re: [android-developers] Re: ProGuard Integration?

2010-12-07 Thread ryan cheng
I also get the same problem with the eclipse helios :

!ENTRY com.android.ide.eclipse.adt 4 0 2010-12-07 16:09:23.125
!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.project.ExportHelper$2.run(Unknown
Source)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)


2010/12/7 Michael A. michael.aki...@gmail.com

 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(Unknown
 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,

 Michael A.



 On Dec 7, 12:18 am, Michael A. michael.aki...@gmail.com wrote:
  Thanks. I found it shortly after posting this (incidentally, the link
  in the Android market points to the wrong page).
 
  Great stuff. I love the many small things like these in 2.3 that help
  makes the lives of the developers easier. :-)
 
  Regards,
 
  Michael A.
 
  On Dec 7, 12:07 am, Xavier Ducrohet x...@android.com wrote:
 
   Doc about the integration is there:
 http://developer.android.com/guide/developing/tools/proguard.html
 
   In a nutshell:
   - it's packaged with the SDK
   - all you have to do is create a proguard config file somewhere and
   specify its location in default.properties.
   - Whenever you do a release build (ant release or export
   signed/unsigned package from Eclipse) it'll run proguard on your code.
 
   more info:
 http://developer.android.com/guide/developing/tools/proguard.html
 
   On Mon, Dec 6, 2010 at 3:01 PM, Michael A. michael.aki...@gmail.com
 wrote:
Hi,
 
The release notes for the new ADT/SDK mentions integrated ProGuard
support, which I find very interesting, as I've been holding off on
the latest release partly for this feature.
 
Unfortunately, it does not appear that easy. There are not any
 obvious
interface changes that I have been able to find, and a search of the
website does not turn up any documentation (at this moment). Has
anyone been able to find the documentation for this or been able to
figure out in what way ProGuard has been integrated?
 
Regards,
 
Michael A.
 
--
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

Re: [android-developers] Re: ProGuard Integration?

2010-12-07 Thread ryan cheng
OK , now i found  one way to fix this problem

1, set up the  PROGUARD_HOME EVN PATH to  sdk-root\tools\proguard

2, restart eclipse

3, now it work fine!

2010/12/7 Michael A. michael.aki...@gmail.com

 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(Unknown
 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,

 Michael A.



 On Dec 7, 12:18 am, Michael A. michael.aki...@gmail.com wrote:
  Thanks. I found it shortly after posting this (incidentally, the link
  in the Android market points to the wrong page).
 
  Great stuff. I love the many small things like these in 2.3 that help
  makes the lives of the developers easier. :-)
 
  Regards,
 
  Michael A.
 
  On Dec 7, 12:07 am, Xavier Ducrohet x...@android.com wrote:
 
   Doc about the integration is there:
 http://developer.android.com/guide/developing/tools/proguard.html
 
   In a nutshell:
   - it's packaged with the SDK
   - all you have to do is create a proguard config file somewhere and
   specify its location in default.properties.
   - Whenever you do a release build (ant release or export
   signed/unsigned package from Eclipse) it'll run proguard on your code.
 
   more info:
 http://developer.android.com/guide/developing/tools/proguard.html
 
   On Mon, Dec 6, 2010 at 3:01 PM, Michael A. michael.aki...@gmail.com
 wrote:
Hi,
 
The release notes for the new ADT/SDK mentions integrated ProGuard
support, which I find very interesting, as I've been holding off on
the latest release partly for this feature.
 
Unfortunately, it does not appear that easy. There are not any
 obvious
interface changes that I have been able to find, and a search of the
website does not turn up any documentation (at this moment). Has
anyone been able to find the documentation for this or been able to
figure out in what way ProGuard has been integrated?
 
Regards,
 
Michael A.
 
--
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

Re: [android-developers] [北京招聘]安卓联航 公司招聘Android人才

2010-12-07 Thread ryan cheng
国人的素质又一次被代表了... \(^o^)/~

在 2010年12月7日 上午10:41,何斌斌 hbbs...@gmail.com写道:

 薪资面议,如果您对我们公司感兴趣,有意加入我们,请将您的简历发至: 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.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.comandroid-developers%2bunsubscr...@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.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: How to tell System Apps vs. User Installed Apps

2010-12-07 Thread Dianne Hackborn
Yes, use FLAG_SYSTEM.  Don't look at paths.  I can guarantee trying to infer
things from paths will break in the future.

On Mon, Dec 6, 2010 at 7:20 PM, XC He schosnab...@gmail.com wrote:

 System app is installed under /system/app
 In theory, it cannot be uninstall.
 you can use applicationinfo to fing the flags, if the flags contains
 FLAG_SYSTEM, it could be system app.

 import android.content.pm.ApplicationInfo;
 import android.content.pm.PackageManager;

 PackageManager pm = context.getPackageManager();
 ApplicationInfo appInfo = pm.getApplicationInfo(yourpackageName, 0);

 if (appInfo.flags  ApplicationInfo.FLAG_SYSTEM){
 ...
 }

 2010/12/7 Bob Kerns r...@acm.org:
  It's always refreshing to see people paying attention to
  internationalization issues. :=)
 
  On Dec 6, 12:39 pm, Brad Gies rbg...@gmail.com wrote:
  Well.. the comment would work... but I'd need translations :).
 
  --
  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.comandroid-developers%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en




-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

-- 
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: The connection to adb is down

2010-12-07 Thread pramod.deore
After installing 2.3 SDK I got adb inside D:\AndroidSetup\android-sdk-
windows\platform-tools directory. I had set this path in environment
variable and my problem is solved.

Thanks

On Dec 7, 12:36 pm, pramod.deore deore.pramo...@gmail.com wrote:
  as of new 2.3 SDK, tools_r8 has a another path to add to your runtime
  path:

 It means I have to give path of 2.3?

 On Dec 7, 12:28 pm, dario dario.nycj...@gmail.com wrote:

  as of new 2.3 SDK, tools_r8 has a another path to add to your runtime
  path:
  android-sdk-location/platform-tools (in addition to tools)

  -Dario
  On Dec 7, 1:57 am, pramod.deore deore.pramo...@gmail.com wrote:

   when i tried to execute command - adb kill-server  then it gives me
   error as 'adb' is not recognized as an internal or external command,
   operable program or batch file.

   On Dec 7, 11:51 am, pramod.deore deore.pramo...@gmail.com wrote:

Hi all,

Today when I started my eclipse and try to run the application then I
got following error.
[2010-12-07 12:17:14 - ListViewA] The connection to adb is down, and a
severe error has occured.
[2010-12-07 12:17:14 - ListViewA] You must restart adb and Eclipse.
[2010-12-07 12:17:14 - ListViewA] Please ensure that adb is correctly
located at 'D:\AndroidSetup\android-sdk-windows\tools\adb.exe' and can
be executed.

when i check D:\AndroidSetup\android-sdk-windows\tools\ then there is
no adb tool file.

I try to search it on google but still my problem is not solved.
Somebody know how to solve this issue?
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] Specs say High Resolution Application Icon has alpha, it doesn't

2010-12-07 Thread webmonkey
There is an updated post titled Graphic Assets for your Application
at

http://market.android.com/support/bin/answer.py?hl=enanswer=1078870

for the hi-res app icon it says:

Specs: 512x512, 32-bit PNG with alpha; Max size of 1024KB.

But the Market console says (no alpha) and the preview does not show
the alpha, so what is it?

-- 
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-07 Thread 何斌斌
Thanks for your reply.   [?]

在 2010年12月7日 下午4:23,ryan cheng ryan.h...@gmail.com写道:

 国人的素质又一次被代表了... \(^o^)/~

 在 2010年12月7日 上午10:41,何斌斌 hbbs...@gmail.com写道:

 薪资面议,如果您对我们公司感兴趣,有意加入我们,请将您的简历发至: 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.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.comandroid-developers%2bunsubscr...@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.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.comandroid-developers%2bunsubscr...@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=en330.gif

[android-developers] Re: The connection to adb is down

2010-12-07 Thread pramod.deore
Oh no !!
I cant run application when I tried to install application through
command prompt then it again gives me the same error as

D:\AndroidSetup\MyProject\NewHomeAutomation\binadb install
NewHomeAutomation.ap
k
'adb' is not recognized as an internal or external command,
operable program or batch file.

what to do?



On Dec 7, 1:28 pm, pramod.deore deore.pramo...@gmail.com wrote:
 After installing 2.3 SDK I got adb inside D:\AndroidSetup\android-sdk-
 windows\platform-tools directory. I had set this path in environment
 variable and my problem is solved.

 Thanks

 On Dec 7, 12:36 pm, pramod.deore deore.pramo...@gmail.com wrote:

   as of new 2.3 SDK, tools_r8 has a another path to add to your runtime
   path:

  It means I have to give path of 2.3?

  On Dec 7, 12:28 pm, dario dario.nycj...@gmail.com wrote:

   as of new 2.3 SDK, tools_r8 has a another path to add to your runtime
   path:
   android-sdk-location/platform-tools (in addition to tools)

   -Dario
   On Dec 7, 1:57 am, pramod.deore deore.pramo...@gmail.com wrote:

when i tried to execute command - adb kill-server  then it gives me
error as 'adb' is not recognized as an internal or external command,
operable program or batch file.

On Dec 7, 11:51 am, pramod.deore deore.pramo...@gmail.com wrote:

 Hi all,

 Today when I started my eclipse and try to run the application then I
 got following error.
 [2010-12-07 12:17:14 - ListViewA] The connection to adb is down, and a
 severe error has occured.
 [2010-12-07 12:17:14 - ListViewA] You must restart adb and Eclipse.
 [2010-12-07 12:17:14 - ListViewA] Please ensure that adb is correctly
 located at 'D:\AndroidSetup\android-sdk-windows\tools\adb.exe' and can
 be executed.

 when i check D:\AndroidSetup\android-sdk-windows\tools\ then there is
 no adb tool file.

 I try to search it on google but still my problem is not solved.
 Somebody know how to solve this issue?
 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] Re: New ADT and SDK breaks Eclipse (Again!)

2010-12-07 Thread Kostya Vasilyev

07.12.2010 8:48, Zarah пишет:

- Some errors where encountered when installing, failure to rename a
file?  The dialog says close all anti-virus software, so I did that. I
also closed down all instances of Windows Explorer.  I tried to run
Unlocker on the folder in question, and it said only Eclipse is using
the folder.  Here's the error from the SDK manager:
Failed to rename directory C:\android-sdk-windows\platforms\android-7
to C:\android-sdk-windows\temp\PlatformPackage.old02.
Failed to rename directory C:\android-sdk-windows\platforms\android-3
to C:\android-sdk-windows\temp\PlatformPackage.old02.


Updating the SDK outside of Eclipse helps avoid these (run android.bat 
to launch the SDK/AVD manager).


--
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: Problem removing from listView

2010-12-07 Thread Zarah
Instead of getting the ID, maybe you should get the actual string
associated with that ID.  Then loop through all entries on your
ArrayList of Names, and then compare using
Name.get(i).equals(nameSelected).  If this returns true, then delete.

Remember to make a character-by-character comparison on Strings,
use .equals and not ==.


Hope this helps.


-Zarah.



On Dec 7, 12:04 pm, Kevin Anthony kevin.s.anth...@gmail.com wrote:
 I'm not trying to clear the list
 I'm trying to remove all names that are equal to the name you asked to
 remove.

 you have a list of
 bob
 bob
 tom
 tim
 sam
 suzie

 you click on one bob, both bobs get removed

 On Dec 6, 7:28 pm, Bret Foreman bret.fore...@gmail.com wrote:







  This is simpler:

  while( Name.size()  0 ) {
    Name.remove(0);

  }

  On Dec 6, 3:59 pm, Kevin Anthony kevin.s.anth...@gmail.com wrote:

   i have a ListString declared like this:
   private static ListString Name = new ArrayListString();
   private static ListString Number = new ArrayListString();
   private static ListString Address = new ArrayListString();
   private static ListString Email = new ArrayListString();

   and i'm trying to loop threw and delete them when a user longclicks on
   them and clicks delete
   here's the delete code:

   public void deleteName(long id){
                   String name = Name.get((int)id);
                   for (int i = 0; i  Name.size();i++) {
                           if (Name.get(i)== name){
                                   Name.remove(i);
                                   Number.remove(i);
                                   Address.remove(i);
                                   Email.remove(i);
                           }
                   }
                   return;
           }

   however, it only deletes the entry you click on, not all entries, i've
   done some log outputting and the Entries all look the same to my eye,
   even capilization.

   What am i doing wrong?

   Thanks
   Kevin A

-- 
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: Android 2.3: eclipse reporting Unable to execute dex: null

2010-12-07 Thread Tom Gibara
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.build(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.java:
 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.build(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.java:
 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 working Android
 

[android-developers] Re: ADT 8 doesn't include ADB??

2010-12-07 Thread Zarah
It's in Control Panel  System  Advanced System Settings 
Environment Variables, then under System Variables, scroll down to
PATH and change the value.

- Zarah.



On Dec 7, 5:23 am, Kumar Bibek coomar@gmail.com wrote:
 Update the path in environment variables.

 On 07-Dec-2010 2:48 AM, WhitneyApps whitneya...@gmail.com wrote:

 I see the new platform-tools\adb.exe, but how do I change that path in
 Eclipse?  (I'm on Windows.  On Unix, I could just hack it with a
 symlink until everthing was updated!)

 Thanks,

 Steve

 On Dec 6, 10:11 am, Kumar Bibek coomar@gmail.com wrote:

  You have to change the path to /pla...
  Kumar Bibekhttp://techdroid.kbeanie.comhttp://www.kbeanie.com

  On Mon, Dec 6, 2010 at 11:39 PM, mitch moesk8...@gmail.com wrote:
   So i upgraded to ADT...
   android-developers+unsubscr...@googlegroups.comandroid-developers%2Bunsubs
cr...@googlegroups.com

 android-developers%2bunsubs­cr...@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...

-- 
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] Specs say High Resolution Application Icon has alpha, it doesn't

2010-12-07 Thread Tom Gibara
Yes, a clarification would be nice, but I don't think it's essential
at this point.

If you upload a PNG with alpha, it's displayed with a black background
and no transparency. From this I conclude that the (no alpha) label
on the form component is accurate. At the same time, it's so alien to
have an icon without an alpha channel, that I've assumed it's a
temporary limitation of the market application that will be rectified
(hopefully soon).

The approach I've taken is to produce my 512x512 icons with an alpha
channel, but then export them with a white background before
uploading. This guarantees I'll have to upload them again, but it
seems safest if the icon is to be used on a Google website.

Tom.


On 7 December 2010 08:39, webmonkey webmonke...@gmail.com wrote:
 There is an updated post titled Graphic Assets for your Application
 at

 http://market.android.com/support/bin/answer.py?hl=enanswer=1078870

 for the hi-res app icon it says:

 Specs: 512x512, 32-bit PNG with alpha; Max size of 1024KB.

 But the Market console says (no alpha) and the preview does not show
 the alpha, so what is it?

 --
 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


Re: [android-developers] Re: Free version to Paid version

2010-12-07 Thread YuviDroid
To maintain two versions of the app, I personally simply use a static
boolean RELEASE_DEMO, that I set to true when releasing the demo one.
It's just a little pain that you have to rename the packages, and eventually
some code if it references the package in some hard-coded way. 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...


Yuvi

On Tue, Dec 7, 2010 at 3:50 AM, Brill Pappin br...@pappin.ca wrote:

 I've been thinking of trying that. It can only popup once to let the
 user know because it would be a real pain for them if it popped up
 every time the keyboard did :)

 However they would be able to click directly to download it or maybe
 tell it to remind them rather than just going away for ever.
 If you combine that with TreKing's idea of a button in the settings,
 and you have a pretty good chance that the user will know they have
 the option.

 I must say, I'm happy that the users will have a chance to try it free
 first, because its the kind of thing that there are many poor
 implementations of. Now I have to figure out how to maintain two
 versions of the app, as the library system seems to be very broken!

 - Brill Pappin

 On Dec 3, 5:52 pm, YuviDroid yuvidr...@gmail.com wrote:
  You could push an update to the free version, and then in its app
  description advertise the paid version. In this way users who will want
 to
  update their free-installed version will see the promo text in the
 market.
  (although they might use the Update all button and not see the new
  description...).
 
  I've never written an input-method, but if it's possible to show a dialog
  (or launch an activity) you could show a one time promotion of the paid
  version when your input method gets opened. Mmmdoes it make sense? :P
 
  Yuvi
 
 
 
 
 
 
 
 
 
  On Fri, Dec 3, 2010 at 11:12 PM, Brill Pappin br...@pappin.ca wrote:
   Actually, my question was not about a separate app, but more along the
   lines of how you tell the user they can upgrade. What ways work and
   are unobtrusive and what ways don't.
 
   - Brill Pappin
 
   On Dec 2, 5:46 pm, Leon Moreyn-Android Development
   lmor...@earthcam.com wrote:
pretty much thats the general method being used. One thing to
 consider
is unpublishing the app and releasing a paid version in its place.
 But
users may find that kinda a slap in the face. I would say do as your
doing, add features to the app and call it app Plus and charge money
for it. Remember though those feature need to be worth the price you
apply to the app though. What you can do is remove features in an
update to your free app and keep them in your paid version.
 
On Dec 2, 3:42 pm, Brill Pappin br...@pappin.ca wrote:
 
 I've got a situation a lot of us do, where I have released a free
 version and now need to make a Paid version of the same app.
 
 As those who have tried will know, you can't change an app from
 Free
 to Paid (a silly feature of the Market).
 
 So, what I'm planning to do is release a Plus version that has
 more
 features.
 
 What are others doing to help direct users to their paid versions
 from
 their Free versions?
 I'n my case its an input method, so I have to be careful about how
 I
 tell the user about the paid version with more features.
 
 Comments?
 
 - Brill Pappin
 
   --
   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.comandroid-developers%2Bunsubs
 cr...@googlegroups.com
   For more options, visit this group at
  http://groups.google.com/group/android-developers?hl=en
 
  --
  YuviDroid
  Check out Launch-X http://android.yuvalsharon.net/launchx.php (a
 widget to
  quickly access your favorite apps and contacts!)
 http://android.yuvalsharon.net

 --
 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




-- 
YuviDroid
Check out Launch-X http://android.yuvalsharon.net/launchx.php (a widget to
quickly access your favorite apps and contacts!)
http://android.yuvalsharon.net

-- 
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, 

[android-developers] Re: The connection to adb is down

2010-12-07 Thread pramod.deore
Just setting path to D:\AndroidSetup\android-sdk-windows\platform-tools
\;solves my issue.

On Dec 7, 1:40 pm, pramod.deore deore.pramo...@gmail.com wrote:
 Oh no !!
 I cant run application when I tried to install application through
 command prompt then it again gives me the same error as

 D:\AndroidSetup\MyProject\NewHomeAutomation\binadb install
 NewHomeAutomation.ap
 k
 'adb' is not recognized as an internal or external command,
 operable program or batch file.

 what to do?

 On Dec 7, 1:28 pm, pramod.deore deore.pramo...@gmail.com wrote:

  After installing 2.3 SDK I got adb inside D:\AndroidSetup\android-sdk-
  windows\platform-tools directory. I had set this path in environment
  variable and my problem is solved.

  Thanks

  On Dec 7, 12:36 pm, pramod.deore deore.pramo...@gmail.com wrote:

as of new 2.3 SDK, tools_r8 has a another path to add to your runtime
path:

   It means I have to give path of 2.3?

   On Dec 7, 12:28 pm, dario dario.nycj...@gmail.com wrote:

as of new 2.3 SDK, tools_r8 has a another path to add to your runtime
path:
android-sdk-location/platform-tools (in addition to tools)

-Dario
On Dec 7, 1:57 am, pramod.deore deore.pramo...@gmail.com wrote:

 when i tried to execute command - adb kill-server  then it gives me
 error as 'adb' is not recognized as an internal or external command,
 operable program or batch file.

 On Dec 7, 11:51 am, pramod.deore deore.pramo...@gmail.com wrote:

  Hi all,

  Today when I started my eclipse and try to run the application then 
  I
  got following error.
  [2010-12-07 12:17:14 - ListViewA] The connection to adb is down, 
  and a
  severe error has occured.
  [2010-12-07 12:17:14 - ListViewA] You must restart adb and Eclipse.
  [2010-12-07 12:17:14 - ListViewA] Please ensure that adb is 
  correctly
  located at 'D:\AndroidSetup\android-sdk-windows\tools\adb.exe' and 
  can
  be executed.

  when i check D:\AndroidSetup\android-sdk-windows\tools\ then there 
  is
  no adb tool file.

  I try to search it on google but still my problem is not solved.
  Somebody know how to solve this issue?
  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] Want to write a forum reader

2010-12-07 Thread Mystique
Hi,

I've done some Android programming and 2 apps on the market. I'm now
thinking to write a simplified mobile reader for a forum. Can anyone
give me some light what is involve and generally how to do it?

1. What is it involve to do web sign in? http? any example/code
documentation to study?
2. Formating of forum message to the mobile edition?

General ideal which direction to find so I can do the research.

Rgds,
CJ

-- 
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] Any news on an official update

2010-12-07 Thread Tanco
Any ideas on when we'll get the official update?
I cannot stress how important it is for my team to have this issue
fixed as soon as possible...
but how soon is as soon?

-- 
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] [SDK 2.3] Emulator launch failed with error `GLIBC_2.11' not found

2010-12-07 Thread Atul Raut
I have install Android sdk 2.3 on my linux machine

and tring to launch the emulator with sample code.

Eclipse IDE is throwing below error.

Emulator] /atul-linux/android-sdk-linux_86/tools/emulator:
/lib32/libc.so.6: version `GLIBC_2.11' not found (required
by/atul-linux/android-sdk-linux_86/tools/emulator)

Any pointers with help.

Thanks in Advance.

--
Atul Raut
 Android Telephony Engineer
http://rautatul.weebly.com/
http://rautatul.wordpress.com/
Mobile : 9581819292
atulrau...@gmail.com hack...@android.com

hack...@android.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: hai.......

2010-12-07 Thread SREEHARI
Hi John,

What do you mean by display message??? U mean toast or somrthing
else??


Regards,
Sreehari

-- 
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?

2010-12-07 Thread Michael A.
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(Unknown
  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,

  Michael A.

  On Dec 7, 12:18 am, Michael A. michael.aki...@gmail.com wrote:
  Thanks. I found it shortly after posting this (incidentally, the link
  in the Android market points to the wrong page).

  Great stuff. I love the many small things like these in 2.3 that help
  makes the lives of the developers easier. :-)

  Regards,

  Michael A.

  On Dec 7, 12:07 am, Xavier Ducrohet x...@android.com wrote:

   Doc about the integration is 
   there:http://developer.android.com/guide/developing/tools/proguard.html

   In a nutshell:
   - it's packaged with the SDK
   - all you have to do is create a proguard config file somewhere and
   specify its location in default.properties.
   - Whenever you do a release build (ant release or export
   signed/unsigned package from Eclipse) it'll run proguard on your code.

   more 
   info:http://developer.android.com/guide/developing/tools/proguard.html

   On Mon, Dec 6, 2010 at 3:01 PM, Michael A. michael.aki...@gmail.com 
   wrote:
Hi,

The release notes for the new ADT/SDK mentions integrated ProGuard
support, which I find very interesting, as I've been holding off on
the latest release partly for this feature.

Unfortunately, it does not appear that easy. There are not any obvious
interface changes that I have been able to find, and a search of the
website does not turn up any documentation (at this moment). Has
anyone been able to find the documentation for this or been able to
figure out in what way ProGuard has been integrated?

Regards,

Michael A.

--
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] Re: ProGuard Integration?

2010-12-07 Thread Michael A.
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(Unknown
  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,

  Michael A.

  On Dec 7, 12:18 am, Michael A. michael.aki...@gmail.com wrote:
  Thanks. I found it shortly after posting this (incidentally, the link
  in the Android market points to the wrong page).

  Great stuff. I love the many small things like these in 2.3 that help
  makes the lives of the developers easier. :-)

  Regards,

  Michael A.

  On Dec 7, 12:07 am, Xavier Ducrohet x...@android.com wrote:

   Doc about the integration is 
   there:http://developer.android.com/guide/developing/tools/proguard.html

   In a nutshell:
   - it's packaged with the SDK
   - all you have to do is create a proguard config file somewhere and
   specify its location in default.properties.
   - Whenever you do a release build (ant release or export
   signed/unsigned package from Eclipse) it'll run proguard on your code.

   more 
   info:http://developer.android.com/guide/developing/tools/proguard.html

   On Mon, Dec 6, 2010 at 3:01 PM, Michael A. michael.aki...@gmail.com 
   wrote:
Hi,

The release notes for the new ADT/SDK mentions integrated ProGuard
support, which I find very interesting, as I've been holding off on
the latest release partly for this feature.

Unfortunately, it does not appear that easy. There are not any obvious
interface changes that I have been able to find, and a search of the
website does not turn up any documentation (at this moment). Has
anyone been able to find the documentation for this or been able to
figure out in what way ProGuard has been integrated?

Regards,

Michael A.

--
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


Re: [android-developers] Re: Problem removing from listView

2010-12-07 Thread Kostya Vasilyev

Kevin,

You have a simple programming error in your code.

When you remove an entry, the array shrinks, and positions of items that 
you haven't checked yet shift down by one. Then when the for-loop 
increments the current position (variable i), it actually skips over 
the next entry, since that entry and all the others shifted.


You can either rewrite your loop like this:


 for (int i = 0; i  Name.size();*/* nothing here */*) {
 if (Name.get(i)== name){
 Name.remove(i);
 Number.remove(i);
 Address.remove(i);
 Email.remove(i);
 }*  else { i++; }*
 }
Or iterate the array back-to-front (from size() - 1 to 0), so the index 
is not affected by position shifts.


-- Kostya

07.12.2010 11:47, Zarah ?:

Instead of getting the ID, maybe you should get the actual string
associated with that ID.  Then loop through all entries on your
ArrayList of Names, and then compare using
Name.get(i).equals(nameSelected).  If this returns true, then delete.

Remember to make a character-by-character comparison on Strings,
use .equals and not ==.


Hope this helps.


-Zarah.



On Dec 7, 12:04 pm, Kevin Anthonykevin.s.anth...@gmail.com  wrote:

I'm not trying to clear the list
I'm trying to remove all names that are equal to the name you asked to
remove.

you have a list of
bob
bob
tom
tim
sam
suzie

you click on one bob, both bobs get removed

On Dec 6, 7:28 pm, Bret Foremanbret.fore...@gmail.com  wrote:








This is simpler:
while( Name.size()  0 ) {
   Name.remove(0);
}
On Dec 6, 3:59 pm, Kevin Anthonykevin.s.anth...@gmail.com  wrote:

i have a ListString declared like this:
private static ListString  Name = new ArrayListString();
private static ListString  Number = new ArrayListString();
private static ListString  Address = new ArrayListString();
private static ListString  Email = new ArrayListString();
and i'm trying to loop threw and delete them when a user longclicks on
them and clicks delete
here's the delete code:
public void deleteName(long id){
 String name = Name.get((int)id);
 for (int i = 0; i  Name.size();i++) {
 if (Name.get(i)== name){
 Name.remove(i);
 Number.remove(i);
 Address.remove(i);
 Email.remove(i);
 }
 }
 return;
 }
however, it only deletes the entry you click on, not all entries, i've
done some log outputting and the Entries all look the same to my eye,
even capilization.
What am i doing wrong?
Thanks
Kevin A



--
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: New ADT and SDK breaks Eclipse (Again!)

2010-12-07 Thread Zarah
Hey Kostya,

I did that also, after a lot of frustration with the in-Eclipse
update.

Would do that from now on. ;)  Thanks!


Best regards,
Zarah.



On Dec 7, 4:46 pm, Kostya Vasilyev kmans...@gmail.com wrote:
 07.12.2010 8:48, Zarah пишет:

  - Some errors where encountered when installing, failure to rename a
  file?  The dialog says close all anti-virus software, so I did that. I
  also closed down all instances of Windows Explorer.  I tried to run
  Unlocker on the folder in question, and it said only Eclipse is using
  the folder.  Here's the error from the SDK manager:
  Failed to rename directory C:\android-sdk-windows\platforms\android-7
  to C:\android-sdk-windows\temp\PlatformPackage.old02.
  Failed to rename directory C:\android-sdk-windows\platforms\android-3
  to C:\android-sdk-windows\temp\PlatformPackage.old02.

 Updating the SDK outside of Eclipse helps avoid these (run android.bat
 to launch the SDK/AVD manager).

 --
 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: SDK 2.3: Get Multiple substitutions specified in non-positional format error

2010-12-07 Thread Ecthelion
I agree with Bob that an error is a bit over the top. E.g. I include
software from another company as a library project in one of my apps.
This foreign software uses the old formatting using %s %s inside a few
strings, which is now reported as an error. Now I can neither change
the string, because this might break functionality, nor may I use the
new SDK because this produces an error where a warning would have been
sufficient. So I am stuck with Android 2.2 SDK :-(.

On 7 Dez., 06:57, Bob Kerns r...@acm.org wrote:
 As someone who's been involved with internationalization of software
 for over 25 years -- while I'm certainly glad you provide this syntax,
 I think signalling an error is just a bit over the top. A warning
 would be sufficient.


-- 
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: How to tell System Apps vs. User Installed Apps

2010-12-07 Thread Brad Gies
Yeah... filtering out everything installed in the /system directory did 
most of it.. but not quite all..


I've only tested it on an emulator so far, and the only installed app 
was mine, so I want to get only the one app. Filtering out the /system 
apps left only 5.. 3 of which were example apps... but my guess is that 
on phones there are going to be a lot more... I just don't know what 
they will be.


It would be nice to find something that works 100% of the time...but 
this is ok for now.


If anyone can think of anything else, I'd really appreciate it.

Sincerely,

Brad Gies
---
Bistro Bot - Bistro Blurb
http://bgies.comhttp://nocrappyapps.com
http://bistroblurb.com  http://forcethetruth.com
http://ihottonight.com
---
Everything in moderation, including abstinence (paraphrased)

Every person is born with a brain... Those who use it well are the successful 
happy ones - Brad Gies

Adversity can make or break you... It's your choice... Choose wisely - Brad Gies

Never doubt that a small group of thoughtful, committed people can
change the world. Indeed. It is the only thing that ever has - Margaret Mead


On 06/12/2010 12:39 PM, Chris Stratton wrote:

Anything installed on /system is obviously not a user app.

However, I think post-imaging system app installs would go to /data,
so that may not be definitive in both directions.

On Dec 6, 2:45 pm, Brad Giesrbg...@gmail.com  wrote:

Anyone know a good (hopefully foolproof) method of determining if an app
is a system installed app vs. a user installed app.

I'm scanning the apps using PackageManager, and then looping through
them, but I want to skip the system apps as quickly and easily as
possible because my app only needs to know about the user installed
apps. Hopefully, there is something in the PackageManager info that can
be used. Oh... and it needs to be available for all SDK versions.

--
Sincerely,

Brad Gies
---
Bistro Bot - Bistro Blurbhttp://bgies.com   
http://nocrappyapps.comhttp://bistroblurb.com 
http://forcethetruth.comhttp://ihottonight.com
---
Everything in moderation, including abstinence (paraphrased)

Every person is born with a brain... Those who use it well are the successful 
happy ones - Brad Gies

Adversity can make or break you... It's your choice... Choose wisely - Brad Gies

Never doubt that a small group of thoughtful, committed people can
change the world. Indeed. It is the only thing that ever has - Margaret Mead


--
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 LVL - Licensing

2010-12-07 Thread AndyDev
Hi, I am trying to implement LVL with the default
ServerManagedPolicyand check in the Emulator on Eclipse.

I have logged into the Emulator with a test account, but not added
that test account in the Developer Console.

Even without setting any test account on the console, I see the
application is allowed.

If I remove the test account from the Emulator, I get Not Allowed
response, which I am happy with.

Can someone let me know where am i doing mistake.

Thanks,
Andy

-- 
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: .gpx file

2010-12-07 Thread Abhishek Patil
On Mon, Dec 6, 2010 at 5:05 PM, SREEHARI
sreehari.madhusooda...@wipro.comwrote:

 Hi Abhishek,

  GPX access is available through OGR. Check the link below.

 http://mapserver.org/input/vector/gpx.html

 Regards,
 Sreehari

 On Dec 2, 12:05 pm, abhishek abhishek.patil.1...@gmail.com wrote:
  can we give multiple latitude longitude positions using ddms if we can
  can any body tell me how ???
 
  please also tell about the .gpx file how to write and how to access
  it...

 --
 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



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] ImageView sometimes reponding to only double click instead of single click

2010-12-07 Thread Dalvinder Singh
It would be better if you post some code snippet.

Thx
Dalvin

On Tue, Dec 7, 2010 at 12:03 AM, dipti dvai...@gmail.com wrote:

 Hi,

 I'm using an ImageView in my application. I've an AsynTask that is
 executed onCreated() that downloads the image to be used in ImageView
 from the web and stores it in a Hashmap as a softReference.

 The first time when the activity is launched, the imageView works fine
 on a single Click. The second time also it works fine on a single
 click.
 But from 3rd click onwards, it is only responding to a double click.
 Can someone please help me understand what the issue must be?
 In my onClickListner, I've a a method that calls updateImage, which
 loads the image from the hashMap which was populated from the
 AsynchTask.

 Any insight in this is appreciated.

 Thanks,
 Dipti

 --
 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: ImageView sometimes reponding to only double click instead of single click

2010-12-07 Thread dipti
Additional details which might be helpful:

My ImageView are in a table row.
Here's what my layout xml looks like:

TableRow android:id=@+id/TableRow02 android:layout_weight=1
ImageView android:id=@+id/image3

 android:layout_weight=1
 android:background=@android:color/transparent
 android:padding=5dip
 android:layout_height=fill_parent
android:layout_width=fill_parent
android:clickable=true
/
ImageView android:id=@+id/image4

android:layout_weight=1
android:background=@android:color/transparent
android:padding=5dip
android:layout_height=fill_parent
android:layout_width=fill_parent
android:clickable=true
/
/tableRow

My Code looks like this:

mImageButton1 = (ImageView)findViewById(R.id.image1);
mImageButton2 = (ImageView)findViewById(R.id.image2);


mImageButton2.setOnClickListener(new View.OnClickListener()
{
public void onClick(View v)
{
handleButtonClick(2);
}
});

mImageButton1.setOnClickListener(new View.OnClickListener()
{
public void onClick(View v)
{
handleButtonClick(1);
}
});

-

Seems to me like the first time when I click one of the imageview, it
is working fine, but the second time I click, it thinks it's clicking
the table row instead of imageview..and hence not triggering the
onClickListener. When I click the 3rd time, it fires the listener.

Can someone please guide me in what's the best way to solve this issue
of clicking images in a table row?

Thanks,
Dipti


On Dec 7, 2:06 am, Dalvinder Singh singh.dal...@gmail.com wrote:
 It would be better if you post some code snippet.

 Thx
 Dalvin



 On Tue, Dec 7, 2010 at 12:03 AM, dipti dvai...@gmail.com wrote:
  Hi,

  I'm using an ImageView in my application. I've an AsynTask that is
  executed onCreated() that downloads the image to be used in ImageView
  from the web and stores it in a Hashmap as a softReference.

  The first time when the activity is launched, the imageView works fine
  on a single Click. The second time also it works fine on a single
  click.
  But from 3rd click onwards, it is only responding to a double click.
  Can someone please help me understand what the issue must be?
  In my onClickListner, I've a a method that calls updateImage, which
  loads the image from the hashMap which was populated from the
  AsynchTask.

  Any insight in this is appreciated.

  Thanks,
  Dipti

  --
  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%2bunsubs­cr...@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] Child View events in adapter for gallery

2010-12-07 Thread sunrises
Hi
I have a gallery(since I need horizontal scroll) application in which
I need to display images in two rows,for that I have written adapter
in which getView() will return a TableLayout which consists two
ImageViews,but my problem is whenever I select the item in the gallery
it returns the TableLayout object,but I need to handle the user events
separately for each ImageView..

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


[android-developers] Camera preview issue on SDK 2.3 emulator?

2010-12-07 Thread blindfold
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 Android
http://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] Re: New ADT and SDK breaks Eclipse (Again!)

2010-12-07 Thread blindfold
Confirmed. I had the same issue and solution (I'm on Windows 7 64-
bit).

On Dec 7, 9:46 am, Kostya Vasilyev kmans...@gmail.com wrote:
 07.12.2010 8:48, Zarah пишет:

  - Some errors where encountered when installing, failure to rename a
  file?  The dialog says close all anti-virus software, so I did that. I
  also closed down all instances of Windows Explorer.  I tried to run
  Unlocker on the folder in question, and it said only Eclipse is using
  the folder.  Here's the error from the SDK manager:
  Failed to rename directory C:\android-sdk-windows\platforms\android-7
  to C:\android-sdk-windows\temp\PlatformPackage.old02.
  Failed to rename directory C:\android-sdk-windows\platforms\android-3
  to C:\android-sdk-windows\temp\PlatformPackage.old02.

 Updating the SDK outside of Eclipse helps avoid these (run android.bat
 to launch the SDK/AVD manager).

 --
 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: [SDK 2.3] Emulator launch failed with error `GLIBC_2.11' not found

2010-12-07 Thread Atul Raut
Ok find out the reason why this happening
Ubunut 9.10 Lucid Lync or later version
needed. On 9.04 or previous version it
wont work.

Thanks,
--
Atul Raut
 Android Telephony Engineer
http://rautatul.weebly.com/
http://rautatul.wordpress.com/
Mobile : 9581819292
atulrau...@gmail.com hack...@android.com

hack...@android.com


On Tue, Dec 7, 2010 at 2:42 PM, Atul Raut atul.dr...@gmail.com wrote:

  I have install Android sdk 2.3 on my linux machine

 and tring to launch the emulator with sample code.

 Eclipse IDE is throwing below error.

 Emulator] /atul-linux/android-sdk-linux_86/tools/emulator:
 /lib32/libc.so.6: version `GLIBC_2.11' not found (required
 by/atul-linux/android-sdk-linux_86/tools/emulator)

 Any pointers with help.

 Thanks in Advance.

 --
 Atul Raut
  Android Telephony Engineer
 http://rautatul.weebly.com/
 http://rautatul.wordpress.com/
 Mobile : 9581819292
 atulrau...@gmail.com hack...@android.com

 hack...@android.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] moving to downloaded file location

2010-12-07 Thread kampy
hi

we are doing an application in which we need to download the
attachment from a mail . we completed it succesfully but after
downloading a  notification is shown that download completed . On
clicking it we need to move to the location that where the file is
stored . can anyone help us how to do this ...

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


[android-developers] NFC: Tag Emaulation

2010-12-07 Thread Gruntz Dominik
Hi Everyone,
In the android.nfc package documentation I read:

  Provides access to Near Field Communication (NFC) functionality, allowing 
applications 
  to read NDEF message in NFC tags. A tag may actually be another device that 
appears 
  as a tag. 

Question: Can tags be emulated with the Android NFC API, and if yes, how?

Dominik

-- 
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: How to tell System Apps vs. User Installed Apps

2010-12-07 Thread Brad Gies

Ooops... just replied before I saw your email... Ok... I'll try the flag...

Thanks.

Sincerely,

Brad Gies
---
Bistro Bot - Bistro Blurb
http://bgies.comhttp://nocrappyapps.com
http://bistroblurb.com  http://forcethetruth.com
http://ihottonight.com
---
Everything in moderation, including abstinence (paraphrased)

Every person is born with a brain... Those who use it well are the successful 
happy ones - Brad Gies

Adversity can make or break you... It's your choice... Choose wisely - Brad Gies

Never doubt that a small group of thoughtful, committed people can
change the world. Indeed. It is the only thing that ever has - Margaret Mead


On 07/12/2010 12:27 AM, Dianne Hackborn wrote:
Yes, use FLAG_SYSTEM.  Don't look at paths.  I can guarantee trying to 
infer things from paths will break in the future.


On Mon, Dec 6, 2010 at 7:20 PM, XC He schosnab...@gmail.com 
mailto:schosnab...@gmail.com wrote:


System app is installed under /system/app
In theory, it cannot be uninstall.
you can use applicationinfo to fing the flags, if the flags contains
FLAG_SYSTEM, it could be system app.

import android.content.pm.ApplicationInfo;
import android.content.pm.PackageManager;

PackageManager pm = context.getPackageManager();
ApplicationInfo appInfo = pm.getApplicationInfo(yourpackageName, 0);

if (appInfo.flags  ApplicationInfo.FLAG_SYSTEM){
...
}

2010/12/7 Bob Kerns r...@acm.org mailto:r...@acm.org:
 It's always refreshing to see people paying attention to
 internationalization issues. :=)

 On Dec 6, 12:39 pm, Brad Gies rbg...@gmail.com
mailto:rbg...@gmail.com wrote:
 Well.. the comment would work... but I'd need translations :).

 --
 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
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




--
Dianne Hackborn
Android framework engineer
hack...@android.com mailto:hack...@android.com

Note: please don't send private questions to me, as I don't have time 
to provide private support, and so won't reply to such e-mails.  All 
such questions should be posted on public forums, where I and others 
can see and answer them.


--
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] MediaPlayer and ShoutCast stream / how to retrieve Metadata ?

2010-12-07 Thread sebsto
As a follow up to my earlier post
http://groups.google.com/group/android-developers/msg/f05b124c576b0c1c

I  am observing that nothing changed with 2.2.1 and 2.3 - still no
OnInfo called.

Any news / help about this ?

Thanks

Seb

-- 
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] StrictMode

2010-12-07 Thread Bob Kerns
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.

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? 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. Perhaps rather than any file IO,
give the ability to control how much, either in data size or IO time?

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

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.

I bet we'd see a lot better applications as a result.

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.

-- 
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: source for SDK

2010-12-07 Thread Sachin Dole
so, it looks like i have to get Git and use git to download sources... and
it looks like i might have to download all the 2.1 gigs and leave it to my
IDE to figure out which exact file i need cuz i dont know which project i
need amongst the many projects listed on http://android.git.kernel.org/. Do
you know which projects I really need if i needed the API source code for
developing applications for the android platform?

Thank you

On Tue, Dec 7, 2010 at 1:42 AM, Bob Kerns r...@acm.org wrote:

 You know, those of us who normally develop with Windows would
 certainly appreciate a nice .zip file of at least the .java sources.

 It doesn't have to be buildable, or even complete to every last
 obscure file. Just something similar to how Sun/Oracle provide
 src.zip.

 Yes, I can fire up a virtual machine or Amazon EC2 instance, and make
 my own. In fact, I'm loading the sources into an Amazon EC2 instance
 right now, but it's a lot more time consuming than it needs to be --
 and there are a lot of us Windows-using developers out here, believe
 it or not!

 On Dec 6, 8:48 pm, Xavier Ducrohet x...@android.com wrote:
  http://source.android.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: Camera preview issue on SDK 2.3 emulator?

2010-12-07 Thread blindfold
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


Re: [android-developers] Re: source for SDK

2010-12-07 Thread guillaume benats
Hi,

you do not actually need the sources of Android to develop applications,
Just the sdk...:http://developer.android.com/sdk/installing.html

follow those steps to run it under eclipse!


On Tue, Dec 7, 2010 at 11:24 AM, Sachin Dole sachin.d...@gmail.com wrote:

 so, it looks like i have to get Git and use git to download sources... and
 it looks like i might have to download all the 2.1 gigs and leave it to my
 IDE to figure out which exact file i need cuz i dont know which project i
 need amongst the many projects listed on http://android.git.kernel.org/.
 Do you know which projects I really need if i needed the API source code for
 developing applications for the android platform?

 Thank you

 On Tue, Dec 7, 2010 at 1:42 AM, Bob Kerns r...@acm.org wrote:

 You know, those of us who normally develop with Windows would
 certainly appreciate a nice .zip file of at least the .java sources.

 It doesn't have to be buildable, or even complete to every last
 obscure file. Just something similar to how Sun/Oracle provide
 src.zip.

 Yes, I can fire up a virtual machine or Amazon EC2 instance, and make
 my own. In fact, I'm loading the sources into an Amazon EC2 instance
 right now, but it's a lot more time consuming than it needs to be --
 and there are a lot of us Windows-using developers out here, believe
 it or not!

 On Dec 6, 8:48 pm, Xavier Ducrohet x...@android.com wrote:
  http://source.android.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.comandroid-developers%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en




-- 
Benats Guillaume .

-- 
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: source for SDK

2010-12-07 Thread Kostya Vasilyev

Sachin,

You can browse the Android Git repository without downloading:

http://android.git.kernel.org/

You can also use Google Code Search:

http://www.google.com/codesearch

Try entering android ListView to see how it works.

-- Kostya

07.12.2010 14:24, Sachin Dole ?:
so, it looks like i have to get Git and use git to download sources... 
and it looks like i might have to download all the 2.1 gigs and leave 
it to my IDE to figure out which exact file i need cuz i dont know 
which project i need amongst the many projects listed on 
http://android.git.kernel.org/. Do you know which projects I really 
need if i needed the API source code for developing applications for 
the android platform?


Thank you

On Tue, Dec 7, 2010 at 1:42 AM, Bob Kerns r...@acm.org 
mailto:r...@acm.org wrote:


You know, those of us who normally develop with Windows would
certainly appreciate a nice .zip file of at least the .java sources.

It doesn't have to be buildable, or even complete to every last
obscure file. Just something similar to how Sun/Oracle provide
src.zip.

Yes, I can fire up a virtual machine or Amazon EC2 instance, and make
my own. In fact, I'm loading the sources into an Amazon EC2 instance
right now, but it's a lot more time consuming than it needs to be --
and there are a lot of us Windows-using developers out here, believe
it or not!

On Dec 6, 8:48 pm, Xavier Ducrohet x...@android.com
mailto:x...@android.com wrote:
 http://source.android.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
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] NFC Demo errors?

2010-12-07 Thread David Galante

I created a new project (API level 9) with the NFC Demo source code
from the new Android 2.3 SDK.  However, I have 46 errors.  Is
something missing?


Description ResourcePathLocationType
BiMap cannot be resolved to a type  UriRecord.java  /FakeTagsActivity/
src/com/example/android/nfc/record  line 51 Java Problem
BiMap cannot be resolved to a type  UriRecord.java  /FakeTagsActivity/
src/com/example/android/nfc/record  line 141Java Problem
Bytes cannot be resolvedFakeTagsActivity.java   /FakeTagsActivity/src/
com/example/android/nfc/simulator   line 54 Java Problem
Bytes cannot be resolvedUriRecord.java  /FakeTagsActivity/src/com/
example/android/nfc/record  line 143Java Problem
Charsets cannot be resolved to a variable   FakeTagsActivity.java   /
FakeTagsActivity/src/com/example/android/nfc/simulator  line 49 Java
Problem
Charsets cannot be resolved to a variable   FakeTagsActivity.java   /
FakeTagsActivity/src/com/example/android/nfc/simulator  line 50 Java
Problem
Charsets cannot be resolved to a variable   FakeTagsActivity.java   /
FakeTagsActivity/src/com/example/android/nfc/simulator  line 61 Java
Problem
Charsets cannot be resolved to a variable   SmartPoster.java/
FakeTagsActivity/src/com/example/android/nfc/record line 220Java
Problem
ImmutableBiMap cannot be resolved   UriRecord.java  /FakeTagsActivity/src/
com/example/android/nfc/record  line 51 Java Problem

-- 
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: source for SDK

2010-12-07 Thread Sachin Dole
Yep, I have the SDK. I would like to step into source code every now and
then to understand what it does when I write code. So, when I write an
activity, I would like to read the source code the the Activity.java class.
Your idea does make sense though.

On Tue, Dec 7, 2010 at 5:31 AM, guillaume benats guillaume.ben...@gmail.com
 wrote:

 Hi,

 you do not actually need the sources of Android to develop applications,
 Just the sdk...:http://developer.android.com/sdk/installing.html

 follow those steps to run it under eclipse!


 On Tue, Dec 7, 2010 at 11:24 AM, Sachin Dole sachin.d...@gmail.comwrote:

 so, it looks like i have to get Git and use git to download sources... and
 it looks like i might have to download all the 2.1 gigs and leave it to my
 IDE to figure out which exact file i need cuz i dont know which project i
 need amongst the many projects listed on http://android.git.kernel.org/.
 Do you know which projects I really need if i needed the API source code for
 developing applications for the android platform?

 Thank you

 On Tue, Dec 7, 2010 at 1:42 AM, Bob Kerns r...@acm.org wrote:

 You know, those of us who normally develop with Windows would
 certainly appreciate a nice .zip file of at least the .java sources.

 It doesn't have to be buildable, or even complete to every last
 obscure file. Just something similar to how Sun/Oracle provide
 src.zip.

 Yes, I can fire up a virtual machine or Amazon EC2 instance, and make
 my own. In fact, I'm loading the sources into an Amazon EC2 instance
 right now, but it's a lot more time consuming than it needs to be --
 and there are a lot of us Windows-using developers out here, believe
 it or not!

 On Dec 6, 8:48 pm, Xavier Ducrohet x...@android.com wrote:
  http://source.android.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.comandroid-developers%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en




 --
 Benats Guillaume .

 --
 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] NFC Secure Element

2010-12-07 Thread Gruntz Dominik
Hi everyone,

Do I see it right, that the Android 2.3 NFC API does not provide functionality 
to access a secure element? A secure element is a smartcard connected to the 
NFC controller, i.e. a secure storage in the device, either embedded in the 
mobile phone, on the SIM card or on a SD card.

With JavaME access to the secure element was provided with JSR177 which 
supported the communication with smart card applications usind APDU commands. I 
have not seen comparable functionality in package android.nfc.

Thanks for any hints
Dominik

-- 
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] Communication error while porting Froyo

2010-12-07 Thread lavanya
Dear All,

I'm involved in OS upgradation from Eclair to Froyo and getting the
below errors:

I/SystemServer( 1291): Connectivity Service
E/NetdConnector( 1291): Communications error
E/NetdConnector( 1291): java.io.IOException: No such file or directory
E/NetdConnector( 1291): at
android.net.LocalSocketImpl.connectLocal(Native Method)
E/NetdConnector( 1291): at
android.net.LocalSocketImpl.connect(LocalSocketImpl.java:238)
E/NetdConnector( 1291): at
android.net.LocalSocket.connect(LocalSocket.java:95)
E/NetdConnector( 1291): at
com.android.server.NativeDaemonConnector.listenToSocket(NativeDaemonConnector.java:
99)
E/NetdConnector( 1291): at
com.android.server.NativeDaemonConnector.run(NativeDaemonConnector.java:
83)
E/NetdConnector( 1291): at java.lang.Thread.run(Thread.java:1096)
E/NetdConnector( 1291): Error in NativeDaemonConnector
E/NetdConnector( 1291): java.io.IOException: No such file or directory
E/NetdConnector( 1291): at
android.net.LocalSocketImpl.connectLocal(Native Method)
E/NetdConnector( 1291): at
android.net.LocalSocketImpl.connect(LocalSocketImpl.java:238)
E/NetdConnector( 1291): at
android.net.LocalSocket.connect(LocalSocket.java:95)
E/NetdConnector( 1291): at
com.android.server.NativeDaemonConnector.listenToSocket(NativeDaemonConnector.java:
99)
E/NetdConnector( 1291): at
com.android.server.NativeDaemonConnector.run(NativeDaemonConnector.java:
83)
E/NetdConnector( 1291): at java.lang.Thread.run(Thread.java:1096)
D/ConnectivityService( 1291): getMobileDataEnabled returning true

Can anyone help me out how to resolve this error.
Due to this error i'm not able to start any of the Daemon processes
also.

Thanks,
Lavanya

-- 
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 Based GUI

2010-12-07 Thread Praveen Pundeer
Hi All
We are going to start using Android for our GUI.
Idea is to use Android only for GUI. we have already our leagcy architecture
in GUI.
I am wondrign for follwoing:


   1. What can be best strategy to use Android and still reuse many things
   from legacy architecture?
   2. What are the things should be considered for this development?
   3. What can be possible alternatives?
   4. Any guide/sugestions?

Regards
praveen

-- 
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 your help to clarify CTS 2.2_r3 failure test case issues on Froyo.

2010-12-07 Thread JC
Any idea? I really need your help to clarify this issue.
Thanks in advance~~

On Nov 26, 5:30 pm, JC jc...@pegatroncorp.com wrote:
 Hi all,

 I'm run defaultCTStest plan on emulator and my device but it always
 gets failure on those two test cases of CtsTextTestCases test package:
 (1).android.text.method.cts.BaseKeyListenerTest - testBackspace
 (2).android.text.method.cts.BaseKeyListenerTest - testPressKey

 Below are error log information from DDMS:
 (1).
 android.text.method.cts.BaseKeyListenerTest#testBackspace...(fail)
 junit.framework.ComparisonFailure: expected:1... but was:... at
 android.text.method.cts.BaseKeyListenerTest.testBackspace(BaseKeyListenerTe 
 st.java:
 131)
 at
 android.text.method.cts.BaseKeyListenerTest.testBackspace(BaseKeyListenerTe 
 st.java:
 131)
 at java.lang.reflect.Method.invokeNative(Native Method)
 at
 android.test.InstrumentationTestCase.runMethod(InstrumentationTestCase.java :
 204)
 at
 android.test.InstrumentationTestCase.runTest(InstrumentationTestCase.java:
 194)
 at
 android.test.ActivityInstrumentationTestCase2.runTest(ActivityInstrumentati 
 onTestCase2.java:
 186)
 at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:169)
 at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:154)
 at
 android.test.InstrumentationTestRunner.onStart(InstrumentationTestRunner.ja 
 va:
 520)
 at android.app.Instrumentation
 $InstrumentationThread.run(Instrumentation.java:1447)
 at
 android.text.method.cts.BaseKeyListenerTest.testBackspace(BaseKeyListenerTe 
 st.java:
 131)
 at java.lang.reflect.Method.invokeNative(Native Method)
 at
 android.test.InstrumentationTestCase.runMethod(InstrumentationTestCase.java :
 204)
 at
 android.test.InstrumentationTestCase.runTest(InstrumentationTestCase.java:
 194)
 at
 android.test.ActivityInstrumentationTestCase2.runTest(ActivityInstrumentati 
 onTestCase2.java:
 186)
 at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:169)
 at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:154)
 at
 android.test.InstrumentationTestRunner.onStart(InstrumentationTestRunner.ja 
 va:
 520)
 at android.app.Instrumentation
 $InstrumentationThread.run(Instrumentation.java:1447)

 (2).
 android.text.method.cts.BaseKeyListenerTest#testPressKey...(fail)
 junit.framework.ComparisonFailure: expected:1... but was:... at
 android.text.method.cts.BaseKeyListenerTest.testPressKey(BaseKeyListenerTes 
 t.java:
 223)
 at
 android.text.method.cts.BaseKeyListenerTest.testPressKey(BaseKeyListenerTes 
 t.java:
 223)
 at java.lang.reflect.Method.invokeNative(Native Method)
 at
 android.test.InstrumentationTestCase.runMethod(InstrumentationTestCase.java :
 204)
 at
 android.test.InstrumentationTestCase.runTest(InstrumentationTestCase.java:
 194)
 at
 android.test.ActivityInstrumentationTestCase2.runTest(ActivityInstrumentati 
 onTestCase2.java:
 186)
 at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:169)
 at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:154)
 at
 android.test.InstrumentationTestRunner.onStart(InstrumentationTestRunner.ja 
 va:
 520)
 at android.app.Instrumentation
 $InstrumentationThread.run(Instrumentation.java:1447)
 at
 android.text.method.cts.BaseKeyListenerTest.testPressKey(BaseKeyListenerTes 
 t.java:
 223)
 at java.lang.reflect.Method.invokeNative(Native Method)
 at
 android.test.InstrumentationTestCase.runMethod(InstrumentationTestCase.java :
 204)
 at
 android.test.InstrumentationTestCase.runTest(InstrumentationTestCase.java:
 194)
 at
 android.test.ActivityInstrumentationTestCase2.runTest(ActivityInstrumentati 
 onTestCase2.java:
 186)
 at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:169)
 at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:154)
 at
 android.test.InstrumentationTestRunner.onStart(InstrumentationTestRunner.ja 
 va:
 520)
 at android.app.Instrumentation
 $InstrumentationThread.run(Instrumentation.java:1447)

 On first test case, I found when it ran on line 131
 assertEquals(1456, mTextView.getText().toString()) and the value of
 mTextView.getText().toString() is equal to 456 not 1456 on
 BaseKeyListenerTest class. But it could be passed sometimes.
 The same  situation could be found on second test case.

 JC

-- 
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: SDK 2.3: Get Multiple substitutions specified in non-positional format error

2010-12-07 Thread Mark Murphy
On Tue, Dec 7, 2010 at 4:42 AM, Ecthelion ep...@joergjahnke.de wrote:
 I agree with Bob that an error is a bit over the top. E.g. I include
 software from another company as a library project in one of my apps.
 This foreign software uses the old formatting using %s %s inside a few
 strings, which is now reported as an error. Now I can neither change
 the string, because this might break functionality, nor may I use the
 new SDK because this produces an error where a warning would have been
 sufficient. So I am stuck with Android 2.2 SDK :-(.

If it is an Android library project, you can definitely change the
string. That's half of the point of *having* Android library projects
-- so developers can modify resources as needed. In your project,
override the library's string resource with one of your own with the
same name, and it will be used. You do not have to modify the actual
library project yourself.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Warescription: Three Android Books, Plus Updates, One Low Price!

-- 
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] StrictMode

2010-12-07 Thread Mark Murphy
On Tue, Dec 7, 2010 at 6:16 AM, Bob Kerns r...@acm.org wrote:
 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?

I would assume so. There are no disks in Android period, outside of
Google TV boxes (and I'm only guessing that they might use spinning
platters).

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Warescription: Three Android Books, Plus Updates, One Low Price!

-- 
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: NFC Demo errors?

2010-12-07 Thread Dominik
I have no problems with the NFC Demo (after I added the google guava
library to the project).
Seems to be that you have the same problem (e.g. BiMap is contained in
com.google.common.collect).
Guava is a superset of the Google Collections Library (see
http://code.google.com/p/guava-libraries/)
Dominik

-- 
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] SQLite problem

2010-12-07 Thread Abhishek Talwar
So i was doing some Database stuff
I read the Notepad tutorial completed it and started making my first
database application.
I am not extracting data from user instead i have one application and
on helper class .
The application class calls the method of the helper class which adds
the content in database.
So the data is provided by main application and the the UI of the
application should be just the list of the data.
Basically very simple database application but still i am not able to
complete it.
I started commenting the code from bottom to check where the problem
may have lied but
it seems to me that i have commented every line of code lol :) and
stll cant fix the problem .
The Error Log which i get everytime i run the application is :-

eclipse.buildId=M20100211-1343
java.version=1.6.0_20
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_IN
Command-line arguments:  -os linux -ws gtk -arch x86


Error
Tue Dec 07 18:45:33 IST 2010
No command output when running: 'am start -n org.simpledatabase/
org.simpledatabase.simpledatabase -a android.intent.action.MAIN -c
android.intent.category.LAUNCHER' on device emulator-5554

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.doLaunchAction(Unknown
Source)
at
com.android.ide.eclipse.adt.internal.launch.AndroidLaunchController.launchApp(Unknown
Source)
at
com.android.ide.eclipse.adt.internal.launch.AndroidLaunchController.simpleLaunch(Unknown
Source)
at
com.android.ide.eclipse.adt.internal.launch.AndroidLaunchController.access
$3(Unknown Source)
at com.android.ide.eclipse.adt.internal.launch.AndroidLaunchController
$3.run(Unknown Source)

-- 
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] SQLite problem

2010-12-07 Thread Kostya Vasilyev

Is the emulator already running at this point?

Did you give it enough time to properly start up (you should see the 
Android home screen)?


-- Kostya

07.12.2010 16:28, Abhishek Talwar пишет:

So i was doing some Database stuff
I read the Notepad tutorial completed it and started making my first
database application.
I am not extracting data from user instead i have one application and
on helper class .
The application class calls the method of the helper class which adds
the content in database.
So the data is provided by main application and the the UI of the
application should be just the list of the data.
Basically very simple database application but still i am not able to
complete it.
I started commenting the code from bottom to check where the problem
may have lied but
it seems to me that i have commented every line of code lol :) and
stll cant fix the problem .
The Error Log which i get everytime i run the application is :-

eclipse.buildId=M20100211-1343
java.version=1.6.0_20
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_IN
Command-line arguments:  -os linux -ws gtk -arch x86


Error
Tue Dec 07 18:45:33 IST 2010
No command output when running: 'am start -n org.simpledatabase/
org.simpledatabase.simpledatabase -a android.intent.action.MAIN -c
android.intent.category.LAUNCHER' on device emulator-5554

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.doLaunchAction(Unknown
Source)
at
com.android.ide.eclipse.adt.internal.launch.AndroidLaunchController.launchApp(Unknown
Source)
at
com.android.ide.eclipse.adt.internal.launch.AndroidLaunchController.simpleLaunch(Unknown
Source)
at
com.android.ide.eclipse.adt.internal.launch.AndroidLaunchController.access
$3(Unknown Source)
at com.android.ide.eclipse.adt.internal.launch.AndroidLaunchController
$3.run(Unknown Source)




--
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


Re: [android-developers] SQLite problem

2010-12-07 Thread Robin Talwar
Yes i can see the home screen.
Do you have some time to read my code? It wont take much time as it is basic
application

On Tue, Dec 7, 2010 at 7:09 PM, Kostya Vasilyev kmans...@gmail.com wrote:

 Is the emulator already running at this point?

 Did you give it enough time to properly start up (you should see the
 Android home screen)?

 -- Kostya

 07.12.2010 16:28, Abhishek Talwar пишет:

  So i was doing some Database stuff
 I read the Notepad tutorial completed it and started making my first
 database application.
 I am not extracting data from user instead i have one application and
 on helper class .
 The application class calls the method of the helper class which adds
 the content in database.
 So the data is provided by main application and the the UI of the
 application should be just the list of the data.
 Basically very simple database application but still i am not able to
 complete it.
 I started commenting the code from bottom to check where the problem
 may have lied but
 it seems to me that i have commented every line of code lol :) and
 stll cant fix the problem .
 The Error Log which i get everytime i run the application is :-

 eclipse.buildId=M20100211-1343
 java.version=1.6.0_20
 java.vendor=Sun Microsystems Inc.
 BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_IN
 Command-line arguments:  -os linux -ws gtk -arch x86


 Error
 Tue Dec 07 18:45:33 IST 2010
 No command output when running: 'am start -n org.simpledatabase/
 org.simpledatabase.simpledatabase -a android.intent.action.MAIN -c
 android.intent.category.LAUNCHER' on device emulator-5554

 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.doLaunchAction(Unknown
 Source)
at

 com.android.ide.eclipse.adt.internal.launch.AndroidLaunchController.launchApp(Unknown
 Source)
at

 com.android.ide.eclipse.adt.internal.launch.AndroidLaunchController.simpleLaunch(Unknown
 Source)
at
 com.android.ide.eclipse.adt.internal.launch.AndroidLaunchController.access
 $3(Unknown Source)
at
 com.android.ide.eclipse.adt.internal.launch.AndroidLaunchController
 $3.run(Unknown Source)



 --
 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@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: Free version to Paid version

2010-12-07 Thread TreKing
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] Re: Android 2.3: eclipse reporting Unable to execute dex: null

2010-12-07 Thread garbeam
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 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
 

Re: [android-developers] SQLite problem

2010-12-07 Thread Kostya Vasilyev

I don't think it's the code.

Can you create a new HelloWorld type project using the wizard (File: New 
Android Project) and try to run that?


-- Kostya

07.12.2010 16:41, Robin Talwar пишет:

Yes i can see the home screen.
Do you have some time to read my code? It wont take much time as it is 
basic application


On Tue, Dec 7, 2010 at 7:09 PM, Kostya Vasilyev kmans...@gmail.com 
mailto:kmans...@gmail.com wrote:


Is the emulator already running at this point?

Did you give it enough time to properly start up (you should see
the Android home screen)?

-- Kostya

07.12.2010 16:28, Abhishek Talwar пишет:

So i was doing some Database stuff
I read the Notepad tutorial completed it and started making my
first
database application.
I am not extracting data from user instead i have one
application and
on helper class .
The application class calls the method of the helper class
which adds
the content in database.
So the data is provided by main application and the the UI of the
application should be just the list of the data.
Basically very simple database application but still i am not
able to
complete it.
I started commenting the code from bottom to check where the
problem
may have lied but
it seems to me that i have commented every line of code lol :) and
stll cant fix the problem .
The Error Log which i get everytime i run the application is :-

eclipse.buildId=M20100211-1343
java.version=1.6.0_20
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_IN
Command-line arguments:  -os linux -ws gtk -arch x86


Error
Tue Dec 07 18:45:33 IST 2010
No command output when running: 'am start -n org.simpledatabase/
org.simpledatabase.simpledatabase -a android.intent.action.MAIN -c
android.intent.category.LAUNCHER' on device emulator-5554

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.doLaunchAction(Unknown
Source)
   at

com.android.ide.eclipse.adt.internal.launch.AndroidLaunchController.launchApp(Unknown
Source)
   at

com.android.ide.eclipse.adt.internal.launch.AndroidLaunchController.simpleLaunch(Unknown
Source)
   at

com.android.ide.eclipse.adt.internal.launch.AndroidLaunchController.access
$3(Unknown Source)
   at
com.android.ide.eclipse.adt.internal.launch.AndroidLaunchController
$3.run(Unknown Source)



-- 
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
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] Browse Window

2010-12-07 Thread Jawwad Farooq
Hi,

I want to open a window and in that show the directories and files in
that. Kindly tell me is there any component available that has all the
required features.


In simple words, I need a Browse window...

Plz Help..




Regards


Jawwad

-- 
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] Unexpected resume of activity

2010-12-07 Thread CHUA Chee Wee
Hi all,

I created an empty Android activity, with no code entered (everything
is generated by the Android plugin).

I compiled the application in debug mode, and deployed it to the Nexus
One using the Debug button in Eclipse.

When I quickly rotated the Nexus One from portrait to landscape to
portrait while the application is running, I see the following
message:

12-07 21:46:48.188: INFO/UsageStats(85): Unexpected resume of
com.cheewee.UnexpectedResume while already resumed in
com.cheewee.UnexpectedResume

Bug in Android? Are we supposed not to change the orientation too
fast?
I have a sample application zipped up (it's just an empty Activity) if
anyone needs it.

The rotation from portrait to landscape is 1 second. The same for
landscape to portrait.

-- 
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] SQLite problem

2010-12-07 Thread Robin Talwar
Yes i created a newhelloworld project and it is running perfectly

On Tue, Dec 7, 2010 at 7:18 PM, Kostya Vasilyev kmans...@gmail.com wrote:

  I don't think it's the code.

 Can you create a new HelloWorld type project using the wizard (File: New
 Android Project) and try to run that?

 -- Kostya

 07.12.2010 16:41, Robin Talwar пишет:

 Yes i can see the home screen.
 Do you have some time to read my code? It wont take much time as it is
 basic application

 On Tue, Dec 7, 2010 at 7:09 PM, Kostya Vasilyev kmans...@gmail.comwrote:

 Is the emulator already running at this point?

 Did you give it enough time to properly start up (you should see the
 Android home screen)?

 -- Kostya

 07.12.2010 16:28, Abhishek Talwar пишет:

  So i was doing some Database stuff
 I read the Notepad tutorial completed it and started making my first
 database application.
 I am not extracting data from user instead i have one application and
 on helper class .
 The application class calls the method of the helper class which adds
 the content in database.
 So the data is provided by main application and the the UI of the
 application should be just the list of the data.
 Basically very simple database application but still i am not able to
 complete it.
 I started commenting the code from bottom to check where the problem
 may have lied but
 it seems to me that i have commented every line of code lol :) and
 stll cant fix the problem .
 The Error Log which i get everytime i run the application is :-

 eclipse.buildId=M20100211-1343
 java.version=1.6.0_20
 java.vendor=Sun Microsystems Inc.
 BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_IN
 Command-line arguments:  -os linux -ws gtk -arch x86


 Error
 Tue Dec 07 18:45:33 IST 2010
 No command output when running: 'am start -n org.simpledatabase/
 org.simpledatabase.simpledatabase -a android.intent.action.MAIN -c
 android.intent.category.LAUNCHER' on device emulator-5554

 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.doLaunchAction(Unknown
 Source)
at

 com.android.ide.eclipse.adt.internal.launch.AndroidLaunchController.launchApp(Unknown
 Source)
at

 com.android.ide.eclipse.adt.internal.launch.AndroidLaunchController.simpleLaunch(Unknown
 Source)
at

 com.android.ide.eclipse.adt.internal.launch.AndroidLaunchController.access
 $3(Unknown Source)
at
 com.android.ide.eclipse.adt.internal.launch.AndroidLaunchController
 $3.run(Unknown Source)



 --
   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@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.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] Unexpected resume of activity

2010-12-07 Thread Mark Murphy
On Tue, Dec 7, 2010 at 8:54 AM, CHUA Chee Wee chu...@gmail.com wrote:
 When I quickly rotated the Nexus One from portrait to landscape to
 portrait while the application is running, I see the following
 message:

 12-07 21:46:48.188: INFO/UsageStats(85): Unexpected resume of
 com.cheewee.UnexpectedResume while already resumed in
 com.cheewee.UnexpectedResume

 Bug in Android? Are we supposed not to change the orientation too
 fast?

It is an INFO message you can safely ignore.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Warescription: Three Android Books, Plus Updates, One Low Price!

-- 
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] Best way to store data in database

2010-12-07 Thread 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.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Browse Window

2010-12-07 Thread Mark Murphy
On Tue, Dec 7, 2010 at 8:52 AM, Jawwad Farooq jawwad.far...@gmail.com wrote:
 I want to open a window and in that show the directories and files in
 that. Kindly tell me is there any component available that has all the
 required features.

OI File Manager offers that:

http://www.openintents.org/en/node/159

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Warescription: Three Android Books, Plus Updates, One Low Price!

-- 
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] Unexpected resume of activity

2010-12-07 Thread Kostya Vasilyev

FWIW, I get these all the time. Supposedly this is harmless.

-- Kostya

07.12.2010 16:54, CHUA Chee Wee пишет:

Hi all,

I created an empty Android activity, with no code entered (everything
is generated by the Android plugin).

I compiled the application in debug mode, and deployed it to the Nexus
One using the Debug button in Eclipse.

When I quickly rotated the Nexus One from portrait to landscape to
portrait while the application is running, I see the following
message:

12-07 21:46:48.188: INFO/UsageStats(85): Unexpected resume of
com.cheewee.UnexpectedResume while already resumed in
com.cheewee.UnexpectedResume

Bug in Android? Are we supposed not to change the orientation too
fast?
I have a sample application zipped up (it's just an empty Activity) if
anyone needs it.

The rotation from portrait to landscape is1 second. The same for
landscape to portrait.




--
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] 2.3 SD card emulation

2010-12-07 Thread Xavier
Hello,

I just read on the documentation that Gingerbread will provide a
virtual sd card partition for devices not having an external sd card
such as the Nexus S, so, do we have to do any extra control on old
code which asumes external storage is present? Any changes at all? for
example when checking if the card is mounted, etc

I tried setting up a new emulator without a sd card, as I wanted to
try my app which launches the camera app and saves the picture on the
external storage, unfortunately the camera app throws a message asking
for a sd card when taking the picture, at least with my code.

Xavier

-- 
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

2010-12-07 Thread Kostya Vasilyev

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.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


Re: [android-developers] SQLite problem

2010-12-07 Thread Kostya Vasilyev

Did the application actually install on the emulator?

Can you run it from the emulator's installed applications list?

-- Kostya

07.12.2010 16:55, Robin Talwar пишет:

Yes i created a newhelloworld project and it is running perfectly

On Tue, Dec 7, 2010 at 7:18 PM, Kostya Vasilyev kmans...@gmail.com 
mailto:kmans...@gmail.com wrote:


I don't think it's the code.

Can you create a new HelloWorld type project using the wizard
(File: New Android Project) and try to run that?

-- Kostya

07.12.2010 16:41, Robin Talwar пишет:

Yes i can see the home screen.
Do you have some time to read my code? It wont take much time as
it is basic application

On Tue, Dec 7, 2010 at 7:09 PM, Kostya Vasilyev
kmans...@gmail.com mailto:kmans...@gmail.com wrote:

Is the emulator already running at this point?

Did you give it enough time to properly start up (you should
see the Android home screen)?

-- Kostya

07.12.2010 16:28, Abhishek Talwar пишет:

So i was doing some Database stuff
I read the Notepad tutorial completed it and started
making my first
database application.
I am not extracting data from user instead i have one
application and
on helper class .
The application class calls the method of the helper
class which adds
the content in database.
So the data is provided by main application and the the
UI of the
application should be just the list of the data.
Basically very simple database application but still i am
not able to
complete it.
I started commenting the code from bottom to check where
the problem
may have lied but
it seems to me that i have commented every line of code
lol :) and
stll cant fix the problem .
The Error Log which i get everytime i run the application
is :-

eclipse.buildId=M20100211-1343
java.version=1.6.0_20
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_IN
Command-line arguments:  -os linux -ws gtk -arch x86


Error
Tue Dec 07 18:45:33 IST 2010
No command output when running: 'am start -n
org.simpledatabase/
org.simpledatabase.simpledatabase -a
android.intent.action.MAIN -c
android.intent.category.LAUNCHER' on device emulator-5554

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.doLaunchAction(Unknown
Source)
   at

com.android.ide.eclipse.adt.internal.launch.AndroidLaunchController.launchApp(Unknown
Source)
   at

com.android.ide.eclipse.adt.internal.launch.AndroidLaunchController.simpleLaunch(Unknown
Source)
   at

com.android.ide.eclipse.adt.internal.launch.AndroidLaunchController.access
$3(Unknown Source)
   at
com.android.ide.eclipse.adt.internal.launch.AndroidLaunchController
$3.run(Unknown Source)



-- 
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
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
mailto:android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
mailto: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


Re: [android-developers] 3d engine question and Irrlicht

2010-12-07 Thread TreKing
2010/11/29 João Costa joaocarlosfi...@gmail.com

 I've checked Irrlicht which I successfully compiled and executed. However,
 I'm having some strange messages like called unimplemented OpenGL ES API.
 When I put the phone in landscape mode (horizontal), the textures
 disappears. The same for resuming. I have absolutely no idea on how to debug
 jni (NDK) code.

 Another option is libgtx, that comes with a cool example. However the
 objects can only wing 3d or md2, no support for 3d scenes. And I think the
 3d part is all done in the java side, no native code.


Have you tried forums related specifically to those two engines? You'll
probably have better luck somewhere else.

-
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] 2.3 Google API's missing?

2010-12-07 Thread StevePotell
It appears with 2.3 google maps can't be accessed.  Anyone else having
this problem?

I get the issue com.google.android can not be resolved

Looks like I will have to roll back to use google maps in my app.

-- 
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 Emulator instability

2010-12-07 Thread Raymond Rodgers
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 Rodgers
http://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


Re: [android-developers] 2.3 Google API's missing?

2010-12-07 Thread Raymond Rodgers

On 12/07/2010 09:11 AM, StevePotell wrote:

It appears with 2.3 google maps can't be accessed.  Anyone else having
this problem?

I get the issue com.google.android can not be resolved

Looks like I will have to roll back to use google maps in my app.

You need to reinstall the Google API add-ons under Google Inc add-ons 
in the Available Packages section of the Android SDK and AVD Manager.

Raymond

--
Raymond Rodgers
http://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


Re: [android-developers] Double thumb on a seekbar

2010-12-07 Thread TreKing
On Mon, Nov 29, 2010 at 10:51 PM, sayani.ghos...@gmail.com 
sayani.ghos...@gmail.com wrote:

 Is it possible to have two thumbs on a single seekbar to select a period of
 time?


Sure. Make your own widget.

-
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] Permissions storage at installation

2010-12-07 Thread guillaume benats
Hi all,

I have read sources of PackageManagerService to follow steps of the
installation. I have now a clearer view on how permissions are granted but I
did not found in this code where the fact that applications are granted to
actual package are stored?
I mean, ok permissions are checked, gratend flag is set to true etc, but
then where is it stored to be checked at runtime?

-- 
Benats Guillaume .

-- 
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 Google API's missing?

2010-12-07 Thread StevePotell
thanks Raymond,

That is an interesting optional addition

On Dec 7, 9:16 am, Raymond Rodgers raym...@badlucksoft.com wrote:
 On 12/07/2010 09:11 AM, StevePotell wrote: It appears with 2.3 google maps 
 can't be accessed.  Anyone else having
  this problem?

  I get the issue com.google.android can not be resolved

  Looks like I will have to roll back to use google maps in my app.

 You need to reinstall the Google API add-ons under Google Inc add-ons
 in the Available Packages section of the Android SDK and AVD Manager.
 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: Permissions storage at installation

2010-12-07 Thread Tux
Forget it I wrote too fast, found it :-)

On Dec 7, 2:24 pm, guillaume benats guillaume.ben...@gmail.com
wrote:
 Hi all,

 I have read sources of PackageManagerService to follow steps of the
 installation. I have now a clearer view on how permissions are granted but I
 did not found in this code where the fact that applications are granted to
 actual package are stored?
 I mean, ok permissions are checked, gratend flag is set to true etc, but
 then where is it stored to be checked at runtime?

 --
 Benats Guillaume .

-- 
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: Total and free memory information in android phones and emulator

2010-12-07 Thread adithya
I would like to know how much memory dalvik VM is allocated with (heap
+ stack) to run applications.

There is an option while creating an AVD to allocate RAM i.e. by
default 96 MB and initial heap size i.e. by default 16 MB ..What is
the significance of this? can anyone explain?

Programatically if i want to calculate the system memory which i
assume is the memory allocated to the dalvik VM then is there a way to
do that ?

Next, if i want to find the memory consumption at the application is
there a way ?

There is an adb command like 'adb dumpsys' which gives memory related
information .Can i do something similar in code. Is there an API
available ?

I know i am asking a very vague question but thats how memory
management is ! :)

Thanks,
Adithya.



On Dec 6, 5:07 pm, DanH danhi...@ieee.org wrote:
 Are you asking whether there's a tool to show the 'non-heap heap --
 the heap space occupied by non-Java objects?  I don't know of
 anything, but I'm no expert at that?

 On Dec 6, 4:59 am, adithya 24adit...@gmail.com wrote:

  Thanks !

  Is it the case that java.lang.Runtime.totalMemory will return the
  total system memory allocated to the android emulator/phone and
  java.lang.Runtime.freeMemory will return the available system memory
  for the emulator/phone ? Is there a way to confirm the total memory
  allocated to the emulator is the same as the API methods return ?

  If that is the case then its fine for system level information. Can
  anyone please tell me for application level? Should
  ActivityManager.MemoryInfo suffice ?

  Thanks,
  Adithya.

  On Dec 6, 9:59 am, DanH danhi...@ieee.org wrote:

   Well, there's always java.lang.Runtime.freeMemory and totalMemory.

   On Dec 5, 10:08 pm, adithya 24adit...@gmail.com wrote:

Hi,

I have gone through the ActivityManager.MemoryInfo and
Debug.MemoryInfo classes and the API's provided by them to get an
insight of the available memory present and the memory consumption
being done. I have been through the methods provided by Runtime class
to get memory information.

I still haven't got a clear idea as to how to retrieve the system
level memory information.

For e.g. lets say the emulator is allocated 56MB of RAM and 24MB is
being used (which can be a combination of cached, actual memory which
cannot be GCed and other memory like dirty which can be freed whenever
required.). All at the system level and the application level.

I would be really glad if someone guided me  because i read that its
not that accurate to get memory usage in android ! I am using android
sdk 2.2.

Thanks,
Adithya.

-- 
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] Need Some Learning Resources

2010-12-07 Thread TreKing
On Mon, Nov 29, 2010 at 9:00 PM, Nick Carter
nickcarterdevelo...@gmail.comwrote:

 That will enhance my knowledge, but I need some learning resources. If you
 have any learning materials or books, please share.


learning resources is so broad, you're never going to get an answer. Try
this: google.com

-
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] Re: GLIBC 2.11 needed for emulator in SDK 2.3 !!!!

2010-12-07 Thread Fred J
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


[android-developers] Re: NFC Demo errors?

2010-12-07 Thread David Galante

Thanks Dominik!!  that fixed the errors!

-dave

On Dec 7, 6:50 am, Dominik dominik.gru...@fhnw.ch wrote:
 I have no problems with the NFC Demo (after I added the google guava
 library to the project).
 Seems to be that you have the same problem (e.g. BiMap is contained in
 com.google.common.collect).
 Guava is a superset of the Google Collections Library 
 (seehttp://code.google.com/p/guava-libraries/)
 Dominik

-- 
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

2010-12-07 Thread Danny Schimke
The change of R was my guess too and the main reason why I asked here. Ahh,
ok, I understand, you would save color names or the code like #RRGGBB. But
what happens when I delete or change colors... Once a color is part of my
app i can't remove it, cause users who used them saved the code or name into
the database and then there is a problem...

What do you think about a separate database table? Not good?

Thank you!
-Danny Schimke

2010/12/7 Kostya Vasilyev kmans...@gmail.com

 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@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] SQLite problem

2010-12-07 Thread Robin Talwar
Yes yes it is very much there.


On Tue, Dec 7, 2010 at 7:36 PM, Kostya Vasilyev kmans...@gmail.com wrote:

  Did the application actually install on the emulator?

 Can you run it from the emulator's installed applications list?

 -- Kostya

 07.12.2010 16:55, Robin Talwar пишет:

 Yes i created a newhelloworld project and it is running perfectly

 On Tue, Dec 7, 2010 at 7:18 PM, Kostya Vasilyev kmans...@gmail.comwrote:

  I don't think it's the code.

 Can you create a new HelloWorld type project using the wizard (File: New
 Android Project) and try to run that?

 -- Kostya

 07.12.2010 16:41, Robin Talwar пишет:

 Yes i can see the home screen.
 Do you have some time to read my code? It wont take much time as it is
 basic application

 On Tue, Dec 7, 2010 at 7:09 PM, Kostya Vasilyev kmans...@gmail.comwrote:

 Is the emulator already running at this point?

 Did you give it enough time to properly start up (you should see the
 Android home screen)?

 -- Kostya

 07.12.2010 16:28, Abhishek Talwar пишет:

  So i was doing some Database stuff
 I read the Notepad tutorial completed it and started making my first
 database application.
 I am not extracting data from user instead i have one application and
 on helper class .
 The application class calls the method of the helper class which adds
 the content in database.
 So the data is provided by main application and the the UI of the
 application should be just the list of the data.
 Basically very simple database application but still i am not able to
 complete it.
 I started commenting the code from bottom to check where the problem
 may have lied but
 it seems to me that i have commented every line of code lol :) and
 stll cant fix the problem .
 The Error Log which i get everytime i run the application is :-

 eclipse.buildId=M20100211-1343
 java.version=1.6.0_20
 java.vendor=Sun Microsystems Inc.
 BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_IN
 Command-line arguments:  -os linux -ws gtk -arch x86


 Error
 Tue Dec 07 18:45:33 IST 2010
 No command output when running: 'am start -n org.simpledatabase/
 org.simpledatabase.simpledatabase -a android.intent.action.MAIN -c
 android.intent.category.LAUNCHER' on device emulator-5554

 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.doLaunchAction(Unknown
 Source)
at

 com.android.ide.eclipse.adt.internal.launch.AndroidLaunchController.launchApp(Unknown
 Source)
at

 com.android.ide.eclipse.adt.internal.launch.AndroidLaunchController.simpleLaunch(Unknown
 Source)
at

 com.android.ide.eclipse.adt.internal.launch.AndroidLaunchController.access
 $3(Unknown Source)
at
 com.android.ide.eclipse.adt.internal.launch.AndroidLaunchController
 $3.run(Unknown Source)



 --
   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@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.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



 --
 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] Re: SDK 2.3: Get Multiple substitutions specified in non-positional format error

2010-12-07 Thread Ecthelion
Yes, if the library project includes all the sources. But in this case
part of the foreign code is inside a 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? In any case I still believe that issueing an
error instead of a warning is over the top.

On 7 Dez., 13:45, Mark Murphy mmur...@commonsware.com wrote:
 If it is an Android library project, you can definitely change the
 string. That's half of the point of *having* Android library projects
 -- so developers can modify resources as needed. In your project,
 override the library's string resource with one of your own with the
 same name, and it will be used. You do not have to modify the actual
 library project yourself.

 --
 Mark Murphy (a Commons 
 Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy

 Warescription: Three Android Books, Plus Updates, One Low Price!

-- 
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] Any news on an official update

2010-12-07 Thread TreKing
On Tue, Dec 7, 2010 at 3:11 AM, Tanco smarko...@gmail.com wrote:

 Any ideas on when we'll get the official update?


Is there ever?


  I cannot stress how important it is for my team to have this issue fixed
 as soon as possible...


What issue?


  but how soon is as soon?


Huh?

-
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] Re: Free version to Paid version

2010-12-07 Thread Emanuel Moecklin
Hi YuviDroid

To maintain several versions of the same app with minimum redundancy
and without any refactoring you can use library projects:
http://developer.android.com/guide/developing/eclipse-adt.html#libraryProject
(link if you are working with Eclipse).
Since the September update of the SDK it's also possible to have
library projects depending on other library projects.

I'm maintaining three versions of one app and two more versions of an
app based on the first app with two Android library projects, one
depending on the other one,  and five Android projects with almost no
redundancy (app icon, manifest, some assets but all these files would
differ from version to version of the app anyway). Seven projects
sounds like a lot but five of them are really just skeletons, the
real code is within the two library projects. Google really did a good
job here (although I would appreciate if assets could be stored in
library projects too;-).

Emanuel Moecklin
1gravity LLC


On Dec 7, 4:03 am, YuviDroid yuvidr...@gmail.com wrote:
 To maintain two versions of the app, I personally simply use a static
 boolean RELEASE_DEMO, that I set to true when releasing the demo one.
 It's just a little pain that you have to rename the packages, and eventually
 some code if it references the package in some hard-coded way. 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...

 Yuvi









 On Tue, Dec 7, 2010 at 3:50 AM, Brill Pappin br...@pappin.ca wrote:
  I've been thinking of trying that. It can only popup once to let the
  user know because it would be a real pain for them if it popped up
  every time the keyboard did :)

  However they would be able to click directly to download it or maybe
  tell it to remind them rather than just going away for ever.
  If you combine that with TreKing's idea of a button in the settings,
  and you have a pretty good chance that the user will know they have
  the option.

  I must say, I'm happy that the users will have a chance to try it free
  first, because its the kind of thing that there are many poor
  implementations of. Now I have to figure out how to maintain two
  versions of the app, as the library system seems to be very broken!

  - Brill Pappin

  On Dec 3, 5:52 pm, YuviDroid yuvidr...@gmail.com wrote:
   You could push an update to the free version, and then in its app
   description advertise the paid version. In this way users who will want
  to
   update their free-installed version will see the promo text in the
  market.
   (although they might use the Update all button and not see the new
   description...).

   I've never written an input-method, but if it's possible to show a dialog
   (or launch an activity) you could show a one time promotion of the paid
   version when your input method gets opened. Mmmdoes it make sense? :P

   Yuvi

   On Fri, Dec 3, 2010 at 11:12 PM, Brill Pappin br...@pappin.ca wrote:
Actually, my question was not about a separate app, but more along the
lines of how you tell the user they can upgrade. What ways work and
are unobtrusive and what ways don't.

- Brill Pappin

On Dec 2, 5:46 pm, Leon Moreyn-Android Development
lmor...@earthcam.com wrote:
 pretty much thats the general method being used. One thing to
  consider
 is unpublishing the app and releasing a paid version in its place.
  But
 users may find that kinda a slap in the face. I would say do as your
 doing, add features to the app and call it app Plus and charge money
 for it. Remember though those feature need to be worth the price you
 apply to the app though. What you can do is remove features in an
 update to your free app and keep them in your paid version.

 On Dec 2, 3:42 pm, Brill Pappin br...@pappin.ca wrote:

  I've got a situation a lot of us do, where I have released a free
  version and now need to make a Paid version of the same app.

  As those who have tried will know, you can't change an app from
  Free
  to Paid (a silly feature of the Market).

  So, what I'm planning to do is release a Plus version that has
  more
  features.

  What are others doing to help direct users to their paid versions
  from
  their Free versions?
  I'n my case its an input method, so I have to be careful about how
  I
  tell the user about the paid version with more features.

  Comments?

  - Brill Pappin

--
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%2Bunsubs
 cr...@googlegroups.comandroid-developers%2Bunsubs
  cr...@googlegroups.com
For more options, visit this group at
   

Re: [android-developers] Re: SDK 2.3: Get Multiple substitutions specified in non-positional format error

2010-12-07 Thread Mark Murphy
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.

 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.

 In any case I still believe that issueing an
 error instead of a warning is over the top.

I am not disputing that.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Warescription: Three Android Books, Plus Updates, One Low Price!

-- 
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

2010-12-07 Thread gamtgamt
I've noticed it too. I use it on Windows 7 64bit.

Thomas

On 7 Dez., 15:13, 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


-- 
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: Please help with an ideea

2010-12-07 Thread Alex Munteanu
Does anyone knows if going with an OpenGL approach would be a solution
for this ?

-- 
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

2010-12-07 Thread Kostya Vasilyev
Sure, a database would work, but, depending on how many colors you have, 
it might be overkill.


Also note that you don't have to use Android color resources unless it 
is actually convenient for your application.


I'd use a text file with simple color: #abcdef definitions, in res/raw 
to define the colors in the first place (so you could get the entire 
list for the user to pick from) and a database or SharedPreferences or a 
data file to save user selections.


-- Kostya

07.12.2010 18:18, Danny Schimke пишет:
The change of R was my guess too and the main reason why I asked here. 
Ahh, ok, I understand, you would save color names or the code like 
#RRGGBB. But what happens when I delete or change colors... Once a 
color is part of my app i can't remove it, cause users who used them 
saved the code or name into the database and then there is a problem...


What do you think about a separate database table? Not good?

Thank you!
-Danny Schimke

2010/12/7 Kostya Vasilyev kmans...@gmail.com mailto:kmans...@gmail.com

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
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



-- 
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
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

Re: [android-developers] SQLite problem

2010-12-07 Thread Kostya Vasilyev

What happens when you run it from the installed apps list?

Are you doing any type of lengthy operation in onCreate / onStart / 
onResume, such as downloading data from the Internet?


-- Kostya

07.12.2010 18:33, Robin Talwar пишет:

Yes yes it is very much there.


On Tue, Dec 7, 2010 at 7:36 PM, Kostya Vasilyev kmans...@gmail.com 
mailto:kmans...@gmail.com wrote:


Did the application actually install on the emulator?

Can you run it from the emulator's installed applications list?

-- Kostya

07.12.2010 16:55, Robin Talwar пишет:

Yes i created a newhelloworld project and it is running perfectly

On Tue, Dec 7, 2010 at 7:18 PM, Kostya Vasilyev
kmans...@gmail.com mailto:kmans...@gmail.com wrote:

I don't think it's the code.

Can you create a new HelloWorld type project using the wizard
(File: New Android Project) and try to run that?

-- Kostya

07.12.2010 16:41, Robin Talwar пишет:

Yes i can see the home screen.
Do you have some time to read my code? It wont take much
time as it is basic application

On Tue, Dec 7, 2010 at 7:09 PM, Kostya Vasilyev
kmans...@gmail.com mailto:kmans...@gmail.com wrote:

Is the emulator already running at this point?

Did you give it enough time to properly start up (you
should see the Android home screen)?

-- Kostya

07.12.2010 16:28, Abhishek Talwar пишет:

So i was doing some Database stuff
I read the Notepad tutorial completed it and started
making my first
database application.
I am not extracting data from user instead i have
one application and
on helper class .
The application class calls the method of the helper
class which adds
the content in database.
So the data is provided by main application and the
the UI of the
application should be just the list of the data.
Basically very simple database application but still
i am not able to
complete it.
I started commenting the code from bottom to check
where the problem
may have lied but
it seems to me that i have commented every line of
code lol :) and
stll cant fix the problem .
The Error Log which i get everytime i run the
application is :-

eclipse.buildId=M20100211-1343
java.version=1.6.0_20
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk,
NL=en_IN
Command-line arguments:  -os linux -ws gtk -arch x86


Error
Tue Dec 07 18:45:33 IST 2010
No command output when running: 'am start -n
org.simpledatabase/
org.simpledatabase.simpledatabase -a
android.intent.action.MAIN -c
android.intent.category.LAUNCHER' on device
emulator-5554

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.doLaunchAction(Unknown
Source)
   at

com.android.ide.eclipse.adt.internal.launch.AndroidLaunchController.launchApp(Unknown
Source)
   at

com.android.ide.eclipse.adt.internal.launch.AndroidLaunchController.simpleLaunch(Unknown
Source)
   at

com.android.ide.eclipse.adt.internal.launch.AndroidLaunchController.access
$3(Unknown Source)
   at

com.android.ide.eclipse.adt.internal.launch.AndroidLaunchController
$3.run(Unknown Source)



-- 
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
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, 

[android-developers] Re: NFC: Tag Emaulation

2010-12-07 Thread gamtgamt
It seems that even in the Nexus S there will be no tag emulation.
Simon Wilson (Android Engineer) says http://youtu.be/wk5mUdeEF8c at
1:02 that.

Did you find out how to write information to an nfc-tag? That I could
not find out till now.

Thomas

On 7 Dez., 12:01, Gruntz Dominik dominik.gru...@fhnw.ch wrote:
 Hi Everyone,
 In the android.nfc package documentation I read:

   Provides access to Near Field Communication (NFC) functionality, allowing 
 applications
   to read NDEF message in NFC tags. A tag may actually be another device 
 that appears
   as a tag.

 Question: Can tags be emulated with the Android NFC API, and if yes, how?

 Dominik

-- 
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: WebView's JavaScriptInterface throwing exception 100% of time

2010-12-07 Thread jsdf
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] Re: SDK 2.3: Get Multiple substitutions specified in non-positional format error

2010-12-07 Thread Bob Kerns
There's a terminology conflict at work here.

Class.getResource(String) and friends vs. Context.getResources() and
friends. To add to the confusion, they really *are* performing the
same task, albeit differently and on disjoint data.

The stuff inside a .jar file is accessed with
Class.getResource(String), while strings.xml is accessed via
Context.getResources().

To add further to the confusion, most of my comments could apply to
either, but the main discussion is referring to
Context.getResources().

On Dec 7, 7:39 am, 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.

-- 
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

2010-12-07 Thread dario
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 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
   

[android-developers] Re: Free version to Paid version

2010-12-07 Thread Brill Pappin
I've been pretty disappointed in the library projects. They are pretty
much broken IMO.
Although I have set it up there way, a lot of the application is
resources, which don't seem to be picked up properly. Then you have
the problem of providers with the same authority in two different
packages!
Not to mention having no end of issue when UI code is stored in a lib.

Its pretty crazy how limited the library projects actually are.

However, I have set that up, but I'm still having to maintain two
versions on the fly. At the moment I'm being very good about making a
change across both but we both know that can't last :)

In the mean time, I'm simply working to extract the logic of the
app(s) and move it into the lib.

- Brill Pappin

On Dec 7, 10:39 am, Emanuel Moecklin 1gravity...@gmail.com wrote:
 Hi YuviDroid

 To maintain several versions of the same app with minimum redundancy
 and without any refactoring you can use library 
 projects:http://developer.android.com/guide/developing/eclipse-adt.html#librar...
 (link if you are working with Eclipse).
 Since the September update of the SDK it's also possible to have
 library projects depending on other library projects.

 I'm maintaining three versions of one app and two more versions of an
 app based on the first app with two Android library projects, one
 depending on the other one,  and five Android projects with almost no
 redundancy (app icon, manifest, some assets but all these files would
 differ from version to version of the app anyway). Seven projects
 sounds like a lot but five of them are really just skeletons, the
 real code is within the two library projects. Google really did a good
 job here (although I would appreciate if assets could be stored in
 library projects too;-).

 Emanuel Moecklin
 1gravity LLC

 On Dec 7, 4:03 am, YuviDroid yuvidr...@gmail.com wrote:



  To maintain two versions of the app, I personally simply use a static
  boolean RELEASE_DEMO, that I set to true when releasing the demo one.
  It's just a little pain that you have to rename the packages, and eventually
  some code if it references the package in some hard-coded way. 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...

  Yuvi

  On Tue, Dec 7, 2010 at 3:50 AM, Brill Pappin br...@pappin.ca wrote:
   I've been thinking of trying that. It can only popup once to let the
   user know because it would be a real pain for them if it popped up
   every time the keyboard did :)

   However they would be able to click directly to download it or maybe
   tell it to remind them rather than just going away for ever.
   If you combine that with TreKing's idea of a button in the settings,
   and you have a pretty good chance that the user will know they have
   the option.

   I must say, I'm happy that the users will have a chance to try it free
   first, because its the kind of thing that there are many poor
   implementations of. Now I have to figure out how to maintain two
   versions of the app, as the library system seems to be very broken!

   - Brill Pappin

   On Dec 3, 5:52 pm, YuviDroid yuvidr...@gmail.com wrote:
You could push an update to the free version, and then in its app
description advertise the paid version. In this way users who will want
   to
update their free-installed version will see the promo text in the
   market.
(although they might use the Update all button and not see the new
description...).

I've never written an input-method, but if it's possible to show a 
dialog
(or launch an activity) you could show a one time promotion of the paid
version when your input method gets opened. Mmmdoes it make sense? 
:P

Yuvi

On Fri, Dec 3, 2010 at 11:12 PM, Brill Pappin br...@pappin.ca wrote:
 Actually, my question was not about a separate app, but more along the
 lines of how you tell the user they can upgrade. What ways work and
 are unobtrusive and what ways don't.

 - Brill Pappin

 On Dec 2, 5:46 pm, Leon Moreyn-Android Development
 lmor...@earthcam.com wrote:
  pretty much thats the general method being used. One thing to
   consider
  is unpublishing the app and releasing a paid version in its place.
   But
  users may find that kinda a slap in the face. I would say do as your
  doing, add features to the app and call it app Plus and charge money
  for it. Remember though those feature need to be worth the price you
  apply to the app though. What you can do is remove features in an
  update to your free app and keep them in your paid version.

  On Dec 2, 3:42 pm, Brill Pappin br...@pappin.ca wrote:

   I've got a situation a lot of us do, where I have released a free
   version and now need to make a Paid version of the same app.

   As those who have tried will know, you can't change an app from
   Free
   to Paid (a 

[android-developers] Re: Free version to Paid version

2010-12-07 Thread Brill Pappin
Actually, it looks like you don't actually need to rename the physical
packages, you only need to rename that one line in the manifest to the
alternate package (I'm not positive about that, but I think thats what
my initial experimenting showed).

If that is the case, maybe you can automate your build with a script
that would update that line in the manifest and you could put the demo
mode parameter in a file in your assets dir so that the app would know
what to allow.

You might also use Licensing to enable or disable the free mode.

- Brill

On Dec 7, 4:03 am, YuviDroid yuvidr...@gmail.com wrote:
 To maintain two versions of the app, I personally simply use a static
 boolean RELEASE_DEMO, that I set to true when releasing the demo one.
 It's just a little pain that you have to rename the packages, and eventually
 some code if it references the package in some hard-coded way. 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...

 Yuvi





 On Tue, Dec 7, 2010 at 3:50 AM, Brill Pappin br...@pappin.ca wrote:
  I've been thinking of trying that. It can only popup once to let the
  user know because it would be a real pain for them if it popped up
  every time the keyboard did :)

  However they would be able to click directly to download it or maybe
  tell it to remind them rather than just going away for ever.
  If you combine that with TreKing's idea of a button in the settings,
  and you have a pretty good chance that the user will know they have
  the option.

  I must say, I'm happy that the users will have a chance to try it free
  first, because its the kind of thing that there are many poor
  implementations of. Now I have to figure out how to maintain two
  versions of the app, as the library system seems to be very broken!

  - Brill Pappin

  On Dec 3, 5:52 pm, YuviDroid yuvidr...@gmail.com wrote:
   You could push an update to the free version, and then in its app
   description advertise the paid version. In this way users who will want
  to
   update their free-installed version will see the promo text in the
  market.
   (although they might use the Update all button and not see the new
   description...).

   I've never written an input-method, but if it's possible to show a dialog
   (or launch an activity) you could show a one time promotion of the paid
   version when your input method gets opened. Mmmdoes it make sense? :P

   Yuvi

   On Fri, Dec 3, 2010 at 11:12 PM, Brill Pappin br...@pappin.ca wrote:
Actually, my question was not about a separate app, but more along the
lines of how you tell the user they can upgrade. What ways work and
are unobtrusive and what ways don't.

- Brill Pappin

On Dec 2, 5:46 pm, Leon Moreyn-Android Development
lmor...@earthcam.com wrote:
 pretty much thats the general method being used. One thing to
  consider
 is unpublishing the app and releasing a paid version in its place.
  But
 users may find that kinda a slap in the face. I would say do as your
 doing, add features to the app and call it app Plus and charge money
 for it. Remember though those feature need to be worth the price you
 apply to the app though. What you can do is remove features in an
 update to your free app and keep them in your paid version.

 On Dec 2, 3:42 pm, Brill Pappin br...@pappin.ca wrote:

  I've got a situation a lot of us do, where I have released a free
  version and now need to make a Paid version of the same app.

  As those who have tried will know, you can't change an app from
  Free
  to Paid (a silly feature of the Market).

  So, what I'm planning to do is release a Plus version that has
  more
  features.

  What are others doing to help direct users to their paid versions
  from
  their Free versions?
  I'n my case its an input method, so I have to be careful about how
  I
  tell the user about the paid version with more features.

  Comments?

  - Brill Pappin

--
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%2Bunsubs
 cr...@googlegroups.comandroid-developers%2Bunsubs
  cr...@googlegroups.com
For more options, visit this group at
   http://groups.google.com/group/android-developers?hl=en

   --
   YuviDroid
   Check out Launch-X http://android.yuvalsharon.net/launchx.php (a
  widget to
   quickly access your favorite apps and contacts!)
 http://android.yuvalsharon.net

  --
  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 

Re: [android-developers] Re: Free version to Paid version

2010-12-07 Thread Mark Murphy
On Tue, Dec 7, 2010 at 11:38 AM, Brill Pappin br...@pappin.ca wrote:
 I've been pretty disappointed in the library projects. They are pretty
 much broken IMO.

I haven't had a problem yet.

 Although I have set it up there way, a lot of the application is
 resources, which don't seem to be picked up properly.

I haven't had a problem yet. You might consider starting a new thread,
or asking a question on StackOverflow, with specific symptoms.

 Then you have
 the problem of providers with the same authority in two different
 packages!

Content providers in a free/paid setup will be difficult regardless of
whether you use library projects or not.

 Not to mention having no end of issue when UI code is stored in a lib.

I haven't had a problem yet.

Here is a sample library project employing resources and UI code:

https://github.com/commonsguy/cwac-colormixer

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Warescription: Three Android Books, Plus Updates, One Low Price!

-- 
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: Please help with an ideea

2010-12-07 Thread String
On Dec 7, 4:00 pm, Alex Munteanu alex.munte...@gmail.com wrote:

 Does anyone knows if going with an OpenGL approach would be a solution
 for this ?

No offense, Alex, but it's pretty clear by this point that nobody
reading this group has a good idea of how to accomplish this - or at
the very least, not one that they're willing to share. It probably
won't matter how many times you ask.

Strikes me as a case where you need to do the legwork yourself. Read
up and experiment.

Good luck with it!

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] SQLite problem

2010-12-07 Thread Filip Havlicek
I would say show us your AndroidManifest.xml, might be some problem there.

Best regards,
Filip Havlicek

2010/12/7 Kostya Vasilyev kmans...@gmail.com

  What happens when you run it from the installed apps list?

 Are you doing any type of lengthy operation in onCreate / onStart /
 onResume, such as downloading data from the Internet?

 -- Kostya

 07.12.2010 18:33, Robin Talwar пишет:

 Yes yes it is very much there.


 On Tue, Dec 7, 2010 at 7:36 PM, Kostya Vasilyev kmans...@gmail.comwrote:

  Did the application actually install on the emulator?

 Can you run it from the emulator's installed applications list?

 -- Kostya

 07.12.2010 16:55, Robin Talwar пишет:

 Yes i created a newhelloworld project and it is running perfectly

 On Tue, Dec 7, 2010 at 7:18 PM, Kostya Vasilyev kmans...@gmail.comwrote:

  I don't think it's the code.

 Can you create a new HelloWorld type project using the wizard (File: New
 Android Project) and try to run that?

 -- Kostya

 07.12.2010 16:41, Robin Talwar пишет:

 Yes i can see the home screen.
 Do you have some time to read my code? It wont take much time as it is
 basic application

 On Tue, Dec 7, 2010 at 7:09 PM, Kostya Vasilyev kmans...@gmail.comwrote:

 Is the emulator already running at this point?

 Did you give it enough time to properly start up (you should see the
 Android home screen)?

 -- Kostya

 07.12.2010 16:28, Abhishek Talwar пишет:

  So i was doing some Database stuff
 I read the Notepad tutorial completed it and started making my first
 database application.
 I am not extracting data from user instead i have one application and
 on helper class .
 The application class calls the method of the helper class which adds
 the content in database.
 So the data is provided by main application and the the UI of the
 application should be just the list of the data.
 Basically very simple database application but still i am not able to
 complete it.
 I started commenting the code from bottom to check where the problem
 may have lied but
 it seems to me that i have commented every line of code lol :) and
 stll cant fix the problem .
 The Error Log which i get everytime i run the application is :-

 eclipse.buildId=M20100211-1343
 java.version=1.6.0_20
 java.vendor=Sun Microsystems Inc.
 BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_IN
 Command-line arguments:  -os linux -ws gtk -arch x86


 Error
 Tue Dec 07 18:45:33 IST 2010
 No command output when running: 'am start -n org.simpledatabase/
 org.simpledatabase.simpledatabase -a android.intent.action.MAIN -c
 android.intent.category.LAUNCHER' on device emulator-5554

 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.doLaunchAction(Unknown
 Source)
at

 com.android.ide.eclipse.adt.internal.launch.AndroidLaunchController.launchApp(Unknown
 Source)
at

 com.android.ide.eclipse.adt.internal.launch.AndroidLaunchController.simpleLaunch(Unknown
 Source)
at

 com.android.ide.eclipse.adt.internal.launch.AndroidLaunchController.access
 $3(Unknown Source)
at
 com.android.ide.eclipse.adt.internal.launch.AndroidLaunchController
 $3.run(Unknown Source)



 --
   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@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.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, 

  1   2   >