[android-developers] Re: How to determine when a ScrollView has reached the bottom

2009-04-09 Thread for android
Not sure about ur use-case...You might want to do that... But if you want to do something when the scroll position has changed then onScrollChanged is your friend On Thu, Apr 9, 2009 at 11:08 AM, nwmotog...@gmail.com nwmotog...@gmail.comwrote: so you are suggesting that I create a custom

[android-developers] Re: Problem with writing to SD card / deleting files on it. Number of files relevant?

2009-04-09 Thread Mattaku Betsujin
I don't have an answer :-( but for a time my sdcard refuse to mount rw, so all the RSS apps that I run which need to write into sdcard will fail to start. However, the sdcard can be happily written into by Windows (via USB). This is the first instance that I ever observe that Windows is superior

[android-developers] Re: How to use AutoCompleteTextView with SimpleCursorAdapter

2009-04-09 Thread for android
Unfortunately, this is not a complete worked out example. Could someone forward me a more complete example? I've found lots of code fragments, but no code that shows how to initialise the SimpleCursorAdapter contents, or how it works together with the AutoCompleteTextView. There is also an

[android-developers] Re: Java Application and Native Library Integration

2009-04-09 Thread Yogi
I am not able to find android-ndk group. Can you please send us the link. - Yogi On Apr 9, 9:23 am, Dianne Hackborn hack...@android.com wrote: Native code is not currently supported for third party apps.  If this is something you are interested, you might want to follow the android-ndk

[android-developers] Re: Java Application and Native Library Integration

2009-04-09 Thread for android
http://*groups*.google.com/group/*android*-*ndk*http://groups.google.com/group/android-ndk On Thu, Apr 9, 2009 at 11:46 AM, Yogi yogesh.agrawal2...@gmail.com wrote: I am not able to find android-ndk group. Can you please send us the link. - Yogi On Apr 9, 9:23 am, Dianne Hackborn

[android-developers] ADP1 not listed in ubuntu by adb

2009-04-09 Thread Shadakshari Hiremath
Hello Android, We have purchased a ADP1 phone and we want to flash cupcake image onto it. We are using Ubuntu hardy 8.04.1 host. We referred the instructions provided in http://groups.google.com/group/android-developers/browse_thread/thread/9d37e184f92d19f3 and

[android-developers] setCursorVisible in the TextView

2009-04-09 Thread Asif k
Hi all, In the android reference site, it is written in the serCursorVisible section that cursor is visible by default and you can give its value as either true or false to change the its visibility on the GUI screen. But in my case , cursor is remaining invisible irrespective of setting

[android-developers] Re: Problem with writing to SD card / deleting files on it. Number of files relevant?

2009-04-09 Thread Mariano Kamp
I think that Android apps can't access the SD card in r/w mode when it is used in USB mass storage mode. Otherwise it works great. I read somewhere that this is a limitation of the FAT32 filesystem, which is a single user fs?! Unfortunately the setting for use in mass storage mode has disappeared

[android-developers] Get current activity from Service

2009-04-09 Thread a...@lg
Is it possible to get the currently running activity through Service..?? i.e. I have a service started by an Activity A, and now I want to stop the service by another activty say Activity B. Since Activity B doesnt know about the service, i want to capture the events in OnKeyDown() of the

[android-developers] Re: Get current activity from Service

2009-04-09 Thread Dianne Hackborn
No, unless you implement code in the activity to watch this yourself. On Wed, Apr 8, 2009 at 11:52 PM, a...@lg l.prade...@gmail.com wrote: Is it possible to get the currently running activity through Service..?? i.e. I have a service started by an Activity A, and now I want to stop the

[android-developers] Writing text on images in Android

2009-04-09 Thread jj
Hello folk I want to edit image for Writing text on images, is it possible in Android, if so, how to achieve this. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] Re: Restoring the active Activity while resuming the application

2009-04-09 Thread Omer Saatcioglu
Actually, this code is a work around to get rid of the problem. However; I think I found the root cause of my problem at stackoverflow.com. I asked the same question and they told me that there is a bug in emulator: http://code.google.com/p/android/issues/detail?id=2373 I think that all I need

[android-developers] Re: Writing text on images in Android

