[android-developers] Re: hooking to the PHONE button

2008-11-04 Thread hackbod
The green phone key is for use by the foreground application. On Nov 3, 7:34 pm, Declan Shanaghy [EMAIL PROTECTED] wrote: It shouldnt be stolen but it should be overridable. Much like the app picker behaves when multiple apps are registered for an Intent. I dont know how the internals of

[android-developers] Re: Simple Level App

2008-11-04 Thread Steve Oldmeadow
All you have to do is reverse the rotation e.g rotate by -rotateMe after you have drawn the rotated image and then all subsequent draws will be non rotated. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: camera events

2008-11-04 Thread hackbod
Sorry, you can't intercept what other applications are doing like this. On Nov 3, 8:58 pm, spackest [EMAIL PROTECTED] wrote: I run a free hosting web site which has functionality for emailing photos to your site and having them show up on the web.  I would like to write an android app that

[android-developers] Re: Executing a different android application through intents.

2008-11-04 Thread friedger
Hi, there is a list of publicly known intents at http://www.openintents.org/en/intentstable If your app should provide an intent to other apps you have to define the intent-filter in your manifest. Feel free to add yours to the above mentioned list. Friedger On 4 Nov., 07:40, sush [EMAIL

[android-developers] Question about View, Canvas, and Drawable.. --Basics

2008-11-04 Thread joshbeck
Hello all, Is this correct? View: The android screen is divided up into views. Views are basic layout objects. Canvas: You need to have at least one canvas if you want to do any drawing. Each view potentially has its own canvas. Drawable: ---)This is where my 10:30 bedtime turns into a 2:30

[android-developers] Re: Tabs at bottom of screen

2008-11-04 Thread [EMAIL PROTECTED]
Hi, If you find solution of this problem please email me. Thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com

[android-developers] more problems with opengl in the new sdk

