[android-developers] Unable to start activity from WebView using URI (but can start from non-webview email application)

2009-11-03 Thread Lee Laborczfalvi
I am having issues starting my application using a URI displayed in a WebView control. My application defines two activities that can be started using specific URIs. I've defined my intent filters as follows: intent-filter action android:name=android.intent.action.VIEW / category

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

2009-11-03 Thread iyacht
Please invite me iya...@gmail.com On Nov 3, 2:19 pm, eris23 jdkat...@gmail.com wrote: I could use one. -- 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

[android-developers] Re: How to add file .sqlite extension to our project

2009-11-03 Thread PJ
So you have a pre-populated database that you'd like included with the application upon installation? I'm not sure what the preferred solution is for this, but it might be possible to accomplish this via a raw resource. In general, a raw resource is a file that can be bundled with your

Re: [android-developers] Problem RemotableViewMethod while extending TextView

2009-11-03 Thread Mark Murphy
bostwick wrote: The included Chronometer widget doesn't quite have the functionality I wanted, so I copied its code into my own package. The source code to Android is not necessarily designed to be pulled out and used in isolation elsewhere. Some classes will work that way (e.g., I have cloned

[android-developers] Re: Setting RFCOMM/SPP Bluetooth Baud rate

2009-11-03 Thread Aakash Patel
A better question would be, is there a default baud rate that Android uses or something? On Nov 3, 8:36 pm, Aakash Patel aakashbpa...@gmail.com wrote: Then how are we supposed to initiate communications with a serial Bluetooth device? On Nov 3, 8:16 pm, Nick Pelly npe...@google.com wrote:

Re: [android-developers] How to pass large amount of data during startActivityForResult

2009-11-03 Thread Mark Murphy
tomei.ninge...@gmail.com wrote: From one activity, I want to pass a lot of data (about 1MB of Strings). No, you don't. You want 1MB of data to be available to multiple activities. There is a very big difference; you do NOT want to be copying 1MB of Strings. I tried sticking it in

[android-developers] Re: Android SDK not working on Windows 7

2009-11-03 Thread PJ
For what it's worth, I had a similar issue. I didn't get any error messages, just a window blink and immediate shutdown with no error messages. The lack of any error message was very frustrating. But then I realized that I had not installed Java since installing Windows 7. So, I installed the

[android-developers] Re: ProgressDialog went back to the first view called it when dismiss()

2009-11-03 Thread Larry
No it's not restarted. I even tried to put a third view to test it. The third view will disappear and the Login view will display when dialog dismisses exactly the same way. I am gonna change my codes to AsyncTask and try again. On Nov 3, 6:06 pm, Jason Proctor jason.android.li...@gmail.com

Re: [android-developers] Re: Picking up a PhoneBook entry under Android 2.0 !!!

2009-11-03 Thread Dmitri Plotnikov
I just published some sample code illustrating this use of both legacy and new Contacts APIs in the same app. See http://code.google.com/p/android-business-card Cheers, - Dmitri On Mon, Nov 2, 2009 at 9:31 AM, Mark Murphy mmur...@commonsware.com wrote: jarkman wrote: int sdkVersion =

[android-developers] Re: Poll Screen On/Off state

2009-11-03 Thread gudujarlson
Monitor the ACTION_SCREEN_OFF and ACTION_SCREEN_ON Intents, then. If your application starts based on a user action, then you know the screen is on at that point -- you don't need an API for that. That occured to me, but I'm not confident that it would be reliable. I don't like the idea of

Re: [android-developers] dummy Binder/C++ service

2009-11-03 Thread Dianne Hackborn
Hi, this question probably belongs on android-porting; it is well outside of the SDK. On Tue, Nov 3, 2009 at 2:56 PM, Michael Richardson mcr+gm...@sandelman.camcr%2bgm...@sandelman.ca wrote: I wrote a dummy HelloWorld service and client. It uses Binder for IPC. For some this is likely duh,

[android-developers] Re: how to know if it the emulator or device

2009-11-03 Thread Emmanuel
On Nov 3, 2:29 pm, Zhihong GUO gzhh...@gmail.com wrote: Hi all, How to know if the application is running on emulator or on a real device? I want to implement a function to detect wifi connection. If the application is running on emulator, just skip the wifi detection, while on real device,