2009-04-09 Thread Jeffrey Sharkey
Sure, use a Canvas wrapped around a mutable copy of the original Bitmap. Bitmap.copy() can get you a mutable bitmap of an existing image, and then you can Canvas.drawText(). j On Apr 9, 12:05 am, jj jagtap...@gmail.com wrote: Hello folk I want to edit image for Writing text on images, is it

[android-developers] Re: setCursorVisible in the TextView

2009-04-09 Thread Jeffrey Sharkey
This might be a difference between how TextView and EditText behave. If you're trying to let them edit text, use an EditText. :) j On Apr 8, 11:42 pm, Asif k asifk1...@gmail.com wrote: Hi all,     In the android reference site, it is written in the serCursorVisible section that cursor is

[android-developers] Re: Restoring the active Activity while resuming the application

2009-04-09 Thread for android
I am not sure whether you will get different results in the device. It will behave the same way AFAIK. When ever home button is pressed your Child activity is being finished...There is no way it will behave differently on the device. On Thu, Apr 9, 2009 at 12:35 PM, Omer Saatcioglu

[android-developers] Re: How do I point people to my app in the Android Marketplace?

2009-04-09 Thread rgelb
I am not clear on the concept. Does pname stand for the namespace of the application or the package name? The name of my app is Better Deal and the package name is com.vbrad.android.betterdeal Would the URL the be market://search?q=pname:com.vbrad.android.betterdeal ??? Can someone test this

[android-developers] running appl in background

2009-04-09 Thread jj
Hello folk I want to run application in background. When user close the foreground screen, application should be running in background. so in foreground there is no screen of this appl, while user can launch other appl also. To achieve this with the service component, is it necessary to

[android-developers] Help required in using postInvalidate()

2009-04-09 Thread manohar
Hi all, I am devleoping an application. In which one back ground image is present. Above that i am drawing some animation. To animation to happen i have to call postInvalidate() method every time. It is expecting every time to draw the back ground. Is there any solution so that i will draw the

[android-developers] How could add a new src folder into android src for compiling?

2009-04-09 Thread chengli
I want to add a new src folder to android project,but there are so many file android.mk,so are my src folder.I have no ideas how these makefiles are connected with each other while compiling, how could I do ? --~--~-~--~~~---~--~~ You received this message because

[android-developers] Re: running appl in background

2009-04-09 Thread Dianne Hackborn
Please read the documentation on Service, the overview documentation on applications (which has a section on process lifecycles/management), and there are a number of examples in ApiDemos of creating services that run after an activity finishes. On Thu, Apr 9, 2009 at 12:29 AM, jj

[android-developers] Updating TextView Values

2009-04-09 Thread TrojanSnake12
Hello everyone, and thanks in advance for the help. What I'm trying to do is a relatively simple task, but one that doesn't seem to be working. What I'm trying to do is display the Orientation X,Y,Z coordinates on the screen in basic TextView boxes. The sensors are constantly updating my

[android-developers] Re: Passing ArrayList across actvities

2009-04-09 Thread a...@lg
yeah,,thanks,.. I implemented thro Parcealable... But i need to know, if there could be any overhead on implementing the same on Serializable...??? Because, Parcealable belongs to android.os.Parcealable And the source data i get from 'another modul'e is completely a pure java which has no

[android-developers] Re: how to let an application as the default app of certain file type

2009-04-09 Thread Derek
Dianne, you are right. What I should say is that getIntent().getData() returns null, even though the caller app uses intent.setData(). Any idea why the data is not passed to the callee app? On 8 Apr, 18:56, Dianne Hackborn hack...@android.com wrote: Um, getIntent() will never return null in

[android-developers] Re: file written to /sdcard is missing AND USB Mass Storage option missing AND no browsable drive valid...

2009-04-09 Thread Gavin
which permission need be added? On Apr 9, 10:49 am, Richard Schilling richard.rootwirel...@gmail.com wrote: Problem solved. There was nothing wrong - it was a permissions problem. Richard On Apr 8, 6:43 pm, Richard Schilling richard.rootwirel...@gmail.com wrote: O.K., Three problems

[android-developers] Re: Parsing XML from the Net - Using the SAXParser