2008-11-04 Thread petunio
Hi people I am trying to migrate an opengl sample that it used to work under the old (3) version of the sdk, and so far, I am not having much success... this is my function for setting up the opengl environment: boolean initOpenGL() { egl = (EGL10) EGLContext.getEGL();

[android-developers] Re: Sending email

2008-11-04 Thread john
Haha! Yes, it only works on the phone. Sorry for the mixup, I can be pretty absent minded at times. On Nov 3, 4:42 pm, Daniel Bradby [EMAIL PROTECTED] wrote: I'm assuming you meant to say it only works on the phone, not the   emulator :) On 04/11/2008, at 1:13 AM, john [EMAIL PROTECTED]

[android-developers] Any tool to analyze the memory?

2008-11-04 Thread qvark
Hi, we are having problems in our application with Out of Memory after executing several times the same set of activities, so we suspect we are leaking memory somehow. All the activities seem to be destroyed correctly, but the DDMS plugin shows the memory increasing. The problem is we can see

[android-developers] Re: Proper way of handling orientation change + async thread

2008-11-04 Thread zl25drexel
Thanks for your reply, any example codes? On Nov 3, 8:28 pm, Greg [EMAIL PROTECTED] wrote: When you change orientation your Activity is destroyed and then re- created.  When you re-create the dialog view object that was sent to the background process is no longer valid, thus the error.

[android-developers] Extending ACTION_PICK ?

2008-11-04 Thread Jake Maui
Is there a way that anyone knows of to extend the view of the image picker? In particular, I'd like to decorate the image to indicate the the image has some property. Thx in advance ... private OnClickListener buttonListener = new OnClickListener() { public void onClick(View v)

[android-developers] how to test if the screen is in HVGA-L mode

2008-11-04 Thread Hw3699
How to test if the screen is in HVGA-L mode? --~--~-~--~~~---~--~~ 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

[android-developers] Re: Exact Battery level value

2008-11-04 Thread Ian
AnyCut is available in the Market. But its not AnyCut that is giving you the extra battery info, it is only providing you with a shortcut to a Android app that displays the battery info. So that code must be somewhere in the android code base! IV 2008/11/4 denismo [EMAIL PROTECTED]: Where

[android-developers] Re: Exact Battery level value

2008-11-04 Thread Ian
True. If its not documented, it must be cool! (joke!) IV 2008/11/4 Jean-Baptiste Queru [EMAIL PROTECTED]: If it's not documented, you shouldn't rely on it. JBQ On Tue, Nov 4, 2008 at 5:23 AM, denismo [EMAIL PROTECTED] wrote: The answer is in Settings/BatteryInfo, thanks to Ian for

[android-developers] Re: OpenGL Basics

2008-11-04 Thread JavaAndroid
Hi Smith, Thanks a Million for ur response..After going through several times i m able to understand GLSurfaceView to some extent.but still some portion of the code remains obscure Correct me if am wrong.it looks like the animation which we want to display should be

[android-developers] Re: getCurrentLocation

2008-11-04 Thread Bobbie
The code I am using to get the location is very simple: LocationManager lm = (LocationManager) getSystemService(Context.LOCATION_SERVICE); loc = lm.getLastKnownLocation(lm.getBestProvider(new Criteria(), true)); When I get the location, it's always a network location. If I hard code it and

[android-developers] Re: Exact Battery level value

2008-11-04 Thread Peli
At least the source code exists: http://git.source.android.com/?p=platform/packages/apps/Settings.git;a=blob;f=src/com/android/settings/BatteryInfo.java;h=ef60fc35b1f0f80f9bb88cc9d4fc5eaf55e9ef4b;hb=de2d9f5f109265873196f1615e1f3546b114aaa7 :-) Peli On Nov 4, 4:24 pm, Ian [EMAIL PROTECTED]

[android-developers] Re: My new issue...How can I select a song from playlist available in phone (or) Emulator ...

2008-11-04 Thread yasmin afrose
Hi, I didn't get any idea. I've added the following line in *PrankActivity.java* startActivity(new Intent( com.aspire.android.prankapp.GetSongNameActivity)) above line instead of startService( ) ; Then, I've modified the code within onStart() under PrankService.java String action =

[android-developers] how to detect the Orientation of G1 Screen ?

2008-11-04 Thread Hw3699
how to detect the Orientation of G1 Screen ? --~--~-~--~~~---~--~~ 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

[android-developers] Re: Tips for Orientation

2008-11-04 Thread Cheryl Sedota
FYI: I have a bug open against Android for not respecting the activity's request to handle orientation changes itself: http://code.google.com/p/android/issues/detail?id=969 On Oct 30, 7:01 am, Mark Hansen [EMAIL PROTECTED] wrote: You need to store whatever information determines the state of

[android-developers] Re: Urgent: MapActivity - Couldn't get connection factory client (API key does not work)

2008-11-04 Thread bryan
Eclipse 3.4.1 JDK 1.5.0_16 Android SDK 1-1.0_r1 Mac OS X 10.5 Used keytool -list -keystore ~/.android/debug.keystore to get my md5. public class MyMapView extends MapActivity { private static final int MILLION = 100; MapView map; MapController controller;

[android-developers] Is the address of a contact really held in POSTAL_LOCATION_LATITUDE ?

2008-11-04 Thread jarkman
I'm trying to fetch location data for contacts. When I look in the Contacts.ContactMethods.POSTAL_LOCATION_LATITUDE field, hoping to get a latitude, I find I actually get the postal address of the contact ! Is that just a bug, or is there really a latitude for the contact in there somewhere ?

[android-developers] Re: Showing the options menu

2008-11-04 Thread Mark Wyszomierski
Hmm seeing as how this is not working, is there a way to inject a menu button key press to get the menu to come up? Thanks Mark Wyszomierski wrote: Hi, How can we programatically show the options menu for an Activity? It seems: Activity.openOptionsMenu() would do it, but it has no

[android-developers] Re: disable item of list view in Alert Dialog

2008-11-04 Thread Jason Parekh
Hi Justin, Check out ListAdapter's areAllItemsEnabled and isEnabled. jason On Mon, Nov 3, 2008 at 9:12 PM, Justin [EMAIL PROTECTED] wrote: I want to disable some items in listview which is in the Alert Dialog I implemet an Adapter and in getView() of Adapter I set item to disable but it

[android-developers] Re: camera events

2008-11-04 Thread spackest
So if I want to capture images and send them to a website, I need to write my own capture program, separate from the core capturing program? Would sure be nicer to just catch the event from a different app. Thanks, Earl On Nov 4, 1:24 am, hackbod [EMAIL PROTECTED] wrote: Sorry, you can't

[android-developers] Installing Android on different Handsets than G1?

2008-11-04 Thread MArtin Schumacher
Hi Group, I'm living in Germany, so there is no access to the G1 right now. Also as far as I know the G1 will come with a 2 year subscription from t- mobile... So my idea is to deploy the Android System on another handset. I have a spare Samsung I600 (comparable with the Samsung BlackJack 1)

[android-developers] Re: Recorder Audio

2008-11-04 Thread mesak82
Does Sound Recorder application also save recorded audio in a raw format? I'm recording using Sound Recorder, the file is saved (it's on sdcard and also showed in logcat is being stored) but if I try to open the file from Music application, the file I recorded is not even shown in the play list.

[android-developers] OpenDatabase error

2008-11-04 Thread Kingorcus
db = SQLiteDatabase.openDatabase(/data/data/ com.android.providers.settings/databases/settings.db, null,SQLiteDatabase.OPEN_READONLY); I keep getting an exception unable to open database file any ideas --~--~-~--~~~---~--~~ You received this message because you

[android-developers] fontspacint about drawText

2008-11-04 Thread Narwal
Hello all i know there is a method getFontSpacing(). but which method i should use,if i want to control the fontspacing accurately,when i use drawText. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-developers] When is View ready?

