[android-developers] ODBC connectivity in android

2009-06-10 Thread sachmi2
Hi, As Android uses sqlite as it's embedded database, how it gives it the ODBC connectivity. 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] 1dp=1/160 inch ?

2009-06-10 Thread Susan
In Android documentone, dp is one pixel on a 160 dpi screen. So I think 1dp=1/160 inch. Am I right? Are they different in use? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to

[android-developers] Re: Cannot find provider package when using ProviderTestCase2 to test

2009-06-10 Thread Brett Chabot
I believe you'll get this error message if there is no Android app with package name com.android.abc.providers installed on the device. Without more context it will be difficult to diagnose your problem. You can use this command adb shell pm list packages to retrieve the list of packages

[android-developers] Re: Could NOT Upgrade App in Market!

2009-06-10 Thread efan
Tried again and got error message The apk must be signed with at least one certificate in common with the previous version.. This is one step progress (better than no message at all) but still wrong within the Android market app upgrade function, because, 1. I meant to try the old version apk

[android-developers] Re: Could NOT Upgrade App in Market!

2009-06-10 Thread efan
Mark, thanks for the information. Yes I mean cannot be found in a search. But the strange thing is that the search function still ok in Android Market Help Forum. But same as here, no any Android staff response to the post. What happened/happening in Android/Goolge? On Jun 8, 4:04 pm, Mark

[android-developers] Re: Retrieving data from a USSD command