2009-04-09 Thread AlexNguyen
Hi, I tried with some other file of xml. Gphone always get the last data in xml file. How can I get data in anywhere I want? Anyone help me about it? Thanks, --Alex. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[android-developers] Re: Can javax.xml.parsers.DocumentBuilder be used to parse html?

2009-04-09 Thread Mark Murphy
quill wrote: I think that the open-source html-parsers in java-source.net should do some fixes in order to run on android. Is there any version for android? You would have to ask them. I have not tried parsing HTML on-device. And I find that android sdk provides

[android-developers] Re: Restoring the active Activity while resuming the application

2009-04-09 Thread Omer Saatcioglu
Actually, I am really confused. Whenever I run the test application on the device, it behaves like I wanted (the child activity is activated after launching from home screen or recently launched screen) However; When I ran my application after I removed overridden onPause and onResume methods, my

[android-developers] Re: setCursorVisible in the TextView

2009-04-09 Thread Ask
yess, I got it using setSelection() method On Apr 9, 2:53 pm, Ask asifk1...@gmail.com wrote: Hi Jef, Thanks 4 ur reply. Its working fine 4 EditText.. But here there is no API to set cursor position like EditText.setcursorPosition(), I am updating EditText at different stages of

[android-developers] Problem with Camera and layout orientation

2009-04-09 Thread mobilek...@googlemail.com
Hi, I've been trying to solve this for awhile now, and still couldn't find a solution to it. To properly display my SirfaceView consumed by the camera, I have forced my activity's layout in landscape mode. However, in my app the camera functionaluty will be mostly used in portait mode, and

[android-developers] Re: InputMethodService

2009-04-09 Thread Ahmed Azzouz
I cant find a documentation for the InputMethodService. please if you know i can find it please tell i would be very graceful. Thanks On Apr 8, 7:00 pm, Dianne Hackborn hack...@android.com wrote: Have you looked at the documentation on InputMethodService? On Wed, Apr 8, 2009 at 3:59 AM, Ahmed

[android-developers] Re: setCursorVisible in the TextView

2009-04-09 Thread Ask
Hi Jef, Thanks 4 ur reply. Its working fine 4 EditText.. But here there is no API to set cursor position like EditText.setcursorPosition(), I am updating EditText at different stages of application execution programatically using EditText.append(); But cursor position is remaining at the first

[android-developers] playing of wma audio

2009-04-09 Thread l hx
now , the opencore can not play the audio of wma. is it right? and the total time of the wma file can not be find in the trackbrowseractivity. who know why? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: zero duration for some media

2009-04-09 Thread l hx
today, i found this matter. and i see some code and found that the duration of the file such as wma and wmv in the datebase is also 0. i will go on it. who know why and how to solve, please give some advise. On Thu, Apr 9, 2009 at 4:13 AM, Peter Jeffe pje...@gmail.com wrote: Some audio files

[android-developers] overlay

2009-04-09 Thread l hx
can android now use overlay? and how to use it? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from

[android-developers] Re: Accessing System Brightness

2009-04-09 Thread Todd Sjolander
Ah, that makes sense. Thank you. On Apr 8, 4:45 pm, Dianne Hackborn hack...@android.com wrote: It will only modify the screen while that window/activity is being shown to the user.  This allows it to be done in a safe way (no permission required) which the system can recover from if there is

[android-developers] Re: Changing background style of MenuItem

2009-04-09 Thread elDoudou
Thank you for posting your conclusion. However, according to me, setting the android:itemBackground element in an applied theme does not change anything neither, so this work-around is not working: please, tell me if I'm wrong... I went to the same conclusion by analyzing the Android source code,

[android-developers] Re: Exception locking surface - lockCanvas() returns a null?

2009-04-09 Thread ellipsoidmob...@googlemail.com
I hadn't realised you are doing openGL stuff. I've used surfaceview/ holder in the same was as the lunarlander, but I haven't used openGL so I don't know how that works. But, at a glance, it looks like you've got a mix of two different approaches here - maybe the lockcanvas/unlockcanvasandpost

[android-developers] Project Name - bin - classes.dex , resources.ap_ ??

