[android-developers] Re: text animation

2009-11-03 Thread skink
On Tue, Nov 3, 2009 at 2:49 PM, 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, ju

[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 wrote: > android:layout_gravity="right" > > On Tue, Nov 3, 2009 at 10:57 PM, GPU wrote: > > Hi , > > > How to align the child in right side in FrameLayout ? > > > -- > > You received this message because you are subscribed to the Google > > Groups "Andro

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 text

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 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 to andro

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 wrote: > Hi , > > In eclipse layout editor for LinearLayout > > under LinearLayout one gravity is there and under "Misc" LayoutGravity >

[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 su

[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 f

[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 wrote: > 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 Group

[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-devel

[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 in

[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: 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 m

[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... res/la

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 savedIn

[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?

[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 keyb

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 > Thanks for your reply. > Then I will have to alwa

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

2009-11-03 Thread fadden
On Nov 2, 9:10 am, Michael Ambrus 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     r0, sp I ge

[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

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 > On Tue, Nov 3, 2009 at 11:10 AM, Roman ( T-Mobile USA) < > roman.baumgaert...@t-mobile.com> wrote: > >> Furthermore the API call >> >> (WifiManager)mCont

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 > if ("1".equals(android.os.SystemProperties.get("ro.kernel.qemu"))) { >// Run in Emulator > } > > > On Nov 4, 9:21 am, Emmanuel wrote: > > On Nov 3, 2:29 pm, Zhihong GUO wrote: > > > > > Hi all, > > > > > How to know if

[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 diffe

[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 setting

[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 wrote: > Thanks Everybody... This information are really helpful for me.. > > On Nov 4, 4:29

[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]" 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 database. The s

[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 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.  Please > see

[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 mark

[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 gr

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 wrote: > You can use the header file in NDK, and link to > /

[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 wrote: > Now we think about it more, this release was also the

[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: 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 wrote: > You missed the ";)" in my reply - sorry was not ment as a serious > response. > > On Oct 27, 10:00 pm, niko20 wrote: > > > > > Wait, if I use two mice, they both control the same pointer. There >

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

2009-11-03 Thread Blue Zheng
You can use the header file 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 > Hi All, > As we see emulator's logs in logcat of eclipse. What is similar on > native android to vie

[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 messag

[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), how

[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 3,

[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 wrote: > It will be fixed, but I'm not sure when it will appear in the SDK. > > On Mar 4, 4:11 am, gadgets wrote: > > > > >

[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)" wrote: > I believe Androidstats got their data by scraping (with an agreement > with Jay no doubt)Cyrket, so they went down together. > > -John C

[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) http://developer.androi

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 onl

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

[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

[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 wrote: > Followed the instructions > inhttp://developer.android.com/sdk/adding-components.htmlfor adding 2.0 as > components to an existing 1.6 SDK, from within Eclipse. > >

[android-developers] Re: native camera access

2009-11-03 Thread Michael Richardson
Tim wrote: > > On Nov 3, 8:58 am, Girish 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.

[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 a

[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 an

[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: Approa

[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 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 there any other w

[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 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 wrote: > > > > > > > Relative

[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] 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 com.icd.timer.T

[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

[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 d

[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 d

[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 be

[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 accom

[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 wrote: > gudujarlson wrote: > > I have an app that r

[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 ne

[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: 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 wrote: > On Nov 3, 2:29 pm, Zhihong GUO wrote: > > > Hi all, > > > How to know if the application is running on emulator or on a real device? I > > want to implement a funct

[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,

[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 this

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 > wrote: > 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 puzz

[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 l

[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 J

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 Intent.put

[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 wrote: > Then how are we supposed to initiate communications with a serial > Bluetooth device? > > On Nov 3, 8:16 pm, Nick Pelly wrote: > > > On Thu, Oct 29, 2009 at 12:23 PM,

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 clone

[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 applicat

[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 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 from this group,

[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: In the G1 built-in email application if the user clicks on a URI of the format

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

2009-11-03 Thread ferly sky
能给我一个吗,ferly...@gmail.com, 谢谢 2009/11/1 Auguste Lunang > Hi, > i have some google wave. invits to share. tell me if u want .. > thx > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to android-dev

[android-developers] Segfault in what looks like WebView

2009-11-03 Thread Dan Sherman
Hey guys, we just launched a new game (Super Game Pack) in the market, and got a segfault on a 1.6 emulator... >From what I can decipher, looks to be coming from a webview component... Is there any way to track it further, or figure out exactly what's causing it? Its relatively rare, so its a bit

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

2009-11-03 Thread Lance Nanek
Hmm, I have an app that similarly uses a PreferenceActivity and build target 1.6, but it runs fine on the 1.5 emulator. I wonder what we are doing different. Is your activity just the basic form like this? public class Preferences extends PreferenceActivity { @Override protected vo

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

2009-11-03 Thread Mohamed Amir
Good point :-) Thank you. On Nov 3, 3:06 am, Dan Sherman wrote: > Probably because we're not sure, and because it could very easily differ > per-device... > > > > On Mon, Nov 2, 2009 at 7:56 PM, Mohamed Amir wrote: > > and I don't know why no one replies.  I thought it's a simple direct > > que

[android-developers] launching settings from my app

2009-11-03 Thread Beth
Hi there, Has anybody got the right intent to open sound settings? I find that this line of code: startActivity(new Intent (android.provider.Settings.ACTION_SETTINGS)); works great, while this line, which should open exactly the Settings panel I need to show, does not work at all and my appli

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

2009-11-03 Thread tomei.ninge...@gmail.com
>From one activity, I want to pass a lot of data (about 1MB of Strings). I tried sticking it in Intent.putExtra(ArrayList), but if I put in too much data, I get "FAILED BINDER TRANSACTION". What's the easiest way? I don't want to publish a service, or use the file system. I really want a pipe tha

[android-developers] Re: Regarding the database schema of Android native database

2009-11-03 Thread PJ
If there isn't any documentation, you could always get the schema directly from the source. Read the section "Examining sqlite3 Databases from a Remote Shell" from the Dev Guide: http://developer.android.com/guide/developing/tools/adb.html#sqlite This describes how to view databases for an applic

[android-developers] Problem RemotableViewMethod while extending TextView

2009-11-03 Thread bostwick
Hi all, I'm just getting into Android development, coming from a mostly ruby and scheme with some Java background. For a first project, I decided to try and build a stopwatch. The included Chronometer widget doesn't quite have the functionality I wanted, so I copied its code into my own package.

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

2009-11-03 Thread polyclefsoftware
Yeah, I'm missing me some Cyrket as well. And AndroLib is slow to update. On a related note, anyone else notice that AndroidStats (http:// androidstats.com/) hasn't updated for a number of days? I hope Google didn't make some major change that's going to cripple these sites, unless of course they

Re: [android-developers] Database Errors

2009-11-03 Thread Dmitri Plotnikov
I am afraid "CHECK" is a reserved word in SQL, see http://developer.mimer.se/validator/sql-reserved-words.tml Cheers, - Dmitri On Tue, Nov 3, 2009 at 3:08 PM, Radzell wrote: > I been working on this code dealing with my database for days i can > figure out whats wrong. > > Heres my code: > pack

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

2009-11-03 Thread ClarkBattle
I'd love one! Thanks On Oct 31, 10:20 pm, Auguste Lunang wrote: > Hi, > i have some google wave. invits to share. tell me if u want .. > thx -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-dev

[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 GridLayo

[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 built-i

[android-developers] Database Errors

2009-11-03 Thread Radzell
I been working on this code dealing with my database for days i can figure out whats wrong. Heres my code: package com.helpihelpyou; import android.content.ContentValues; import android.content.Context; import android.database.Cursor; import android.database.SQLException; import android.database

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

2009-11-03 Thread Larry
Problem fixed. Turns out it was a stupid code mistake. Thanks for the help tho. On Nov 3, 7:08 pm, Larry wrote: > 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

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

2009-11-03 Thread Aakash Patel
Then how are we supposed to initiate communications with a serial Bluetooth device? On Nov 3, 8:16 pm, Nick Pelly wrote: > On Thu, Oct 29, 2009 at 12:23 PM, Aakash Patel wrote: > > > Hello, > > > I am making an app that utilizes the BlutoothSocket API and am trying > > to create a serial connect

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

2009-11-03 Thread Mark Murphy
gudujarlson wrote: > 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. What does the user being idle have to do with anything here? If there is no work to be done, there i

[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 convin

[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 BlackBerr

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. http://android-developers.blogspot.com/2008/10/android-market-now-available-

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

2009-11-03 Thread Jason Proctor
why is using a static data member not a real solution? i have the same requirement and i use globally accessible singletons (containing static references) to share stuff between my activities. works like a charm. feels real. i don't know whether this adds realness, but WebKit shares its cookie

[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 opti

[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: How to pass large amount of data during startActivityForResult

2009-11-03 Thread tomei.ninge...@gmail.com
Does anyone have a real answer? I need to do this. If you don't know how to do it please don't feel obliged to reply to tell me it's not an androidie thing to do. On Nov 3, 3:32 pm, Mark Murphy wrote: > tomei.ninge...@gmail.com wrote: > > From one activity, I want to pass a lot of data (about 1M

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

2009-11-03 Thread Mark Murphy
tomei.ninge...@gmail.com wrote: > Does anyone have a real answer? That *is* a real answer. As is using a service -- which is probably the direction I would go, given the limited info you have provided -- but you rejected that out of hand. > I need to do this. As I wrote, you need to have two act

[android-developers] Re: Trouble with getting proximity alerts

2009-11-03 Thread Arun
I found out the problem. The lattitudes and longitudes should be in Double. I was using Int. On Nov 2, 11:56 pm, jay mojnidar wrote: > All, > > SDK: 1.6 > Firmware Version: 1.5 > > I am trying to get an alert when I get to my home. But, it looks like I am > not receiving the message. Googled arou

[android-developers] Re: Device orientation - mapping device Y to screen Y

2009-11-03 Thread Ian
*ping* -- anyone got any ideas on this? It seems like kind of a hole... -- 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] 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] Re: native camera access

2009-11-03 Thread Tim
On Nov 3, 8:58 am, Girish 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 feel this may c

  1   2   >