2009-06-10 Thread PI9
Hello! Have you got any results for your problem ? Indeed i'd like to do the same thing but so far i haven't been able to find any help on this matter Thanks in advance. On May 17, 10:48 am, Terence Eden terence.e...@gmail.com wrote: I want to call aUSSD(http://en.wikipedia.org/wiki/USSD)

[android-developers] Re: Retrieving data from a USSD command

2009-06-10 Thread Terence Eden
On Jun 10, 8:36 am, PI9 ch.castel...@gmail.com wrote: Hello! Have you got any results for your problem ? Indeed i'd like to do the same thing but so far i haven't been able to find any help on this matter No, sorry. There are some USSD commands that you can intercept via the API (call

[android-developers] Re: How to go back to my apllication's home screen

2009-06-10 Thread Bullo#88
Exactly, the flag tells the system to finish all the activity that are above your home screen activity in the stack On 9 Jun., 22:04, MrSnowflake mrsnowfl...@gmail.com wrote: Does your sollution pop all other activities from the activityQueue? On Jun 9, 3:29 pm, Bullo#88 bulonce...@gmail.com

[android-developers] Re: httpclient multipart form upload

2009-06-10 Thread Urs Grob
Yes, I also couldn't find the jars for httpmime. I just created a jar from the sources and included that in the project. If anybody knows of some official jar, then I'd also like to know where I could get it (also to stay up to date) Thanks -- Urs On Wed, Jun 10, 2009 at 3:43 AM, Jason Proctor

[android-developers] AppWidgetProviders and PackageManager.setComponentEnabledSetting

2009-06-10 Thread btm...@gmail.com
Hello all, I am using PackageManager.setComponentEnabledSetting to turn off my app widget provider receivers to limit what is shown on the widget list. It seems my changes don't take into affect until I reboot my phone though. Is there a way to somehow get the app widget list refreshed or

[android-developers] Re: Can't get the softinput to show up programmatically

2009-06-10 Thread Bhargavi
Hi Jade, did u get a clue on this as iam also stuck with a similar problem..please reply back if this issue is resolved. I too need the softkeyboard to get displayed without touching the edit box in my dialog . Regards, Bhargavi On Jun 2, 8:53 pm, jade j...@edufone.com wrote: We have a

[android-developers] How Java App interact with console?

2009-06-10 Thread waterblood
Hello All, I just want to write a Java APP which need get instruction from a console, and output information to console. I just found Log.v() can output msg to console. But not known how to get input? If you know that, please let me know how to do it. Thanks a lot. Best Regards Guoyin Chen

[android-developers] requestWindowFeature(Window.FEATURE_LEFT_ICON); Icon is Empty

2009-06-10 Thread RTX
Hi Im using requestWindowFeature(Window.FEATURE_LEFT_ICON); on a Theme.Dialog Activity the title do move a bit to the right but the icon is empty i did set the avtivity icon why is it happaning what did i miss --~--~-~--~~~---~--~~ You received this message

[android-developers] Re: Getting driving directions from application

2009-06-10 Thread skyman
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

[android-developers] Re: Handling an Intent without an Activity UI

2009-06-10 Thread mafro
I'm thinking I might need to write a service to handle my shortcut's Intent. The main application could then raise a similar Intent to the service to provide the same functionality whilst in the application. Comments anyone? On Jun 9, 11:34 am, mafro mafro...@gmail.com wrote: Hey list, I've

[android-developers] Re: How to assign/get the ip address of an emulator ?

2009-06-10 Thread David Turner
http://developer.android.com/guide/developing/tools/emulator.html#emulatornetworking On Tue, Jun 9, 2009 at 8:35 PM, sandy.andr...@gmail.com sandy.andr...@gmail.com wrote: I am running a server application on emulator. I want to connect to the server through a client application running on

[android-developers] Need to work on existing Android application in source code (Settings)

2009-06-10 Thread arun choudhary
Hi All I have an specific requirement to modify one of existing applications in Android source code Settings which is available in root dir package settings I am opening the same in eclipse but it open with lot of referencing errors could any one please tell me how to open an existing

[android-developers] Re: Getting driving directions from application

2009-06-10 Thread Alistair.
I think this might be a bit out of date. I put the phrase android draw polyline into Google. http://www.anddev.org/route_-_improved_google_driving_directions-t1892.html Al. On Jun 10, 9:57 am, skyman krzysiek.bieli...@gmail.com wrote: Anyone?

[android-developers] SDK 1.5 and mac osx problem

2009-06-10 Thread jphdsn
Hi, I'm just buying a new macintosh and I want to install android. Previously I used on my old mac, the Android sdk 1.1. So I install Eclipse and Android sdk 1.5. But when I import a project and build it, I have an error message : [2009-06-10 12:20:09 - LunchList] The connection to adb is

[android-developers] Is possible get notified when the user send an SMS or make a call

2009-06-10 Thread Monkiki
I've been searching the application permissions and I see no way to make an app to enable getting notified when the user send an SMS or make a phone call. How can I accomplish this task? Thanks in advance. --~--~-~--~~~---~--~~ You received this message because

[android-developers] Running two activities on a single screen

2009-06-10 Thread Android Users
Hi all, Can we run two activities on a single screen? if so, then could anyone give me an as to how its done? Thanks in advance. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to

[android-developers] Re: Is possible get notified when the user send an SMS or make a call

2009-06-10 Thread Mika
Hi, You can do this by using content providers. You can listen to changes in content://sms uri and for sent messages you go through content://sms/sent and find the new sent messages. You can do similar thing with call log or use PhoneStateListener and listen when the call is on hook, off hook

[android-developers] Re: Unlocking screen after wake lock

2009-06-10 Thread Todd Sjolander
What a coincidence! I just figured this out yesterday: KeyguardManager km = (KeyguardManager) getSystemService (KEYGUARD_SERVICE); KeyguardManager.KeyguardLock keylock = km.newKeyguardLock(Your label here); keylock.disableKeyguard(); Todd Sjolander On Jun 9, 12:16 pm,

[android-developers] Re: Handling widget interface events

2009-06-10 Thread Teo
The service starts now, i forgot to declare it in the manifest... But still, the onHandle function isn't triggered.. Trying to test the TwiterWidget example i only got a fullscreen app, couldn't see the widget anywhere. Anyway, i'm sure i'm missing some little thing, i just can't pinpoint it :) As

[android-developers] How firmware update and Application update work through OTA work?

2009-06-10 Thread onceaweek
I'd like to know how to update SDK or Applications through OTA? Does Android support the update mechnism ? If not, an operator or a device manufacturer adds the functionality for software update? I guess 'com.android.updater' package may have something to do with SDK update, but I'm not sure.

[android-developers] Re: Running two activities on a single screen

2009-06-10 Thread Mark Murphy
Android Users wrote: Can we run two activities on a single screen? AFAIK, no. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Warescription: Three Android Books, Plus Updates, $35/Year --~--~-~--~~~---~--~~ You received

[android-developers] Re: How firmware update and Application update work through OTA work?

2009-06-10 Thread Mark Murphy
onceaweek wrote: I'd like to know how to update SDK or Applications through OTA? Questions regarding the operation of Android firmware are best asked on a list pertaining to Android firmware: http://source.android.com/discuss -- Mark Murphy (a Commons Guy) http://commonsware.com |

[android-developers] Re: Handling an Intent without an Activity UI

2009-06-10 Thread Mark Murphy
mafro wrote: I'm thinking I might need to write a service to handle my shortcut's Intent. The main application could then raise a similar Intent to the service to provide the same functionality whilst in the application. I do not know if you can create home screen shortcuts that send

[android-developers] Re: What is providerAuthority in constructor of ProviderTestCase2?

2009-06-10 Thread Mark Murphy
aby wrote: Hi, There is a parameter providerAuthority in ProviderTestCase2 constructor. Does anyone know what is the providerAuthority means?Is the content uri of the provider?Thanks http://developer.android.com/guide/topics/providers/content-providers.html Scroll to the bottom, to the

[android-developers] Re: Getting driving directions from application

2009-06-10 Thread skyman
In current SDK there is no com.google.googlenav :( --~--~-~--~~~---~--~~ 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: Running two activities on a single screen

2009-06-10 Thread skyman
I think that that can be done using ActivityGroup, but I'm not 100% shure (it can be a very dirty way). -- Skyman http://skyman.pl --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to

[android-developers] SDK 1.5 and Eclipse problem

2009-06-10 Thread jphdsn
Hi, I'm just trying the SDK 1.5 with a new installation of Eclipse and the eclipse plugin When I import a project and run it, I have an error message : [2009-06-10 12:20:09 - Lunc] The connection to adb is down, and a severe error has occured. [2009-06-10 12:20:09 - Lunc] You must restart adb

[android-developers] help with MultiAutoCompleteTextView.

2009-06-10 Thread Saurav Mukherjee
hi all, i have programmed for MultiAutoCompleteTextView. but the only problem i have is that the constraint in my CursorAdapter is not recognizing single characters, wen i enter more than 1 character of the word, i get the auto complete list. any suggestions. tell me if i need to elaborate.

[android-developers] Re: Getting driving directions from application

2009-06-10 Thread Alistair.
Perhaps some combination of http://data.giub.uni-bonn.de/openrouteservice/ http://wiki.openstreetmap.org/index.php/OpenRouteService#ORS_.22API.22 But it's Europe only I'm afraid. Al. On Jun 10, 1:21 pm, skyman krzysiek.bieli...@gmail.com wrote: In current SDK there is no com.google.googlenav

[android-developers] Re: Running two activities on a single screen

2009-06-10 Thread Android Users
Using ActivityGroup i can shift between two activities but updating only some part of one activity (say a view) with the result of another activity is where i am stuck up. Is this possible? --~--~-~--~~~---~--~~ You received this message because you are subscribed

[android-developers] (application) cannot be installed on this phone

2009-06-10 Thread Mark Hansen
Has anyone had an error along the lines of (application) cannot be installed on this phone., where the application name is in place of (application). This is on cupcake, I have my version minSdkVersion set to 3, and I've had no problems prior to this new version. Runs fine in the emulator, so

[android-developers] Re: Handling an Intent without an Activity UI

2009-06-10 Thread mafro
You're right it does sound terribly complex. Ill report back on my findings for anyone else who has a similar problem. Thanks for your input, Mark. On Jun 10, 1:09 pm, Mark Murphy mmur...@commonsware.com wrote: mafro wrote: I'm thinking I might need to write a service to handle my

[android-developers] Re: How firmware update and Application update work through OTA work?

2009-06-10 Thread Disconnect
Application updating has as much to do with firmware as any other sdk/capability question... (And the answer to the original question is that market offers user's an update-list of app updates, but otherwise there is no capability in the system for handling application updates in any sort of

[android-developers] Re: Using Android Radar in map application

2009-06-10 Thread Georgy
Solved. As loCode was my GeoPoint: // RADAR CODE Intent i = new Intent (com.google.android.radar.SHOW_RADAR); i.putExtra(latitude, (float)(locode.getLatitudeE6() / 100f)); i.putExtra(longitude, (float)(locode.getLongitudeE6() / 100f));

[android-developers] Re: Using Intents

2009-06-10 Thread Georgy
Solved. As Locode was my GeoPoint: // RADAR CODE Intent i = new Intent (com.google.android.radar.SHOW_RADAR); i.putExtra(latitude, (float)(locode.getLatitudeE6() / 100f)); i.putExtra(longitude, (float)(locode.getLongitudeE6() / 100f));

[android-developers] Is this doable in commandline?

2009-06-10 Thread dev
Hi, I intend to right a simple instrumentation class using android.test.InstrumentationTestCase. I have two simple testcases inside it which does nothing but printing the Log. My instrumentation code does not launch any activity or connect to service,or has intents etc. What I am looking for

[android-developers] TextView Ellipsize: Questions

2009-06-10 Thread nEx.Software
I have a couple questions on ellipsize on the TextView... 1) Is there anyway to get ellipsize to work on a multiline TextView? So that the ellipses are shown at the end of the text, rather than at the end of the line? If not what is the best way to handle this on my own?]] 2) Is there any way to