2008-11-04 Thread Grigory F.
Hi All, im playing around with Snake-Example. I wish a new start-screen for this, with buttons like play, highscore and so ... you know? well, ich create new xml-layout with buttons. i do setContentView(R.layout.start_layout); to get it up - it works. on onClick of play-button i do

[android-developers] Bluetooth Availability? Timeframe?

2008-11-04 Thread USAePay
I am sure this issue has probably been talked about before but I could not find a lot of information by searching this group as to when the SDK will support Bluetooth for applications. I have read that the bluetooth was locked down for security but that it may be released in the next SDK release

[android-developers] Re: Recorder Audio

2008-11-04 Thread mesak82
I'm using Sound Recorder application and after recording I cannot see that audio in the playback list in Music application, but it's on the SD card. Sound Recorder also stores recorded audio in raw format? Is it expected not to see the recorded file in playback lists? Rgrds, Misa if u are

[android-developers] Re: how to test if the screen is in HVGA-L mode

2008-11-04 Thread [EMAIL PROTECTED]
Not sure that this is the best answer, but here's what I am using: int height = getWindow().getWindowManager().getDefaultDisplay().getHeight(); int width = getWindow().getWindowManager().getDefaultDisplay().getWidth(); if ( width height ) { On Nov 4, 7:12 am, Hw3699

[android-developers] need some inputs/help

2008-11-04 Thread som
Hi All, First of all i must say that i am very new to android. I am trying to develop an application which will receive an SMS alert and notofy the user with some sound. I have written the main SMSReceiver class as follows; package com.android.sms; import android.content.BroadcastReceiver;

[android-developers] how the library files (c, c++) are linked with framework (java files)

2008-11-04 Thread [EMAIL PROTECTED]
Hi, How is the framework and the corresponding library files are linked through the JNI layer? Any particular example through with i can understand one to one mappings from java to c/c++ code? If anybody have worked on this, please reply. Thanks in advance.

[android-developers] Re: How to make a desktop widget?

2008-11-04 Thread atrus123
I have high hopes that this will be supported in SDK 1.1. On Nov 4, 12:39 pm, Romain Guy [EMAIL PROTECTED] wrote: You can't :) On Tue, Nov 4, 2008 at 5:26 AM, blau [EMAIL PROTECTED] wrote: Anyone have a clue how to make a desktop widget? I haven't seen any created ones. I haven't been

[android-developers] Re: Android Icon Creation Software

2008-11-04 Thread Peli
We've created our Android icons using Inkscape. http://www.inkscape.org/ Have a look at some icons here: http://www.openintents.org/en/ for OI Flashlight, OI Shopping list, OI News Reader, and OI Notepad. (you have to scroll down a bit to see the new SDK 1.0 look icons). Peli

[android-developers] Re: How to make a desktop widget?

2008-11-04 Thread Romain Guy
Unfortunately, probably not. To do it correctly, there is some extensive work to be done in the framework and this is currently not a priority. On Tue, Nov 4, 2008 at 9:41 AM, atrus123 [EMAIL PROTECTED] wrote: I have high hopes that this will be supported in SDK 1.1. On Nov 4, 12:39 pm,

[android-developers] Clickable ListView item with CheckBox