2009-04-09 Thread Zhubham
Hi Experts, Can you please throw some light on the contents of the bin folder which is generated under the project folder. Generally we have: (1) a folder containing all the .class files. (2) a file with .apk extension. This is a zipped form of all the .dex files created for each .class file.

[android-developers] Re: Gallery and setSelection

2009-04-09 Thread hapciu
Hi Alexey, Try calling notifyDataSetIvalidated before repopulating your adapter and/or notifyDataSetChanged after. Cheers, Horia On Feb 12, 7:12 am, Alexey avolo...@gmail.com wrote: Ok everything is being called correctly with setSelection. However in my case i'm not getting callback because

[android-developers] Re: How to determine when a ScrollView has reached the bottom

2009-04-09 Thread Al
This was a major headache for me also. Finally found the solution: int calc = sv.getHeight() + sv.getScrollY(); //where sv is a scrollview boolean atBottom = tv.getBottom() - calc == 0; //where tv is a textview On Apr 9, 6:23 am, nwmotog...@gmail.com nwmotog...@gmail.com wrote: I have a

[android-developers] Analog Clock

2009-04-09 Thread vinny.s...@gmail.com
Can Anybody Help In Making a Analog Clock in ,java File of android ... --~--~-~--~~~---~--~~ 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] Re: Uninstall reason survey - where are the results?

2009-04-09 Thread nEx.Software
I've been wondering this myself... It seems that there should be a way for the developer to see the results of this survey, else it's not really worth having the survey. On Apr 8, 5:59 pm, Jesse McGrew jmcg...@gmail.com wrote: (No response on android-discuss, trying here instead.) I've

[android-developers] Audio record from Bluetooth headset

2009-04-09 Thread Dilli
Hi all I am developing a recorder application It works fine with Microphone. I want to record from Blue tooth headset i set it like my_Aud_Mgr.setMicrophoneMute(true); //AudioManager my_Aud_Mgr; my_Aud_Mgr.setBluetoothScoOn(true); but it cant record from Blue tooth device Ho to

[android-developers] pricing model for a service based application

2009-04-09 Thread naru
I do understand that a self sufficient or standalone android application can be bought/sold for one time price. But what are various ways a user can be charged if an android application was a service based application, meaning every time user playing a new game would fetch some data from a

[android-developers] HttpClient + Proxy with authentication

2009-04-09 Thread Erik H
I need to use HttpClient in my application. However, the network I'm on when running the emulator has a proxy that requires authentication. How do I configure the emulator to use this proxy with authentication and how do I tell HttpClient to use this? Currently, this is sort of blocking further

[android-developers] Re: HttpClient + Proxy with authentication

2009-04-09 Thread David Turner
On Thu, Apr 9, 2009 at 3:30 PM, Erik H erik.d.hell...@gmail.com wrote: I need to use HttpClient in my application. However, the network I'm on when running the emulator has a proxy that requires authentication. How do I configure the emulator to use this proxy with authentication and how do

[android-developers] Re: progressDialog

2009-04-09 Thread naru
I believe the right way to fire a ProcessDialog is thru a Handler try the following... -- create a Handler and processDialog somewhere before doStuff() private final Handler handler = new Handler(); private ProcessDialog processDialog; -- your doStuff method should look like this void

[android-developers] Application gets killed because provider is in dying process

2009-04-09 Thread GiladH
Hey, After long running the Media|Player (audio mode) the app I'm developing often crashes w/ the following error: Process android.process.media (pid 14795) has died. Killing my app because provider com.android.providers.media.MediaProvider is in dying process android.process.media Now

[android-developers] Key dispatching timed out

2009-04-09 Thread Ramesh
hi, I am working on an android project where the local and remote image files and their thumbnails are to be displayed. Now i have a problem with displaying the remote images. If i click the back button when the application is connected with the server, It waits for few seconds and forces my

[android-developers] Resetting checkboxes in a dialog with .setMultiChoiceItems()

2009-04-09 Thread DavidG
I'd like to have a dialog box which prompts the user to select from various checkboxes, then confirm Ok or Cancel. I have this working, but my only issue is the dialog always retains the previous checkbox selection state from the last time the dialog was shown. I'd like to always force the

[android-developers] Android/G1 video driver

