[android-developers] html5 database size

2011-08-19 Thread Shawn Brown
Hi, My handset shows 2.2 MB in stored data for my browser at a particular site. That site reports (via adb logcat): there was not enough remaining storage space, or the storage quota was reached and the user declined to allow more space - Executed SQL: null I can't believe there is so little

[android-developers] Re: howto diagnose random reboots

2011-08-16 Thread Shawn Brown
Here is another bugreport of what keeps my nexus one crashing. Where would I file a bug report on this? [ 2836.578948] ARM9 has CRASHED [ 2836.579284] smem: DIAG '[WCDMA] 22:27:18 FATAL: IST0 (mcalwcdma_demod.c:02059) (1) [ 2836.579284] ' [ 2836.579620] [ 2836.579864] Restarting Linux version

Re: [android-developers] Re: Mac source control

2011-05-20 Thread Shawn Brown
Eclipse has an EGit plugin I like to use this to commit to my branch locally and then use gitx http://gitx.frim.nl/ to push to github (which is only like $7 for private repos) to make it a little easier to get into (or harder, it is a bit buggy). git actually was simple to learn. Ok I don't

[android-developers] java.net.UnknownHostException: android.clients.google.com

2011-03-10 Thread Shawn Brown
Why do I keep seeing this error E/CheckinTask( 243): Checkin failed: https://android.clients.google.com/checkin (request #0) E/CheckinTask( 243): java.net.UnknownHostException: android.clients.google.com E/CheckinTask( 243): at java.net.InetAddress.lookupHostByName(InetAddress.java:506)

[android-developers] Why does gmail and market suddenly not connect.

2011-02-22 Thread Shawn Brown
Hi, Why does gmail and market suddenly not connect. Trying to sync my mail gives me. D/Gmail ( 390): Validating Notification: mapSize:0 tagLabel:null label getAttention:false W/InputManagerService( 85): Window already focused, ignoring focus gain of:

[android-developers] library byte code (in)compatibility if added as an external jar

2011-01-15 Thread Shawn Brown
Hi, To add a 3rd party .jar to Android I followed Android suggested practice(1) by adding the .jar as a Library [not as an Android Library under Eclipse (2)], but am being told this may induce byte code incompatibilities? Can I safely use a .jar compiled with a JDK in Android? I think I can but

Re: [android-developers] library byte code (in)compatibility if added as an external jar

2011-01-15 Thread Shawn Brown
Can I safely use a .jar compiled with a JDK in Android? Possibly. It depends.  This is wrong. One missing method (even if it is one of many overloads of a single method name) that is present in the JDK but not in Android, and you've got byte code that is only compatible with the JDK, but

[android-developers] does a handler prevents memory leaks???