2008-11-04 Thread Chris McCurdy
I have a ListView with a complex widget for displaying list items. It has a CheckBox and several TextViews. I want to be able to handle clicks to the CheckBox and be able to do the normal things on the list item when anywhere that's not the CheckBox is clicked (e.g. context menus,

[android-developers] Re: AppMarket: does changing title/description of an app wipe out ratings and reviews?

2008-11-04 Thread atrus123
IIRC, you can change the title/desc without it wiping out ratings, etc. I hope Google fixes this soon. I try and do frequent updates for my users, and I hate seeing all their ratings/comments go away every time I add a feature. On Nov 3, 4:24 pm, zl25drexel [EMAIL PROTECTED] wrote: Hi all I

[android-developers] How to make a desktop widget?

2008-11-04 Thread blau
Anyone have a clue how to make a desktop widget? I haven't seen any created ones. I haven't been able to find the source for the google created ones in the android source. I have no clue how to start. --~--~-~--~~~---~--~~ You received this message because you are

[android-developers] Re: Orientation Sensor yaw values. Is your G1 compass bad?

2008-11-04 Thread David Given
bryan wrote: [...] For example, the range of offset from magnetic north is +/- 46 degrees. The average offset is just under 20 degrees. Depending on how I orient my G1, the error can go to 46 degrees off of magnetic north. Has anyone here experienced similar results when reading yaw from the

[android-developers] problem downloading Android from windows

2008-11-04 Thread dreamerBoy
bash-3.2$ ../myRepo/repo init -u git://android.git.kernel.org/platform/manifest .git Traceback (most recent call last): File ../myRepo/repo, line 587, in module main(sys.argv[1:]) File ../myRepo/repo, line 554, in main _Init(args) File ../myRepo/repo, line 173, in _Init

[android-developers] Re: How to make a desktop widget?

2008-11-04 Thread Romain Guy
You can't :) On Tue, Nov 4, 2008 at 5:26 AM, blau [EMAIL PROTECTED] wrote: Anyone have a clue how to make a desktop widget? I haven't seen any created ones. I haven't been able to find the source for the google created ones in the android source. I have no clue how to start. --

[android-developers] Background activities

2008-11-04 Thread brs
What is the simplest, correct way to implement an application with background semantics similar to the media player? To the user it should appear as an activity which can be kept running in the background and iconized to the notification bar whenever the activity is not on top of the stack or

[android-developers] Re: how the library files (c, c++) are linked with framework (java files)

2008-11-04 Thread Evan JIANG
Just for an example,
There`s a file FileObserver.java under framewors/base/core/java/android
The linked jni file is android_util_FileObserver.cpp under frameworks/base/core/jni
The path may be not exactly right. I`m writing mail from my cell phone. Regards,
Evan 2008/11/4, [EMAIL PROTECTED]

[android-developers] Re: Background activities

2008-11-04 Thread Jean-Baptiste Queru
You're looking for a service. Unless you have a good reason not to do so, you should put it in the same process. JBQ On Tue, Nov 4, 2008 at 9:50 AM, brs [EMAIL PROTECTED] wrote: What is the simplest, correct way to implement an application with background semantics similar to the media

[android-developers] Re: Exact Battery level value

2008-11-04 Thread Ian
By installing AnyCut, I was able to add a shortcut to Battery info. This gave me a whole load of info I have not seen via any other menu option! (Makes me wonder what other goodies are hidden away!) IV 2008/11/4 denismo [EMAIL PROTECTED]: Hi, for tuning power consumption of my application I

[android-developers] Re: Installing Android on different Handsets than G1?

2008-11-04 Thread Misael Lopez
I think there are several sites with information about porting android to different hardware platforms. But you can take a look of below link if you want to check first if your hardware is suitable to put android on it. http://elinux.org/Android_on_OMAP Please take a look on Real Hardware

[android-developers] Re: OpenDatabase error

