[android-developers] Re: Camera questions for SDK 1.0 R1

2008-09-23 Thread blindfold
Thanks for this clarification, Megha! Regards On Sep 24, 3:48 am, "Megha Joshi" <[EMAIL PROTECTED]> wrote: > Unfortunately, these issues have not been fixed for 1.0 r1. > > http://code.google.com/p/android/issues/detail?id=790http://code.google.com/p/android/issues/detail?id=821http://code.googl

[android-developers] Test Location Providers in 1.0

2008-09-23 Thread Reto Meier
The ability to create and configure mock location providers that was added in Beta 0.9 doesn't seem available in 1.0. Has this functionality been moved / renamed or has it been dropped entirely for version 1? If the latter, how do we now mock the status and availability of Location Providers? Ch

[android-developers] How can ExpandableListActivity be customized?

2008-09-23 Thread Muthu Ramadoss
What's the default layout ExpandableListActivity (ELA) uses? And what's the id of the list that ELA uses? I've looked at the APIDemos, and the 3 examples just work with the bundled ExpandableListView and the bundled default layout. Any pointers on how to customize/override is welcome. -- take c

[android-developers] Receiving SMS Messages in 1.0?

2008-09-23 Thread Reto Meier
Is it still possible to listen for incoming SMS messages in the latest 1.0 SDK release? The SMS_RECEIVED_ACTION string used to listen for incoming SMS messages seems to have gone missing. It used to be available from the android.provider.Telephony.Sms package, which also seems to have disappeared

[android-developers] BufferedReader.readLine() undocumentedly discards "#!" prefix

2008-09-23 Thread Nickname
I just found that BufferedReader.readLine() undocumentedly and silently discards those input lines that starts with "#!" substring. I checked with java.sun.com documentation and found nothing about "#!" prefix at all. Is it a bug in Android implementation of BufferedReader class?? --~--~

[android-developers] problem port from 0.9 to 1.0... constructor AssetManager() is not visible???

2008-09-23 Thread Wesley Sagittarius
hi, In SDK 0.9 AssetManager assetManager = new AssetManager(); assetManager.addAssetPath(path); the constructor of this AssetManager(); is not visible in SDK 1.0... can anyone show me how to create AssetManager with the path I defined??? wesley. --~--~-~--~~~---~--~

[android-developers] Hardware for Andriod phone

2008-09-23 Thread Rinku
Greetings, and Congratulations on the launch of Google phone! Can anyone point me to the hardware specifications which are required to create a phone running Android? Thanks in advance. Rahul --~--~-~--~~~---~--~~ You received this message because you are subscr

[android-developers] Re: How to order T-Mobile G1?

2008-09-23 Thread Johntron
Yeah, is there an unsubsidized price? On Sep 23, 5:56 pm, "Casey Borders" <[EMAIL PROTECTED]> wrote: > That's a good question.  Can developers who are not with T-Mobile get devices? > > On Tue, Sep 23, 2008 at 6:55 PM, PowerGUI <[EMAIL PROTECTED]> wrote: > > > T-Mobile G1---The First Android Pho

[android-developers] .android could not be written 2 home

2008-09-23 Thread '2+
installed android-sdk-linux_x86-1.0_r1 but resulted into ~$ emulator Cannot create data directory: /home/sarigama/.android/SDK-1.0 Please specify a writable directory with -datadir. hmmm ... but it's my home dir why would android do this to me? on another machine with the previous version of sd

[android-developers] can't access XML resources from classes outside my main (launched) activity

2008-09-23 Thread gymshoe
I am having trouble accessing my XML resources from outside my main activity. I suspect this is easy to do, but I am a novice to android/ java and this is driving me crazy. I want to declare a class so it is not nested, but rather public to all other classes in my program. However, when I create

[android-developers] Android development exchange

2008-09-23 Thread Neil . He
Hi I have some question about android development. We have a H263 codec want to porting to android. Do you know how to integrate codec or device to Android. (notes: Our source code is C++) Hope you feedback. Thanks! Neil.He 2008/9/24 PowerGUI <[EMAIL PROTECTED]> > > T-Mobile G1---The First Andro

[android-developers] Does Android have the capability of invoking MMS function? such as WMA2.0?

