[android-developers] Re: Proguard problem after 2.3 update

2010-12-21 Thread Fred Grott(Android Expert, http://mobilebytes.wordpress.com)
set PROGUARD_HOME to point to the proguard in your android sdk install..

I also had to do a manual ant 1.81 install on Ubuntu 10.04.1 Ubuntu 11 will 
have ant 1.8 but Eclipse 3.7 will not have ant 1.81. until the end of the 
beta process...ie May 2011..

I use a plugin called wickedshell to run ant 1.8.1 from shell in eclipse..

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
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-19 Thread Fred Grott(Android Expert, http://mobilebytes.wordpress.com)
Od not run the ant build using eclipse 3.5,3.6, or 3.7 it still has
1.7.1 ant version..run form commandline..

I uuse wickedshell plugin to run the ant commandline command from my
workspace project dir



On Dec 9, 6:11 am, jb cona...@gmail.com wrote:
 Hi Xavier,

 I just updated my SDK to 2.3 and ADT to 8.01.
 I updated 'default.properties' to include:
 proguard.config=proguard.cfg
 proguard.cfg is in my project root directory.
 One of the entries in my proguard.cfg is
 '-dontskipnonpubliclibraryclasses'

 When I run a release with ant (or export with Eclipse) it appears that
 the proguard.cfg is not being read by proguard.  I get the following
 message from proguard.

  Warning: there were 247 unresolved references to classes or
 interfaces.
  [proguard]          You may need to specify additional library jars
 (using '-libraryjars'),
  [proguard]          or perhaps the '-dontskipnonpubliclibraryclasses'
 option.

 Any ideas or suggestions.

 jb

 On Dec 8, 4:39 pm, Xavier Ducrohet x...@android.com wrote:







  Robert, if you use the new build system and the default proguard
  config file, you shouldn't have any problem.

  you will however need Ant 1.8 as we use a new feature.

  I'm going to add a check on this to make sure people don't use a
  version of ant that's too low.

  On Wed, Dec 8, 2010 at 9:20 AM, Robert Nekic robertne...@gmail.com wrote:
   I'm also encountering problems getting the ProGuard integration
   going.  Everything was fine with a test project until I added a few
   jars to libs and added them to the Java Build Path.  Now my attempts
   to generate an unsigned release build causes the following error:

   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:55)

   I have previously used ProGuard and Ant generate builds outside of
   Eclipse and my old build script included -libraryjars ${android-jar};
   ${external-libs-folder} in the ProGuard params.  I'm trying to figure
   out the equivalent addition to proguard.cfg but so far have not
   succeeded.

   Any tips?

   --
   You received this message because you are subscribed to the Google
   Groups Android Developers group. To post to this group, send email 
   toandroid-develop...@googlegroups.com
   To unsubscribe from this group, send email 
   toandroid-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: Building several versions of an app from the same source

2010-12-19 Thread Fred Grott(Android Expert, http://mobilebytes.wordpress.com)
Maybe a buildr or gradle script to do it..

Buildr uses ruby and Gradle uses groovy



On Dec 19, 6:56 am, Mark Murphy mmur...@commonsware.com wrote:
 Use an Android library project:

 http://developer.android.com/guide/developing/eclipse-adt.html#librar...

 It will not get down quite to the level you seek, but fairly close.

 Or, write yourself a shell script/Java program/Ruby program/whatever
 to clone the project and apply your changes.









 On Sun, Dec 19, 2010 at 7:16 AM, Utumno lkoltun...@gmail.com wrote:
  Hello Android gurus,

  I would like to build 2 versions ( free and paid ) of my app from the
  same source. Both should be installable at the same time.

  Here's (hopefully) the full list of differences between the two:

  - android:icon
  - android:label
  - value of one constant in the code
  - and since both should be simultaneously installable, I guess I will
  need to change the namespace, too.

  What do you recommend? Any automatic solutions to this ( I guess
  fairly common ) problem?

  I am aware of custom Ant scripts ( like in
 http://java.dzone.com/articles/building-two-versions-same) however,
  any way to configure it in Eclipse?

  --
  You received this message because you are subscribed to the Google
  Groups Android Developers group.
  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

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

 _The Busy Coder's Guide to *Advanced* Android Development_ Version 1.9
 Available!

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
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: Business multi-tier application with android client

2010-10-29 Thread Fred Grott(Android Expert, http://mobilebytes.wordpress.com)
Have you tried restlets?

Very easy to do..better than soap


On Oct 28, 3:34 pm, mastermind denis.bar...@gmail.com wrote:
 I'm developing client-server application with android client and now
 I'm working on architecture trying to find proper technologies. Spent
 a lot of hours googling and testing and what I have:
 1) Server: Tomcat + AXIS + WebServices. The best way on first sight,
 but as far as I know SOAP isn't maintained by android developers.
 Release date of kSOAP2 is 2007-03-15, may be there other libraries for
 SOAP services?
 2) Server: Tomcat + Struts. I can use all power of J2EE, but struts
 designed mainly for web site development. Not exactly what I want.
 3) Server: Tomcat + Servlets, using Google Protobuf for client server-
 interaction. Unfortunately, protobuf works hell slow on android. As
 far as know android use optimized version of this library inside but
 google doesn't officially support it. Please correct me if I
 mistaken.
 4) Server: Tomcat + Servlets, using custom XML format for client-
 server interaction. At this time best solution. Just because first 3
 solution fails :( I can't use many useful J2EE features and I have to
 code a lot of stuff.

 Do you know any other ways? May be you can share your experience?
 I'm new in android development. Hope, you will help me with your
 advices :)

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
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: Integrating Proguard using recently posted instructions