2008-11-04 Thread Evan JIANG
I guess it`s permission problem. Why not access the settings through the SettingsProvider? Regards Evan 2008/11/5, Kingorcus [EMAIL PROTECTED]: db = SQLiteDatabase.openDatabase(/data/data/ com.android.providers.settings/databases/settings.db, null,SQLiteDatabase.OPEN_READONLY); I keep

[android-developers] Server timeouts while attempting download android source

2008-11-04 Thread Brad A
Has anyone successfully downloaded the source? I've tried using both git as described herehttp://git.source.android.com/ and repo as described herehttp://source.android.com/download/using-repo. In all cases I get the folllowing timeout. However I am able to ping the server. Are they just under

[android-developers] Re: possible to lock device?

2008-11-04 Thread j
What about: android.permission.BRICK On Oct 19, 11:10 am, hackbod [EMAIL PROTECTED] wrote: Whoops, I just looked and this permission is not available to applications.  Sorry, it isn't possible for apps to do this. On Oct 18, 1:43 pm, Mast3rpyr0 [EMAIL PROTECTED] wrote: i added

[android-developers] Re: Exact Battery level value

2008-11-04 Thread Jean-Baptiste Queru
If it's not documented, you shouldn't rely on it. JBQ On Tue, Nov 4, 2008 at 5:23 AM, denismo [EMAIL PROTECTED] wrote: The answer is in Settings/BatteryInfo, thanks to Ian for pointing out its existence. ACTION_BATTERY_CHANGED carries various undocumented (thanks Google) extras, including

[android-developers] NinePatchDrawable - how to use?

2008-11-04 Thread Ludwig
Is there any example out there on how to use a NinePatchDrawable programmatically? I need to draw a text label inside one -- essentially for a map-pin with variable length text in it. Any usage examples out there (of whatever kind), from the online doc it is just a complete mystery to me how to

[android-developers] Re: Sending email

2008-11-04 Thread Justin (Google Employee)
Yes, you should be able to install the Email program's APK on the emulator. You could download the Android source and compile Email and then install on the emulator. Alternately I know there is a project that has forked (but will hopefully merge back their changes) the email client and there is a

[android-developers] Re: Android on device GPS locate not working - code included

2008-11-04 Thread Amir
Thanks, I'm still having issues, but now I do see the GPS 'icon' as turned on when the application is running. The issue though is that I don't get anything on the map through our online site...no longitude and latitude, or anything else. Here's the revised code I'm using: package

[android-developers] Re: delete my app on G1

2008-11-04 Thread Ian
Without causing offence, its actually a very cool feature that most people either have found out for them selfs, or read about. (The ability to pick-up and move/drag/drop desktop icons) IV 2008/11/3 Ric Higgins [EMAIL PROTECTED]: Thank you for that! How would I have learned that unless u told

[android-developers] Re: My new issue...How can I select a song from playlist available in phone (or) Emulator ...

2008-11-04 Thread yasmin afrose
Hi,,, No body is there aa to save me from this issue :( On Tue, Nov 4, 2008 at 11:44 AM, yasmin afrose [EMAIL PROTECTED]wrote: Hi All, Greetings!!! I've played .mp3 songs using MediaPlayer in Android 1.0. *My code was*: 1:* PrankActivity.java* -- package

[android-developers] Re: Folders in main Start menu/tab?

2008-11-04 Thread Kipling Inscore
I don't think you can with the built-in drawer but you could write a replacement home screen and/or drawer. The Launcher code is available on source.android.com if you don't want to start from scratch. I think it would be a good idea, if the required information can be compiled into the apk

[android-developers] Orientation Sensor yaw values. Is your G1 compass bad?

2008-11-04 Thread bryan
I've been trying to figure out the cause of a compass related error for a while. After debugging and standing out in the rain slowly spinning in circles for a while, I finally found out that my device is reporting back yaw values inconsistently. For example, the range of offset from magnetic

[android-developers] Re: OpenDatabase error

2008-11-04 Thread Kingorcus
I need to access databases in the /data/data area this was happening with any database any special permissions that need to go in the manifest?? On Nov 4, 1:08 pm, Evan JIANG [EMAIL PROTECTED] wrote: I guess it`s permission problem. Why not access the settings through the SettingsProvider?

[android-developers] Re: delete my app on G1

2008-11-04 Thread Kipling Inscore
I forget how I learned about this feature. I think it might have been from one of the pre-release videos. I would have expected it to also be in the manual that comes in the box but I didn't see it there. On Tue, Nov 4, 2008 at 1:41 AM, Ian [EMAIL PROTECTED] wrote: Without causing offence, its

[android-developers] Attaching G1 to adb

2008-11-04 Thread Android dev
Hi all I have to restart the computer every time I attach G1 through the USB cable to get it detected by adb devices command Is there any other way so that I need not restart the computer ? I am using Linux on my computer --~--~-~--~~~---~--~~ You received this

[android-developers] Re: Can I build Android source code in RedHat Enterprise Linux Server?