[android-developers] Re: My Emulator isnt launching .. :(

2009-06-10 Thread MikaSue
Hi! Which version of Eclipse are you running? Did you create an AVD? With sdk 1.5 you must create an avd first. Have you set up a Run Configuration... for the correct version? Look at the target tab. MikaSue On Jun 9, 4:33 pm, wahib.t...@gmail.com wahib.t...@gmail.com wrote: Hi. I am

[android-developers] ADB server didn't ACK, cannot bind tcp...

2009-06-10 Thread jphdsn
Hi Coud anyone tell me if he had been teh same problem witj the adb command line? jphdsn$ /Developer/android-sdk-mac_x86-1.5_r2/tools/adb shell * daemon not running. starting it now * cannot bind 'tcp:5037' ADB server didn't ACK * failed to start daemon * error: cannot connect to daemon And if

[android-developers] Re: 2D Double Buffering in Android 1.5 (with Canvas?)

2009-06-10 Thread Eli Yukelzon
the only thing that seems close to this is canvas.saveLayer() and canvas.restore() though i may be wrong... anyone else has other info? On Jun 10, 3:06 am, Avatar Ng ngchee...@gmail.com wrote: Hi there, Do anyone here having experience of applying double-buffering in Android 2D animation/

[android-developers] Re: 1dp=1/160 inch ?

2009-06-10 Thread Odessa Silverberg
No, not really. If you have a 200 dpi screen, it would be theoretically 1.25px. But since you can't have a 1/4 pixel, it basically has to be rounded down to 1. So on 200 dpi 1 dp would be 1/200 inch. However, 4dp will be 4 pixel on 160 dpi screen and 5 px on a 200 dpi one. Or in other words 1/40

[android-developers] Re: ListView items in Activity Persist on G1 keyboard slideout, but not Dialog list items

2009-06-10 Thread pawpaw17
Thanks for the pointers. I fixed my issue as well using bundles to save state. On Jun 9, 12:55 pm, Streets Of Boston flyingdutc...@gmail.com wrote: Ugh.. this is still the case :( In my app, i program around it. I have some code that determines if onPrepareDialog should have been called and,

[android-developers] Re: ADB server didn't ACK, cannot bind tcp...

2009-06-10 Thread David Turner
The ADB server binds and listen to port 5037. The error message seems to indicate that another process is already using this port. Do you have specific services / background programs running your machine ? On Wed, Jun 10, 2009 at 4:06 PM, jphdsn jph...@gmail.com wrote: Hi Coud anyone tell me

[android-developers] Re: ADB server didn't ACK, cannot bind tcp...

2009-06-10 Thread jphdsn
I don't think so but how can I be sure of that? thanks On 10 juin, 16:22, David Turner di...@android.com wrote: The ADB server binds and listen to port 5037. The error message seems to indicate that another process is already using this port. Do you have specific services / background

[android-developers] WEBVIEW UTF AND NO LATIN CHARS

2009-06-10 Thread fala70
I am having problems to show on WebView a page with no chars lating with UTF-8 enconding I am using this code: String ss = new String(_byString, UTF-8); sUrl = http://www.google.com/search?q=+ss +ie=UTF-8oe=UTF-8; WebView

[android-developers] Re: ADB server didn't ACK, cannot bind tcp...

2009-06-10 Thread jphdsn
Precision, I'm on macintosh... On 10 juin, 16:29, jphdsn jph...@gmail.com wrote: I don't think so but how can I be sure of that? thanks On 10 juin, 16:22, David Turner di...@android.com wrote: The ADB server binds and listen to port 5037. The error message seems to indicate that

[android-developers] Re: ADB server didn't ACK, cannot bind tcp...

2009-06-10 Thread David Turner
You should be able to use netstat -a to see which processes are bound to which ports On Wed, Jun 10, 2009 at 4:33 PM, jphdsn jph...@gmail.com wrote: Precision, I'm on macintosh... On 10 juin, 16:29, jphdsn jph...@gmail.com wrote: I don't think so but how can I be sure of that? thanks

[android-developers] Saving array of Path on Bundle in onSaveInstanceState

2009-06-10 Thread monmonja
I have an app that let users draw and i'm using canvas with Path (android.graphics.Path). After drawing, ill let them email what they have drawn, and this i believe will trigger onDestory, then after they finish with the email they will return to the app and thus calling onCreate. My question is

[android-developers] Android 1.1 virtual devices don't show up as run targets

2009-06-10 Thread Matthias
Hi, even when setting minSdkVersion to 2, any Android 1.1 virtual device does not appear in the list of run targets when launching the emulator. How come? Cheers, Matthias --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[android-developers] Re: ADB server didn't ACK, cannot bind tcp...

2009-06-10 Thread De San Nicolas Jean Philippe
I will try in three or four hours I have to go now I will send another post if it works or not Thanks very much 2009/6/10 David Turner di...@android.com You should be able to use netstat -a to see which processes are bound to which ports On Wed, Jun 10, 2009 at 4:33 PM, jphdsn

[android-developers] Hide application in Home dinamically

2009-06-10 Thread rollbak
Hello, I want to know if there is a way or workaround to hide an application to be shown in the Home activity, but doing this dynamically from my own app code. Thanks, --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[android-developers] Re: Hide application in Home dinamically

2009-06-10 Thread Mark Murphy
rollbak wrote: Hello, I want to know if there is a way or workaround to hide an application to be shown in the Home activity, but doing this dynamically from my own app code. You can try PackageManager#setComponentEnabledSetting(), though I have not tried this personally. -- Mark Murphy

[android-developers] 1.5 rebuild issue with emulator

2009-06-10 Thread Logik
Rebuilt my app on 1.5 and went through all setup info on signing my avd When I run my app on eclipse them emulator just prints to console its help menu the error says Emulator] unknown option: -avd all this prints before the error [2009-06-10 09:47:37 - ProjectName] Android Launch! [2009-06-10

[android-developers] Re: OpenGL garbage collection (with direct ByteBuffers)

2009-06-10 Thread hav...@gmail.com
Is there any work-around? I'm ready to ship this port I'm working on, bar some polish, but of course the gc hitting during runtime causes unacceptable hits to playability. This talk doesn't mention this bug, but he says that he hasn't had the gc run during gameplay in five months.

[android-developers] Re: Android 1.1 virtual devices don't show up as run targets

2009-06-10 Thread arnouf
Add a new AVD, when you're launching the Run configuration, on Target click on AVD Manager button. You can create a new AVD file automatically. If it's not visible, try to stop and restart your Eclipse tool. Regards On Jun 10, 4:47 pm, Matthias m.kaepp...@googlemail.com wrote: Hi, even when

[android-developers] Re: 1.5 rebuild issue with emulator

2009-06-10 Thread Logik
Re-installed sdk pack and everything is good now On Jun 10, 9:54 am, Logik yaros...@gmail.com wrote: Rebuilt my app on 1.5 and went through all setup info on signing my avd When I run my app on eclipse them emulator just prints to console its help menu the error says Emulator] unknown

[android-developers] Re: Android 1.1 virtual devices don't show up as run targets

2009-06-10 Thread matthias
Hi, On Jun 10, 5:12 pm, arnouf arnaud.far...@gmail.com wrote: Add a new AVD, when you're launching the Run configuration, on Target click on AVD Manager button. You can create a new AVD file automatically. well, that's what I did to create the 1.1 AVDs. (also created one using the command

[android-developers] Re: Android 1.1 virtual devices don't show up as run targets

2009-06-10 Thread matthias
I just received a reply via email; the answer is: It's not sufficient to set minSdkVersion to 2, one must also go to project -- settings -- build target and select 1.1 there. That doesn't really help though, because now the resource compiler breaks on any imeOptions attributes, even though those

[android-developers] Re: Is possible get notified when the user send an SMS or make a call

2009-06-10 Thread Monkiki
Great, I will try it. Where can I find more info about these context:// uris? On Jun 10, 1:11 pm, Mika mika.ristim...@tkk.fi wrote: Hi, You can do this by using content providers. You can listen to changes in content://sms uri and for sent messages you go through content://sms/sent and find

[android-developers] Re: handling touch events in MapView

2009-06-10 Thread Philip Tucker
On issue #1, I scavenged some online code snippet and tweaked it to work properly to translate from screen pixel to GeoPoint:: private GeoPoint pixelToGeoPoint(int selectedPixelX, int selectedPixelY) { Log.v(LOG_ID, selectedPixel=[ + selectedPixelX + , + selectedPixelY + ]); //

[android-developers] Timeout using apache DefaultHttpClient not working when port is closed

2009-06-10 Thread mp6800
I have a simple piece of code that allows a user to specify a URL, port, username, and password to grab a frame from a network camera. An exception is thrown properly if the url can't be resolved, or if the authentication fails. However, I can't seem to throw an exception in a reasonable amount

[android-developers] Help with Hello Android app

2009-06-10 Thread Pavan
I tried all different possibilities but i can't get the hello android to work. I am using eclipse 3.4.2 and java 1.6 and when I am launching the sample app it says 'Cannot find HelloAndroid.apk' file. I have googled this and I couldn't find any solution that fixes this. Any help would be

[android-developers] Calendar Broadcast Intents

2009-06-10 Thread Jay
I'm trying to capture when a calendar reminder goes off. What I'm trying to do right now is use a BroadcastReceiver and receive an intent from the calendar. Is there an intent that gets broadcast when a calendar reminder goes off? If so what is its name, or where can I find it? Is there a

[android-developers] Overview Of New Intel Core i7(Nehalem) Processor

2009-06-10 Thread whatn...@gmail.com
Before entering on the details about the architectural features present on the Nehalem CPUs, let’s make a summary of the base elements that are common to the many different versions: server, desktop and notebook. It’s worth noticing how the new architecture engineering process used by Intel aims

[android-developers] Re: how can i put 15MB images in my App?

2009-06-10 Thread Jonathan W
Hi, I have the same question as below. I'd like my app to prompt the user to download a package of 500 png images upon first load. These images would be stored on the SD card (and ideally encrypted), but accessed by the heard of the application which would be stored in main memory. Can anyone

[android-developers] Re: how can i put 15MB images in my App?

2009-06-10 Thread Jonathan W
I've got the same question. On first load, I want to download images to SD card for use later. Any suggestions? On May 29, 7:57 am, zeeshan genx...@gmail.com wrote: i think download option would be the better solution. i need to download in a bunch like 50 images on next click. i only have

[android-developers] Get Assisted GPS server address from device

2009-06-10 Thread Jerome
Hello, I’m study the way to make application for A-GPS (Assisted GPS) server monitoring. So I would like to know if android sdk has an APIs to: - Get the AGPS server IP address from the device and to modify this address if necessary - Get datas supply by the A-GPS server to the device

[android-developers] Re: How to get current time?

2009-06-10 Thread Mike Garcia
Or you can do something like this... Date d = new Date(); d.getTime(); I personally prefer this but only because I have access to other functions for outputing the time in a human readable form without having to write a bunch of extra code. 2009/6/9 Mike Lanin mike.la...@gmail.com Thanks!

[android-developers] Calendar Broadcast Intents

2009-06-10 Thread Jay
I'm trying to capture when a calendar reminder is triggered. The way I am trying to do that is by using a BroadcastReceiver. My problem is I don't know the name of the Intent that gets broadcast when a reminder is triggered, if it even exists. Does anyone know where I could find a list of

[android-developers] Re: How to launch internal activity from PreferenceScreen

2009-06-10 Thread kmorey
This is what worked for me: PreferenceScreen android:title=Internal activity android:summary=This will launch internal activity screen intent android:action=android.intent.action.MAIN android:targetPackage=com.myapp android:targetClass=com.myapp.MyInternalActivity

[android-developers] Re: Changing the application icon at runtime?

2009-06-10 Thread toff...@gmail.com
Hi, I'm also trying to find out if this is possible to do. Anyone who knows? / Toffer On 9 Juni, 14:58, pehrlo pehr.hans...@gmail.com wrote: Does somebody know if this is possibly in 1.5? From: hackbod hack...@gmail.com Date: 19 Okt 2008, 20:06 Subject: How can the app icon be changed at

[android-developers] handling touch events in MapView

2009-06-10 Thread Philip Tucker
(If there's a better place to post questions concerning the Google Maps API please let me know, but it looks like this is the right spot.) Requirement: I have created a MapActivity containing a MapView. Drag and zoom work fine, and I've successfully added an ItemizedOverlay that displays and

[android-developers] Please find the requestion with me

2009-06-10 Thread Agung Priyono
Dear Mr. Android, Hai friend, I can ask for advice and tricks of computer, no? Oh help me eager to learn the car and *the modifications to its animation*, but I do not have any software. I sent the software is not free. Please do your friends, just consider this as a reference for your initial

[android-developers] Re: 1dp=1/160 inch ?

2009-06-10 Thread 王华
hi susan ,are you a male or female ? 2009/6/10, Susan smxb...@gmail.com: In Android documentone, dp is one pixel on a 160 dpi screen. So I think 1dp=1/160 inch. Am I right? Are they different in use? --~--~-~--~~~---~--~~ You received this message because

[android-developers] Interacting with remote databases

2009-06-10 Thread Kory
Hi All, Lets say Im creating an Android app for a company that already provides some sort of online service. I want my android app to extend this online service and I want the app to interact with my remote databases, would I embed a web browser in my application or directly connect to my remote

[android-developers] Google Directions for maps!

2009-06-10 Thread Lorenz
Hi to everyone!! So, I've to deliver a project in two week.In this project I should use the package com.google.googlenav for drawing one the maps some Driving or Walking DIRections but from some sites I have known that it isn't avaible anymore for SDK 1.5(as it was for SDK 0.9).So please is there

[android-developers] Re: handling touch events in MapView

2009-06-10 Thread Philip Tucker
On issue 3, I was able to work around it by extending MapView and overriding onTouchEvent(). I found that if I used MapView.setOnTouchListener() directly, MapView itself would call setOnTouchListener(), discarding my listener and replacing it with a zoom listener. On Tue, Jun 9, 2009 at 2:02 PM,

[android-developers] asterisk in layout file

2009-06-10 Thread Alfred
I noticed that in Android source code, layout file, there are 2 ways to reference a resource, could someone tell me what's the difference? android:icon=@*android:drawable/ic_menu_stop android:icon=@android:drawable/ic_menu_recent_history --~--~-~--~~~---~--~~ You

[android-developers] How do you change a Spinner's typeface?

2009-06-10 Thread polyclefsoftware
I want to apply a non-native font to widgets in my app. This is working fine for TextViews and Buttons, which have a setTypeface method. The code below works just great for my button: Java: Typeface face = Typeface.createFromAsset(getAssets(), fonts/ my_font.ttf); playButton = (Button)

[android-developers] Re: Android 1.1 virtual devices don't show up as run targets

2009-06-10 Thread mp6800
Is the project build target set to 1.1 as well? (Project - Properties - Android - Project Build Target). If it's set to 1.5, you won't see 1.1 virtual devices in the run target list, even if minSdkVersion is set to 2 in the project. On Jun 10, 10:47 am, Matthias m.kaepp...@googlemail.com

[android-developers] Getting change details from content provider notifications

2009-06-10 Thread MannyNS
Using ContentResolver and ContentObserver, it is possible to receive notifications in the function onChange() when some data is changed within the content provider. However, I fail to see if there is a way to see the URI which triggered the notification. For instance, if I want to play a sound

[android-developers] Change Spinner Typeface?

2009-06-10 Thread polyclefsoftware
I want to apply a non-native font to widgets in my app. This is working fine for TextViews and Buttons, which have a setTypeface method. The code below works just great for my button: Java: Typeface face = Typeface.createFromAsset(getAssets(), fonts/ my_font.ttf); playButton = (Button)

[android-developers] Re: ADB server didn't ACK, cannot bind tcp...

2009-06-10 Thread H N Kavya-DXN738
Try killing the daemon many times. And again try starting it. It may help -Original Message- From: android-developers@googlegroups.com [mailto:android-develop...@googlegroups.com] On Behalf Of jphdsn Sent: Wednesday, June 10, 2009 7:36 PM To: Android Developers Subject:

[android-developers] Cell Selection Parameters

2009-06-10 Thread Ne0
Hi, I am new to developing apps for android and i am need of some assistance. I need to be able to get at the Cell Selection parameters of the serving cell, i have had a look at android.telephony and it appears that i can get Cell ID, LAC, MCC, MNC, power and some neighbour cell Cell ID and

[android-developers] Cell selection parameters

2009-06-10 Thread Ne0
Does anyone know how to get hold of the cell selection parameters C1 and C2? also the channel number? Cheers Liam --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

[android-developers] Re: Webview Broken in 1.5 SDK?

2009-06-10 Thread MIND GAME
hii thanks this woks for me. On May 12, 6:56 am, Bill Zimmerly billzimme...@gmail.com wrote: I was successful in fixing the problem (above) and this details it... This line in the Webapp.java file had to be changed from this ... webview= (WebView) findViewById(R.id.webview); To

[android-developers] Blogging Tool

2009-06-10 Thread Desperados
Hi @ALL I want to implement an Android application to add pictures (of the phone´s gallery) to an existing blog. I managed to get hello world on the display, but what have i to do to begin programing? Thx for your help! --~--~-~--~~~---~--~~ You received this

[android-developers] npapi plugin failed to load in android webview

2009-06-10 Thread MIND GAME
i am trying to load a npapi plugin using webview. code is webview.getSettings().setJavaScriptEnabled(true); webview .getSettings().setPluginsEnabled(true); webview.getSettings().setPluginsPath(/android_asset/web/); System.out.println(Default plugin path is

[android-developers] Re: NP API Plugin

2009-06-10 Thread MIND GAME
please suggest way to install npapi plugin in to browser or to be loded by web view. how to modify the device firmware. On May 29, 11:07 pm, Mark Murphy mmur...@commonsware.com wrote: Migol wrote: Does any know how to install NP plugin into Android's browser? You can't install any plugins

[android-developers] Re: asterisk in layout file

2009-06-10 Thread Romain Guy
The asterisk is used to access private resources. Do NOT use it, it will automatically break with the next update of Android. This mechanism can only be used with applications that are compiled at the same time as the entire system. Unlike private Java APIs, which may or may not disappear/break

[android-developers] Re: TextView Ellipsize: Questions

2009-06-10 Thread Romain Guy
1) Is there anyway to get ellipsize to work on a multiline TextView? So that the ellipses are shown at the end of the text, rather than at the end of the line? If not what is the best way to handle this on my own?]] That's already what it does, see the Home screen's list of apps for

[android-developers] Using the touchscreen and trackball with the GLSurfaceView

2009-06-10 Thread MrChaz
I've run into an issue where performing a lot of touch events seem to block the move events from the trackball. Anyone else run into this issues? I can't use the Thread.sleep() fix because that will obviously stop all input, so I'm hoping someone has been able to throttle the touch command

[android-developers] Re: Using the touchscreen and trackball with the GLSurfaceView

2009-06-10 Thread Streets Of Boston
I actually do use the Thread.sleep as a hack (i don't like it, but it works...) It just sleeps for just 20 milli seconds, though. It's enough for a notable improvement in the frame-rate of the other thread (game- thread) and not too big to miss input events. I only do it on the ACTION_MOVE. On

[android-developers] Re: Change Spinner Typeface?

2009-06-10 Thread Mark Murphy
polyclefsoftware wrote: I want to apply a non-native font to widgets in my app. This is working fine for TextViews and Buttons, which have a setTypeface method. The code below works just great for my button: Java: Typeface face = Typeface.createFromAsset(getAssets(), fonts/ my_font.ttf);

[android-developers] Unhelpful SQLite3 error msg (SQL error: not an error). Can't modify database

2009-06-10 Thread George
I frequently encounter this message when I try to update a table (to enter a proxy) in the database using adb shell. $ adb shell #sqlite3 /data/data/com.android.providers.settings/databases/ settings.db sqlite SELECT * FROM secure; SQL error: not an error sqlite This happens on cupcake.

  1   2   >