2009-04-09 Thread yarik...@gmail.com
Where can I find G1 video driver source? --~--~-~--~~~---~--~~ 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] Nightly Build for Emulator

2009-04-09 Thread Evan Ruff
Hey guys, I'm a lame-o Windows developer trying to do some Browser specific development targeting Android. I'm having some funny issues with my G1 and my older emulator (WebKit CSS/Layout, etc). I was wondering if any of you Linux guys out there might be so kind as to give me a compiled image of

[android-developers] Removing the default interpolator for xml based animation effects for views

2009-04-09 Thread quakeboy
When ever I try to animate a view using a simple xml based animation, it seems to have default interpolator set of some kind as the motion is not truly linear. Is there a way to set the default animation interpolator to linear and remove the lag in the start/end of the animation.

[android-developers] Bind Service between different APKs

2009-04-09 Thread Jorge Fonseca
*All*, How to bind a client to service if they are in different applications? I have a simple service running in a specific .apk and try to access it from OTHER .apk. I already declared permission in both manifest.xml: *Service*: service android:name=.AdderServiceImpl android:permission=*

[android-developers] Re: Nightly Build for Emulator

2009-04-09 Thread Mark Murphy
I'm a lame-o Windows developer trying to do some Browser specific development targeting Android. I'm having some funny issues with my G1 and my older emulator (WebKit CSS/Layout, etc). I was wondering if any of you Linux guys out there might be so kind as to give me a compiled image of the

[android-developers] Re: GWT and the Android Browser

2009-04-09 Thread Evan Ruff
JP, Thanks for your response! I've downloaded 1.1_r1 and done a little bit more testing and: #5, #6. This is something that seems to ONLY happen on the Android system. In Chrome it screams along like a scalded dog. Stuff pops up, hides, fades etc like it was a native application. #2. There's

[android-developers] Re: Nightly Build for Emulator

2009-04-09 Thread Al Sutton
There have been no checkins I'm aware of since my builds at; http://andappstore.com/AndroidPhoneApplications/sdk/ Regards, Al. --- * Written an Android App? - List it at http://andappstore.com/ * == Funky Android Limited is registered in England Wales with the company number

[android-developers] Re: Nightly Build for Emulator

2009-04-09 Thread Evan Ruff
That's just want I was looking for. Thanks Al! E On Apr 9, 10:50 am, Al Sutton a...@funkyandroid.com wrote: There have been no checkins I'm aware of since my builds at; http://andappstore.com/AndroidPhoneApplications/sdk/ Regards, Al. --- * Written an Android App? - List it

[android-developers] Re: Android/G1 video driver

2009-04-09 Thread David Turner
If you are referring to the accelerated OpenGL ES shared library used by the system on G1 / ADP1 devices, its source is not available, it's a proprietary binary blob. There is however a software-only OpenGL ES implementation that is part of the system (and is used when you run in the emulator),

[android-developers] Re: GWT and the Android Browser

2009-04-09 Thread JP
On Apr 9, 7:43 am, Evan Ruff evan.r...@gmail.com wrote: #2. There's some work going on over in the GWT stack to have Gears/AIR/ HTML5 native storage/workers/caches abstracted in GWT. This is a pretty exciting project and will hopefully lead to some truely awesome android ports. Agree, not

[android-developers] Re: Android/G1 video driver

2009-04-09 Thread yarik...@gmail.com
ok... thanks a lot. I have another one question though. It' about framebuffer driver. There are a lot of sources in git and I can't find out wich one is used for MSM7201A chipset used in G1. Thanks for response. On 9 апр, 18:09, David Turner di...@android.com wrote: If you are referring to the

[android-developers] Re: How to login to the root of Android Dev Phone 1?

2009-04-09 Thread Gavin Aiken
Hi Guys, I'm having the same issue. I just go a dev phone and i'm used to wiping the database of my ap by removing it using eclipse from the /data/data/my-ap's-namespace/databse.db location. Now i'm developing on a dev phone I don;t have access to /data/. I've installed terminal emulator but I

[android-developers] Re: Android/G1 video driver