2008-11-04 Thread Mark Murphy
Jerry wrote: Can I build Android source code in RedHat Enterprise Linux Server? Does anyone success the build on Redhat Linux? This is not the mailing list for Android source code support: http://source.android.com/discuss Choose one of the Open source mailing lists shown on that page,

[android-developers] Re: Android for flip phones and smaller devices

2008-11-04 Thread Kipling Inscore
I think four directions, click and menu are the minimum. Of course software modifications will have to be done to make this work. An on-screen keyboard using direction and click would be needed for many (but not all) applications. The four buttons on the G1 are also important but the core

[android-developers] Re: Folders in main Start menu/tab?

2008-11-04 Thread Dan B.
the default drawer is definitely a disaster once you start installing more than 2-3 apps. I hope you can successfully replace it, and I'd be willing to assist with any testing. On Nov 4, 4:23 am, Ian [EMAIL PROTECTED] wrote: I now have a lot of installed apps, and I want to organise them in the

[android-developers] Re: Yet another HTTPS problem with HttpClient in Android SDK v1.0r1

2008-11-04 Thread [EMAIL PROTECTED]
have you success your https connection? I don't know how to do with the not trusted certificate. thx On 23 oct, 09:23, Guillaume Perrot [EMAIL PROTECTED] wrote: Caused by: java.security.cert.CertPathValidatorException: TrustAnchor for CertPath not found. On 23 oct, 10:20, Guillaume Perrot

[android-developers] Re: how to stay in webview without opening new browser window

2008-11-04 Thread Mark Murphy
hao wrote: anyone? On Oct 26, 8:55 pm, hao [EMAIL PROTECTED] wrote: if i make the webview load a web page, and in that web page i press on a form submit button, then another browser window is open. How can i make everything stay in my app instead of opening a new browser window? Attach a

[android-developers] Re: looking for a developer to write an app for me

2008-11-04 Thread guna
Hi, So, we can make deal, if you stil not found any developer... I am a developer, doing some couple of application for clients and my own app. Thanks, Guna --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: Exact Battery level value

2008-11-04 Thread denismo
The answer is in Settings/BatteryInfo, thanks to Ian for pointing out its existence. ACTION_BATTERY_CHANGED carries various undocumented (thanks Google) extras, including level. Not sure what scale means though, but it's a good start. Denis On Nov 5, 12:12 am, denismo [EMAIL PROTECTED] wrote:

[android-developers] Re: Yet another HTTPS problem with HttpClient in Android SDK v1.0r1

2008-11-04 Thread Guillaume Perrot
We have a trusted one at our software company which is working but I wanted to add an option to trust self signed certificate in the application. I still don't have a solution for that, except using URLConnection API which works well with the AllowAllHostnameVerifier. The problem is with the

[android-developers] Folders in main Start menu/tab?

2008-11-04 Thread Ian
I now have a lot of installed apps, and I want to organise them in the pull-up-menu/tab. But it is not possible to create folders? I know I could copy all icons to the desktop with my folders there, but that is something else. --~--~-~--~~~---~--~~ You received

[android-developers] Re: Urgent: MapActivity - Couldn't get connection factory client (API key does not work)

2008-11-04 Thread Shahbaz Khalid
Thanks a lot Bryan, I'll get this checked today and get back to you. Cheers On Tue, Nov 4, 2008 at 4:53 PM, bryan [EMAIL PROTECTED] wrote: Eclipse 3.4.1 JDK 1.5.0_16 Android SDK 1-1.0_r1 Mac OS X 10.5 Used keytool -list -keystore ~/.android/debug.keystore to get my md5. public class

[android-developers] Re: getCurrentLocation

2008-11-04 Thread Mark Murphy
Bobbie wrote: I have the latest SDK download and the SDK throws errors when I try to use getCurrentLocation, I can only use getLastKnownLocation and can only get a network location, can't even get a GPS location (which is what I want)... It works just fine with GPS. What's the deal here?

[android-developers] Re: Check for new version of applications

2008-11-04 Thread Dan B.
isn't there some way to check the version against the Market instead of having to host version information somewhere else? I know the app Locale somehow knows when an update is available, it seems reasonable to query the Market rather than relying on outside sources :\ On Nov 1, 1:50 pm,

[android-developers] Re: OpenDatabase error