2010-09-22 Thread Fred Grott(Android Expert, http://mobilebytes.wordpress.com)
I would suggest adding

path id=android.modified.classpath
fileset dir=${external.libs.dir}
 include name=**/*.jar/
/fileset
path refid=android.target.classpath/
/path

BEFORE the libraryjars property, than that property to point to that
path..

Okay I  will turn in the bug report :)


On Sep 22, 5:00 pm, William Ferguson william.ferguson...@gmail.com
wrote:
 The error msg seems to indicate where quite clearly.
 Line 38 of add-proguard-release.xml is where it is failing.

 And it is failing because it can't find the admob library and suggest
 that you include them using -libraryjars

 On Sep 22, 8:18 pm, akatka gur...@gmail.com wrote:



  I am integrating Proguard obfuscation in my application using the
  recently posted instructions on the Android developers blog.
  Everything works fine as long as my project doesn't use any third
  party jars. When I use a third party jar, admob-sdk-android.jar in my
  case, the ant release step fails with this warning

   [proguard] Initializing...
   [proguard] Warning: com.pqrs.XYZ: can't find referenced class
  com.admob.android.ads.AdManager
   [proguard] Warning: com.pqrs.XYZ: can't find referenced class
  com.admob.android.ads.AdManager
   [proguard] Warning: there were 2 unresolved references to classes or
  interfaces.
   [proguard]          You may need to specify additional library jars
  (using '-libraryjars').

  BUILD FAILED
  D:\testandroid\eclipseworkspace\MyProj\add-proguard-release.xml:38:
  Please correct the above warnings first.

  Where do I specify the list of third party jars so that the proguard
  can find those while the obfuscation step?

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
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] JetCreator Errors

2010-07-07 Thread Fred Grott(Android Expert, http://mobilebytes.wordpress.com)
Hello and Good Morning,

I am getting errors in my attempts to use JetCreator, such as:

Traceback (most recent call last):
  File JetCreator.py, line 1429, in module
au = JetCreator(None, -1, openFile)
  File JetCreator.py, line 86, in __init__
self.initLayout()
  File JetCreator.py, line 199, in initLayout
self.graph = SegmentGraph(rightPanel, size=(-1, 50))
  File /home/fredgrott/repos/mydroid/external/sonivox/jet_tools/
JetCreator/JetSegGraph.py, line 116, in __init__
self.OnSize(None)
  File /home/fredgrott/repos/mydroid/external/sonivox/jet_tools/
JetCreator/JetSegGraph.py, line 202, in OnSize
self.DoDrawing(None)
  File /home/fredgrott/repos/mydroid/external/sonivox/jet_tools/
JetCreator/JetSegGraph.py, line 221, in DoDrawing
dc = wx.AutoBufferedPaintDC(self)
AttributeError: 'module' object has no attribute 'AutoBufferedPaintDC'
fredgr...@ubuntu:~/repos/mydroid/external/sonivox/jet_tools/JetCreator
$

Anyone else running into the same problem? Python version is 2.6.5 and
wxpython version is 2.8.11

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
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: Compile Sip Stack

2010-07-07 Thread Fred Grott(Android Expert, http://mobilebytes.wordpress.com)
You would not use C/C++ for the sip stack for obvious reasons of cost
of moving objects over the JNI

On Jul 7, 9:40 am, André Barbosa afilipebarb...@gmail.com wrote:
 hi,
 anyone could compile some SIP Stack in C/C++ along with Android source
 code?

 Note: i am referring not to compile the Sip Stack with ndk, but
 compile with all the code of the Android plataform.

 best Regards.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Tool to generate class diagrams

2010-07-05 Thread Fred Grott(Android Expert, http://mobilebytes.wordpress.com)
Hi Priyank,

ArgoUML it also has an eclipse plugin and Papyrus Eclipse Modeling
project Eclipse 3.6.

On Jul 5, 2:55 pm, Priyank priyankvma...@gmail.com wrote:
 Hi,

 I have an existing android project, which I want to view it as a class
 diagram or in any uml representation
 Could anyone please give me a free tool to generate them.

 Thanks,
 Priyank

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
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: How change android Home default application (launcher.apk)

2010-07-02 Thread Fred Grott(Android Expert, http://mobilebytes.wordpress.com)
Its in the code samples of the SDk

On Jul 2, 6:03 am, Arun achoudhary2...@gmail.com wrote:
 Hi All,

 for some specific requirement
 I am required to change Android Default Home application
 with my customized Home application

 Can any one help me out like whr it registers launcher.apk for default
 home application or how to change that

 Regards,
 Arun

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
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: Uploading Adult apps.

2010-06-10 Thread Fred Grott(Android Expert, http://mobilebytes.wordpress.com)
ask on the discuss list, I forget the chaps name but he just started
such a market about 6 months ago he follows that list so you should
have your answer shortly after posting



On Jun 10, 9:23 am, Sean Hodges seanhodge...@googlemail.com wrote:
 On Thu, Jun 10, 2010 at 3:08 PM, TreKing treking...@gmail.com wrote:
  On Thu, Jun 10, 2010 at 4:15 AM, Sean
  Hodges seanhodge...@googlemail.com wrote:

  I don't think you can upload it to the Android Market,

  Well, you *can*, as evidenced by the plethora of adult apps already on the
  Market.
  You just risk being pulled for violating the TOS.

 This is true, I should have been more clear. There is a difference
 between being allowed to upload it, and being physically able to do
 it.

 I would argue that the Android Market is policed: I have heard of a
 fair number of occasions, both on and off the mailing lists, where
 people have had their apps pulled due to violating the TOS (usually
 without a proper explanation from Google). However, as TreKing points
 out, it is not foolproof so you might get away with it for a while.

 I still suggest the OP seeks an adult material-friendly market instead
 of relying on this approach though, or offers the APK as a direct
 download from a website.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
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: Crashing under Android 2.2. APIs update soon?

2010-05-18 Thread Fred Grott(Android Expert, http://mobilebytes.wordpress.com)
No actually the Sdk shown at Google IO gets released day of the IO
conference

On May 18, 9:24 am, TreKing treking...@gmail.com wrote:
 On Tue, May 18, 2010 at 9:05 AM, Moto medicalsou...@gmail.com wrote:
  Anyone know when the API might be released? Tomorrow perhaps? :)

 Judging from previous releases - about 2 - 4 weeks after people are actually
 using it.

 --- 
 --
 TreKing - Chicago transit tracking app for Android-powered 
 deviceshttp://sites.google.com/site/rezmobileapps/treking

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 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 
 athttp://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: Application Crash Reporting made easy - needs testers

2010-05-17 Thread Fred Grott(Android Expert, http://mobilebytes.wordpress.com)
Thanks Kevin this should be useful

On May 17, 11:39 am, Kevin Gaudin kevin.gau...@gmail.com wrote:
 Hello,

 I would like to introduce you to a library called ACRA (Application
 Crash Reporting for Android).http://acra.googlecode.com

 The goal of this library is to provide android applications developers
 with a tool to let their applications send them crash reports the
 easiest possible way.

 One of the main issue when implementing crash reporting tools is...
 where do I send my reports ? ACRA solves this problem with a simple
 solution : reports are sent to a Google Docs Form ! So you don't need
 to code your own reports receiver scripts and you don't have to find
 dedicated hosting for that... let's use Google's servers ! :)

 A first version of ACRA has been successfully used in a few apps
 already on the market, and we are now preparing to publish a v2 which
 allows developers to replace the annoying force close dialog with
 fully configurable notification systems :
 * Silent : the user experience is not altered compared to standard
 android apps. The force close dialog is displayed, but ACRA tries to
 send a report. If it fails, reports will be sent on application
 restart in a separate Thread.
 * Toast notification to inform the user that a crash report has been
 sent (and you may add that it can be disabled in the preferences
 screen)
 * Status bar notification which leads to a dialog asking the user if
 he's ok to send a report. You can even add an input field to let him
 comment the issue.

 We are now looking for devs who would like to test the library and
 it's different notification modes. All the information, screenshots
 and step-by-step usage guide are available in that Wiki page 
 :http://code.google.com/p/acra/wiki/ACRAHowTo2

 Devs who would like to use the v1 and it's basic (but working)
 functionnality can follow this link 
 :http://code.google.com/p/acra/wiki/ACRAHowTo2

 Any comment/discussion is open about ACRA, we really want your opinion
 about it.

 Kevin

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 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 
 athttp://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: Eclipse: running junit tests

2010-05-09 Thread Fred Grott(Android Expert, http://mobilebytes.wordpress.com)
recheck your test manifest do you have the right package listed in the
manifest?



On May 9, 2:51 pm, Patrick patrick.manges...@gmail.com wrote:
 Hallo!

 I implemented a junit3 test in an Android Test Project (which was
 created by the wizard) testing classes of my real project. Running the
 unittest I get the following error:

 [2010-05-09 21:30:05 - AndroidConsumerApplicationTest] Performing
 android.test.InstrumentationTestRunner JUnit launch
 [2010-05-09 21:30:05 - AndroidConsumerApplicationTest] Automatic
 Target Mode: using existing emulator 'emulator-5554' running
 compatible AVD 'AVD1.6'
 [2010-05-09 21:30:05 - AndroidConsumerApplicationTest] Uploading
 MyApplicationTest.apk onto device 'emulator-5554'
 [2010-05-09 21:30:06 - AndroidConsumerApplicationTest] Installing
 MyApplicationTest.apk...
 [2010-05-09 21:30:08 - AndroidConsumerApplicationTest] Success!
 [2010-05-09 21:30:08 - AndroidConsumerApplicationTest] Project
 dependency found, installing: MyApplication
 [2010-05-09 21:30:10 - AndroidConsumerApplication] Application already
 deployed. No need to reinstall.
 [2010-05-09 21:30:10 - AndroidConsumerApplicationTest] Launching
 instrumentation android.test.InstrumentationTestRunner on device
 emulator-5554
 [2010-05-09 21:30:14 - MyApplicationTest] Test run failed: Unable to
 find instrumentation target package: at.test.android.myapplication

 Do you have an idea, what could cause this problem?

 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 
 athttp://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: Debug key expired and problems to get a new one

2010-05-07 Thread Fred Grott(Android Expert, http://mobilebytes.wordpress.com)
under your user folder on Mac..you should see a hidden folder
called .android

delete the debug.keystore file and everything should regenerate a new
debug.keystore file and you will be fine



On May 7, 6:58 am, carknue pynetm...@googlemail.com wrote:
 I started android developping a year ago With Eclipse on a Windows
 Machine. Recently I switched to Mac OS X. Android developping worked
 fine with newest Eclipse and Android MacOS SDK on my iMac until my
 debug.kestore expired yesterday. Goggle suggests in this case to
 delete the old key and a new key should be generated automacially. But
 this is not working for me. Maybe it is just a missing path for the
 keytool. But how do I have to set this path and where? I looked into
 the JDK folders, but there are only symbolic links. Could anybody give
 me a detailed example how to set this keytool and sdk tools path in
 Mac OS X SL?

 And what debug.kestore will be used? In Eclipse settings I found a
 path to the default debug.keystore and a custom debug.kestore. What is
 the difference?

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 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 
 athttp://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: Change the font size of the Progress Dialog box

2010-04-15 Thread Fred Grott(Android Expert, http://mobilebytes.wordpress.com)
depends if I remember right.. you need to over ride an android  style
in the android name space and replace with your own

sdk install/platforms/version/data/res/values/styles.xml

that is the default on the OS uses..



On Apr 15, 12:54 pm, praj prajakt...@gmail.com wrote:
 Hi,

 Is it possible to change the font size of the detail message text in
 the Progress Dialog? Or will I have to create a custom Progress Box?

 Thanks,
 Prajakta

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
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

To unsubscribe, reply using remove me as the subject.


[android-developers] Re: Adding some nine patch images breaks all of my other images

2010-04-13 Thread Fred Grott(Android Expert, http://mobilebytes.wordpress.com)
What ADT version? Is that version 0.96?

On Apr 6, 5:42 pm, BrooksT bro...@tangentry.com wrote:
 Help! I'm working to convert some background images to nine patch so
 they scale better on different phones.

 The problem is that if I have the following resource structure:

 drawable-hdpi/background.png
 drawable-hdpi/button.png
 drawable-mdpi/background.png
 drawable-mdpi/button.png
 drawable-ldpi/background.png
 drawable-ldpi/button.png

 ...and then I drop a new drawable-hdpi/background.9.png file into the
 mix, it breaks button.png during the pre-compile.  The error is No
 resource found that matches the given name (at 'background' with value
 '@drawable/button').    main.xml        /test/res/layout        line 71 
 Android AAPT
 Problem

 Simply removing that one nine patch file fixes the build.

 Should I be able to have some nine patch images and some normal ones,
 or to have nine patch only in hdpi but not mdpi or ldpi?

 This is Eclipse 3.5.1 with the latest ADT.

 Thanks!
 -Brooks

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
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

To unsubscribe, reply using remove me as the subject.


[android-developers] Re: Creating Proxy Server

2010-04-10 Thread Fred Grott(Android Expert, http://mobilebytes.wordpress.com)
proxy http in your  streaming context refers to server side as you
will not fit a streaming server proxy on android.

On Mar 27, 7:39 pm, Scott sjholli...@gmail.com wrote:
 Looking for help with creating an http proxy server via Android. It's
 a bit difficult to ask this question with examples, etc, because
 networking isn't familiar to me, which means I don't quite know how to
 get started, so I'll try to explain: I'm attempting to play an audio
 stream using Android's MediaPlayer. It's a snap using setDataSource
 and my URL string... only some phones (those still running Android
 1.5) won't play the stream. Through research I've discovered that the
 problem may reside with the headers associated with my stream URL,
 that something in them is either missing, wrong, or simply needs to be
 changed in order for the MediaPlayer not to reject the URL on
 prepare() (could be length and/or content-type). I've been told that I
 should attempt to solve the problem by creating an http proxy server
 in my app, one where I can alter the headers to however I need them,
 and then attach to the stream through this new proxy... but I haven't
 the slightest idea on how to do this. Anyone have advice? I'd greatly
 appreciate a point in the right direction through code, not just
 suggestions like look up HttpClient in the SDK, because I've been
 through all of that and am getting nowhere. 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

To unsubscribe, reply using remove me as the subject.


[android-developers] Re: Set progress bar drawable

2010-04-07 Thread Fred Grott(Android Expert, http://mobilebytes.wordpress.com)
 ProgressBar mProgressBar = (ProgressBar)
findViewById(R.id.progress_bar);
 
mProgressBar.setProgressDrawable(getResources().getDrawable(R.drawable.progress_drawable));

set the drawables up in a selector xml file





On Apr 7, 5:47 pm, ls02 agal...@audible.com wrote:
 How do I change progress bar drawable at runtime? I have set of
 drawables and I thought setProgressDrawable would change the drawable
 but it does not seem to work on horizontal progress bar.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
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

To unsubscribe, reply using remove me as the subject.


[android-developers] Re: Your feedback on Samples/Tutorials/Articles

2010-03-25 Thread Fred Grott(Android Expert, http://mobilebytes.wordpress.com)
Might I make suggestion?

Several of us had this idea before..but for some reason Google at that
time was not showing interest..

Fred Grott
Mark Murphy
Al Sutton
Nicolas, owner of anddev.org and CS student in Germany

and others have suggested before to use the Google Knol service as a
way to get article contributions as a way to improve this area..
Google Knol services already has the collaboration structure in place

Mark Murphy's and My knols are already marked with the android-
programming tags

Si there any reason not to use this Google Knol service for such a
use?

In fact why not set up a contest, highest viewed Android Tutorial
knols get a Nexus One..



On Mar 18, 5:38 pm, Megha Joshi mjo...@google.com wrote:
 Hi everyone,

 As many of you might have noticed by now, we have added a new
 Resourceshttp://developer.android.com/resources/index.htmltab under
 developer.android.com. It contains samples, tutorials and technical
 articles. We want your feedback to add more samples and tutorials to
 it.. Please add/vote topics for new samples and tutorials at the link
 herehttp://bit.ly/cenfnx.
 Please be very specific (like mentioning API or package or feature or tool
 names) when you submit a suggestion.

 Thanks for your feedback in helping us improve our Android developer
 resources.

 -Megha

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
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

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words REMOVE ME as the subject.


[android-developers] UI OS build string

2010-03-23 Thread Fred Grott(Android Expert, http://mobilebytes.wordpress.com)
Hello and goo d morning.

For  HTC Sense Moto Blur, SE, etc where would the UI brand name appear
in the build strings..ie would that be model or what?

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

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words REMOVE ME as the subject.


[android-developers] Re: Overlay in Views. Please suggest

2010-03-19 Thread Fred Grott(Android Expert, http://mobilebytes.wordpress.com)
You need to use FrameLayout and than you can overlap the VideoView on
top of SurfaceView

On Mar 19, 1:46 am, Latha Shivanna latha...@gmail.com wrote:
 Hii All

 I need your help/suggestion on this issue.

 In my application, i have a surfaceView and a videoView which are
 occupying the full screen.

 SurfaceView is on the top and thus VideoView is hidden below.

 But i need to see both SurfaceView and VideoView together. How do i
 achieve this?

 I tried giving

 surfaceholder.setFormat(PixelFormat.RGBA_);

 and tried even this:

 surfaceholder_push.setFormat(PixelFormat.TRANSLUCENT);

 But nothing seem to bring my VIdeoView on my SurfaceView :(

 Can anyone please suggest something. I would appreciate your help.

 thanks in advance,
 Latha

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
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

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words REMOVE ME as the subject.


[android-developers] Re: Big difficult to develop in Android :( (I'm italian)

2010-03-19 Thread Fred Grott(Android Expert, http://mobilebytes.wordpress.com)
It would help if you asked about a specific first step..




On Mar 18, 2:23 pm, massimo maxloveg...@gmail.com wrote:
 Hi,
 I'm italian boy. I see that I have big big difficult to start to
 develop with android.
 I know Java and I have all the Eclipes and Android SDK installed.

 But for me undestand this SDK is very impossible. Online the Google
 Docs about SDK is too less complete and I see that is difficult to
 make something of realistic like a little videogame. I have difficult
 too to put an image inside.

 How I can do? Someone could help me to start? For example by MSN? Pls
 I need help because I would like make a little videogame.

 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

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words REMOVE ME as the subject.


[android-developers] Re: ImageView with graphic from the www ?

2010-02-27 Thread Fred Grott(Android Expert, http://mobilebytes.wordpress.com)
not possible

On Feb 27, 4:36 am, Marco Alexander Schmitz
marco.alexander.schm...@googlemail.com wrote:
 Hello,

 I want to show a graphic inside my activity. A graphic thats from the
 www. Just likehttp://www.google.de/logos/olympics10-sskating-hp.png.

 Wenn, in general I would download the graphic, convert it (maybe with
 photoshop or something), rename it (if neccassary) and copy it to my
 drawable folder. Then I can use its id inside my xml layout.

 Now I want this procedure dynamically.

 Which is the quickest way to do so?

 Btw: I dont want to use WebView for this...

 Greetings,
 Marco

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
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: Building android source for the first time on new machine java version error,

2010-02-27 Thread Fred Grott(Android Expert, http://mobilebytes.wordpress.com)
You still want to point ot Java 5..in fact I only have on my system
just for building android sources

On Feb 26, 10:41 pm, MCON Dev mcon...@gmail.com wrote:
 Issue 1 : Error : Your version is: java version 1.6.0_0. The correct
 version is: 1.5.
 Should I downgrade java ?

 Issue 2 : I was unable to process gpg --import for some reason it hung for a
 very long time, or never prompted me for the key. I then pasted the key to a
 file key.asc and ran gpg --import key.asc, Error : no valid OpenPGP data
 found.

 The source.android.com/download needs a bit of improvement. It would be good
 if you did not assume repo and git knowledge (80% of my audience during
 trainings). I request that you change just these few lines to ensure that it
 builds more easily.

 Please help
 mConDev Team

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
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: How to make a Downloadable DRM Module

2010-02-22 Thread Fred Grott(Android Expert, http://mobilebytes.wordpress.com)
it would seem that would require to be root which most users do not
have..

On Feb 20, 7:25 am, Peter Lee dongha@gmail.com wrote:
 Hello~

 I am trying to make a DRM module downloadable on Android.

 I've already applied our modules in embedded system.
 To apply a DRM module in Android, I made it as a CPM Plug-in of
 OpenCore and added its uuid in pvplayer.cfg.
 After applying, DRM-protected music contents can be played in Music
 Application of Android.

 I've planning to make the module downloadable because I want that drm-
 protected music contents can be played in not only new android phones
 but existing android phones, after a user downloads and installs it in
 their phones.

 BUT, we have a lot of difficulties in finding method.

 If anyone knows any method, could you tell me?

 I have another question.
 When myAppl.apk is installed in Android, I want a .cfg file written
 in /system/etc.
 Is it possible?

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] the correct hprof file location

2010-02-15 Thread Fred Grott(Android Expert, http://mobilebytes.wordpress.com)
Is Google aware that docs are listing two hrprof file locations?

hprof dump method gives /sdcard/dump.hprof as the default in docs
whereas monkey dev page indicate data/misc..

ahem  which one is correct?

Assuming that it might be the monkey dev page being wrong..can that be
turned in as a bug report against docs?

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: Export logcat from the device

2010-02-03 Thread Fred Grott(Android Expert, http://mobilebytes.wordpress.com)
yes, you will use the adb command line to move the logcat log file ie
push out to your harddrive folder location..google has a whole page on
those adb commands.

if you have eclipse connected through the debugger to emulator or
device you can also move them using the eclipse android debug screen
views and you can alos do the same in the motodevStudio4android..





On Feb 3, 1:51 pm, Kimi ezequiel.ac...@gmail.com wrote:
 Hello to everybody,

 Is there any way to get the file where logcat logs, and export it? I
 have tried running logcat and redirecting the output, but really
 it's not what I'm looking for.

 Thanks very much

 Ezequiel

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
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: Performance issue: Dalvik VM is 20x slower than most modern Java VMs

2010-01-06 Thread Fred Grott(Android Expert, http://mobilebytes.wordpress.com)
the next sdk release is suppose to have a Dalvik JIT i nit doubling
speed/performance..

I am in the same boat, have image processing projects but am holding
off until JIT is out..


On Jan 6, 11:49 am, niko20 nikolatesl...@yahoo.com wrote:
 You'll have to use the NDK and write some native C code to do your
 math, that will speed it up a lot. And use fixed point if you need
 floats.

 -niko

 On Jan 6, 11:08 am, Biosopher biosop...@gmail.com wrote:



  I'm writing a processing intensive digital sound processing app
  (requires numerous (50,000) Fast Fourier Transforms - FFT).  This
  challenge led me to perform basic performance tests of Android running
  on an HTC Hero.

  The results show the Dalvik VM to be 20 times slower than a modern
  JIT-enabled JVM running J2ME and 25-50 times slower than a C program
  performing the same operations on a similarly powered mobile phone.

  For example, this simple iteration over an empty method 2 million
  times takes 1.4 seconds even though it doesn’t do anything.  The same
  iteration is performed in milliseconds by a C program and about 100ms
  on a modern JVM

  public void performanceTest1() {
          for (int i = 0; i  200; i++) {
                  emptyMethod();
          }

  }

  private int emptyMethod() {
          return 0;

  }

  Doing something a little more complex like calculating the imaginary
  component of a complex conjugate 2 million times takes 3.2 seconds.
  Again, this takes milliseconds on other mobile phones running J2ME or
  C.

  public void performanceTest2() {
          for (int i = 0; i  200; i++) {
                  int a  = 5;
                  int b  = 5;
                  int c  = 5;
                  int x  = 5;
                  int y  = 5;

                  y = ((a  16) * ((c  16)  16)) + (((a  0X) * 
  ((c 
  16)  16))  16);
                  y = -y;
                  y  += ((b  16) * (c  16)) + (((b  0X) * (c  
  16)) 
  16);
          }

  }

  Has anyone else been able to overcome these performance issues of
  Android?
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
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 drivers programming

2009-12-31 Thread Fred Grott(Android Expert, http://mobilebytes.wordpress.com)
I knew of it for awhile sorry did not add it to AndMob wiki yet..



On Dec 31, 3:58 pm, Mark Murphy mmur...@commonsware.com wrote:
 dan raaka wrote:
  its been in existence for a long time now :)

 No doubt. But if nothing much links to it, it will be rather difficult
 for people to find. A search for pdk.android.com comes up with
 astoundingly few matches in Google, for example.

 We get enough complaints about inadequate Android documentation -- we
 can't afford to be hiding a hunk of it. :-(

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

 Android App Developer Books:http://commonsware.com/books

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
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: default screenwidth of android

2009-11-23 Thread Fred Grott(Android Expert, http://mobilebytes.wordpress.com)
Jags you need to mark the areas that draw9path stretches to get a
validated dfraw9path image with the tool..

directions are here:

http://developer.android.com/guide/developing/tools/draw9patch.html

Fred Grott
Android Developer | http://mobilebytes.wordpess.com |
http://twitter.com/sharemefg | http://www.linkedin.com/in/shareme |
gtalk: fred.grott | skype: fred.grott | googlewave:
fred.gr...@googlewave.com |
gmail:fred.gr...@gmail.com


On Nov 23, 4:59 am, Jags jag...@gmail.com wrote:
 I read the document and opened my image in draw9path tool

 I could not understand what to do with it, when i tried filling the
 pixels in left, the texts in picture started disappearing. so i did a
 save as .9 patch.

 the image was saved as imagename.9.png

  tried to use that by copying to drawable in eclipse, eclipse refused
 to reconginise that file, as it contained . i renamed it to
 imagename.png it restored to previous image

 is not there any automated way of doing this ?

 regards
 Jagat

 On Nov 20, 7:25 pm, Vishwanath Kamath Pethri

 vishwanathkam...@gmail.com wrote:
  use 9 patch images. This would solve your issues

  -
  Vishwa

  Jags wrote:
   whats the default screen width of android devices ? I took a 320 x 460
   image for my splash screen, it did not cover the entire screen !

   regards
  Jagat

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
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: Securing a paid app

2009-11-23 Thread Fred Grott(Android Expert, http://mobilebytes.wordpress.com)
I agree getting IMEI to store on a server not in telecoms control bad
idea..both security wise and legally..

Fred Grott
Android Developer | http://mobilebytes.wordpess.com |
http://twitter.com/sharemefg | http://www.linkedin.com/in/shareme |
gtalk: fred.grott | skype: fred.grott | googlewave:
fred.gr...@googlewave.com |
gmail:fred.gr...@gmail.com




On Nov 23, 9:23 am, David Given d...@cowlark.com wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 jax wrote:

 [...]

  How would I go about generating the hash code?  I am intending on
  using the ime.

 If you're in the UK and you want to keep track of customers' IMEIs, you
 may need to get legal advice --- there's a good chance you'll be liable
 under the Data Protection Act (as you're storing personally identifiable
 information).

 - --
 ┌─── dg@cowlark.com ─http://www.cowlark.com─
 │
 │ Sufficiently advanced incompetence is indistinguishable from
 │ malice. -- Vernon Schryver
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.9 (GNU/Linux)
 Comment: Using GnuPG with Mozilla -http://enigmail.mozdev.org

 iEYEARECAAYFAksKqO8ACgkQf9E0noFvlzjDQgCgrXFzamiu5EX6agg7NFI7OKiz
 BUEAn1CMcFfWIro+V8E7RtbDMF3rPqLa
 =KH5U
 -END PGP SIGNATURE-

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
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: hidden APIs in Android

2009-11-19 Thread Fred Grott(Android Expert, http://mobilebytes.wordpress.com)
Try it you  will not get a compile though..the are not in the
framework jar so it would be a pointless task on your part..

Fred Grott
Android Developer
http://mobilebytes.wordpress.com



On Nov 18, 7:49 pm, tomei.ninge...@gmail.com
tomei.ninge...@gmail.com wrote:
 There are a bunch of APIs that are hidden using the @hide tag so they
 are not exposed in the SDK. If I call these APIs anyway, does the VM
 actually prevent me from doing that (in dexopt stage, etc)?

 I am trying to do a demo so I just need a quick hack. This is not for
 a product so please don't tell me to do the right thing :-)

 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: Developing Android Developers in the US

2009-11-18 Thread Fred Grott(Android Expert, http://mobilebytes.wordpress.com)
You probably will not like my answer despite its honesty.

I have found that those who want to 'pitch' telecom firms job
candidates that do not understand the major differences between the
skill sets of an application developer and an embedded mobile
developer usually do yes have a touch time in finding qualified
embedded candidates.

I mean gee who hangs on the android platform list..think about it..







On Nov 17, 3:01 pm, GirlRumi lacy.tan...@gmail.com wrote:
 Hello All,

 I am attempting to reach out to Android Developers who might be able
 to answer a fundamental question... what is the best way to identify
 Android developers in the US?

 My company is thinking of training developers who have experience in
 Java or Linux onsite at our facility in Dallas, TX for 3-6months in
 Android development. We have clients in the telecom industry who are
 in desperate need of individuals with expertise in Android development
 but we haven't had much luck finding developers in the US.

 Do you think training is a viable option? If no, then how to identify
 individuals with existing skills?

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
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] ArchOS emulator?

2009-11-15 Thread Fred Grott(Android Expert, http://mobilebytes.wordpress.com)
At some point I may have to test apps to get them working on Archos or
Android-x86.

I was thinking I could use Android-x86 in Qemu to test archos
compatibility..so what problems would  I run into with this approach?

Thanks

Fred Grott
Android Developer
http://mobilebytes.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: eclipse problem in AndroidManifest.xml file

2009-11-13 Thread Fred Grott(Android Expert, http://mobilebytes.wordpress.com)
is this a typo or actual in Manifest?

action
android:name=android.telephony.TelephonyManager.ACTION_PHONE_STATE_CHANGED/

needs ending tag completion ie /

Fred Grott
Android Developer
http://mobilebytes.wordpress.com


On Nov 13, 2:50 am, Android Helebek bilge.tu...@gmail.com wrote:
 Hi All,
 I was using Netbeans to write my Android applications for a few weeks
 now (i was used to NB). Then I decided to give a chance to Eclipse,
 since its the official recommended (with tools existing) development
 environment. Now, that I moved my code to Eclipse, it keeps
 complaining in the manifest file. The error is shows is as following:

         receiver android:name=.MyPhoneListener
             intent-filter
                 action
 android:name=android.telephony.TelephonyManager.ACTION_PHONE_STATE_CHANGED/

             /intent-filter
         /receiver

 org.xx.xx.MyPhoneListener does not extend
 android.content.BroadcastReceiver

 And actually it is true that it does not extend BroadcastReceiver, but
 extends PhoneStateListener.

 class MyPhoneListener extends PhoneStateListener

 My question is, I was able to compile and run my exact same
 application from Netbeans and the application was running fine.

 So what might be the problem, is it an Eclipse bug or is this really a
 wrong implementation (even it works!)?

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
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] ADP2 Coming

2009-11-13 Thread Fred Grott(Android Expert, http://mobilebytes.wordpress.com)
ADP2 is coming Brightstar just announced it:

http://www.rcrnewsdirectory.com/pressrelease.aspx?id=325512

I have not seen Google mentions of it yet..

Fred Grott
Android Developer
http://mobilebytes.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: Bright Star Corp Legit?

2009-11-13 Thread Fred Grott(Android Expert, http://mobilebytes.wordpress.com)
Yes its a legit company and the one that Google contracted out to do
the ADP1 and ADP2 device supplying

Fred Grott
Android Developer
http://mobilebytes.wordpress.com


On Nov 13, 10:20 am, Greg loslosb...@gmail.com wrote:
 I'm a noob, and have looked extensively and have found only other
 complaints...

 Q: Who are these people? Are they legit?

 Q: Why does Google use them?

 Bright Star Corp is where I got redirected to buy ADP1, and I tried to
 checkout, and was declined due to fraud service.   I tried again a
 few days later, same thing.

 I have recently found, 10 days later, that there is 800$ Pending on
 my credit card, and of course contacted the number supplied on the
 credit card site for this BrightStarCorp.  I left 11 voice mails,
 and no call back.

 One more call today, and then I turn the credit card co. on them, and
 the OK Atty Gen's office.

 I'm concerned that they are not supposed to be getting these redirects
 and it really looks like a scam to me.  Do you folks know more about
 it?   Does Google have a developer support number?  I can't find any
 phone numbers.

 G.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
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] Eclipse Javadoc edit tool

2009-11-11 Thread Fred Grott(Android Expert, http://mobilebytes.wordpress.com)
Hello everyone

I am like most developers who use Eclipse on Eclipse 3.5 but most of
the past javadoc edit plugins for Eclipse do not work in Eclipse 3.5

I was wondering if anyone found a solution..

Not a real deal breaker just ease of creating the javadocs for Android
application projects.

Thanks

Fred Grott
Android Developer
http://mobilebytes.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] Lock Screen?

2009-11-11 Thread Fred Grott(Android Expert, http://mobilebytes.wordpress.com)
My question is that I have use case whereas client wants me to lock an
application..

Could any of the APIs for the Device Lock screen be re-purposed to
lock the application in the same manner?

Or would I have to come up with some new code?

Thanks

Fred Grott
Android Developer
http://mobilebytes.wordpress.com

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Android versions

2009-11-10 Thread Fred Grott(Android Expert, http://mobilebytes.wordpress.com)
If you do not need ot use 1.6 or 2.0 feature than you should upgrade
to 1.6 so that your screen layouts and etc are correct on WVGA devices
etc..

which means after you downlaod the sdk use the new 2.0 downloader via
eclipse adt 0.9.4

There is a post on the developer blog about switching to 1.6 screen
sizes that gives you the run down on what to change..

You can still maintain a copy at api 3 level to test on your hero
until your hero gets the 1.6 update in your part of the World which I
imagine should be shortly

Fred Grott
Android Developer
http://mobilebytes.wordpress.com




On Nov 10, 3:37 am, Neilz neilhorn...@googlemail.com wrote:
 Ok, I'm a bit behind the times here...

 I am still developing with version 1.5, level 3.

 1) Should I install 2.0 and develop with that? My phone is a Hero with
 v1.5.

 2) If I do install 2.0, do I need to upgrade the software on my phone?
 Will my apps still work?

 3) Also, if I do install 2.0, should I install 1.6 first, and then
 upgrade to 2.0?

 Many thanks for any advice.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
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: How can I partecipate to an Android project?

2009-11-10 Thread Fred Grott(Android Expert, http://mobilebytes.wordpress.com)
Okay, some information..

the main project source is detailed at:

http://source.android.com/

You may want to get an introduction by starting with something small..
Earlier this year I started by improving some SDK developer support
issues by contributing changes back to the Android Project and now I
am in process of completing some android.test classes that will be
contributed back to the Android project.

Now remember most first time contributors are not full members of the
sub projects so you need to find something small to work on that fixes
an issue or bug than progress from there..

What area you interested in?

Fred Grott
Android Developer
http://mobilebytes.wordpress.com


On Nov 7, 1:11 pm, Joey Ramone ivan.laso...@gmail.com wrote:
 Hi everybody. I'm a student in computer science. I know Java, I don't
 know Android framework and the design patterns but I wish I learn
 them. Where can I find an Android project which I might partecipate?
 I'm sorry for my terrible english. Thank you :D

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
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: Using the Eclipse debugger?

2009-11-10 Thread Fred Grott(Android Expert, http://mobilebytes.wordpress.com)
Okay we need more information

What is your OS environment?

What is your eclipse set up?

Fred Grott
Android Developer
http://mobilebytes.wordpress.com



On Nov 10, 12:40 pm, CyberQat jef...@gmail.com wrote:
 Hi Guys,

 Im programmign on Windows with Elcipse and a Motorola Droid.  ADB will
 successfully download the code to the Droid and run it, but ive been
 unable to get debugging to work either remotely or with the emulator.
 (To be honest Im having multiple problems with the emulator and id
 rather just not have to use it.)

 Does remote debugging work? If so, how would I get it working?  If
 not, does emulator debugging work and how would I get that working?

 Right now my debugging consists of setting the text of an onscreen
 text-view, but thats not a good long-term solution.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
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: Archos gives away Android W VGA 4.8 Tablets for 1€ to developers in France

2009-11-09 Thread Fred Grott(Android Expert, http://mobilebytes.wordpress.com)
Charbox this belongs in the discussion forum..



On Nov 9, 3:18 am, Charbax char...@gmail.com wrote:
 At least, that's what is being talked about in French 
 athttp://www.frandroid.com/6546/1e-larchos-5-it-cest-possible/

 The concept being that for developers submitting at least one approved
 application tohttp://appslib.com, that developper can get a 228€
 rebate voucher code to his email and order the Archos 5 Internet
 Tablet with Android and 8GB storage then from Archos website.

 I do not know if Archos has some kinds of manual verification other
 than to check that the application works fine on 800x480 (and through
 HDMI 1280x720) screens, perhaps Archos also checks that the app is
 original and not automatically generated by non-coders using some
 kinds of Android app generators where you input an RSS feed and it
 automatically outputs a duplicated app that simply displays the
 contents from that RSS feed.

 I think this is a great idea for Archos, to try to get the attention
 from 1000 of the best Android developers, to submit their apps 
 tohttp://appslib.combecause Android developers are often the most
 influential early-adopters. So if 1000 Android developers are
 impressed by the Archos 5 Internet Tablet, it may inspire them to
 develop more apps for WVGA medium density since Archos is the first
 and only 4.8 WVGA medium density Android product on the market. Also,
 having more apps, and having more developers enthusiastic about higher
 resolution Android development, will encourage more consumers to look
 into it.

 For now, only free apps are supported inhttp://appslib.com, but
 later paid apps will work as well. My suggestion would be for
 Marketplaces in general to offer a Premium subscription plan for
 around $3 per month or something like that, to offer full access to
 installing and updating Premium applications. This way developers can
 decide if they want to sell their apps or include them in the premium
 access plan, and as well if they want to offer a purchase rebate for
 premium access subscribers. This way, the developers of the most
 useful and most used apps would automatically get paid more from the
 premium subscription plan. Probably that many more users won't mind
 paying that unlimited premium access, pirates will probably not care
 to pirate anymore since premium access subscription would be so
 affordable and this way more money would be distributed to developers.
 This premium Android apps plan is though just my idea, I don't know if
 it has been suggested before.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
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: motorola cliq sdk 2.0

2009-11-09 Thread Fred Grott(Android Expert, http://mobilebytes.wordpress.com)
ah that is suppose to be that way use setprops via adb

On Nov 9, 9:20 am, nEx.Software email.nex.softw...@gmail.com
wrote:
 Another reason I don't beleive the CLIQ is a good development device:
 The CLIQ does not output Log.v() or Log.d() level logging via LogCat.

 On Nov 9, 4:39 am, jarkman jark...@gmail.com wrote:

  Dianne - we have a couple of problems on the CLIQ.

  In both cases, the APIs are technically working correctly, but the
  resulting user experience is unfortunate, so these may not be exactly
  what you are asking for. But, in case you are interested:

  (1) The CLIQ has a lot of contact data (from facebook and so on) that
  is not visible through the Contact APIs. From our user's point of
  view, that results in contacts who simply do not appear in our UI or
  in contacts with phone numbers that we can't see. They see that
  experience as broken.

  We have no workaround for that, apart from hoping that that the CLIQ
  moves rapidly to 2.0.

  (2) The CLIQ has no LED colour control, so our LED-colour
  configuration UI appears broken to our users. The docs do say that LED
  colour support is optional, but without an API to query for colour
  support we can't take the UI away automatically.

  We're fixing that with a special-case CLIQ detector, but that is
  obviously not a good solution in a amrket with a lot of new phones
  appearing.

  Thanks,

  Richard

  On Nov 7, 9:00 pm, Dianne Hackborn hack...@android.com wrote:

   Can you give more detail?  The APIs should work the same.  If there are
   changes, we'd really like to know.

   On Sat, Nov 7, 2009 at 10:51 AM, nEx.Software
   email.nex.softw...@gmail.comwrote:

The CLIQ is not representative of a normal Android experience. It is
buggy, half of the components have been replaced by Motorola. They use
their own variants of some APIs.

And, I certainly would not recommend it as a user device, personally.
As a user of the CLIQ I have been very, very disappointed.

So, if you really want just a testing device I would choose something
the is not as heavily modified. If you also want to use it as your
actual phone, I would choose something less glitchy and more flexible.

On Nov 7, 11:10 am, Dianne Hackborn hack...@android.com wrote:
 On Fri, Nov 6, 2009 at 8:33 PM, nEx.Software
 email.nex.softw...@gmail.comwrote:

  The CLIQ has 1.5 loaded, and it is NOT a good development phone. 
  Trust
  me.

 What is wrong with it?  Fwiw, one of our goals is that all Android
 compatible phones should also allow for the full standard development
 environment.

 --
 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.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: Override in call-screen - Security Bug or Feature?

2009-11-09 Thread Fred Grott(Android Expert, http://mobilebytes.wordpress.com)
Seems to me if we could come up with a pleasant icon of warning that
it is not the default call-screen that my alleviate some problems

have the icon clickable with an information screen/toast

On Nov 4, 4:24 pm, Jarman jarman.andr...@gmail.com wrote:
 Sorry, I meant she of course, too fast on the keyboard :)

 This has been resolved, it´s not a bug. This is the response I got
 when i reported it as a possible security issue:

 It depends on what you mean by override the in-call screen.

 In the discussion groups this *usually* comes up when someone wants to
 totally replace the in-call UI with a new design (which should still
 be
 fully functional, but just look different.)  This unfortunately isn't
 possible in Android 1.x or 2.0 because 3rd party apps aren't (yet)
 allowed
 full access to the telephony APIs.

 But you're just talking about the ability to pop up some other
 activity on
 top of the in-call UI.  Looking at your app's description, I assume it
 listens for incoming call events, and then eventually launches some
 other
 activity on top of the in-call screen.  Sure, there's nothing
 preventing
 this; any 3rd party app (with appropriate permissions) can launch new
 activities whenever it wants.

 (You're right that a malicious app could do this and be extremely
 annoying, but the user can always hit HOME, and get back to the real
 InCallScreen by pressing the green button or selecting the in-call
 notification.)

 Also FWIW, this app (and the similar ones also in the market) do
 require
 at least a couple of permissions marked as dangerous, so at least
 the
 user will see a warning before installing it...

 Bottom line: no security hole here.  It's possible for an app (with
 the
 right permissions) to be annoying, but even so it's still fairly easy
 for
 the user to recover.

 On 4 Nov, 20:15, Disconnect dc.disconn...@gmail.com wrote:

  Didn't the whitepages app come out in the very very first days of the
  market with this capability? (I didn't use it much, at the time there
  was no 3g in this area. Plus, submitting incoming phone #s to a 3rd
  party service was really skeevy.)

  As an aside, Dianne is a girl's name. :)

  On Wed, Nov 4, 2009 at 10:47 AM,Jarmanjarman.andr...@gmail.com wrote:
   I just had a private mail-discussion with Dianne Hackborn and he asked
   me to put this issue on the Developer forum for further discussion.

   I have managed to override the in-call screen from the Java API (i.e.
   not modifying the source).
   (If you want to se it happen, download Jarmans ReverseLookup from the
   Market, it´s free)

   Reply from Dianne:
   It can't be done in a supportable way without modifying the source.  I 
   don't know how you went about your
   solution, but there is probably a good chance that it would be broken 
   in a future version of the platform.  Actually  there could even be a 
   chance of it bring deliberately broken if security concerns get raised 
   (disrupting the
   standard in-call information like this without the user approving is 
   something that is likely to get filed as a
   security bug in the platform).

   What do think about this?

   Best Regards
  Jarman

   --
   You received this message because you are subscribed to the Google
   Groups Android Developers group.
   To post to this group, send email to android-developers@googlegroups.com
   To unsubscribe from this group, send email to
   android-developers+unsubscr...@googlegroups.com
   For more options, visit this group at
  http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Is your Android app on Archos Market ?

2009-11-07 Thread Fred Grott(Android Expert, http://mobilebytes.wordpress.com)
Charbox your slander definition seems to be somewhat unique and
different.

In most posts I see a constant theme of a developer who bought an
Archos device and who loves it detailing specific issues that hamper
the user experience..






On Nov 7, 6:38 pm, Charbax char...@gmail.com wrote:
 alsutton has spent huge amounts of time over the past couple months
 posting disparaging posts against Archos on thehttp://forum.archosfans.com
 , posting every type of unfounded and slanderous allegation against
 Archos that one can nearly think of, that were not sensible degree of
 scepticism, that are part of him having a premeditated agenda in
 trying to publicly attack Archos reputation, stir controversial,
 inflammatory, irrelevant, or off-topic discussions on the unofficial
 Archosfans forum, that is in fact about participating in spreading FUD
 about a competitor (appslib vs andappstore) on public internet forums
 without a full disclosure.

 When you are contemplating to prepare a court case against a company,
 you don't go spend 2 months disparaging that competing company on the
 internet forums for that company (maybe even blogs).

 That'd be like Microsoft employees spreading lies about apple on apple
 fansites and forums a couple months before they announce to sue each
 other.

 alsutton's favorite Archos bashing theme was to basically recommend
 that nobody should buy the Archos 5 Internet Tablet with Android
 because it would in his knowledgeable and expert mind and with all his
 exclusive contacts in the Android development community (even with him
 having all kinds of contacts with Google engineers), that he could
 always with all kinds of certainty say that Archos would never be able
 to use the Google Apps and the Google Marketplace. He posted this
 speculation of his as fact on the forum for dozens and dozens of times
 and he would bring it up in dozens of different threads even bringing
 things like this up in totally unrelated threads.

 If, as a moderator of that site, I hadn't actually deleted several of
 the worst of such unrelated allegations posted by alsutton on the
 forum (and which I somewhat regret now since it would have been better
 to have the complete archive of his worst offending posts), you would
 be able to find many more such attacks on Archos reputation in the
 posts throughout all his posts 
 athttp://forum.archosfans.com/search.php?author_id=44763sr=posts

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
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.com e-mail addresses

2009-11-04 Thread Fred Grott(Android Expert, http://mobilebytes.wordpress.com)
No, for Google engineers working on Android OS only

On Nov 4, 1:01 am, PJ pjbar...@gmail.com wrote:
 If someone has an android.com e-mail address, what does that mean?
 Can serious app developers get one?

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en