[android-developers] Re: Android SDK not working on Windows 7

2009-11-03 Thread hoss spence
Hi, I get my first name back (which is how I log in and appended to \Users\ gives me my real login directory ). That seems valid. Also public static void main(String[] args) { System.getProperties().list(System.out); } comes up with reasonable stuff. I intend to try and debug

[android-developers] Re: Anyone know what happened to Cyrket?

2009-11-03 Thread Maps.Huge.Info (Maps API Guru)
I believe Androidstats got their data by scraping (with an agreement with Jay no doubt) Cyrket, so they went down together. -John Coryat Radar Now! What Zip Code? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

Re: [android-developers] Re: Stable contact identity CONTENT_LOOKUP_URI

2009-11-03 Thread Dmitri Plotnikov
Hi Richard, Lookup key is unique at any point in time. It's not unique over time. The anatomy of a lookup key is basically this. If an aggregate contact has three raw contacts with server-side IDs A, B and C, the lookup key will effectively be accountA/A.accountB/B.accountC/C We don't

Re: [android-developers] Re: Keyboard, detect ALT Locked

2009-11-03 Thread Mark Murphy
vovkab wrote: Any examples on how to detect locked state (shift or alt)? You did not read Ms. Hackborn's response. I'll reprint the relevant passage here: Again, there is no lock state in general -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Android

[android-developers] Re: Rotate Activity screen

2009-11-03 Thread Batuka
help me pls -- 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+unsubscr...@googlegroups.com For more

[android-developers] Re: how to know if it the emulator or device