2008-11-04 Thread Al Sutton
Use : http://code.google.com/android/reference/android/database/sqlite/SQLiteOpenHelper.html And open a writable database first so the tables can be created. Al. Evan JIANG wrote: I guess it`s permission problem. Why not access the settings through the SettingsProvider? Regards Evan

[android-developers] Re: Listen For Webpage Changes

2008-11-04 Thread Bobbie
That's not what I want to do, I want my program to listen for changes on the webpage that it posted to. Bobbie On Nov 3, 10:31 am, Dan B. [EMAIL PROTECTED] wrote: well, if the entire thing is going to be handled by a webpage anyway, rather than write and app that watches thepage, just use

[android-developers] Re: Android on device GPS locate not working - code included

2008-11-04 Thread Guillaume Perrot
Did you check if the standard map application manages to display your location ? 2008/11/4 Amir [EMAIL PROTECTED] Thanks, I'm still having issues, but now I do see the GPS 'icon' as turned on when the application is running. The issue though is that I don't get anything on the map through

[android-developers] Re: Folders in main Start menu/tab?

2008-11-04 Thread hackbod
Put your apps on the home screen, in their own folders if you want. Is there any particular reason you want to have a whole other facility to organize things in the set of all apps? To me it just makes them harder to get to -- if you put them in a folder on the home screen, you can launch with

[android-developers] Re: Android for flip phones and smaller devices

2008-11-04 Thread hackbod
The minimum hardware requirements are currently the G1. That will probably change in the future, but it will take work -- the platform as it stands requires a touchscreen, hard keyboard, nav, etc. On Nov 2, 12:08 pm, marc0047 [EMAIL PROTECTED] wrote: I'm having little luck finding discussions

[android-developers] Re: Background activities

2008-11-04 Thread hackbod
And take a look a the service API demos, which show both the full remote service case, and the simpler local service case. On Nov 4, 10:01 am, Jean-Baptiste Queru [EMAIL PROTECTED] wrote: You're looking for a service. Unless you have a good reason not to do so, you should put it in the same

[android-developers] Re: how the library files (c, c++) are linked with framework (java files)