2008-09-23 Thread RY
I go through the API of android.telephony.gsm, but only SMS service is supported. No packages provide the capability of MMS function? Does Android provide the APIs to MMS function, similar to WMA2.0? (but according to the introduction of HTC Dream phone, it does support MMS feature. How the appli

[android-developers] Does Android provide AT CMD API to access some device?

2008-09-23 Thread RY
I've gone through the package index in http://code.google.com/android/reference/packages.html, but there is no any APIs related to AT cmd access. Do I have other way to enable/use this feature to communicate with other device? thanks, Ring --~--~-~--~~~---~--~~

[android-developers] Re: v0.9 icons in sub menu

2008-09-23 Thread Jason Parekh
Sorry, icon support in the expanded and sub menus has been removed. For consistency with the rest of the system, we think you should avoid icons in sub menus. If you're dying to have them though, you can turn your sub menu into a regular menu item that brings up an AlertDialog. jason On Tue, S

[android-developers] Re: Trouble with 0.9 beta and MapActivity

2008-09-23 Thread sudheer
Hello Mark You are right. It has some thing to do with internet access. I am using a proxy server and I guess that's the reason. Thanks a lot for the help/suggestions. Best Regards, Sudheer On Sep 23, 5:17 pm, Mark Murphy <[EMAIL PROTECTED]> wrote: > sudheer wrote: > > Thanks a lot for that po

[android-developers] Re: Trouble with 0.9 beta and MapActivity

2008-09-23 Thread sudheer
Hello Mark Y On Sep 23, 5:17 pm, Mark Murphy <[EMAIL PROTECTED]> wrote: > sudheer wrote: > > Thanks a lot for that pointer. It worked and the errors went away. but > > now I have the second problem. I see only grids and no map. How can I > > see a map now? > > I think that happens if you aren't

[android-developers] Re: Does Android v0.9 really support WiFi?

2008-09-23 Thread Jason Parekh
As you may have guessed, the emulator doesn't support Wi-Fi. jason On Tue, Sep 23, 2008 at 2:55 AM, Weston <[EMAIL PROTECTED]> wrote: > > When using "wifi" service to enable wifi, I got an error "init: no > such service wlan_loader". > > All Android's services are in the file /init.rc. Unfortun

[android-developers] Re: scrolling listview loses background color/drawable

2008-09-23 Thread Nickname
Thank you, butit does NOT fix the problem. Here is what i added to layout xml of the listview: ... android:background="@drawable/background" ... android:cacheColorHint="#000" ... android:layout_width="fill_parent" ... On Sep 23, 4:53 p

[android-developers] [1.0r1] Are there any base64 encoding functions in 1.0r1?

2008-09-23 Thread samlu
I can find the encodeBase64() function from the org.apache.commons.codec.binary.Base64 package in 0.9r1. It seems that this package is removed from 1.0r1. Are there any base64 encoding functions available in 1.0r1? --~--~-~--~~~---~--~~ You received this message be

[android-developers] constructor AssetManager() is not visible???

2008-09-23 Thread Wesley Sagittarius
hi, AssetManager assetManager = new AssetManager(); the constructor of this AssetManager(); is not visible in SDK 1.0... can anyone show me how to create AssetManager with the path I defined??? wesley. --~--~-~--~~~---~--~~ You received this message because you

[android-developers] Re: Ksoap2 terminology

2008-09-23 Thread amishera
Hi, I finally figured out how to set the values of the variables by looking at the codes and wsdls in the group for ksoap2. Probably I should write a wiki on this :) About the net connection problem I entered a hypothetical IP such as 10.0.2.2 and then I had to set the user permission on the mani

[android-developers] how to send a text sms message with a port?

2008-09-23 Thread anywhere
hi all I want to know whether Android support sending a text message with a port? If not, whether will be supported in future release? I find SmsManager#sendDataMessage can be used to send a binary message with a port. But not found method for text message with port. Thanks BR --~--~

[android-developers] Re: How to import a new CA certificate

2008-09-23 Thread lm
Thank you for reply my question. I use the webkit to browse the WWW. I don't know how to store the cetificate(s) in it. Thank you very much to show me the way to store the cetificate(s). Or could you tell me orther ways to solve this problem? Thanks. On 9月24日, 上午7時45分, "Megha Joshi" <[EMAIL PROTE