2009-04-09 Thread David Turner
2009/4/9 yarik...@gmail.com yarik...@gmail.com I have another one question though. It' about framebuffer driver. There are a lot of sources in git and I can't find out wich one is used for MSM7201A chipset used in G1. Thanks for response. ah, I don't know the answer to this, but you should

[android-developers] Re: Android/G1 video driver

2009-04-09 Thread Streets Of Boston
Thanks! This likely answers the problem i saw with calling GL11Ext.glDrawTexiOES as well. It behaves differently (quite differently) on the emulator than on an actual phone (G1) On Apr 9, 11:09 am, David Turner di...@android.com wrote: If you are referring to the accelerated OpenGL ES shared

[android-developers] Re: Key dispatching timed out

2009-04-09 Thread Streets Of Boston
How are you downloading your images? Are you doing this in your main message-thread? (e.g. in a onSomethingSomething(...) method?) If so, this causes your problem. Start a new thread. Have this thread download your image when necessary. When you thread is done, have it post back to the main

[android-developers] Re: Help required in using postInvalidate()

2009-04-09 Thread Romain Guy
You have to draw the background every time. On Thu, Apr 9, 2009 at 1:12 AM, manohar manohar...@gmail.com wrote: Hi all, I am devleoping an application. In which one back ground image is present. Above that i am drawing some animation. To animation to happen i have to call postInvalidate()

[android-developers] Ultra-Competitive FireWallet supporters

2009-04-09 Thread John Lauricella
Somebody named Peter, who has a comment on the FireWallet finance application review page on the Android Market that says something like this Firewallet is the greatest program ever, the best finance program, and the best application period, for Android.. 5 STARS, went on a competing finance

[android-developers] can replace default dialer?

2009-04-09 Thread Fred Grott(shareme)
I want to verify something.. I already did some app tests but I am coming to the conclusion that I can nnto as non root replace the default dialer like one might replace the HomeScreen. is this assumption correct? --~--~-~--~~~---~--~~ You received this

[android-developers] Re: Nightly Build for Emulator

2009-04-09 Thread Evan Ruff
Hey Al, Sorry to bother you about this, but when I installed your package, I can't seem to get any network access. When I used the regular emulators, I get 3G without problem, but your dist seems to say no connection. Any ideas? Thanks! E On Apr 9, 10:50 am, Al Sutton a...@funkyandroid.com

[android-developers] Re: can replace default dialer?

2009-04-09 Thread Dianne Hackborn
You can replace the entire dialtacts activity. You can't replace just one tab in it. This is regardless of whether you are running as root. On Thu, Apr 9, 2009 at 9:03 AM, Fred Grott(shareme) fred.gr...@gmail.comwrote: I want to verify something.. I already did some app tests but I am

[android-developers] Re: Application gets killed because provider is in dying process

2009-04-09 Thread Dianne Hackborn
You can avoid this by not holding an open cursor on the media content provider. The onLowMemory() thing is not for this purpose. In fact this may not have anything to do with memory at all -- if a process you have a cursor on crashes for whatever reason, your process needs to be killed as well.

[android-developers] Re: Ultra-Competitive FireWallet supporters

2009-04-09 Thread Al Sutton
I've had a few instances like this. I tend to mark the comment as spam and hope for the best. At the end of the day with they may really think their app is 2.5 times better, and with the way market works you can only hope real users who like your app will chip in with votes. Al. --- *

[android-developers] Re: Nightly Build for Emulator

2009-04-09 Thread Al Sutton
Network connectivity is currently broken in the SDKs. Once Google release a fix I'll be rolling a new build. Al. --- * Written an Android App? - List it at http://andappstore.com/ * == Funky Android Limited is registered in England Wales with the company number 6741909. The registered

[android-developers] Re: Make My App Available By Intent

2009-04-09 Thread droozen
No, when I try to call the intent with startActivity I get a Force Close error, whether I try: Intent intent = new Intent(); intent.setAction(intent.action.VOLUME_CONTROL); startActivity(intent); or Intent intent = new Intent(intent.action.VOLUME_CONTROL); startActivity(intent); with this

[android-developers] How to launch a viewer for common file types?