2011-01-10 Thread Shawn Brown
Hi, Android docs(1) suggest using threads and a handler to send messages (to avoid ANR). Fine. I've always done that but then porting some code to Android noticed that it's not necessary. Passing the Activity (i.e. Context) works fine. public class WorkerThread extends Thread { private

Re: [android-developers] for loop drawing first graphics to x0 y0 if more than 1 iteration

2010-10-30 Thread Shawn Brown
                         if(_theGrid1.size()7){                                int g1left = 7-_theGrid1.size();                                        int i;                                        for(i=1;i=g1left;i++){                                                x1=64;                    

Re: [android-developers] Android Dev Phone question

2010-10-24 Thread Shawn Brown
Hi, I am not aware that an Android phone will automatically connect to an unconfigured access point. I do not recall there being a prompt during the setup to configure an access point. I don't have 3G on my plan (voice only). On an adp2 and Nexus One, I simply skipped the google setup and

[android-developers] Hero performance reported as slow

2010-10-13 Thread Shawn Brown
Hi, We released an app recently and Hero users report it as lagging in performance. We developed on the G1 and G2 and our tests show only about 15% of cpu is used. We have a SurfaceHolder thread that redraws once every 100ms and mostly sleeps in between draws. We have a thread reading incoming

Re: [android-developers] Re: Hero performance reported as slow

2010-10-13 Thread Shawn Brown
Hi, Hero are slow if still running V1.5 android. They need 2.1 for our app since we're using standard bluetooth apis and our app won't run without them. Thanks for the idea but it has to be something else. Shawn -- You received this message because you are subscribed to the Google Groups

[android-developers] sample code in GPL3 release

2010-10-07 Thread Shawn Brown
HI, I used some of the code from the Android sdk examples. Legally I know apache is compatible with GPL3 (license for my code), but what do I do about the copyright notice in the code? Do I keep the Copyright (C) 2009 The Android Open Source Project and apache license and just indicate the

Re: [android-developers] sample code in GPL3 release

2010-10-07 Thread Shawn Brown
So the correct thing to do (IMHO) is to leave the orginal copyright notice intact, but to put the GPL header on top. That is assuming the Apache License is indeed GPL compatible. Apache 2.0 and GPL3 are. I'll take Apache at their word. http://www.apache.org/licenses/GPL-compatibility.html

[android-developers] why no BluetoothAdapter.ACTION_REQUEST_DISABLE ???

2010-10-06 Thread Shawn Brown
Hi, I want to turn off BT after my app finishes if my app turned BT on. There is a function in BluetoothAdapter to request to enable it but no function to request to disable it. I guess I will just call disable () despite the the api saying Bluetooth should never be disbled without direct user

[android-developers] Re: scaleType=fitXY works scaleType=centerInside doesnt

2010-10-01 Thread Shawn Brown
If you know or can guess please tell me why: In the FrameLayout below, scaleType=fitXY will adjust the image to fit the screen but scaleType=centerInside doesn't. Sorry, it works fine. In the eclipse plugin it does not scale but on the phone it works. Shawn -- You received this message

[android-developers] scaleType=fitXY works scaleType=centerInside doesnt

2010-09-30 Thread Shawn Brown
Hi, If you know or can guess please tell me why: In the FrameLayout below, scaleType=fitXY will adjust the image to fit the screen but scaleType=centerInside doesn't. I need the aspect ratio preserved which fitXY doesn't do. Please look at the - below. ?xml version=1.0

Re: [android-developers] AsyncTask doesn't run sometimes despite state returning RUNNING?

2010-09-10 Thread Shawn Brown
Has anybody got any idea why this would be happening? Well... from http://brainflush.wordpress.com/2009/11/16/introducing-droid-fu-for-android-betteractivity-betterservice-and-betterasynctask/ So the basic idea is: launch an AsyncTask making your service call, show a nifty progress dialog

Re: [android-developers] Re: Bug in minSdkVersion or what?

2010-09-05 Thread Shawn Brown
the app name is my test. I see it via market on adp2 running Froyo (CynogenMod 6.0). DO NOT DOWNLOAD THIS APP X6 right! Shawn -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] GOOGLE, WHAT IS GOING ON with the Active Install %? Bug in install to SDCARD is my guess!

2010-09-02 Thread Shawn Brown
.  It doesn't really make sense for people who work on Market to follow such a group And again, I don't work on Market stuff, Well you could tell them that there are questions, couldn't you? -- You received this message because you are subscribed to the Google Groups Android Developers

Re: [android-developers] Re: How do you force a reset just like rotation does?

2010-08-27 Thread Shawn Brown
I have already searched all those links, but was expecting some basic call that is generic to every program. The call itself is generic, but the arguments have to specify what activity you're talking about and only you know that (assuming you're not handling some generic intent). generic?

Re: [android-developers] Re: Paid vs Free, My Early Experience

2010-08-21 Thread Shawn Brown
A changelog in Market would be visible before an application is downloaded and installed. A changelog displayed by the application obviously is not. I think it is extremely important to have a visible changelog before downloading. Moreover, another point Google is remiss at is letting me know

Re: [android-developers] Thread

2010-08-04 Thread Shawn Brown
I want to write a separate Thread within my application(to do Bluetooth connection). Any idea where I can find any reference for help to write Threads in Android? http://lmgtfy.com/?q=android+bluetooth+threads -- You received this message because you are subscribed to the Google Groups

Re: [android-developers] Dalvik SegFaults while using CMU Sphinx4

2010-07-28 Thread Shawn Brown
Hi, I am a part of a project that involves automatically offloading portions of an application's execution to a cloud of servers. As such, we try to run traditionally difficult algorithms on our Android phones, in particular, speech recognition algorithms, namely the CMU Sphinx4 library.

Re: [android-developers] Loading 2.0.1 to ADP2

2009-12-24 Thread Shawn Brown
May someone please explain a developer withOUT any Android specific background, what is so difficult in uplading a new version of an O/S to a device that's specifically desgined for such purpose? Nothing. I think the repository had been set up to allow that hasn't it. On the other hand, some

Re: [android-developers] Two Japanese-related missing applications: kanji scanner, jiten

2009-12-01 Thread Shawn Brown
Japanese offline dictionary http://code.google.com/p/aedict/ It uses Edict and rocks!!! OCR isn't available and the kanji recognition is a little weak but ... that's the state of Japanese support in open source. By the way, it's gpl, source is available and I think the creator will accept

Re: [android-developers] Re: Need an invitation to google Wave?

2009-11-01 Thread Shawn Brown
Please if you have any left!!! Do you? Shawn -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to

[android-developers] why can't I get paid apps

2009-10-11 Thread Shawn Brown
Hi, I have a google IO handset. When I updated to donut, I didn't get paid market apps ./fastboot-mac erase userdata erasing 'userdata'... OKAY $ ./fastboot-mac erase cache erasing 'cache'... OKAY reisMac:donut brownasamoto-brown$ ./fastboot-mac update

[android-developers] Re: Where have all the Google employees gone?

2009-10-08 Thread Shawn Brown
On Fri, Oct 9, 2009 at 1:45 PM, Rud rudmerr...@gmail.com wrote: My web site got hit by 68 people looking at my game page. Since the only reference, pretty much, to the site is on the game I am assuming around that many people tested it. Hopefully I'm not being overly optimistic thinking

[android-developers] Java Model Exception when cleaning project

2009-09-30 Thread Shawn Brown
Hi, I keep getting this error under several projects. 10 minutes ago I exported an android .apk, then changed the AndroidManifest.xml and now can't export. I reverted back to the original AndroidManifest.xml but still it doesn't work. I guess the plugin is broken. Is there a set of Ant tasks

[android-developers] Re: Java Model Exception when cleaning project

2009-09-30 Thread Shawn Brown
AM, Shawn Brown big.coffee.lo...@gmail.com wrote: Hi, I keep getting this error under several projects. 10 minutes ago I exported an android .apk, then changed the AndroidManifest.xml and now can't export.  I reverted back to the original AndroidManifest.xml but still it doesn't work. I

[android-developers] Re: WikiNote -apps-for-android build error

2009-09-27 Thread Shawn Brown
Java Model Exception: Java Model Status [gen [in WikiNotes] does not exist] Hmmn, I can though generate an unsigned app and sign it manually. Other Android projects are able to do it via eclipse so why it fails is beyond me. Shawn --~--~-~--~~~---~--~~ You

[android-developers] EditText

2009-09-27 Thread Shawn Brown
Hi, What would be a good approach to modifying user input in the NotesList sample application. In the NoteEditor class, android.widget.EditText is used to let user's input their notes. Would subclassing android.widget.EditText or rewriting the NoteEditor class be a better approach so that I

[android-developers] Re: run Android app on iPhone

2009-09-26 Thread Shawn Brown
do i need to rewrite my existing android code for COCOA touch support? Well give it a try and see. I haven't used it yet and that's why I was asking. Let me know... --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[android-developers] WikiNote -apps-for-android build error

2009-09-26 Thread Shawn Brown
Hi, Has anyone gotten the WikiNote from http://code.google.com/p/apps-for-android/ ??? What I did was: 1) checkedout the project via apps-for-android instructions [svn checkout http://apps-for-android.googlecode.com/svn/trunk/ apps-for-android-read-only] 2) opened a new Android project using

[android-developers] run Android app on iPhone

2009-09-24 Thread Shawn Brown
HI, Has anyone tried this cross compiler to get their Android app to run on an iPhone? http://xmlvm.org/android/ Shawn --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] Re: Trying to get Javascript on Android

2009-09-19 Thread Shawn Brown
Hi, * http://www.nanaze.com/2009/01/debugging-javascript-on-android.html * Thank you for the link, however, that article went way, way over my head, at commercial airliner altitudes. Maybe not. Just: 1) get the sdk http://developer.android.com/sdk/1.6_r1/index.html 2) set your path

[android-developers] Re: Trying to get Javascript on Android

2009-09-18 Thread Shawn Brown
EbisuDave, I bet you are in Tokyo ! Have you tried: http://www.nanaze.com/2009/01/debugging-javascript-on-android.html Shawn --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] meaning of processing

2009-09-05 Thread Shawn Brown
Hi, What does this mean (specifically processing)? [2009-09-05 23:13:09 - HelloActivity] processing lejos/nxt/BasicMotorPort.class... In this case, BasicMotorPort.class is in a jar that is in the build path of my Android project in Eclipse. In this case, [2009-09-05 23:13:09 - HelloActivity]

[android-developers] dalvikvm: No implementation - Trying to load lib

2009-09-05 Thread Shawn Brown
What does this mean? W/dalvikvm( 9042): No implementation found for native Lcom/intel/bluetooth/BluetoothStackBlueZ;.isNativeCodeLoaded ()Z D/dalvikvm( 9042): Trying to load lib /data/data/com.example.android.helloactivity/lib/libbluecove.so 0x430c6ec8 D/dalvikvm( 9042): Added shared lib

[android-developers] Re: Problem while compiling the cupcake Android release for the HTC G1 dev edition

2009-08-31 Thread Shawn Brown
HI, make: *** Pas de règle pour fabriquer la cible « vendor/htc/dream-open/proprietary/AudioPreProcess.csv », nécessaire pour « out/target/product/dream-open/system/etc/AudioPreProcess.csv ». Arrêt. Um, you need to get some proprietary stuff off the handset. This worked for me. adb pull

[android-developers] Re: Android project

2009-08-30 Thread Shawn Brown
I am a student studying in final year engineering in IT. I am willing to do my final year projecto Android platform. Can anyonelease suggest me a good idea that camn be implemented on Android platform. Very simple. Copy / paste in Gmail. It can't be done now AFAIK. Maybe you can copy the

[android-developers] Re: Simple Java Question

2009-08-25 Thread Shawn Brown
HI, My garbage collection went from once every 6 seconds to once every 27 seconds. So you are happy with that! Less need for garbage collection is a good thing right! I did not try using a String. There was another post on the group that said a String would be more costly than a

[android-developers] Re: Simple Java Question

2009-08-24 Thread Shawn Brown
Rather wasteful on a platform like Android. Are there any other options other than Formatter? I think it does exactly what you want         final Formatter f = new Formatter(); use Formatter(Appendable a) StringBuilder sb = new StringBuilder(); final Formatter f = new Formatter(sb);  

[android-developers] Re: Can an end user disable 2G data, or GSM function?

2009-08-24 Thread Shawn Brown
Is there enough control in the SDK to pursue writing an app with a control screen like: [x] Enable Voice (GSM) [ ] Enable 2G Data [ ] Enable 3G Data (uses more battery than 2G) [ ] Enable Data When Roaming (may result in extra charges) [x] Enable WiFi [x] Enable WiFi even if device is