[android-developers] Re: Coordinate difference between pointToPosition() and MotionEvent.getY()

2008-09-23 Thread Urakagi
Thanks for the reply, I now know what the problem is. I move codes from dispatchTouchEvent() in ListActibity into onTouchEvent() in ListView (using setOnTouchEvent()), then all go fine. Thank you again! On 9月24日, 上午1時04分, hackbod <[EMAIL PROTECTED]> wrote: > If you want to work in the coordinate

[android-developers] Re: Camera questions for SDK 1.0 R1

2008-09-23 Thread Megha Joshi
Unfortunately, these issues have not been fixed for 1.0 r1. http://code.google.com/p/android/issues/detail?id=790 http://code.google.com/p/android/issues/detail?id=821 http://code.google.com/p/android/issues/detail?id=823 Everything that is fixed will be marked as "Released" in the issue tracker

[android-developers] Re: scrolling listview loses background color/drawable

2008-09-23 Thread Romain Guy
Set ListView's cache color hint to 0. On Sep 23, 2008 6:26 PM, "Nickname" <[EMAIL PROTECTED]> wrote: It happens to android emulator, on xp as i know. I depress mouse pointer to scroll a listview. While it scrolls, the background drawable disappers. When i release the mouse, the background st

[android-developers] Re: How to add button to MediaController?

2008-09-23 Thread Jeff Hamilton
This isn't possible in 1.0. -Jeff On Tue, Sep 23, 2008 at 5:14 PM, stef <[EMAIL PROTECTED]> wrote: > > Hi, been trying to modify the MediaController widget to add a few > custom buttons. > I have tried to subclass it and add buttons to the linearlayout before > te rewind and after tge fast forwa

[android-developers] scrolling listview loses background color/drawable

2008-09-23 Thread Nickname
It happens to android emulator, on xp as i know. I depress mouse pointer to scroll a listview. While it scrolls, the background drawable disappers. When i release the mouse, the background still disappear till i move mouse to touch the screen. This is a harmless issue but makes me uneasy. --~-

[android-developers] How to add button to MediaController?

2008-09-23 Thread stef
Hi, been trying to modify the MediaController widget to add a few custom buttons. I have tried to subclass it and add buttons to the linearlayout before te rewind and after tge fast forward with no success... is this even possible? I can always create my own MediaController class but that seems t

[android-developers] Re: How to import a new CA certificate

2008-09-23 Thread Megha Joshi
It is recommended to build an application-specific keystore with only the needed certificate(s) in it. If you have a specific server certificate you want to trust, even if it isn't part of a complete chain, put in into this store. Same for client certificates that might be need for authenticating t

[android-developers] Re: Internet proxy setting in R1.0

2008-09-23 Thread Megha Joshi
To use proxy connection, you must launch the emulator with -http-proxy flag. Usage: http://code.google.com/android/reference/emulator.html#startup-options 2008/9/23 Glen Wang <[EMAIL PROTECTED]> > Does anyone know how to set the proxy in R1.0. Thanks! > Glen > > > > --~--~-~--~--

[android-developers] Re: Market Place

2008-09-23 Thread Mark Murphy
> how do you get your app uploaded to the MarketPalce The App Market is not yet available. The beta of the Market is supposed to be available at the time the T-Mobile G1 ships in October. Whether developers will have an opportunity to put their apps in the Market before then is unclear at thi

[android-developers] Market Place

2008-09-23 Thread [EMAIL PROTECTED]
how do you get your app uploaded to the MarketPalce --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscrib

[android-developers] Re: How to order T-Mobile G1?

2008-09-23 Thread Casey Borders
That's a good question. Can developers who are not with T-Mobile get devices? On Tue, Sep 23, 2008 at 6:55 PM, PowerGUI <[EMAIL PROTECTED]> wrote: > > T-Mobile G1---The First Android Phone has announced,I am very excited. > I don't know how to order the android phone,can somebody talk about > su

[android-developers] How to order T-Mobile G1?