2008-11-04 Thread hackbod
Please move non-SDK discussion over to android-platform or android- framework, thanks. On Nov 4, 9:57 am, Evan JIANG [EMAIL PROTECTED] wrote: Just for an example,
There`s a file FileObserver.java under framewors/base/core/java/android
The linked jni file is android_util_FileObserver.cpp under

[android-developers] Re: Orientation Sensor yaw values. Is your G1 compass bad?

2008-11-04 Thread mitush
In the process of writing an app for my G1 I think I got stuck with similar problem. Running Orienteer application (from the Market) confirms that; turning my G1 by 360 degrees while holding it flat, the reading on the Orienteer compass goes between 0 and 90 degrees only. The same thing happens

[android-developers] Re: Orientation Sensor yaw values. Is your G1 compass bad?

2008-11-04 Thread mitush
I have connected G1 to my PC and Compass (Orienteer) and my app started to get good and consistent readings from the sensor again. After I disconnected, Orienteer sort of works (has 360 range), but the north is off by 0-50 degrees depending on orientation and a little jumpy. Might be a battery

[android-developers] Re: My new issue...How can I select a song from playlist available in phone (or) Emulator ...

2008-11-04 Thread Al Sutton
Patience is a virtue What have you tried while you've been waiting? Al. yasmin afrose wrote: Hi,,, No body is there aa to save me from this issue :( On Tue, Nov 4, 2008 at 11:44 AM, yasmin afrose [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hi All,

[android-developers] CPU control API?

2008-11-04 Thread denismo
Hi, I heard on ARM CPU it is possible to set low-power consumption options, to reduce power consumption at the cost of speed or features. Is it possible to control these options using Android API? Thanks. Denis --~--~-~--~~~---~--~~ You received this message

[android-developers] Re: My new issue...How can I select a song from playlist available in phone (or) Emulator ...

2008-11-04 Thread yasmin afrose
Hi Sutton, Thanks for your response. Thanks Again!! Yasmin On Tue, Nov 4, 2008 at 3:17 PM, Al Sutton [EMAIL PROTECTED] wrote: Patience is a virtue What have you tried while you've been waiting? Al. yasmin afrose wrote: Hi,,, No body is there aa to save me from this issue :(

[android-developers] Re: Keeping my activity from being destroyed when changing my orientation

2008-11-04 Thread [EMAIL PROTECTED]
Hey thank you very much! this was great help On Nov 3, 6:59 pm, zl25drexel [EMAIL PROTECTED] wrote: yes add a couple of attributes in your manifest file         activity  android:name=.blah android:screenOrientation=portrait         android:configChanges=orientation|keyboardHidden / and

[android-developers] Re: Showing the options menu

2008-11-04 Thread Mark Wyszomierski
Thanks Jason, that was it, I wasn't posting the call to be run later - I just was using it in a button click handler directly like: void onClick() { openOptionsMenu(); } so posting the call worked, Thanks On Nov 4, 12:29 pm, Jason Parekh [EMAIL PROTECTED] wrote: Hey Mark, Could you

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

2008-11-04 Thread mitush
*** also posted on T-mobile G1 forum *** I have received the update, so my Use for USB Storage was replaced by the notification. But where is the option to unmount the USB disk, while G1 is still connected to the PC? I am writing a G1 app which writes to the sdcard and, when debugging/testing, I

[android-developers] Testing internationalization...

2008-11-04 Thread atrus123
Hello, I'm currently working to add international variations to my app, but I'm not sure how to test them. Is there some way in the emulator or the phone to mimic being in the UK? I'm handling international variations by using the values-en-rUK/ method. Should there always be a generic

[android-developers] Camera preview on G1 only works in landscape ?

2008-11-04 Thread jarkman
I'm using camera preview on the G1, using code from CameraPreview in ApiDemos. I'm seeing the preview image appear stretched rotated unless my screen orientation is set to 'landscape' in the manifest. I can reproduce the same effect by changing the manifest for ApiDemos, setting the screen

[android-developers] Re: Folders in main Start menu/tab?

2008-11-04 Thread Dan B.
that's exactly the problem with the drawer, you have to dig... the market is just as huge a mess... it needs organization On Nov 4, 2:21 pm, hackbod [EMAIL PROTECTED] wrote: Put your apps on the home screen, in their own folders if you want. Is there any particular reason you want to have a

[android-developers] Re: Reviews in android market

2008-11-04 Thread Eric Mill
It would be neat to make an unofficial website that uses that API to make an identical looking and functioning frontend. Now I just need to know the API...maybe I can Wireshark my G1's packets... -- Eric On Nov 3, 2:25 am, Al Sutton [EMAIL PROTECTED] wrote: My guess would be that the market

[android-developers] Re: Orientation Sensor yaw values. Is your G1 compass bad?

2008-11-04 Thread jarkman
On Nov 4, 10:01 am, bryan [EMAIL PROTECTED] wrote: Has anyone here experienced similar results when reading yaw from the sensor? I've gotten a number of reports from others complaining about inaccuracy with compass type results and am wondering if this is a per phone error or if all of the

[android-developers] Not able to scroll in WebView

2008-11-04 Thread vel
In webview after loading data i want to scroll to the bottom of the page. I tried using pageDown( true ) method it flickers goes down and then comes up please guide me how to scroll down in a web view --~--~-~--~~~---~--~~ You received this message because you are

[android-developers] Nullpointer ......Stack overflow, expanding

2008-11-04 Thread for android
I have created a complex view layout.Whn i see the layout(in eclipse)it appears fine .When i see the log statements also I get the statements till the last line in the onCreate without any issues . But at run time i get this error which is Nullpointer.What does this error really indicate?? 11-04

[android-developers] Re: Question about View, Canvas, and Drawable.. --Basics

2008-11-04 Thread joshbeck
I'll go ahead and add this too: I wrote two programs last night: -One added a Drawable to an ImageView Layout. -The other used onDraw and invalidate to repeatedly render out a canvas. Under what circumstances is the Drawable beneficial is my question I guess. Thanks again, Josh

[android-developers] Re: Exact Battery level value

2008-11-04 Thread denismo
Where can I get that AnyCut, preferably with the source code? Thanks. Denis On Nov 4, 11:04 pm, Ian [EMAIL PROTECTED] wrote: By installing AnyCut, I was able to add a shortcut to Battery info. This gave me a whole load of info I have not seen via any other menu option! (Makes me wonder what

[android-developers] Contacts List Fail To Save To Phone

2008-11-04 Thread ric
Does anyone have any idea why my contacts will not save.. on my phone. I repeatedly add contacts only to find them no-where in the phones contact list. thanks in advance --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

  1   2   >