[android-developers] Re: java.io.IOException: Couldn't open /data/data/com.basic.ui/cache_/data.xml (parser problem)

2008-10-27 Thread Wesley
hi, sorry for late reply... the code is :- SAXParserFactory spf = SAXParserFactory.newInstance(); SAXParser sp = spf.newSAXParser(); XMLReader xr = sp.getXMLReader(); ServicesXMLParser parser = new ServicesXMLParser(con, this); xr.setContentHandler(parse

[android-developers] Re: g1 keyboard missing up/down/left/right keys?

2008-10-27 Thread hackbod
Center pressing on the trackball is remapped to DPAD center if nobody handled it themselves. This is why you can long press on the trackball all over the UI to bring up the context menu. On Oct 27, 8:13 pm, "s d" <[EMAIL PROTECTED]> wrote: > How do we bring up context menu when there is no D-Pad

[android-developers] Re: give-up screen (going to sleep)

2008-10-27 Thread hackbod
On Oct 27, 10:38 pm, Brian <[EMAIL PROTECTED]> wrote: > I am very confused..if the CPU shuts off when the device goes to sleep > does that mean that any thread running will also be shut down? Well, it will stop executing. > I am confused..how can one have a process run in the background if the >

[android-developers] G1 Bug: Google Imported & Primary Phones

2008-10-27 Thread Anm
I just noticed that contacts imported from GMail do not include a default/primary flag on any of the associated phone numbers. This seems counter to the android framework, since when I input a phone number manually on the phone, a phone number is automatically flagged as the primary phone number

[android-developers] Re: How to debug the source code using Eclipse

2008-10-27 Thread Andrew Stadler
[ Note, this mailing list is intended for app development, typically using the SDK. Questions about building or debugging the open source release may get better answers & discussion in one of android-platform, android-framework, or android-porting. But since we're here ] There is an eclips

[android-developers] Re: Keeping a service alive?

2008-10-27 Thread hackbod
It's a huge huge waste of resources for you to have the system keep your app running forever to just have a timer go off every 5 minutes or more. Please use the alarm manager instead. On Oct 27, 10:24 pm, Eric B <[EMAIL PROTECTED]> wrote: > I have created a service that runs a Timer and TimerTas

[android-developers] Re: How do you compile the bundled apps that comes with the Android source code

2008-10-27 Thread Romain Guy
And to try it on the emulator you can simply type "adb sync" with the emulator running. If you get an error, try "adb remount" first. On Mon, Oct 27, 2008 at 11:02 PM, Andrew Stadler <[EMAIL PROTECTED]> wrote: > > Assuming you have downloaded the open source project and you can build > it using t

[android-developers] Re: How do you compile the bundled apps that comes with the Android source code

2008-10-27 Thread Andrew Stadler
Assuming you have downloaded the open source project and you can build it using the given instructions: 1. Make sure you're cd'd into the android/ directory 2. Type ". build/envsetup.sh" 3. Type "lunch 1" 4. Type "mmm packages/apps/Email" Exercise left to the reader as to what each of these

[android-developers] Re: Search Not Working

2008-10-27 Thread Andrew Stadler
I assume that the problem you're experiencing is that, when you call startSearch(), nothing happens? If this is the case, read on. If this is not the case, please write back with additional information about what you expected and what actually happened. >From looking at your implementation of o

[android-developers] Re: Multiple notifications difficulties...

2008-10-27 Thread Eric B
If message.getId() is different for each notification, then I believe Android will create a new icon in the status bar. You need to use the same id sent to the NotificationManager.notify() method if you want a single notification to be updated. Thanks, Eric --~--~-~--~~~-

[android-developers] Re: give-up screen (going to sleep)

2008-10-27 Thread Brian
I am very confused..if the CPU shuts off when the device goes to sleep does that mean that any thread running will also be shut down? I am confused..how can one have a process run in the background if the CPU is off most of the time? --~--~-~--~~~---~--~~ You rece

[android-developers] Re: Video Formats in android

2008-10-27 Thread satheesh kumar
I am also looking for that,... Need some more explanation about that format conversion... What is the major factor controlling the format conversion of a media.? So that we will take care of the factor and change accordingly? Satheesh On Sun, Oct 26, 2008 at 12:48 PM, De San Nicolas Jean Philipp

[android-developers] Keeping a service alive?

2008-10-27 Thread Eric B
I have created a service that runs a Timer and TimerTask. That timer may fire every 5 minutes to 4 hours, depending on the user's settings. My problem is that my service eventually gets destroyed. Is there a setting to keep it alive, or someway to tell the OS to restart it once enough resources

[android-developers] Re: Fonts in XML

2008-10-27 Thread PAS
Thanks for setting up the RFE... I have stared it and encourage anyone else who wants this feature to star it as well. PAS On Oct 27, 4:22 am, "Tom Gibara" <[EMAIL PROTECTED]> wrote: > I raised this on the forums a little while ago and found out it isn't > supported in 1.0. > Seeing your post re

[android-developers] Re: Google maps not working on G1

2008-10-27 Thread nick fox
Can someone from Google address this problem, I live near Redmond, WA. I could bring my phone in to let you guys test it or I could fedex it to you. Is this really a wide spread problem with the maps API? I'm not having any issue viewing google maps on my phone. I have one and 1/2 weeks left befo

[android-developers] Re: g1 keyboard missing up/down/left/right keys?

2008-10-27 Thread Mark Murphy
s d wrote: > How do we bring up context menu when there is no D-Pad Center? Holding > down the trackball didn't seem to work for me. Long-tap on the widget, perhaps? -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 1.3 Published! --

[android-developers] Re: g1 keyboard missing up/down/left/right keys?

2008-10-27 Thread s d
How do we bring up context menu when there is no D-Pad Center? Holding down the trackball didn't seem to work for me. Thanks! On Mon, Oct 27, 2008 at 5:04 PM, hackbod <[EMAIL PROTECTED]> wrote: > > They are translated, but of course it will be a quick down/up pair. > Snake should work; Lunar Lan

[android-developers] Re: Error submitting my app to Market - Certificate must be valid until at least October 22, 2058

2008-10-27 Thread ArtJin
I appreciate your reply. I was using Keytool from Eclipse IDE, and for some reason certificate it did not work for Market. Switched to command line keytool and everything worked just fine, exactly as described in publishing requirements. Thanks again! --~--~-~--~~~--

[android-developers] Re: Starting new Activity vs. setContentPane(newView)

2008-10-27 Thread Robert K.
> (Hope that it's OK Robert?) sure. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group,

[android-developers] Re: Google maps not working on G1

2008-10-27 Thread plusminus
Many (not all, just many) users of AndNav have the same problem and I have no idea why this happens :'( On 27 Okt., 17:33, nick fox <[EMAIL PROTECTED]> wrote: > thanks for responding. here's my problem, I AM using the release map > key that I generated from my MD5 fingerprint. > > I just did not

[android-developers] Re: Menu

2008-10-27 Thread Bonsai
You can add items to you menu via the following add method: add(int groupId, int itemId, int order, CharSequence title) public boolean onCreateOptionsMenu(Menu menu) { super.onCreateOptionsMenu(menu); menu.add(0, 0, 0, "AutoComplete"); menu.add(0, 1, 1, "Button");

[android-developers] Re: Error submitting my app to Market - Certificate must be valid until at least October 22, 2058

2008-10-27 Thread androlog
I had the same problem. Here is how I solved it: When you create your key with keytool you should specify -validity key in days. Regenerate the key then re-sign with jarsigner and try again. But there are still some glitches with the A Market, hopefully they will be solved soon. Please let me know

[android-developers] proxy settings for emulator

2008-10-27 Thread Chihau Chau
I want to set a proxy server for my android emulator but the setting doesn't work. I have tried with "./emulator -http-proxy proxy.ucv.cl:8080" but I don't have access to internet -- Chihau Chau --~--~-~--~~~---~--~~ You received this message because you are s

[android-developers] Re: g1 keyboard missing up/down/left/right keys?

2008-10-27 Thread g1ster
It turns out Mark Murphy and Hackbod were right all along. I retested the app on my g1 device. All I had to do was to roll the trackball up first. I could then use my reassigned keys to work the programs. This worked for both the Lunar and the Snake programs!!! I search the code, and couldn't fin

[android-developers] Re: Problems writing to SD card of physical T-Mobile G1?

2008-10-27 Thread Pavel Antokolsky aka Zigmar
On Oct 28, 2:04 am, Jason Proctor <[EMAIL PROTECTED]> wrote: > you can use adb push and pull to copy stuff between the device and > the host machine. Wow, thanks! I was about to write "tried this already", but decided to check before I write and now it suddenly works! Actually it was my first appr

[android-developers] Re: g1 keyboard missing up/down/left/right keys?

2008-10-27 Thread g1ster
Hackbod, not sure if you're right. Here is what I did with Snake. I edited the code to use "Keycode_I", "Keycode_K", "Keycode_J", "Keycode_L" to replace up, down, left and right keys. I tested these keys when the app is first loaded by running from Eclipse, it worked fine. After I closed the app a

[android-developers] Re: Problems writing to SD card of physical T-Mobile G1?

2008-10-27 Thread Pavel Antokolsky aka Zigmar
Hello David, On Oct 28, 1:56 am, David Given <[EMAIL PROTECTED]> wrote: > > Hi Jason! Thanks a lot for the tip - it did help. On other hand - I'm > > stuck. I was hoping to use sd card as a medium to transfer data > > between android app and usb host, but as it looks I can write either > > extern

[android-developers] Andriod SDK sample apps not working correctly?

2008-10-27 Thread g1ster
Neither the lunar app or the snake app came seems to work right on the emulator came with the SDK. After loading up the app with run/debug option from Eclipse, close the application on emulator by pressing the "Home" icon. Launch the app from the emulator app list. It no longer respond to the keyd

[android-developers] Re: g1 keyboard missing up/down/left/right keys?

2008-10-27 Thread hackbod
They are translated, but of course it will be a quick down/up pair. Snake should work; Lunar Lander not so well since it relies on you holding down the button which you can't do with a trackball. On Oct 27, 12:58 pm, Ed <[EMAIL PROTECTED]> wrote: > Dear Mark, > > Thanks for your message. Are you

[android-developers] Problems writing to SD card of physical T-Mobile G1?

2008-10-27 Thread Jason Proctor
>No phones can do this --- it's a filesystem limitation; FAT simply can't >cope with more than one concurrent user. Only really specialised >filesystems can do that, and most of them require additional hardware to >synchronise the different users. > >If you want to allow the PC and the phone to ac

[android-developers] Re: USB signal control class?

2008-10-27 Thread Pavel Antokolsky aka Zigmar
On Oct 24, 6:35 pm, "Justin (Google Employee)" <[EMAIL PROTECTED]> wrote: > In 1.0 you don't have access to theUSBport via the Java API layer. > What is the goal of your project? Hello Justin, I'm unsure what Chamika is doing, but I have a similar problem. My app needs to communicate with a hardw

[android-developers] Re: Problems writing to SD card of physical T-Mobile G1?

2008-10-27 Thread David Given
Pavel Antokolsky aka Zigmar wrote: [...] > Hi Jason! Thanks a lot for the tip - it did help. On other hand - I'm > stuck. I was hoping to use sd card as a medium to transfer data > between android app and usb host, but as it looks I can write either > externally or internally but not both at the sa

[android-developers] Re: g1 keyboard missing up/down/left/right keys?

2008-10-27 Thread g1ster
No luck, yet, but a bit more info. Actually, neither the lunar app or the snake app works right on the emulator came with the SDK. After loading up the app with run/debug option, close the application on emulator by pressing the "Home" icon. Launch the app from the emulator app list. It no longer

[android-developers] Re: Problems writing to SD card of physical T-Mobile G1?

2008-10-27 Thread Pavel Antokolsky aka Zigmar
On Oct 28, 1:27 am, Jason Proctor <[EMAIL PROTECTED]> wrote: > writingto /sdcard on myG1failed until i turned off "act as USB > disk" in theG1preferences. Hi Jason! Thanks a lot for the tip - it did help. On other hand - I'm stuck. I was hoping to use sd card as a medium to transfer data between a

[android-developers] Re: Fastest Combination of Http Post/Get and XML parsing libs

2008-10-27 Thread Casey Link
On Mon, Oct 27, 2008 at 5:57 PM, Hong <[EMAIL PROTECTED]> wrote: > > you can use DocumentBuilder from DocumentBuilderFactory to access DOM :) > Yes, but parsing xml via the DOM is slow and hogs memory, and avoiding that is the point of this thread. --~--~-~--~~~---~--~

[android-developers] Re: hanging up/terminating a call in an automated fashion

2008-10-27 Thread dreamerBoy
Second question is how to hang up an ~incoming~ call after it has been answered On Oct 27, 11:50 am, dreamerBoy <[EMAIL PROTECTED]> wrote: > Hi - > > I am looking for a way to terminate a call in an automated fashion. > (I realize it can be done manually - the application requires that it >

[android-developers] Re: Error submitting my app to Market - Certificate must be valid until at least October 22, 2058

2008-10-27 Thread Justin (Google Employee)
The error message is misleading. We actually require a certificate valid until October 22, 2033, or about 25 years. I recommend reviewing the publishing requirements at http://code.google.com/android/devel/sign-publish.html Cheers, Justin Android Team @ Google On Oct 27, 11:05 am, ArtJin <[EMAI

[android-developers] Problems writing to SD card of physical T-Mobile G1?

2008-10-27 Thread Jason Proctor
writing to /sdcard on my G1 failed until i turned off "act as USB disk" in the G1 preferences. >On Oct 25, 12:03 pm, blindfold <[EMAIL PROTECTED]> wrote: >> Have others encountered problems writing to theSDcardof aG1? >I've tried a small application that opens and writes text file into sd >ca

[android-developers] Re: TabHost - Multiple Files?

2008-10-27 Thread cyntacks
Mark, Brilliant! Great stuff. I just couldn't think this through in my head. You are a lifesaver, I have tried this out and it works perfectly. Thanks for the help! Kevin On Oct 27, 6:35 pm, Mark Murphy <[EMAIL PROTECTED]> wrote: > cyntacks wrote: > > Working with a TabHost, Is it possible to

[android-developers] Re: Problems writing to SD card of physical T-Mobile G1?

2008-10-27 Thread Pavel Antokolsky aka Zigmar
On Oct 25, 12:03 pm, blindfold <[EMAIL PROTECTED]> wrote: > Have others encountered problems writing to theSDcardof aG1? I've tried a small application that opens and writes text file into sd card (using plain Java File & FileWriter) and it works on emulator but fails on G1 probably due to permiss

[android-developers] Why cant apps be downloaded to an external SD card??

2008-10-27 Thread monkeyboy
I have a G1 on its way and I just read that you cannot download/store apps on the external storage slot. WTF was Google thinking?? The built-in memory is a joke in todays tech, having a external slot makes sense but why cant you store the most important thing about Android on it?? Please tell m

[android-developers] The method onOptionsItemSelected(MenuItem) of type AndroidViews must override or implement a supertype method

2008-10-27 Thread disappearedng
Hi everyone, I am encountering the following error from eclipse: The method onOptionsItemSelected(MenuItem) of type AndroidViews must override or implement a supertype method import android.app.Activity; import android.os.Bundle; import android.view.Menu; public class AndroidViews extends Acti

[android-developers] Reviews in android market

2008-10-27 Thread Nate Sanden
It says my app has 17 reviews but I can't read them from the website. Please add that functionality soon. I don't have a G1 and don't plan on getting one for the time being. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Gro

[android-developers] Re: Menu

2008-10-27 Thread disappearedng
I actually realized that my code will work for the following: public boolean onCreateOptionsMenu(Menu menu) { super.onCreateOptionsMenu(menu); menu.add("AutoComplete"); menu.add("Button"); menu.add("CheckBox"); menu.add("EditText"); menu.

[android-developers] Re: Starting new Activity vs. setContentPane(newView)

2008-10-27 Thread Peli
Ok, if you are down to that level, it is probably best for you to code everything by yourself in a single activity :-) For most other users and simple apps I'd still recommend making use of what the framework provides as much as possible and create separate activities. :-) BTW: In your example y

[android-developers] Re: AlertDialog Question

2008-10-27 Thread disappearedng
I have tried using "this" and it didn't work for me. Could you give me an example in my context? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android

[android-developers] Menu

2008-10-27 Thread disappearedng
Hi everyone, I am currently using a book that was published using Android SDK 0.8(or something earlier). I am trying to create a sample menu, but then my eclipse complains about the menu.add function. Under all the add, eclipse underlines in red with the following error: "The method add(int, int,

[android-developers] Re: TabHost - Multiple Files?

2008-10-27 Thread Mark Murphy
cyntacks wrote: > Working with a TabHost, Is it possible to keep the Java code for the > tabs in separate files? Sure. There are any number of ways to do this. Here's one: -- Your TabActivity (or plain Activity that knows about the TabHost) is one class -- It creates instances of TabOneWrapper

[android-developers] Re: Using Google Gears in a WebView

2008-10-27 Thread Mark Murphy
Koush wrote: > Does anyone know how to set Google Gears up to work properly in a > WebView? It's not available with WebView, only with the full Browser activity. There was some post on here a month or so ago on that topic, and I got the impression that browser plug-ins are being revamped for a

[android-developers] TabHost - Multiple Files?

2008-10-27 Thread cyntacks
Ok, dumb question, but this is starting to nag me... Working with a TabHost, Is it possible to keep the Java code for the tabs in separate files? For example, I have a tabbed screen with two tabs, the logic for each tab is say 300 lines for a total of 600. Now, I have arranged the methods in the

[android-developers] Re: Google maps not working on G1

2008-10-27 Thread androlog
Starting October 21 or so Google protects it's maps from unauthorized usage by Google Map API key. http://android-developers.blogspot.com/2008/10/new-android-maps-api-terms-of-service.html Basically all you have to do is to sign your keystore with java keytool then obtain a key for your private ke

[android-developers] Re: load and test apps on a g1 device

2008-10-27 Thread g1stert
Thanks Dan. I also find the following to be useful to the subject. http://code.google.com/android/intro/develop-and-debug.html#developingondevicehardware My g1 device is now set up and working! --~--~-~--~~~---~--~~ You received this message because you are subscr

[android-developers] Re: RandomAccessFile won't write to an existing file.

2008-10-27 Thread Anton
Never mind I found a typo in my code. (: --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from

[android-developers] Re: [android-internals] Location Providers

2008-10-27 Thread Bradley Kite
Thanks for this info Dianne, Going through the source I have managed to figure out that additional location providers can be loaded by putting the class-name into a file on the system called /data/location/[myProvider]/class The LocationManagerService will then instantiate this class, and add it

[android-developers] Re: AlertDialog Question

2008-10-27 Thread Megha Joshi
Context should never be explicitly instantiated, Activity extends Context, so you can use your Activity's "this" instance instead. 2008/10/27 disappearedng <[EMAIL PROTECTED]> > > Anyone? > > > --~--~-~--~~~---~--~~ You received this message because you are subscr

[android-developers] Re: Fastest Combination of Http Post/Get and XML parsing libs

2008-10-27 Thread Hong
you can use DocumentBuilder from DocumentBuilderFactory to access DOM :) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups

[android-developers] Updating Imageviews During functions

2008-10-27 Thread Mark Hansen
I have some image views I'd like to update as somethings change in a function in an activity. I can't seem to get them to refresh, at least not in away that appears visible on the phone. I've tried running them in a seperate thread, and even from that thread using a custom handler to do the imag

[android-developers] Re: BarCode scanner for Android.

2008-10-27 Thread Hong
zxing from google, it has sources for android, iphone, j2me, rim, etc. On Mon, Oct 27, 2008 at 3:47 PM, androlog <[EMAIL PROTECTED]> wrote: > > Scanning barcodes with your G1 camera is a great thing! But definitely > I would not want to implement this by myself again if it is already > implemente

[android-developers] Re: T-mobile G1 for testing purposes

2008-10-27 Thread Hong
3G has different baseband/standards. in the case of china, they use their own home-grown TD-SCDMA 3G. On Mon, Oct 27, 2008 at 3:32 PM, Peter Parnes <[EMAIL PROTECTED]> wrote: > Why would GSM work but not 3G? If it is unlocked then it is unlocked, or? > > -Peter > > > On Mon, Oct 27, 2008 at 8:10

[android-developers] Re: Google maps not working on G1

2008-10-27 Thread nick fox
thanks for responding. here's my problem, I AM using the release map key that I generated from my MD5 fingerprint. I just did not put my map key in the code above... this is very frustrating. Nick On Oct 27, 12:34 pm, androlog <[EMAIL PROTECTED]> wrote: > Starting October 21 or so Google protec

[android-developers] Re: Problem with Android Market when uploading apk that uses Android icons

2008-10-27 Thread Peli
The problem was if icons in the Manfest file refered to Android system icons through @android:drawable/xxx. After replacing these icons by icons that have been included in the apk file, the error message disappeared. Still, this seems to be a bug in the upload form of the Market. Is there a bug

[android-developers] Re: Starting new Activity vs. setContentPane(newView)

2008-10-27 Thread hve.dk
Hi Robert, I've installed your application in the emulator, and its much more responsive using a single activity. Can anybody install the application on a real device and tell if you experience the same on a real phone? TIA! You can donwload the apk here: http://denaware.com/AndroidPerformanceTe

[android-developers] Re: application size / resources

2008-10-27 Thread ammar
On Oct 27, 11:39 am, Ludwig <[EMAIL PROTECTED]> wrote: > (I think this should change, but it seems that the G1 is considered a phone > first, with some applications, rather than an application platform that also > comes with a phone). This is a statement that makes no sense. Android is not a pho

[android-developers] Error submitting my app to Market - Certificate must be valid until at least October 22, 2058

2008-10-27 Thread ArtJin
Hi all. Tried to publish my app in Android Market today, but I am getting the following error: "Market requires that the certificate used to sign the apk be valid until at least October 22, 2058. Create a new certificate." I use Keytool for certificates and expiration date meets the requirement. I

[android-developers] Re: keytool usage different, can't generate debug MD5 fingerprint

2008-10-27 Thread androlog
Just use this: C:\Program Files\Java\jdk1.6.0_07\bin\keytool -list -alias androiddebugkey -keystore C:\Users\...\AppData\Local\Android \debug.keystore -storepass androidpassword -keypass androidpassword androiddebugkey and substitute with your actual path to keytool and your local folder where k

[android-developers] Using Google Gears in a WebView

2008-10-27 Thread Koush
Does anyone know how to set Google Gears up to work properly in a WebView? The following fails with the error "Gears is not installed" on the web page. public class HelloAndroid extends Activity { /** Called when the activity is first created. */ @Override public void onCreate(Bundl

[android-developers] Re: T-mobile G1 for testing purposes

2008-10-27 Thread Peter Parnes
Why would GSM work but not 3G? If it is unlocked then it is unlocked, or? -Peter On Mon, Oct 27, 2008 at 8:10 PM, Hong <[EMAIL PROTECTED]> wrote: > > You can buy a G1 here in US, and unlock it. > > You can use GSM calls/sms, wifi at your country. 3G will obviously > not work. EDGE might. > Bu

[android-developers] Re: MapActivity - Couldn't get connection factory client

2008-10-27 Thread android-noob
Maybe its an apikey problem. http://www.androidph.com/2008/10/android-map-viewer.html On Oct 17, 12:55 am, Matthias <[EMAIL PROTECTED]> wrote: > I have the same problem. Any ideas yet? --~--~-~--~~~---~--~~ You received this message because you are subscribed to t

[android-developers] Game Editor for Android

2008-10-27 Thread Makslane Araujo Rodrigues
Hi all, I'm the developer of the Game Editor (game-editor.com) The Game Editor code is now available for anyone. In Game Editor there a linux based engine, for ARM processor, for the GP2X device and I think can be possible use this engine as base to make an Android port. I've started the port (

[android-developers] BarCode scanner for Android.

2008-10-27 Thread androlog
Scanning barcodes with your G1 camera is a great thing! But definitely I would not want to implement this by myself again if it is already implemented by someone. Do you know if there is any open API for barcode scanning exist. Also, this would help a lot if there was a consolidated database of sc

[android-developers] Using Google Gears inside a web view

2008-10-27 Thread Koush
Hi, I am trying to use a Google Gears enabled site in Android's WebView, but it fails, saying Gears is not installed. For example, my test application sets up a WebView and loadUrls: http://code.google.com/apis/gears/samples/hello_world_geolocation.html and I see a "Gears is not installed" messa

[android-developers] Runtime exception with JSONObject.put() ???

2008-10-27 Thread Mark Wyszomierski
Hi, When I call: JSONObject j= new JSONObject(); j.put("mykey", "hello"); I get a runtime exception which has a message of: "Stub!" This worked fine in the beta version before the final release. Are we not supposed to be using this, or ..? Thanks --~--~-~--~~-

[android-developers] Problem with Android Market when uploading apk that uses Android icons

2008-10-27 Thread Peli
I get the following error message when trying to upload Newsreader-1.0.5.apk: http://openintents.googlecode.com/files/Newsreader-1.0.5.apk "The file is invalid: W/ResourceType(15892): No package identifier when getting value for resource number 0x01080049 ERROR getting 'android:icon' attribute: a

[android-developers] Re: AndroidHttpClient gone so now what

2008-10-27 Thread Charlie Collins
Yes the root is empty intentionally. I linked all the chapters as you noted chatperX/trunk off of the front page of the site (the one I posted the link for here in this thread). I will try to document that better (put a readme at the trunk root or something), but I did not want to create a separ

[android-developers] Re: g1 keyboard missing up/down/left/right keys?

2008-10-27 Thread Ed
Dear Mark, Thanks for your message. Are you saying that when you install LunarLander on your G1 device, you can steer left and right using the trackball? Because it sure doesn't work for me, or other G1 users in my office. Please try it out and let me know. Thanks, --Ed On Oct 27, 9:59 am, Mark

[android-developers] Possible bug in Market? (about versionCode)

2008-10-27 Thread Teo
I get the following error when i try to upload a new .apk: The new apk's versionCode (1) in AndroidManifest.xml must be higher than the old apk's versionCode (1). But the version code is set to 2. Is this a bug with someone, or just 'by design' until the comments/ratings bug is fixed? Thanks, T

[android-developers] Re: AlertDialog Question

2008-10-27 Thread disappearedng
Anyone? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTE

[android-developers] Re: Anyone mind testing quickly?

2008-10-27 Thread Kipling Inscore
I find the buttons a little small but they do work. On Sun, Oct 26, 2008 at 10:40 PM, Nate Sanden <[EMAIL PROTECTED]> wrote: > Anyone mind testing this on a real phone for me (before the marketplace > launch tomorrow)? It's a basic tip calculator. > > The main thing I'm not sure will work are the

[android-developers] keytool usage different, can't generate debug MD5 fingerprint

2008-10-27 Thread Brian
I'm following the directions here: http://code.google.com/android/toolbox/apis/mapkey.html#getfingerprint but it appears my keytool usage is different: -list[-v | -rfc] [-alias ] [-keystore ] [-storepass ] [-storetype ] [-provider ] ... what do I use for store

[android-developers] Re: My application doesn't work...

2008-10-27 Thread Yoshiyuki
Thank you, hirayama-san. I tried it, but nothing was solved. The situation that the application doesn't start is still alive, but the behavior was something different after "wipe-data" application. After android emulator is launched, a dialog message is appear, and it says "The process android.p

[android-developers] Re: T-mobile G1 for testing purposes

2008-10-27 Thread Hong
You can buy a G1 here in US, and unlock it. You can use GSM calls/sms, wifi at your country. 3G will obviously not work. EDGE might. But wifi should be good enough. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "

[android-developers] Re: AndroidHttpClient gone so now what

2008-10-27 Thread jtaylor
For a simple HTTP request just use HttpURLConnection. It's better documented. ..If you need something that it doesn't have, which you probably will know beforehand, then go to Apache. http://code.google.com/android/reference/java/net/HttpURLConnection.html - Juan On Oct 26, 4:50 am, Emery <[EM

[android-developers] GLUT or something like that in Android

2008-10-27 Thread Steff
Hi Android ships with en OpenGL ES implementation. OpenGL ES is alittle low-level. I would like to be able to use some more high-level 3D tool. I have some expirence with GLUT. Has anyone been successfull using/converting GLUT to java/Android? Can anyone tell me what "layer" above OpenGL ES is t

[android-developers] hanging up/terminating a call in an automated fashion

2008-10-27 Thread dreamerBoy
Hi - I am looking for a way to terminate a call in an automated fashion. (I realize it can be done manually - the application requires that it have control over the call so that it can hang up automatically.) To initiate a call, one starts an Activity with the ACTION_CALL Intent. However, there

[android-developers] Re: Starting new Activity vs. setContentPane(newView)

2008-10-27 Thread Robert K.
> For most other users and simple apps I'd still recommend making use of > what the framework provides as much as possible and create separate > activities. :-) yea, why not. but i think, it is good to know about the options; and i wonder how this pattern behaves on low-end devices with weak CPUs

[android-developers] insertImage -- transparent portions of image are now black

2008-10-27 Thread kingkung
Hi, I am inserting images to the media content provider through the following call: Bitmap b = BitmapFactory.decodeResource(getResources(),R.drawable.sample_icon); String url = Images.Media.insertImage(getContentResolver(), b, "Sample Icon", null); The problem is that some porti

[android-developers] Re: Cell IDs by cell phones

2008-10-27 Thread george_c
http://www.geospatialmeaning.eu/2008/07/13/your-location-without-gps/ On Mon, Oct 27, 2008 at 6:23 PM, Roby <[EMAIL PROTECTED]> wrote: > > Hello all, > Is there any chance that the cell phone may have information about ALL > the cell ids that it can sense. I know that I can get the cell id of >

[android-developers] AlertDialog Question

2008-10-27 Thread disappearedng
Hi everyone, I have written the following code public class AndroidPhoneDialer extends Activity { final EditText phoneNumber = (EditText) findViewById(R.id.phoneNumber); final Button callButton = (Button) findViewById(R.id.callButton); callButton.setOnClickListener(new B

[android-developers] Re: T-mobile G1 for testing purposes

2008-10-27 Thread Ale
I agree with you: I think the G1 on eBay are fake, anyway I will check the auctions feedbacks. In Italy, we have Telecom Italia that is in the open handset alliance, but there are no info about an Android release date. Anyway I hope in the future that it will be possible to install Android on o

[android-developers] Re: Developing GPS Application on Android

2008-10-27 Thread nick fox
the java docs are NOT easy to follow if you are trying to write a new application... I've been coding for 12 years and j2me for 2 years and I'm quickly finding that android code samples are few and far between. Google really needs to put a LOT more code samples up. People need and want decent cod

[android-developers] Re: How fast is the T-Mobile G1?

2008-10-27 Thread shyamal
I didn't get a command line on the phone. The phone is hooked in via the USB cable to my development machine. An an 'adb shell' command on the development machine gives me a shell on the device. Cheers! Shyamal On Oct 27, 10:34 am, zl25drexel <[EMAIL PROTECTED]> wrote: > how did you get a comm

[android-developers] Re: G1 GPS receiver turn on and turn off

2008-10-27 Thread hdk
It's not in android.provider.Settings.System where I suspected it would be. I also searched the SDK and it has no references to GPS anywhere in it. LIke I mentioned before: it looks like we are missing certain control capabilities that are specific to HTC implementation. Thanks, hdk On Oct 27,

[android-developers] Re: Anyone mind testing quickly?

2008-10-27 Thread Shane Isbell
I (and others) can help out with G1 testing of the applications stocked to SlideME: http://slideme.org. Thanks, Shane On Mon, Oct 27, 2008 at 8:48 AM, Martijn Schuemie <[EMAIL PROTECTED]>wrote: > > On a similar note: Would anybody mind testing this application on a > real phone: > http://grocery

[android-developers] Re: Documents supported on Android

2008-10-27 Thread twilightwolf90
Not yet. The best way is to email them to your Gmail account and have it parse it into HTML, but its really poor. You can't modify it either. Hopefully, someone is working on an editor. I just don't have the experience to code it yet. (where is Google Docs on Android? C'mon Google!) Andrew

[android-developers] Re: Anyone mind testing quickly?

2008-10-27 Thread Martijn Schuemie
On a similar note: Would anybody mind testing this application on a real phone: http://grocerylist.schuemie.net It is a simple grocery list application (freeware). I live in Europe, and it will be some time before I get to buy an Android phone! On Oct 27, 6:40 am, "Nate Sanden" <[EMAIL PROTECTED

[android-developers] IMAP Email message body is "null"

2008-10-27 Thread coszmos
Not sure if this is where bug reports go, but in lieu of a known tracking mechanism here's my bug: Synopsis: IMAP Email message body is "null" Platform: T-Mobile G1 Issue: Using IMAP Email client, some messages contain a body consisting of the word "null". This is using the Sun Java System Mes

[android-developers] Re: How fast is the T-Mobile G1?

2008-10-27 Thread Joe Bowser
I don't own a phone (I'm in Canada), but the serial shouldn't be zeroed out, should it? On Oct 27, 9:52 am, shyamal <[EMAIL PROTECTED]> wrote: > $ cat /proc/cpuinfo > Processor       : ARMv6-compatible processor rev 2 (v6l) > BogoMIPS        : 245.36 > Features        : swp half thumb fastmult ed

[android-developers] Cell IDs by cell phones

2008-10-27 Thread Roby
Hello all, Is there any chance that the cell phone may have information about ALL the cell ids that it can sense. I know that I can get the cell id of the tower I'm connected to, but can I get the cell ids of other cell towers in my area??? --~--~-~--~~~---~--~~ Yo

[android-developers] question about IBinder.queryLocalInterface()

2008-10-27 Thread Leo
In Binder.java, public void attachInterface(IInterface owner, String descriptor) { mOwner = owner; mDescriptor = descriptor; } /** * Attempt to retrieve a local implementation of an interface * for this Binder object. If null is returned, you will need

[android-developers] Re: How fast is the T-Mobile G1?

2008-10-27 Thread zl25drexel
how did you get a command line prompt on the phone? On Oct 27, 12:52 pm, shyamal <[EMAIL PROTECTED]> wrote: > $ cat /proc/cpuinfo > Processor       : ARMv6-compatible processor rev 2 (v6l) > BogoMIPS        : 245.36 > Features        : swp half thumb fastmult edsp java > CPU implementer : 0x41 >

  1   2   >