2008-09-23 Thread PowerGUI
T-Mobile G1---The First Android Phone has announced,I am very excited. I don't know how to order the android phone,can somebody talk about such related things in details? 1) the price is $179, but plus taxes and fees; two-year agreement requiredd,how about ethe actual price? how about the pri

[android-developers] Re: Using the Emulator with a Proxy - 0.9 Beta SDK Windows Eclipse 3.4

2008-09-23 Thread [EMAIL PROTECTED]
Where did you find the NumberFormatException message? I'm looking for a log of somewhere I could find an indication (error messages) of why the proxy is failing. I'm using Eclipse/GANYMEDE on Windows XP. I've tried every combination I can think of with and without http://, with and without userid:

[android-developers] Internet proxy setting in R1.0

2008-09-23 Thread Glen Wang
Does anyone know how to set the proxy in R1.0. Thanks! Glen --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsub

[android-developers] Android 1.0 SDK Released

2008-09-23 Thread Megha Joshi
Hi everyone, We're pleased to announce the release of the Android 1.0 SDK, release 1. For full information, please see Dan Morrill's blog post: http://android-developers.blogspot.com/2008/09/announcing-android-10-sdk-release-1.html SDK Download: http://code.google.com/android/download.htm

[android-developers] Re: JavaScript "Prompt" or something Similar in Android?

2008-09-23 Thread Mark Hansen
I actually ended up using the AlertDialogSamples.java SDK examples and found a pretty easy implementation. Encase anyone run's across this in the future. On Sep 23, 3:27 pm, "Mark Murphy" <[EMAIL PROTECTED]> wrote: > > Is there any easy way of doing a similar thing with Android without > > creat

[android-developers] Camera questions for SDK 1.0 R1

2008-09-23 Thread blindfold
The release notes read under Significant API Changes, "Improvements to the Camera API". However, I upgraded my app from SDK 0.9 beta to 1.0 R1, and it runs OK again, but it seems that concerning implementation of APIs little has improved for using the camera: 1. The camera still cannot be queried

[android-developers] Re: Links to API demos broken

2008-09-23 Thread Megha Joshi
Thanks for reporting this issue...it will be fixed soon. 2008/9/23 xtrawurst <[EMAIL PROTECTED]> > > for example this one when I click on 'Graphics': > > http://code.google.com/android/samples/ApiDemos/src/com/android/samples/graphics/ > > Going manually to > http://code.google.com/android/sample

[android-developers] Links to API demos broken

2008-09-23 Thread xtrawurst
for example this one when I click on 'Graphics': http://code.google.com/android/samples/ApiDemos/src/com/android/samples/graphics/ Going manually to http://code.google.com/android/samples/ApiDemos/src/com/ I can navigate to the above site, which apparently changed to http://code.google.com/androi

[android-developers] Re: JavaScript "Prompt" or something Similar in Android?

2008-09-23 Thread Mark Murphy
> Is there any easy way of doing a similar thing with Android without > creating a layout and intent and launching it for a simple text entry? I'm not sure about "easy", but you can do it using AlertDialog, providing your own View instead of using a stock implementation. Or, if this is more like

[android-developers] Re: Where to get ADT 0.8.0?

2008-09-23 Thread blindfold
Never mind, I found the direct link http://dl-ssl.google.com/android/ADT-0.8.0.zip On Sep 23, 9:05 pm, blindfold <[EMAIL PROTECTED]> wrote: > Anyone else having problems getting the update ADT 0.8.0 plugin > fromhttps://dl-ssl.google.com/android/eclipse/in order to get started > with android-sd

[android-developers] Re: Where to get ADT 0.8.0?

2008-09-23 Thread Dipen Dalal
Try https://dl-ssl.google.com/android/eclipse/site.xml If you chose 'Auto-update" in eclipse Software Update option, Eclipse will find itself. Dipen On Tue, Sep 23, 2008 at 3:05 PM, blindfold <[EMAIL PROTECTED]>wrote: > > Anyone else having problems getting the update ADT 0.8.0 plugin from > h

[android-developers] Re: Problem with MapView

2008-09-23 Thread Jordan Innovations
Check this out: http://nader.shalabi.googlepages.com/androidapplications On Mon, Sep 22, 2008 at 12:59 PM, sudheer <[EMAIL PROTECTED]> wrote: > > Hello All > > I still face the problem of a grid being shown instead of a map. my > manifest file is copied below > > http://schemas.android.com/apk/r