2009-04-09 Thread Jay-andro
Is there a way to launch a viewer for common file types like TXT, DOC, XLS, PDF from within an app, like Gmail does. Maybe a Google Docs api to pass the file to GD and have it open in the browser? --~--~-~--~~~---~--~~ You received this message because you are

[android-developers] Re: How to launch a viewer for common file types?

2009-04-09 Thread Mark Murphy
Is there a way to launch a viewer for common file types like TXT, DOC, XLS, PDF from within an app, like Gmail does. If there is a component registered that recognizes the MIME type, you can use startActivity(). So, for example, one hopes that DataViz' Documents to Go is set up to handle

[android-developers] Re: Webview Question: onCreate always get called when activity comes to foreground

2009-04-09 Thread UBZack
Hi Mark, thank you very much for your reply. I have some more findings to report! Turns out it's not just launching it from Eclipse that causes this behavior, but also downloading the apk from the Android web browser, installing it, and tapping the launch button. I set up a basic hello world

[android-developers] Re: Make My App Available By Intent

2009-04-09 Thread droozen
I've been trying some other stuff, too, now. And this doesn't even seem to work: Intent intent = new Intent(Intent.ACTION_MAIN); intent.addCategory(Intent.CATEGORY_LAUNCHER); startActivity(intent); I would expect that to ask me which app I want to launch. Instead I get a Force Close error. On

[android-developers] How does an Activity being drawn

2009-04-09 Thread samuel.zachar...@gmail.com
Hi, When android start an Activity, I assume it has it runs under its own thread. I would like now know how the Activity get drawn? Is it by the same application thread? or it has a Paint thread created by the VM? What about UI handling (user presses UP/DOWN key) which thread handles that?

[android-developers] Beginner Question / Calendar API

2009-04-09 Thread andreas
Hi, I'm really just a beginner and fiddling a little bit around with java and my G1. I'd like to create a calendar event from the phone and learned, that there is no Android API for the calendar. I thought it should be possible to access the google calendar via web. I googled a bit and found

[android-developers] ListView not touchable in my Activity

2009-04-09 Thread monn3t
Hello: I developed an activity that extends the ListActivity. It has a ListView that binds to a DB. Thing is that I can click on the items of the view only with the trackball. When I try touching the items or the view I can't, is not responsive. Below the view I have a button that works just

[android-developers] StartActivity() in BroadcastReceiver

2009-04-09 Thread yeons...@gmail.com
Hello, I'd like to launch one of settings app screen when received a certain broadcast event in idle state. For that, I added my event to PhoneAppBroadcastReceiver() in PhoneApp.java (because it seems this receiver handles the misc events) But if I called startActivity() in here, it does not

[android-developers] Application to determine location in home -- upstairs or downstairs

2009-04-09 Thread Neil
I'd like to create an android application that can determine whether you are upstairs or downstairs in a house. My advisor does not want us to use GPS because he says it won't work well indoors. Instead, he wants us to build the app using the accelerometer on the phone. Can you offer any ideas on

[android-developers] sample source code for beginner

2009-04-09 Thread tonyc...@gmail.com
Dear all android experts, I'm trying to get my 1st android application (blackjack) going and am so confused with layouts button etc etc. Are there any sample source code for me to review? I have ran through the source that come with the SDK and the android source tree. Still pretty confused. am

[android-developers] Re: How to add SMS to inbox in android programmatically?

2009-04-09 Thread sermojohn
But, does anyone know how I could access the sms inbox from my phone's database? As far as I have figured out, this was better documented on pervious version of the Android API. I cant even find the constants of the perimssion that I have to add to the Manifest file of my application. Has anyone

[android-developers] Re: Read the SMS already stored

2009-04-09 Thread sermojohn
You could probably, call a Cursor's method that returned the field of the specified content's datbase table. I have actually faced the same problem today, while trying to build an SMS application. My problem is that when trying to retrieve any info from the Cursor, I get a Security exception

[android-developers] Plugin download site gives 404

2009-04-09 Thread Mitch Patenaude
I was trying to install the newest SDK onto my new vista laptop, and after downloading Eclipse (ganymede) I was following the instructions to install the plugin, but https://dl-ssl.google.com/android/eclipse/ is returning 404. (the http version is also returning 404). Is this a known issue?