2009-11-03 Thread lianwei
if (1.equals(android.os.SystemProperties.get(ro.kernel.qemu))) { // Run in Emulator } On Nov 4, 9:21 am, Emmanuel emmanuel.ast...@gmail.com wrote: On Nov 3, 2:29 pm, Zhihong GUO gzhh...@gmail.com wrote: Hi all, How to know if the application is running on emulator or on a real device?

[android-developers] ProgressDialog went back to the first view called it when dismiss()

2009-11-03 Thread Larry
Hi, I have a weird problem on progress dialog: I have 2 views: Login View and say, Display View. In Login View, when I click the 'Login' button, a progress dialog is created (new ProgressDialog(...)), shown and stored in a variable 'mProgressDialog'. After login, the dialog is dismissed and some

[android-developers] Re: Broken Emulator after new update?

2009-11-03 Thread Moto
I can actually see that I changed to GSM Speed on the phone but the actual speed is not set on the emulator :( Anyone help? On Nov 2, 9:40 pm, Moto medicalsou...@gmail.com wrote: I've tried the following using an emulator with the 2.0 and 1.6 target and still same results! I'm currently

[android-developers] Timepicker appearances, the disabled state is ugly

2009-11-03 Thread Beth
My application has a timepicker widget smack dab in the middle of the screen. In certain conditions, the widget must be disabled. Have you seen that? The default disabled timepicker widget is rather unattractive. Has anyone been able to make it look a little better? I could not find any

[android-developers] Re: App name/icon problems on Hero after reboot

2009-11-03 Thread Alex
This isn't good, fragmentation of the Android platform is already underway. It seems to be a fundamental problem with this build's handling of an application's resource bundle after soft reset. Images, layout XMLs, strings XMLs, etc, all become jumbled up, rendering your application useless. If

[android-developers] Re: Does DexClassLoader works correctly?

2009-11-03 Thread fadden
On Nov 1, 3:54 am, mongd mongdl...@gmail.com wrote: So, do you mean if I use a different path for the 2nd parameter, DexClassLoader should work properly, right? How about data/app-private? Is it ok to use that path? I tried the above one, but it didn't work... T^T /data/app-private is:

[android-developers] Documentation deficiencies.

2009-11-03 Thread Tim Hutt
Hi, this has been noted by many people previously, but I thought I'd have a little rant about it. Simply put, the Android SDK documentation is shockingly incomplete. I can't believe Google doesn't have the resources to employ someone full-time to work on it. Here are just a few examples: 1. You

[android-developers] Re: Poll Screen On/Off state

2009-11-03 Thread Carter
You can't poll screen on/off state. The best you can do is to register a BroadcastReceiver, and wait for an Intent to come along. Until that first Intent is received, you'll have no idea what the screen state is. On Nov 3, 6:28 pm, Mark Murphy mmur...@commonsware.com wrote: gudujarlson wrote:

[android-developers] Re: App upgrade (with zipalign) causes force closes/disappearing of app icon

2009-11-03 Thread fadden
On Nov 3, 11:44 am, Rafael Sanches ra...@users.sourceforge.net wrote: what happens with my app is that when a update or a install occurs I see the icon. When i restart my htc hero the app icon disappears. But it happens only after the restart. Does this happen on anything other than the HTC

[android-developers] Re: java.lang.OutOfMemoryError after orientation changed

2009-11-03 Thread fadden
On Oct 30, 12:23 pm, Sekar shake...@yahoo.com wrote: 10-30 14:59:50.841: INFO/dalvikvm-heap(23490): Forcing collection of SoftReferences for 134217760-byte allocation Curiously, 134217760 is 0x0820. Something went wrong in here. The original poster's allocation was 0x0A24, also

[android-developers] Re: How to add file .sqlite extension to our project

2009-11-03 Thread PJ
(I'm reposting this response because I think I accidentally replied only to the original author.) Archana, So you have a pre-populated database that you'd like included with the application upon installation? I'm not sure what the preferred solution is for this, but it might be possible to

[android-developers] Poll Screen On/Off state

2009-11-03 Thread gudujarlson
I have an app that runs in the background indefinitely provided there is work to be done. I want the app to go to sleep if there is no work to be done and the user is idle. The second part has me stumped. On Windows Mobile I was able to poll the power state to determine user idleness. On

[android-developers] Using MediaPlayer best practices?

2009-11-03 Thread Moto
What is the best way to use the MediaPlayer when needed multiple times? Reuse the instantiated MediaPlayer throughout the session? Or constantly stop() release() and instantiate a new MediaPlayer() ? If I reuse I'm afraid the player could be in a bad state? What about performance wise? what's

[android-developers] Re: native camera access

2009-11-03 Thread Tim
On Nov 3, 8:58 am, Girish htgir...@gmail.com wrote: In my application i want to pass the camera data to native layer. what is the best possible approach for doing the same. I know it can be done 2 ways. 1.start the camera in application and pass the preview data to native layer. But i

Re: [android-developers] Re: Poll Screen On/Off state

2009-11-03 Thread Mark Murphy
gudujarlson wrote: What I want to prevent is draining the user's battery when they go inside where there is no GPS signal and forget to turn off the app. Monitor the ACTION_SCREEN_OFF and ACTION_SCREEN_ON Intents, then. If your application starts based on a user action, then you know the screen

[android-developers] Re: ProgressDialog went back to the first view called it when dismiss()

2009-11-03 Thread Larry
Guess I need to move to AsyncTask asap... No I don't have onDismiss handler, I assume when the dialog dismisses what ever was displaying on the screen will not be changed... On Nov 3, 5:58 pm, Jason Proctor jason.android.li...@gmail.com wrote: do you have an onDismiss handler for the progress

Re: [android-developers] Documentation deficiencies.

2009-11-03 Thread Greg Donald
On Tue, Nov 3, 2009 at 4:20 PM, Tim Hutt tdh...@gmail.com wrote: Hi, this has been noted by many people previously, but I thought I'd have a little rant about it. Simply put, the Android SDK documentation is shockingly incomplete. I agree, the Android API docs are horribly inadequate. Why

[android-developers] dummy Binder/C++ service

2009-11-03 Thread Michael Richardson
I wrote a dummy HelloWorld service and client. It uses Binder for IPC. For some this is likely duh, but it did take me several days of puzzling to work things out. I think some of the problem is that there is some dead code in IMediaPlayerClient.cpp, which I was using as my guide. I'm convinced

[android-developers] Re: how to know if it the emulator or device

2009-11-03 Thread Roman ( T-Mobile USA)
Furthermore the API call (WifiManager)mContext.getSystemService(mWifiService); gives you an exception on the Emulator which is an indication that Wifi radio is not supported. -- Roman Baumgaertner Sr. SW Engineer-OSDC ·T· · ·Mobile· stick together The views, opinions and statements in this

Re: [android-developers] Re: Advice Needed on Application Approach

2009-11-03 Thread Dianne Hackborn
I'm not sure it is published in the SDK. There was a round of simplication of the telephony APIs right before release to have what was published in a state that could be maintained, and I think that may have involved hiding the way these updates are sent. On Tue, Nov 3, 2009 at 11:03 AM, Mark

[android-developers] Re: [Android-developers] Display APIs in Android?

2009-11-03 Thread Westermann Fu
You can directly draw onto surface bound with canvas passed in in your draw handler. You don't have to always first draw into bitmap then copy from bitmap to surface. In fact, no matter what strategy you use you have not really drawn onto screen framebuffer directly, the last action is composing

Re: [android-developers] Documentation deficiencies.

2009-11-03 Thread Mark Murphy
Greg Donald wrote: With their 30% take on all our app sales, you'd think they would want us to be able to figure stuff out easier. Google does not get a 30% take on all our app sales -- that goes to the carriers.

[android-developers] Re: java.lang.OutOfMemoryError after orientation changed

2009-11-03 Thread Mihai Fonoage
When an orientation occurs, your activity is being destroyed, and a new instance is created. The problem is that some references are still kept in memory. Some useful resources to read: Avoiding memory leaks (http://android- developers.blogspot.com/2009/01/avoiding-memory-leaks.html) and Faster

[android-developers] Re: [Android-developers] Display APIs in Android?

2009-11-03 Thread Westermann Fu
You can directly draw onto surface bound with canvas passed in in your draw handler. You don't have to always first draw into bitmap then copy from bitmap to surface. In fact, no matter what strategy you use you have not really drawn onto screen framebuffer directly, the last action is composing

[android-developers] Re: ListActivity and SQLiteDB problem - can't refresh list

2009-11-03 Thread PJ
Well, you get 100 cool points for knowing that you should use AsyncTask, to let the query run in the background. It seems odd that the list populating makes the UI stuck for a while. Can you give us an estimate of how many rows and columns are in your list, and how long the UI is stuck while it's

Re: [android-developers] Re: Advice Needed on Application Approach

2009-11-03 Thread Mark Murphy
Dianne Hackborn wrote: It is a sticky broadcast so you receive the last published value. It is? What's the Intent action for this? I'd really rather steer people to use Intents for call state monitoring, but I don't know how that's done. Any pointers? Thanks! -- Mark Murphy (a Commons Guy)

Re: [android-developers] Re: Advice Needed on Application Approach

2009-11-03 Thread Mark Murphy
Dianne Hackborn wrote: I'm not sure it is published in the SDK. There was a round of simplication of the telephony APIs right before release to have what was published in a state that could be maintained, and I think that may have involved hiding the way these updates are sent. Dagnabbit. I

[android-developers] Problem running a compiled/packaged-with-v1.6 application on v1.5

2009-11-03 Thread Armond Avanes
Hi Guys, I have an application which is based Android 1.5 but for enabling different screen types support I have to compile and package it with v1.6. When I install and run the resulted APK on my 1.5 emulator, everything works fine except that Preferences activity crashes every time I launch it!

[android-developers] AVD with a custom resolution

2009-11-03 Thread ClarkBattle
I created a new AVD in Eclipse for Eclair with a custom skin resolution or 1024x600 (called BigEclair). When I run apps on it the AVD crashes. [2009-11-03 11:54:47 - Timer]Android Launch! [2009-11-03 11:54:47 - Timer]adb is running normally. [2009-11-03 11:54:47 - Timer]Performing

[android-developers] Question regarding com.google.android.photostream.GridLayout

2009-11-03 Thread Mihai Fonoage
Hi, I have tried to extend the GridLayout class (http://code.google.com/p/ apps-for-android/source/browse/trunk/Photostream/src/com/google/ android/photostream/GridLayout.java) so as to make it scrollable, but with no success. In this regard, I tried initializing the scrollbars inside the

Re: [android-developers] Setting RFCOMM/SPP Bluetooth Baud rate

2009-11-03 Thread Nick Pelly
On Thu, Oct 29, 2009 at 12:23 PM, Aakash Patel aakashbpa...@gmail.com wrote: Hello, I am making an app that utilizes the BlutoothSocket API and am trying to create a serial connection over Bluetooth with RFCOMM/SPP profile. I do not see how I set the baud rate for the connection, how would

[android-developers] Re: Is Orientation Sensor a Phyiscal Sensor Different from the Accelerometer?

2009-11-03 Thread Tim
On second though it probably takes into account whether they keyboard is open on phones that have them. -- 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

[android-developers] Re: Eclipse Layout Editor Not Showing

2009-11-03 Thread ClarkBattle
This happened to me too. Thanks! On Oct 29, 6:40 pm, Open ldonel...@gmail.com wrote: Figured it out myself.  I had to specify the Android Layout Editor as the default for Android XML files under Preferences - General- Editors-File Associations. On Oct 29, 7:33 pm, Open ldonel...@gmail.com

[android-developers] Re: How to get the size of folder/directory?

2009-11-03 Thread biAji
why not use busybox du and get the result? it not need the root privilege. On Nov 3, 1:08 am, Sharjeel Ahmed shar...@gmail.com wrote: I'm storing data on SDCard and want to get the size/length in bytes of all the files in my main folder and sub folders. How can I calculate the length? Is

[android-developers] Re: Provide a database packaged with the .APK file or host it separately on a website?

2009-11-03 Thread PJ
I've seen 3-4 different people ask some variation of this question in these forums. It seems like a very common question/need. I'd like to see this specific topic addressed in part of the Dev Guide, with various uses cases and proper solutions. Pankaj, regarding your specific application:

[android-developers] Re: Booting Android on Samsung Star

2009-11-03 Thread Bhaskar
Yes please, lets try to find something to help us here, I'm also planning to try the android on a 10K phone with large touch screen, android phones releasing in india are way too costly. there are posts on the net of doing this in htc windows mobile phones, not sure how that will help here. Also

[android-developers] Re: Poll Screen On/Off state

2009-11-03 Thread gudujarlson
What does the user being idle have to do with anything here? If there is no work to be done, there is no work to be done, so stop your service and wake it up after some time to see if there is new work to be done. Well, I simplified the situation in an attempt to make my post succinct. The app

[android-developers] Re: native camera access

2009-11-03 Thread Michael Richardson
Tim wrote: On Nov 3, 8:58 am, Girish htgir...@gmail.com wrote: In my application i want to pass the camera data to native layer. what is the best possible approach for doing the same. I know it can be done 2 ways. 1.start the camera in application and pass the preview data to native

[android-developers] Re:

2009-11-03 Thread AntiL
Try this. Disable your anti-virus application when installing docs. I made it like this. On Oct 27, 5:29 pm, Jim Showalter jamesleeshowal...@gmail.com wrote: Followed the instructions inhttp://developer.android.com/sdk/adding-components.htmlfor adding 2.0 as components to an existing 1.6 SDK,

[android-developers] Re: how to delete contact list and email from device

2009-11-03 Thread PJ
Why in the heck would anyone want an app that deletes all their contacts and e-mails? I hope you realize that when people try to install your app, they're going to get a big fat warning when they install your program, saying that your app will have permissions to delete their contacts. So if you

Re: [android-developers] Re: App name/icon problems on Hero after reboot

2009-11-03 Thread Justin Giles
I got a similar brush off response from HTC just now. Also claiming to not be able to replicate the problem. I forwarded them links to 3 different forums that I have been following where several people have been able to replicate the problem. I don't expect any fix or recognition of a problem

Re: [android-developers] Re: how to know if it the emulator or device

2009-11-03 Thread Dianne Hackborn
On Tue, Nov 3, 2009 at 11:10 AM, Roman ( T-Mobile USA) roman.baumgaert...@t-mobile.com wrote: Furthermore the API call (WifiManager)mContext.getSystemService(mWifiService); gives you an exception on the Emulator which is an indication that Wifi radio is not supported. That's only

[android-developers] Re: Put some image on background of a row of a ListView

2009-11-03 Thread PJ
For background image, try: android:background=@drawable/my_image http://developer.android.com/reference/android/view/View.html#setBackgroundResource(int) http://developer.android.com/reference/android/view/View.html#setBackgroundDrawable(android.graphics.drawable.Drawable)

[android-developers] Re: Anyone know what happened to Cyrket?

2009-11-03 Thread polyclefsoftware
Well that sucks. Those were two of the most useful Android sites around. I hope it's not permanent. On Nov 3, 9:06 pm, Maps.Huge.Info (Maps API Guru) cor...@gmail.com wrote: I believe Androidstats got their data by scraping (with an agreement with Jay no doubt)Cyrket, so they went down

[android-developers] Re: Creating new Parceables

2009-11-03 Thread Ash
I am facing the same issue, is the fix available in cupcake 1.5? Or can I get the source code for just fixing this? Thanks Regards, Ash On Mar 4 2008, 10:48 pm, hackbod hack...@gmail.com wrote: It will be fixed, but I'm not sure when it will appear in the SDK. On Mar 4, 4:11 am, gadgets

[android-developers] Re: How to add file .sqlite extension to our project

2009-11-03 Thread PJ
My earlier suggestion was incomplete, assuming you want to continue to modify the database afterwards. This question has already been discussed and there's a great answer for it. Please see: http://groups.google.com/group/android-developers/browse_thread/thread/4ffd437aeb35d29e -- PJ On Nov

[android-developers] Re: Intents and navigating the GUI

2009-11-03 Thread PJ
Don't create a new intent for the main GUI. Just call finish() instead. Also, if you want your main menu Activity to detect this event and do anything special when it comes back to it, it can override onActivityResult(). I'm leaving out some details such as howto return a result (RESULT_OK),

[android-developers] Viewing logs on native android

2009-11-03 Thread swapnil kamble
Hi All, As we see emulator's logs in logcat of eclipse. What is similar on native android to view these logs ? Thanks in advance -- ...Swapnil || Hare Krishna Hare Krishna Krishna Krishna Hare Hare || || Hare RamaHare Rama Rama RamaHare Hare || -- You received this

Re: [android-developers] Viewing logs on native android

2009-11-03 Thread Blue Zheng
You can use the header file android/log.h in NDK, and link to /system/lib/liblog.so. And you can find the details in the document of NDK ($NDK_ROOT)/docs/STABLE-APIS.TXT). 2009/11/4 swapnil kamble swap.kam...@gmail.com Hi All, As we see emulator's logs in logcat of eclipse. What is

[android-developers] Re: Multitouch support in Android 2.0

2009-11-03 Thread PJ
A huge thank-you, Diane, for giving us this information. :D On Oct 27, 5:18 pm, RichardC richard.crit...@googlemail.com wrote: You missed the ;) in my reply - sorry was not ment as a serious response. On Oct 27, 10:00 pm, niko20 nikolatesl...@yahoo.com wrote: Wait, if I use two mice,

[android-developers] Trap in TabHost when AsyncTask delays setContentView at activity startup

2009-11-03 Thread Lee Laborczfalvi
I've got a tab host activity started from a home screen shortcut. When my application starts it downloads information from a server using an AsyncTask. In the onPostExecute method of the AsyncTask I call setContentView to display the TabHost. When I start the homescreen shortcut by tapping on the

[android-developers] Re: App upgrade (with zipalign) causes force closes/disappearing of app icon

2009-11-03 Thread Rafael Sanches
Hi, what happens with my app is that when a update or a install occurs I see the icon. When i restart my htc hero the app icon disappears. But it happens only after the restart. any ideas? thanks rafael On Oct 2, 12:56 am, SCMSoft scms...@gmail.com wrote: Now we think about it more, this

Re: [android-developers] Viewing logs on native android

2009-11-03 Thread swapnil kamble
Thanks for your reply. Then I will have to always use NDK just for logging. Can't I do logging purely in Android App just like for Emulator using logcat ? On Wed, Nov 4, 2009 at 10:11 AM, Blue Zheng blue.zh...@gmail.com wrote: You can use the header file

[android-developers] Is it possible to display the ExpandableListView indicator in right side?

2009-11-03 Thread GPU
Hi Is it possible to display the ExpandableListView indicator in right side? Thanks Gopu -- 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: Start app from browser

2009-11-03 Thread Matt Kanninen
I believe you'll want to register a URI pattern that your application handles. You can look for content provider samples for that. Then on your own page display a link that matches that URI pattern. You still depend on the user clicking the link. You can google for how people link to their

[android-developers] Re: How to add file .sqlite extension to our project

2009-11-03 Thread Archana
Thanks Everybody... This information are really helpful for me.. On Nov 4, 4:29 am, PJ pjbar...@gmail.com wrote: My earlier suggestion was incomplete, assuming you want to continue to modify the database afterwards. This question has already been discussed and there's a great answer for it.  

[android-developers] Re: Provide a database packaged with the .APK file or host it separately on a website?

2009-11-03 Thread westmeadboy
Have a look at ColorDict for a third approach (the middle path!). On Oct 29, 3:34 pm, Pankaj Godbole [Andruid] panka...@gmail.com wrote: Here is some background about my app: I am developing an Android app that will display a random quote or verse to the user. For this I am using an SQLite

[android-developers] Re: How to add file .sqlite extension to our project

2009-11-03 Thread Archana
But I am facing one more problem...This sqlite file size is 147 mb. So when i am running it showing error message like No space left on device.Is their any solution for this? On Nov 4, 10:04 am, Archana archana.14n...@gmail.com wrote: Thanks Everybody... This information are really helpful for

[android-developers] Set selected ringtone as device's default ringtone

2009-11-03 Thread kapil
I want to set selected ringtone as device's default ringtone. As per my findings, we can use ContentUris.withAppendedId (MediaStore.Audio.Media.EXTERNAL_CONTENT_URI,id) method to append the selected ringtone id to content uri and then saving it in database through ContentValues and System

[android-developers] Verify musical instrument app idea: microphone, simultaneous record and play, elevation, multi-touch

2009-11-03 Thread PJ
I have a great idea for an app and wanted to get everyone's input on 4 different technical aspects of it. Some of you might be familiar with the iPhone musical app where you can play it like a flute/ocarina. You blow into the mic and use multi-touch to press a combination of holes to play

Re: [android-developers] Re: how to know if it the emulator or device

2009-11-03 Thread Zhihong GUO
Hi lianwei, what's the means of ro.kernel.qemu? 2009/11/4 lianwei lianwei.w...@gmail.com if (1.equals(android.os.SystemProperties.get(ro.kernel.qemu))) { // Run in Emulator } On Nov 4, 9:21 am, Emmanuel emmanuel.ast...@gmail.com wrote: On Nov 3, 2:29 pm, Zhihong GUO

Re: [android-developers] Re: how to know if it the emulator or device

2009-11-03 Thread Zhihong GUO
It can not work. There is no exception throws and the wifiManager returned can be used as wifiManager.isEnabled() 2009/11/4 Dianne Hackborn hack...@android.com On Tue, Nov 3, 2009 at 11:10 AM, Roman ( T-Mobile USA) roman.baumgaert...@t-mobile.com wrote: Furthermore the API call

[android-developers] What is the Sprint Hero AppWidget problem?

2009-11-03 Thread btm...@gmail.com
Hello all, I wrote a widget that has been working fine for most folks. However, I started getting bug reports about how the widget would be blank on reboot (not receive an update?), and it seemed that the Sprint Hero continually came up. I thought I was crazy but I'm finding that other people are

[android-developers] Re: some questions about using gdbserver and JNI libraries

2009-11-03 Thread fadden
On Nov 2, 9:10 am, Michael Ambrus michael.amb...@gmail.com wrote:  gdbclient mediaserver :5039  31 What I get in the end is: gdb: Unable to get location for thread creation breakpoint: requested event is not supported __dl__start () at bionic/linker/arch/arm/begin.S:35 35              mov  

Re: [android-developers] Viewing logs on native android

2009-11-03 Thread Blue Zheng
Oh, sure, you still can use logcat to logging for native android device. Just choose your device in DDMS for logging. if you want to logging just for App, the NDK is not necessary. 2009/11/4 swapnil kamble swap.kam...@gmail.com Thanks for your reply. Then

[android-developers] ALT key for a virtual keyboard

2009-11-03 Thread droidin.net
Basically I want to capture Alt-key combination to provide some customized alternative text input. For example Alt-f would put FOO into the text field. However there doesn't seem to be ALT key on the virtual keyboard in ether portrait or landscape. Is it possible to fake Alt key on the virtual

[android-developers] Re: Widget Layout Frustration

2009-11-03 Thread Susan
Evan, I am also struggling with this same problem. It's mystifying because so many widgets seem to have this look and yet I find it hard to believe that all the developers painstakingly did it by hand. Can you post a screenshot of what you have? In what way is yours just a couple of pixels off?

Re: [android-developers] Re: text animation

2009-11-03 Thread Saurav
i am very sorry for the late reply. here is a sample, (if u guys have not already figured it out). hope it helps: public class MyTextAnimation extends Activity { Animation mAnimation; TextView mTextView; LinearLayout mLayout; @Override protected void onCreate(Bundle

[android-developers] building for 1.5 using 2.0...

2009-11-03 Thread sdphil
i need my app to support 1.5 and above. i noticed that if I create my build.xml file using -- c:\tools\android\2.0r3\tools\android update project --name MyProject -- path C:\MyProject --target 2 it complains about my resource directory names res/drawable-hdpi, res/ drawable-ldpi, etc...

[android-developers] Re: animated splash example ?

2009-11-03 Thread Lance Nanek
The first activity in Balance The Beer plays an intro video. Code here: http://code.google.com/p/skylight1/source/browse/trunk/SkylightGame/src/net/nycjava/skylight1/WelcomeActivity.java Not sure if that counts as a splash screen, though, since you can just pick a difficulty immediately. I guess

[android-developers] Does Google think developers are lowest life form?

2009-11-03 Thread tomei.ninge...@gmail.com
What purported to be a web company doesn't even let developers see user comments from the so-called Developer Console. Now they shut down Cryket. What the fiick? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] Re: Problem RemotableViewMethod while extending TextView

2009-11-03 Thread bostwick
I managed to figure it out. You were right in that it didn't have anything to do with RemoteViews or RemotableViewMethod. Instead, my problem was that in my onClick method for my start button, I was using the variable mChronometer, which was null, and so threw an exception. The bug was located

[android-developers] How to align the child in right side in FrameLayout ?

2009-11-03 Thread GPU
Hi , How to align the child in right side in FrameLayout ? -- 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: Is it possible to display the ExpandableListView indicator in right side?

2009-11-03 Thread GPU
Default indicator icon is in Left side?Is their any way to display ion right side? On Nov 4, 10:01 am, GPU gopuraj...@gmail.com wrote: Hi Is it possible to display the ExpandableListView  indicator in right side? Thanks Gopu -- You received this message because you are subscribed to

[android-developers] android.com e-mail addresses

2009-11-03 Thread PJ
If someone has an android.com e-mail address, what does that mean? Can serious app developers get one? -- 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

[android-developers] Difference between Linearlayout's Gravity and LayoutGravity ?

2009-11-03 Thread GPU
Hi , In eclipse layout editor for LinearLayout under LinearLayout one gravity is there and under Misc LayoutGravity is there. What is the difference between these two? How to set the layout gravity of a linear layout from code? Thanks Gopu -- You received this message because you are

Re: [android-developers] Difference between Linearlayout's Gravity and LayoutGravity ?

2009-11-03 Thread Romain Guy
gravity = setting the gravity of the content of the view layout_gravity = setting the gravity of the view inside its parent On Tue, Nov 3, 2009 at 11:05 PM, GPU gopuraj...@gmail.com wrote: Hi , In eclipse layout editor for LinearLayout under LinearLayout one gravity is there and under Misc

Re: [android-developers] How to align the child in right side in FrameLayout ?

2009-11-03 Thread Romain Guy
android:layout_gravity=right On Tue, Nov 3, 2009 at 10:57 PM, GPU gopuraj...@gmail.com wrote: Hi , How to align the child in right side in FrameLayout ? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

Re: [android-developers] Re: text animation

2009-11-03 Thread Anh Khoa Nguyen Pham
Hi Saurav Mukherjee, Thank a lot for your replying, In your example, you move TextView object from center to left side of screen. It means that when TextView has relative long content , it will look not cool. Do you know marquee property of TextView when we focus on this, don't you? I want my

[android-developers] Re: How to align the child in right side in FrameLayout ?

2009-11-03 Thread GPU
from code? On Nov 4, 12:16 pm, Romain Guy romain...@google.com wrote: android:layout_gravity=right On Tue, Nov 3, 2009 at 10:57 PM, GPU gopuraj...@gmail.com wrote: Hi , How to align the child in right side in FrameLayout ? -- You received this message because you are subscribed to

[android-developers] Re: text animation

2009-11-03 Thread skink
On Tue, Nov 3, 2009 at 2:49 PM, npak...@gmail.com npak...@gmail.com wrote: Hi all, Now i want to write an application to make a certain text to run slowly from right side screen to left side screen and rotate to repeat. How can i do that? Please help me ! hi, just extend

<    1   2