[android-developers] Where to get ADT 0.8.0?

2008-09-23 Thread blindfold
Anyone else having problems getting the update ADT 0.8.0 plugin from https://dl-ssl.google.com/android/eclipse/ in order to get started with android-sdk-windows-1.0_r1? I'm getting a 404 (Not Found) page. Thanks --~--~-~--~~~---~--~~ You received this message beca

[android-developers] Re: Bitmap issue ...

2008-09-23 Thread Kurt Jacobs
Mike, Thanks for the explanation. Is there a way (method that I could call) that I can convert the raw bitmap to the multiplied version because doing the setPixel? Thanks, Kurt On Tue, Sep 23, 2008 at 11:34 AM, Mike Reed <[EMAIL PROTECTED]> wrote: > > The confusion (and I will try to update

[android-developers] JavaScript "Prompt" or something Similar in Android?

2008-09-23 Thread Mark Hansen
Is there any easy way of doing a similar thing with Android without creating a layout and intent and launching it for a simple text entry? Basically I have a button that I want to have clicked, and then have a textbox be filled out by the user and then "OK"'d. I then want to handle the input fro

[android-developers] Re: how to finalizing sqllite cursor???

2008-09-23 Thread Ludwig
There is no need to call deactivate() on a cursor unless you want to requery it at a later stage. close() will release all its resources, which is what is needed. It is also a good idea to put this into a try/finally block to make sure the close happens in the presence of exceptions. Ludwig 200

[android-developers] Re: Coordinate difference between pointToPosition() and MotionEvent.getY()

2008-09-23 Thread hackbod
If you want to work in the coordinate space of a particular view, you need to intercept the motion events when they are dispatched to that view. At the point of dispatchTouchEvent(), the event hasn't yet been delivered to any views so its coordinate is in the space of the overall window. On Sep

[android-developers] Re: why I can't launch web browser from Android?

2008-09-23 Thread Mark Murphy
> I have not upgraded to 0.9 yet. Any more suggestion? All the suggestions you have received to date are for the 0.9 SDK. I really really really recommend upgrading, as our ability to provide help on M5 diminishes with each passing week. -- Mark Murphy (a Commons Guy) http://commonsware.com _The

[android-developers] Re: why I can't launch web browser from Android?

2008-09-23 Thread april
I have not upgraded to 0.9 yet. Any more suggestion? Thanks! On Sep 23, 5:15 am, Mark Murphy <[EMAIL PROTECTED]> wrote: > yangrunfeiandroid wrote: > > add in > > your androidmanifest.xml > > good luck for you > > Also, in the Android 0.9 SDK, it should be ACTION_VIEW instead of > VIEW_ACTION.

[android-developers] Re: Is there a way to manage data without using SQLite?

2008-09-23 Thread Mark Murphy
> Okay, im beggining the studies of Android, and my goal is to create a > mini-sgbd, finishing it in july/09, so i need to learn about those > details, and im finding it hard to find... What is a "mini-sgbd"? -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Androi

[android-developers] Re: Where does the emulator look for the SD Card Image File ?

2008-09-23 Thread Ludwig
If you just start with the default settings there is essentially no SDCard in the system. (It is really like an empty slot, what you see is the mount point). First you need to create an SDCard, there is a mksdcard utility in the tools directory. It creates a file with a FAT32 file system on it. T

[android-developers] Re: Bitmap issue ...

2008-09-23 Thread Mike Reed
The confusion (and I will try to update the dox to make this clearer) is that the color int is in unpremultipled form, but the internal format for Bitmap pixels is premultiplied. "premultiplied" means that the r,g,b components have already been multiplied by their respective alpha value. Th

[android-developers] Invoking android application automatically

2008-09-23 Thread bharath kumar
Hi Developers, Could somebody help me on how to invoke the android application automatically!!! i have found "Push Registry" for invoking the application automatically in J2ME <[EMAIL PROTECTED]> . What abt in Android? Is is this possible in android? Regards Kumar. --~--~-~--~

[android-developers] Re: how to finalizing sqllite cursor???

2008-09-23 Thread Sudha
try giving cursor.deactivate(); cursor.close(); for me it worked cursor = null; On Sep 23, 3:09 pm, Wesley Sagittarius <[EMAIL PROTECTED]> wrote: > hi, > > how to finalizing sqllite cursor??? > > 09-23 10:06:08.646: INFO/dalvikvm(1662): Uncaught exception thrown by > finalizer (will be discarded

[android-developers] Re: Where does the emulator look for the SD Card Image File ?

2008-09-23 Thread Sudha
I have a few doubts on sdcard. 1. How to remove the sd card from t eh device ? 2.I can capture the image.One default image is coming in pic folder. But how can I move my own images and sound files to the sdcard I tried using adb push b.jpg /sdcard it shows failed to copy b.jpg to /sdcard : read on

[android-developers] How do I get the dialed outgoing call's phone number?

2008-09-23 Thread shiva
Good day developers, I am trying to get the phone number of the outgoing call. Used the following classes. I am not able to print the dialed number :( Is there a way how I can extract the dialed number? Thanks. package com.call.simulation; import android.app.Activity; import android.content.I

[android-developers] Bitmap issue ...

2008-09-23 Thread JakeMaui
I have a bitmap issue. I created a simple PNG that was 1 pixel high, 16 wide pure white. I loaded the bitmap, extracted the pixels, changed the first one and then created a bitmap from the altered data. The issue is that I thought that until I save it, I would have a raw bitmap will all the bits

[android-developers] ActiveSync with Outlook, Exchange and Business Users

2008-09-23 Thread Robert
How will anyone realize ActiveSync with Android? Secure SSL Synchronization with Outlook, Microsoft Exchange, Domino or Groupwise is needed in order for a mobile phone to interest for Business Users. Business Users don't use Google-Accounts, they have an own Server Infrastructure for Email, Conta

[android-developers] Auto check if video is disabled or removed

2008-09-23 Thread hipsfinder
Hi, I run a website which has 100's of embeded youtube videos show all sorts of Hobbies, Interests, Pastimes and Sports on www.hipsfinder.com It is impossible to keep track of all the videos on the website, so what I want to do (if possible) is run a piece of php code to check if the video is sti

[android-developers] problem when moving image to the sdcard

2008-09-23 Thread Sudha
I tried to copy one jpg image to teh sdcard using push h.jpg /sdcard/dcim/camera when I open the pictures in the emulator a redcolor rectangle comes and a blank screen is shown why so ? how can I see the copied image in the pictures ? --~--~-~--~~~---~--~~ You rec

[android-developers] Does Android v0.9 really support WiFi?

2008-09-23 Thread Weston
When using "wifi" service to enable wifi, I got an error "init: no such service wlan_loader". All Android's services are in the file /init.rc. Unfortunately, no wlan service, only API available. --~--~-~--~~~---~--~~ You received this message because you are subsc

[android-developers] Re: Is there a way to manage data without using SQLite?

2008-09-23 Thread Ramin
Hmm... Okay, im beggining the studies of Android, and my goal is to create a mini-sgbd, finishing it in july/09, so i need to learn about those details, and im finding it hard to find... Thanks, Ramon, On 22 set, 17:46, "Mark Murphy" <[EMAIL PROTECTED]> wrote: > > Is there a way to manage data

[android-developers] Re: java.lang.VerifyError with 0.9

2008-09-23 Thread Biosopher
Tracked down the same VerifyError in my own code. Turns out that my .jar file was incomplete (missing a .class file). Now that the .class is added back, all works fine. - Anthony --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Go

[android-developers] Re: problem with verifier

2008-09-23 Thread Biosopher
Tracked down the same VerifyError in my own code. Turns out that my .jar file was incomplete (missing a .class file). Now that the .class is added back, all works fine. You might get this error if your .jar is not properly added to the project as well. - Anthony --~--~-~--~~---

[android-developers] Re: anyone has problem with verifyError?

2008-09-23 Thread Biosopher
Tracked down the same VerifyError in my own code. Turns out that my .jar file was incomplete (missing a .class file). Now that the .class is added back, all works fine. You might get this error if your .jar is not properly added to the project as well. - Anthony --~--~-~--~~---

[android-developers] Re: java.lang.VerifyError

2008-09-23 Thread Biosopher
Tracked down this bug in my own code. Turns out that my .jar file was incomplete (missing a .class file). Now that the .class is added back, all works fine. - Anthony --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[android-developers] Re: how to finalizing sqllite cursor???

2008-09-23 Thread Jeff Hamilton
When you're done using a Cursor before you loose all references to it you should call close() on it to release the resources it's using. -Jeff On Tue, Sep 23, 2008 at 3:09 AM, Wesley Sagittarius <[EMAIL PROTECTED]> wrote: > > hi, > > how to finalizing sqllite cursor??? > > 09-23 10:06:08.646: IN

[android-developers] Re: Does Android support Chinese Traditional Language?

2008-09-23 Thread Mike Reed
Android is unicode based, so any text will need to be transcoded into that. The fallback font in 1.0 supports much of the Simplified Chinese character set, but not complete. Are you having specific problems? mike On Sep 23, 2008, at 9:17 AM, Ludwig wrote: I have at least no trouble displayin

[android-developers] Re: Does Android support Chinese Traditional Language?

2008-09-23 Thread Ludwig
I have at least no trouble displaying Simplified Chinese characters on the screen (I do not have traditional chars installed, so I cannot check those). Using Eclipse I simply change my IME and type in Chinese text into the resource strings and they appear correctly on the screen (at least in defaul

[android-developers] Re: Trouble with 0.9 beta and MapActivity

2008-09-23 Thread Mark Murphy
sudheer wrote: > Thanks a lot for that pointer. It worked and the errors went away. but > now I have the second problem. I see only grids and no map. How can I > see a map now? I think that happens if you aren't getting an Internet connection, but am not completely certain. Can your emulator br

[android-developers] Re: why I can't launch web browser from Android?

2008-09-23 Thread Mark Murphy
yangrunfeiandroid wrote: > add in > your androidmanifest.xml > good luck for you Also, in the Android 0.9 SDK, it should be ACTION_VIEW instead of VIEW_ACTION. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 1.2 Published! --~-

[android-developers] Re: Problem when running SoundRecordingAPISample of Megha

2008-09-23 Thread De San Nicolas Jean Philippe
sorry,it works 2008/9/23 De San Nicolas Jean Philippe <[EMAIL PROTECTED]> > another question about sound an recording. I've read that the only way to > record sound is to record it in AMR format. Is it true that the media player > does not read this format? And if it's true, is there another way

[android-developers] Re: Recorder Audio

2008-09-23 Thread jphdsn
read arm format works, in bad quality On Sep 23, 8:17 am, jphdsn <[EMAIL PROTECTED]> wrote: > have you find a solution? > > On Sep 22, 11:50 am, ZIN <[EMAIL PROTECTED]> wrote: > > > I saw in the properties MediaRecorder.AudioEncoder.AMR_NB, so the only > > format audio recorder type is .AMR > > B

[android-developers] how to finalizing sqllite cursor???

2008-09-23 Thread Wesley Sagittarius
hi, how to finalizing sqllite cursor??? 09-23 10:06:08.646: INFO/dalvikvm(1662): Uncaught exception thrown by finalizer (will be discarded): 09-23 10:06:08.646: INFO/dalvikvm(1662): Ljava/lang/ IllegalStateException;: Finalizing cursor [EMAIL PROTECTED] on notes that has not been deactivated or

[android-developers] seeing a grid instead of map on Emulator

2008-09-23 Thread sudheer
Hello All i am getting only a grid and not map. my ddms log has the following 3 lines and doesn't any one know how to get past this? 09-23 15:10:30.061: WARN/Maps_Persistence(605): Couldn't find file: / data/data/MapAppProj.MapAppPack/files/DATA_Preferences 09-23 15:10:30.141: WARN/Maps_Persiste

[android-developers] Re: switch between activities

2008-09-23 Thread Guillaume Perrot
Do you need the "child" activity to return a result in your case ? On 23 sep, 09:35, hackbod <[EMAIL PROTECTED]> wrote: > No activities are purely a stack, sorry. > > On Sep 22, 5:02 pm, chouman82 <[EMAIL PROTECTED]> wrote: > > > this should be something simple but yet i can't seem to find the >

[android-developers] Coordinate difference between pointToPosition() and MotionEvent.getY()

2008-09-23 Thread Urakagi
Hi, I have a ListActivity, so I also have a ListView in it. I want to use ListView.pointToPosition() in dispatchTouchEvent() of ListActivity. But when I call MotionEvent.getY(), it returns the Y coordinate of "whole screen", but pointToPosition() needs an "local coordinate". I tried many getTop()

[android-developers] v0.9 icons in sub menu

2008-09-23 Thread Guillaume Perrot
In m5 icon in menu items was displayed both in main menu and in sub menu. But in v0.9 my icons in sub-menu simply disappeared. It is the same thing when the "more" icon appear when there is too many items: the items in more have no icons in this case. I don't like this way of doing, is there any w

[android-developers] App versioning & appstore

2008-09-23 Thread Matteo Crippa
Hi, I'm looking for information about Android app versioning, in particular with reference with the appstore system. In this very moment I'm planning to develop an app with some static contents (eg. music, background, video and pics), but within a couple of months it will be possible to upgrade

[android-developers] Re: Unable to create an URI for a local sound

2008-09-23 Thread Matteo Crippa
I'm an Android novice, but what do you think about this solution? MediaPlayer mNotify; mNotify = MediaPlayer.create(this, R.raw.beep); mNotify.start(); It should play your audio file without problems On 23 Set, 04:13, CG <[EMAIL PROTECTED]> wrote: > Hey, > > I try to play a local sound in a not

[android-developers] Certificate untrusted when I try to login gmail

2008-09-23 Thread lm
Hi all, Now I meet a trouble with android. I run the android on my developing board of freescale. I can visit the gmail page, but I can't login.After sign in name and password and hit the login button, It show a warning message of "Certificate untrusted" and the detail MSG is "SSL warning". Then i

[android-developers] Re: Trouble with 0.9 beta and MapActivity

2008-09-23 Thread sudheer
Here is my problem. when I setContentView(map), only a grid is displayed. the ddms logs have the following messages 09-23 14:05:41.131: WARN/Maps_Persistence(447): Couldn't find file: / data/data/MapAppProj.MapAppPack/files/DATA_Preferences 09-23 14:05:41.221: WARN/Maps_Persistence(447): Couldn'

[android-developers] Constructor of Notification

2008-09-23 Thread elvisw
Is it possible to use new Notification(int icon, CharSequence tickerText, long when) but assign nothing for icon?? If I dont want to show an icon.. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "An

[android-developers] Re: How to use onListItemClick() while overriding dispatchTouchEvent() in ListActivity?

2008-09-23 Thread Urakagi
Days pass but I still can't find an answer. I try to trace stack, but I can't understand how the system get "position" parameter since the source code of SDK is not available: ListView.performItemClick(View, int, long) line: 2968 AbsListView$PerformClick.run() line: 1406 When I call View.Perform

[android-developers] Re: switch between activities

2008-09-23 Thread hackbod
No activities are purely a stack, sorry. On Sep 22, 5:02 pm, chouman82 <[EMAIL PROTECTED]> wrote: > this should be something simple but yet i can't seem to find the > answer anywhere. > > I have a parent activity that starts a sub activity.  From the sub > activity, i want to be able to go back t

[android-developers] Re: Web Browser in .9

2008-09-23 Thread hackbod
On Sep 22, 4:29 pm, "Mark Murphy" <[EMAIL PROTECTED]> wrote: > Try ACTION_VIEW. For whatever reason, they flipped the order around of all > those Intent names. It was done to keep the constant naming conventions consistent. --~--~-~--~~~---~--~~ You received this

[android-developers] Re: Simulate KeyEvent

2008-09-23 Thread hackbod
You don't. Applications aren't allowed to inject events into other applications. If you are wanting to do automated testing, you can use the Instrumentation APIs to write a separate .apk that injects events into another .apk it is testing, but both of these need to be signed with the same certif

[android-developers] Re: Change colors Tabs

2008-09-23 Thread hackbod
As I said, you need to supply your own complete graphics. All you are doing here is making the tab a solid color. You need to draw your own tab with the focus image using the color you want for focus. But honestly, I would strongly discourage you from doing this. If you are just changing the a