[android-developers] Re: content://sms/sent Read SMS

2009-04-09 Thread sermojohn
Have you tried to use the destination number of the SMS, in order to find the Contact's name from the phone's Contact list? On Mar 19, 4:36 pm, Martin martin@gmail.com wrote: Hi, I'm having a problem reading theSMSmessages from the device. When acquiring a content provider for the URI

[android-developers] What widget frameworks are available on Android platform?

2009-04-09 Thread clemsongrad
Folks, I searched a lot and could not find answer to this. I am hoping to post it here on the developer group with a hope that fellow developers can chime in. Thanks I am trying to find which mobile widget frameworks are available on the android platform. The main reason i am looking for

[android-developers] Re: content://sms/sent Read SMS

2009-04-09 Thread sermojohn
May be you should associate the two tables by using the destination number of the SMS and not the destination name. This is probable not stored for every SMS that is sent. Opening up your source code, would help a lot. On Mar 31, 5:39 am, binklee deniz.bi...@gmail.com wrote: same interest for

[android-developers] textfields for objects like in androids maps

2009-04-09 Thread puk
After clicking on an Map Object, I want this speech bubble(like in androids map application) showing the objectname and arrow-buttons to scroll through the map-objects. I tried something with canvas. But i have no idea of how to use canvas. And I'm not sure if that generaly helps. Another idea i

[android-developers] Stopping all services..

2009-04-09 Thread greggnic
Hi, I just started writing an application for android and have run into a wall. I would like my program to wait a certain amount of time and then stop all currently running services. This would be useful when falling asleep and you want to listen to music for say 30 minutes and then the music

[android-developers] How could I put tab widget at the right or left side ?

2009-04-09 Thread milton
Hi all Currently I could find tab widget which located at the upper side of the screen. (ex. Dialer, Contacts) How could I put the tab widget at the left or right side of the screen? I had checked the reference of SDK and some parts of the source code but I could not find a way to do it. Could

[android-developers] Incorrect clip rect in onDraw()?

2009-04-09 Thread Leisuresuit Larry
Hi all, We came across a strange behavior. The clip rect of our custom view is getting reset to its entire visible region, if we change the value of another view. Below is a sample app to demonstrate the behavior: main.xml: ?xml version=1.0 encoding=utf-8? LinearLayout

[android-developers] Playback of dynamic MIDI?

2009-04-09 Thread meantime
For one of my apps I generate MIDI data on the fly. Is there any way to play MIDI data from a java.io.InputStream or directly from a byte []? So far I've only seen ways to do MIDI playback from files. Given the continuous and dynamic nature of my audio there is no way I can write it to a file

[android-developers] opening gmail attachments in an activity

2009-04-09 Thread Bill
I've got a certain formatted text file that I want to have a special reader for. I can open it fine in HTMLViewer, but since it isn't really HTML, the formatting makes it difficult to read. So, I've created an activity to read it. I tested the reading part by loading an example onto the sdcard,

[android-developers] How to set a default phone number?

2009-04-09 Thread qflri...@gmail.com
If I have multiple phone numbers how can I pick a number to be default? --~--~-~--~~~---~--~~ 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] Re: Application developer wanted for contract work

2009-04-09 Thread LeO_o
Hello! I have 3 Android developers available. I'm not a recrutier, I'm a representative of software development company. I'll send you Profile of our Android Team per request. I can be reached by email elena.gredasova AT enterra-inc.com On 10 мар, 07:08, AndroidDev petersmai...@gmail.com wrote:

[android-developers] Re: How to become root in emulator?

2009-04-09 Thread tibigiur...@gmail.com
Hi Meryl You are always root in the emulator. That link is about how to gain root access on a real G1 device. I think the problem is you are trying to (re)mount a wrong partition. On my emulator /dev/block/mtdblock0 is mounted on /system, and remounting it with rw works fine. To make sure what

[android-developers] weird accelerometer readings?

2009-04-09 Thread Yuan
I implemented a simple program to record the accelerometer values as I move it around. When I'm NOT moving anything, that is, it's lying flat on a table, the values still seem to fluctuate wildly. Does anyone else notice this weirdness? I'm pasting some of the readings below: x, y, z, time

  1   2   3   >