[android-developers] How to send mail in HTML format?

2009-03-30 Thread havexz
I want to send the Email in HTML format. Currently i am using the default text format using the Intent. sendIntent.putExtra(Intent.EXTRA_TEXT, helleo); But I want to send the email in html format something llike htmlbodyhelleo/body/html Is there a way to send the mail in html format?

[android-developers] Re: can i add a click listener to a drawable?

2009-03-30 Thread Marco Nelissen
Your Drawable itself is not part of the UI, but is drawn onto something that is part of your UI. Therefore, you should attach your listener to the UI object that displays the Drawable. See also http://developer.android.com/reference/android/graphics/drawable/Drawable.html, which says Unlike a

[android-developers] Cities/Countries data provided by google API

2009-03-30 Thread Rockingteam
Hi, I am using Geocoding API for my application... How can i know the set of cities/countries for which google API provides data for? If there is a list of cities and countries, can anybody provide me with the same? Thanks in advance. --~--~-~--~~~---~--~~ You

[android-developers] Cities/Countries data provided by google API

2009-03-30 Thread Rockingteam
Hi, I am using Geocoding API for my application... How can i know the set of cities/countries for which google API provides data for? If there is a list of cities and countries, can anybody provide me with the same? Thanks in advance. --~--~-~--~~~---~--~~ You

[android-developers] Re: Current Preference Screen? (easyy)

2009-03-30 Thread Peli
How do you know that i is equal to 1 on screen A and i equal to 2 on screen B? Where do you set it? Can't you check there directly? Have you looked at the API demos for PreferenceActivity? Peli On Mar 30, 5:42 am, Noam noam.ha...@gmail.com wrote: Thanks Peli for your contribution to my

[android-developers] There is a typo in system/core/rootdir/etc/init.goldfish.sh

2009-03-30 Thread lianwei
Hello Google developers, There is a TYPO in system/core/rootdir/etc/init.goldfish.sh: qemud=`getprop.ro.kernel.android.qemud` if test -z $qemud; then radio_ril=`getprop ro.kernel.android.ril` if test -z $radio_ril; then # no need for the radio interface daemon #

[android-developers] Re: R not re-generating in Eclipse after rename of the package

2009-03-30 Thread Peli
I just wanted to point out that you should try to fix all errors in the resource files (layout, ...) first. Otherwise, if there is an error in one of those files, R.java will not be recreated, and you will see lots of more errors in your code. If you don't have any red spots in the Manifest or in

[android-developers] How to use SUSE Linux download android source code?

2009-03-30 Thread Stephen Le
Hi all: Is there anyone knows about download android source code in SUSE Linux? I've been traped in this for a long time. Can you tell me the steps if you know ? -- Sincerely! --~--~-~--~~~---~--~~ You received this message because you are

[android-developers] Playing a mp3 file istead of voice call

2009-03-30 Thread Joe
Does G1 can support the following feature: When in In Call state, user can play a mp3 file instead of the voice from microphone, and the one in the other side can hear the mp3. Can I modify the kernel part or framework part to support that with G1?

[android-developers] Android game developers desperately need optimised game engine example code ...

2009-03-30 Thread admin.androidsl...@googlemail.com
Many of you will have read or contributed to the very long thread I started a week ago on '[android-developers] Re: Anything on Android that can do smooth scrolling?' That was a very useful discussion between devs and engineers on whether additional performance could be made available to

[android-developers] Re: Android game developers desperately need optimised game engine example code ...

2009-03-30 Thread Dianne Hackborn
There is no magic in GridView and ListView. In fact there is really anti-magic -- these are not designed in any way to operate like one would do things in a game. The only thing they do at all special is take advantage of tricky features of the view hierarchy to be able to scroll their views

[android-developers] Re: R not re-generating in Eclipse after rename of the package

2009-03-30 Thread Mariano Kamp
Peli, thanks for your input. Because of the described problems I discarded the approach to make a separate beta and reverted my work. As this approach might be relevant for the future I will try to follow your suggestions next time and feed back. Thanks, Mariano On Mon, Mar 30, 2009 at

[android-developers] Re: Observation and comments on Android and regularly scheduled events

2009-03-30 Thread Dianne Hackborn
On Sun, Mar 29, 2009 at 5:58 PM, gjs garyjamessi...@gmail.com wrote: (1) Is it recommended that a Service which runs for more than a few seconds always use a wake lock in an attempt to ensure it completes ? It's not really a matter of how long you run. If you want to run at all, and don't

[android-developers] Re: looking for developer to write an image application

2009-03-30 Thread jingcheng
On Mar 30, 5:36 am, androidinsider eldev...@gmail.com wrote: Eldev LLC is looking for android developer familiar with google image search API to write a new application. where? This is a contract job with a budget of $3000. Possibility of full time work, if the job is done right. Please

[android-developers] Re: custom progress indicator ?

2009-03-30 Thread Gesh
what you need is this here http://developer.android.com/reference/android/graphics/drawable/AnimationDrawable.html there is also an example in the documentation (how lucky you are :)) of how to define that in xml. cheers, gesh. On Mar 29, 6:11 pm, matthias m.kaepp...@googlemail.com wrote:

[android-developers] Re: Android game developers desperately need optimised game engine example code ...

2009-03-30 Thread David Turner
On Mon, Mar 30, 2009 at 10:36 AM, admin.androidsl...@googlemail.com admin.androidsl...@googlemail.com wrote: Why is it a problem? Because there is not a single game in Android Market that features smooth scrolling backgrounds. Games may not be the only app needed, but they certainly need to

[android-developers] Re: Debug.startMethodTracing InternalError: file open failed

2009-03-30 Thread Mariano Kamp
I think you didn't quote enough of the log to know the answer. Obviously something didn't work when trying to start a trace. Are you on the device? Have you got a writable SD card inserted? Try to specify Debug.startMethodTracing(/sdcard/rufio); On Sat, Mar 28, 2009 at 11:35 PM, William

[android-developers] Problem with onChange of ContentObserver

2009-03-30 Thread gganesh
I have a service running, under which i have declared observer class for to notify any changes in contact list when my contact list is saved I found the onChange is executed 3 times .I could not figure out the reason. Any suggestions? where i went wrong here is my code public class

[android-developers] Re: AChartEngine - a charting framework for Android applications

2009-03-30 Thread sheik
Hi, i have downloaded the achartengine jar file and worked on some examples . From past few days i was looking for the implementation of charts in android ... i think it has given the solution But still i have some concerns regarding the Barcharts in the tilted form.I shall attach the

[android-developers] grab [Motion|Key]Events

2009-03-30 Thread skink
hi, suppose i have two 'main' subtrees ov Views in my Activity View. now under some circumstances i want only one subtree to receive touch/ key events. is it possible with one/two calls or i have to recursively disable every View in subtree which is to be disabled from getting touch/key

[android-developers] Performance: pre-instantiate activities on app launch? Good practice or not?

2009-03-30 Thread Matthias
Hi guys, our app is getting bigger and more complicated lately, and I definitely noticed a loss in responsiveness and overall snappy-ness. Besides onCreate handlers becoming slower (we use lots of custom view drawables now, because the Android stock styles don't work for us anymore), sometimes,

[android-developers] Re: App Idea: Very interesting, unique, and information efficient text-entry method -- (no keyboard(not even on screen KB))

2009-03-30 Thread TAKEphONE
Hi, Is there a free module for implementing T9 ? (or at least the required database) TIA Shimon On Mar 28, 7:46 pm, TjerkW tje...@gmail.com wrote: I used dasher before, but it was not easy to input text. I prefer just buttons. My collegues and i thought of a new way of text input: not a

[android-developers] Re: Paid upgrades discussion

2009-03-30 Thread Avraham Serour
the best option would be that google change the market options, they lack a lot of things, this is just one of them, it's a shame that we don't even have a channel to talk to market developers as opposed the channel we have here to talk to the platform devs if you plan to use what is available at

[android-developers] Application that loops every minute - how to efficiently do it

2009-03-30 Thread simonc
Hi, Does Android have a special way to loop an application every 1 minute? Or do you know of any applications (with source) that I could look at? Apparently if I use Thread.sleep(1000*60); the application may time out on me and need me to click a wait button - I just want it to keep looping

[android-developers] Some question about OrientationListener and the way of sensor( sensorlistener, sensormanager..... ) init

2009-03-30 Thread birdy
Hi all: when I study in rotation, I think we can use sensor to setRotation if we set mCurrentAppOrientation = ActivityInfo.SCREEN_ORIENTATION_SENSOR. 1.Do I think correct for mCurrentAppOrientation? I try to modify mCurrentAppOrientation = ActivityInfo.SCREEN_ORIENTATION_SENSOR then

[android-developers] No Market download in Chile on dev phone?

2009-03-30 Thread mirko
Hi, I am travalling with my ADP1 from Germany to Chile. In Chile I am connected to the internet with a private WiFi. I am able to browse through the android market. But every download keeps in the state 'starting download...'. Are downloads are blocked from Chile? Bye, Mirko

[android-developers] Re: Android game developers desperately need optimised game engine example code ...

2009-03-30 Thread admin.androidsl...@googlemail.com
Thanks for the response. Side scrolling is a very commonly used game engine and I believe that the platform needs better examples of this. Obviously other graphic engines are needed too, e.g. OpenGL - but I think getting good performance out of 2d graphics will be a very good start for many

[android-developers] Re: Application that loops every minute - how to efficiently do it

2009-03-30 Thread Mark Murphy
simonc wrote: Apparently the when you sleep() a thread it stops running for the time given. That is the definition of sleep(). ;-) I'm using it to ensure that my internet connection isn't ever open for more than a minute something like this: while (true) { if

[android-developers] Re: Buffering Background Image - Graphics Advice Sought

2009-03-30 Thread Jason Van Anden
Thanks, I will try this. My app has a lot of images drawn on a canvas, any of which can be moved and sized at any time by the user. They are in layers, and transparent, so that they can all be seen and manipulated. The graphics are circles at the moment. I tried running the app with a buffered

[android-developers] Re: Application that loops every minute - how to efficiently do it

2009-03-30 Thread Peli
There was a blog with demo code for a timer some time ago: http://android-developers.blogspot.com/2007/11/stitch-in-time.html (oops, 2007.. am I getting old?) Peli www.openintents.org On Mar 30, 3:22 pm, Mark Murphy mmur...@commonsware.com wrote: simonc wrote: Apparently the when you

[android-developers] Re: The problem about the sensor!!!

2009-03-30 Thread wanzi !
haha! I reslove it!!! ellipsoidmob...@googlemai-l.com,Thanks very much! On 3月27日, 下午6时28分, Markus Junginger mar...@junginger.biz wrote: On Mar 27, 11:11 am, Lukasz M lukasz.mosd...@gmail.com wrote: I had the same problem. I fixed it using a static sensor-reading object. Therefore while

[android-developers] Re: Dev Phone and RC33 update

2009-03-30 Thread patg
Is there any difference between a ADP1 and a jail broken G1? Pat On Mar 29, 8:31 am, Disconnect dc.disconn...@gmail.com wrote: Yes you can, and so long as you do not flash the t-mobile SPL you will be fine. (For example, do not use any tmobile dreaimg.nbh files you might come across.)

[android-developers] Re: why I can't access http://developer.android.com

2009-03-30 Thread Daliang Luo
Why? 2009/3/29 meaglith genednapara...@gmail.com All the appspot proxy server blocked. On Fri, Mar 27, 2009 at 7:41 PM, John johnliug...@gmail.com wrote: it doesn't matter, you can access it via proxy server. John On Mar 27, 2:34 pm, Eric Chan jude...@gmail.com wrote: If you being

[android-developers] access android device on pc

2009-03-30 Thread zeeshan
Hi Experts, i have recorded one file in android and trying copy it. i attached device to my pc (windows), got removeable device but cant enter into it. any solution? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[android-developers] Re: why I can't access http://developer.android.com

2009-03-30 Thread Sandy
please try opera 10 with opera turbo + OpenDns It can help you break the GWF On Mon, Mar 30, 2009 at 9:58 PM, Daliang Luo luodali...@gmail.com wrote: Why? 2009/3/29 meaglith genednapara...@gmail.com All the appspot proxy server blocked. On Fri, Mar 27, 2009 at 7:41 PM, John

[android-developers] Re: why I can't access http://developer.android.com

2009-03-30 Thread Sandy
sorry gfw On Mon, Mar 30, 2009 at 10:51 PM, Sandy lu.xiand...@gmail.com wrote: please try opera 10 with opera turbo + OpenDns It can help you break the GWF On Mon, Mar 30, 2009 at 9:58 PM, Daliang Luo luodali...@gmail.com wrote: Why? 2009/3/29 meaglith genednapara...@gmail.com All the

[android-developers] Re: why I can't access http://developer.android.com

2009-03-30 Thread Evan JIANG
Use this url: http://androidappdocs.appspot.com On Fri, Mar 27, 2009 at 2:09 PM, kingfu kingfu2...@gmail.com wrote: Now I am in China. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group.

[android-developers] Advice for possibly paying someone to port app to iPhone

2009-03-30 Thread Hayden
I am looking for advice on paying someone to port my app to the iPhone. I have a friend with some iPhone experience, so I am considering paying him with a percentage of sales for the port he makes. Has anyone had experience with a similar situation? What would be a decent % of sales to offer

[android-developers] Re: How do I make my application to be restarted after the phone is powered-on again?

2009-03-30 Thread MrChaz
Thanks for the code in the other thread. Very useful. On Mar 30, 12:39 am, Mark Murphy mmur...@commonsware.com wrote: pperotti wrote: Thanks Mark, I have just read also the response in the last update of your latest book. That was fast! ;-) -- Mark Murphy (a Commons

[android-developers] RESTful user authentication

2009-03-30 Thread Wouter
Hey, I want to develop a RESTful web service for my Android application. I have some questions and problems.. I want to use a database for the user login and signup for the beginning. But how can i make a restful webservice (in Java) where I can authenticate a user.. The user has to login with a

[android-developers] Re: RESTful user authentication

2009-03-30 Thread Mark Murphy
Wouter wrote: But how can i make a restful webservice (in Java) where I can authenticate a user.. Use HTTP authentication. See _RESTful Web Services_ (O'Reilly Associates, 2007), Chapter 8, pages 238-243. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy

[android-developers] Re: RESTful user authentication

2009-03-30 Thread Wouter
And can i use a database where i can put the user data in? Can i make a restfull web service with eclipse? On Mar 30, 5:36 pm, Mark Murphy mmur...@commonsware.com wrote: Wouter wrote: But how can i make a restful webservice (in Java) where I can authenticate a user.. Use HTTP

[android-developers] Re: Advice for possibly paying someone to port app to iPhone

2009-03-30 Thread droozen
I take it, then, that you are not an iPhone developer. Not sure which way I would go on this one. If your friend already has some iPhone experience, I assume he already has an iPhone developer account which you'll want to use. In which case it might be better to set up a contract where he uses

[android-developers] Re: RESTful user authentication

2009-03-30 Thread JP
On Mar 30, 8:41 am, Wouter wouterg...@gmail.com wrote: And can i use a database where i can put the user data in? Can i make a restfull web service with eclipse? Check out Google App Engine. It eliminates the overhead of setting up a web server.

[android-developers] Re: Android game developers desperately need optimised game engine example code ...

2009-03-30 Thread Sundog
On Mar 30, 4:10 am, David Turner di...@android.com wrote: On Mon, Mar 30, 2009 at 10:36 AM, admin.androidsl...@googlemail.com Also, Android is not a game console per se, and survival of the platform will depend much more on the usefulness of the applications that run on it, the

[android-developers] Re: Android game developers desperately need optimised game engine example code ...

2009-03-30 Thread Romain Guy
So what I am saying is there is some magic in the GridView / ListView code which allows for smooth scrolling which games on Android platform desperately need. Despite going through the source code extensively I cannot discover what is needed to apply this to a game engine. GridView and

[android-developers] Re: custom progress indicator ?

2009-03-30 Thread Alexey
it does look like what i need thanks ! On Mar 30, 4:46 am, Gesh geo...@neofonie.de wrote: what you need is this herehttp://developer.android.com/reference/android/graphics/drawable/Anim... there is also an example in the documentation (how lucky you are :)) of how to define that in xml.

[android-developers] Re: openInputStream problem

2009-03-30 Thread Tejas
Well yes it was going into an infinite loop.. But suddenly its started working !! but its slow...! Greg, I'll try your suggestion. Regards, Tej On Mar 20, 12:02 am, Greg Krimer gkri...@gmail.com wrote: What do you mean readBytes never gets set to -1? Is the code going into an infinite loop?

[android-developers] Re: Dev Phone and RC33 update

2009-03-30 Thread vendor
The firmware is different. ADP 1.1 is made by google and jail broken G1 probably runs on JF firmware which is a 3rd party developer. 2009/3/30 patg pat.gioann...@gmail.com Is there any difference between a ADP1 and a jail broken G1? Pat On Mar 29, 8:31 am, Disconnect

[android-developers] Re: RESTful user authentication

2009-03-30 Thread Wouter
But i cant make a java restful webservice with the Google App Engine! Or am i wrong? On Mar 30, 6:02 pm, JP joachim.pfeif...@gmail.com wrote: On Mar 30, 8:41 am, Wouter wouterg...@gmail.com wrote: And can i use a database where i can put the user data in? Can i make a restfull web service

[android-developers] Re: Android game developers desperately need optimised game engine example code ...

2009-03-30 Thread Marco Nelissen
On Mon, Mar 30, 2009 at 2:14 AM, admin.androidsl...@googlemail.com admin.androidsl...@googlemail.com wrote: Thanks for the response. Side scrolling is a very commonly used game engine and I believe that the platform needs better examples of this. Obviously other graphic engines are needed

[android-developers] Re: Android game developers desperately need optimised game engine example code ...

2009-03-30 Thread Sundog
I find this more depressing than otherwise. So whoever wrote those views wasn't happy with the system's response either and had to optimize. Doesn't bode well for the side-scrollers. On Mar 30, 10:07 am, Romain Guy romain...@google.com wrote: GridView and ListView don't use any magic. They

[android-developers] Re: Performance: pre-instantiate activities on app launch? Good practice or not?

2009-03-30 Thread Dianne Hackborn
I would really discourage this. We try very hard to keep app startup time fast so the user doesn't need to sit there waiting for it. If you really have lots of expensive thing that you can't avoid doing later, I would recommend doing that in the background after you have your app UI up rather

[android-developers] Re: RESTful user authentication

2009-03-30 Thread Wouter
How can i make a Java restful webservice with a (mysql) database? I want to login and do other stuff later with the webservice like getting data from a user, friend, places.. On Mar 30, 6:39 pm, Wouter wouterg...@gmail.com wrote: But i cant make a java restful webservice with the Google App

[android-developers] Re: Some question about OrientationListener and the way of sensor( sensorlistener, sensormanager..... ) init

2009-03-30 Thread Dianne Hackborn
It is look like you are talking about implementation in the platform, so this should be posted on android-platform. Also your message is really really hard to understand, so if you do repost there some context about you are talking about would help a lot. :) On Mon, Mar 30, 2009 at 5:29 AM,

[android-developers] ImageView problem

2009-03-30 Thread Ramesh
Hi, I am working on an android project where the local and remote image files and their thumbnails are to be displayed. The imageview works perfectly till the thumbnail part. After that it crashes depending upon the size of the image file. For example, if the size was ~380kb, it will open once

[android-developers] Re: grab [Motion|Key]Events

2009-03-30 Thread Dianne Hackborn
You can implement dispatchTouchEvent at any view on the tree where you want to customize dispatching. I don't believe we have a view flag to turn off dispatching without actually making the view/view group invisible. On Mon, Mar 30, 2009 at 2:51 AM, skink psk...@gmail.com wrote: hi, suppose

[android-developers] what is the best SurfaceHolder Type for canvas?

2009-03-30 Thread William
SurfaceHolder holder = getHolder(); i want to draw using canvas and need as much performance as possible which holder type should i set it to? I know the canvas is not hardware accelerated but how can I get a performance boost when using it? holder.setType(SurfaceHolder.SURFACE_TYPE_HARDWARE);

[android-developers] Re: Android game developers desperately need optimised game engine example code ...

2009-03-30 Thread Marco Nelissen
Unless you're trying to build your side-scroller using multiple nested layouts and dozens of textviews, it's completely irrelevant. On Mon, Mar 30, 2009 at 9:45 AM, Sundog sunns...@gmail.com wrote: I find this more depressing than otherwise. So whoever wrote those views wasn't happy with the

[android-developers] Re: grab [Motion|Key]Events

2009-03-30 Thread skink
On 30 Mar, 14:56, Dianne Hackborn hack...@android.com wrote: You can implement dispatchTouchEvent at any view on the tree where you want to customize dispatching.  I don't believe we have a view flag to turn off dispatching without actually making the view/view group invisible. thanks

[android-developers] Re: RESTful user authentication

2009-03-30 Thread Mark Murphy
Wouter wrote: How can i make a Java restful webservice with a (mysql) database? I want to login and do other stuff later with the webservice like getting data from a user, friend, places.. These questions are not Android questions. You will have better luck asking those questions some place

[android-developers] Re: Android game developers desperately need optimised game engine example code ...

2009-03-30 Thread Romain Guy
I wrote a large part of those views and it seems perfectly normal to me for the framework to do everything it can to provide with the best user experience. And that includes optimizing. Using bitmaps not only makes things faster it also helps performing less operations, which helps battery life

[android-developers] Re: HTML/CSS Specification for T1 - android

2009-03-30 Thread j
From my experiments, the iPhone browser css attribute set is quite different from Android browser. For example, I am trying to make a transparent textarea (so I can show a custom background text field image). On iPhone these css attributes works: border:none; background-color: transparent;

[android-developers] Re: how to add --core-library to Eclipse ?

2009-03-30 Thread Dan Bornstein
On Thu, Mar 26, 2009 at 9:43 AM, DaRolla netzprofi.ma...@googlemail.com wrote: I need to know how to add the parameter --core-library to Eclipse, especially to DEX. I managed to work around with activitycreator and ant scripts (build.xml), but this way it takes too long. Where can I

[android-developers] How to track Android PIM changes?

2009-03-30 Thread AL
Hi, Experts Our team is creating an Exchange ActiveSync client for an Android product. We met the issue of tracking contacts/calendar changes. Here are some proposals we can image. Please advise or give your suggestions. 1. Like Funambol SyncML for Android, before the sync session, calculate

[android-developers] How to progress bar before going to next activity

2009-03-30 Thread amx
Hi All, My application involves doing some calculation on the first activity and sending the information to the second activity. So while the calculation is being done , I want to show a activity / progress / busy indicator on the first activity , before going to the second one. Is there any way

[android-developers] How to change Data sync settings

2009-03-30 Thread Dennis
Good day, I need to change the Data Sync settings on my G1 Phone. But I can't seem to find any options to change it. I'm giving my G1 phone to my wife and she needs to sync here gmail to that phone. I was able to sync my gmails to my phone, work great. But how to change the settings to my sync

[android-developers] market://details not working?

2009-03-30 Thread Michael Elsdörfer
Apparently, I supposed to be able to open the Market page of my app by querying an intent with an URL like: market://details?id=app_id where app_id seems to be the package name: http://www.google.com/support/forum/p/Android+Market/thread?tid=5c8501d73226fad8hl=en However, while this seems to

[android-developers] Re: No Market download in Chile on dev phone?

2009-03-30 Thread Oli Bird
From many places, you need to be logged into chat before downloads can start.. Cheers, Oli Bird On Mar 30, 2:05 pm, mirko mirkocze...@googlemail.com wrote: Hi, I am travalling with my ADP1 from Germany to Chile. In Chile I am connected to the internet with a private WiFi. I am able to

[android-developers] what is /dev/qmi of reference-ril.c ?

2009-03-30 Thread lvcoffee
reference-ril.c static void requestSetupDefaultPDP(void *data, size_t datalen, RIL_Token t) fd = open (/dev/qmi, O_RDWR); if (fd = 0) { /* the device doesn't exist on the emulator */ LOGD(opened the qmi device\n); asprintf(cmd, up:%s, apn); len =

[android-developers] Calendar application

2009-03-30 Thread land0
Thank you all so much you have given me a part of my life back that I did not know was missing. I have been using my G1 phone for a month now. As a result I have come across a couple of small improvements that I think would really blow open the productivity of the calendar. If there was the

[android-developers] Trouble with Chronometer object

2009-03-30 Thread Injeniero Barsa
I want to set up a Chronometer in my application. But the Chronometer widget has a sort of glitch. When I call the stop() method, the display freezes but the countup continues. For instance. I call start () and 4 seconds later I call stop(). 6 seconds later I call start() but It doesn't start

[android-developers] Can not install in eclipse

2009-03-30 Thread duguyitian
Hi, I have installed eclipse 3.4 and JDK6 successfully. However, when try to install ADT as following steps: 1. Open eclipse 2. Help-Software Updates-Available Software-Add Site-Archive 3. Select J:\android-sdk-windows-1.0_r1.zip, then, the location will

[android-developers] Re: fullscreen rendering and MEMORY_TYPE_GPU?

2009-03-30 Thread Jint3i
I would like to know why this doesn't work as well. I'm able to use the options mentioned by gigadude but the device fails to hide the notification and title bars and also fails to render the OpenGL scene when the MEMORY_TYPE_GPU flag is set with Window.requestFeature On Mar 6, 1:16 am, gigadude

[android-developers] Re: Problem with onChange of ContentObserver

2009-03-30 Thread Aaron
In your case, three tables have been updated after the contact is saved: people, contact_methods and phones. So your observer got notified three times. On Mar 30, 8:12 pm, gganesh ganesh@gmail.com wrote: I have a service running, under which i have declared  observer class for to notify

[android-developers] Load an external library in monkey

2009-03-30 Thread Phinex
HI I want to load an external library in monkey.For example,i write a series method in a new class with java,and i want to pack it to be a library like .so/.dll/.JAR or something else.Then the monkey is to load the library ,to use the mothod in it. I know the source code must be rebuild ,but how

[android-developers] ImageViews and onFocusChanged()

2009-03-30 Thread Oli Bird
Hi there.. I have an extension of ImageView that I would like to be able to highlight on focus gain. At present, the highlighting works fairly well using onFocusChanged() and setColorTint(), but I seem to have very little if any control over when onFocusChanged() gets called. I have a number of

[android-developers] Re: catching a trackball event

2009-03-30 Thread Ingersol
If you using emulator, make sure you setting trackball mode on. You can do it by clicking F6 (permanent mode) or pressing delete key on your keyboard (temporary mode). Then in top left corner of emulator screen you can see trackball icon. --~--~-~--~~~---~--~~ You

[android-developers] Re: where's android.telephony.TelephonyProperties moved to?

2009-03-30 Thread Orianeli
Actually I have a similar question too: i was not able to find the android.provider.telephony.SMS_RECEIVED in the API. I suppose the current reference is not updated? Thanks! On Mar 29, 2:23 am, savio savioche...@gmail.com wrote: Hi, I want to use android.telephony.TelephonyProperties, but I

[android-developers] Re: HelloGallery tutorial android.R.styleable cannot be resolved

2009-03-30 Thread Jonathan
Yes, it seems 'styleable' got removed from the SDK and the tutorial(s) hasn't been updated. There was a message a couple weeks ago about this and I'm trying to see if I can figure out what Dianne Hackborn means by use declare-styleable in your own app. to fix this. On Mar 23, 12:30 pm, ppmoore

[android-developers] SMS in android

2009-03-30 Thread aglagla
Hello World! I'm a beginner in android platform.I want to know how I can send and receive a sms with android emulator.I have followed example given in this link: http://mobiforge.com/developing/story/sms-messaging-android But I can't really send and launch the second emulator for receiving an

[android-developers] Google Streetview Data Format

2009-03-30 Thread AlphaBetaNu
Does anyone know what the exact data format of the google streetview is for Android? Was wondering about the exact data format of the google streetview for non-flash devices. Is this is the same as for flash and they have custom renderer for it? Thanks! ABN

[android-developers] Re: SimpleCursorAdapter and blobs

2009-03-30 Thread cannehal
I have similar issue. Cannot retrieve image from database (BLOB). As far as I know it should work without writing your own ViewBinder, because setImageView is doing all the work. Can someone help us with this issue? On 25 Mar, 20:09, prout thesuperbi...@gmail.com wrote: hi, On 24 mar, 17:40,

[android-developers] Design choices for SensorManager and apps using SensorManager

2009-03-30 Thread Sam
Hi, From my understanding, SensorManager spawns a thread in its calling application to poll sensor data while the SensorService in system server controls the sensor. I have 2 questions: 1. Why Android designs the SensorManager and SensorService in this way? Most of time in Android, XxxManager

[android-developers] passing intents

2009-03-30 Thread max
how do you pass an intent from a service to a new activity launched from a main activity ? there's a passextra( intent src ); but i dont think thats what im looking for ? activity main start service( intent wuteverserviceintent ); activity main start activity( intent newactivityintent );

[android-developers] Wifi 3G

2009-03-30 Thread Mouna
Dears I need a Library that opens WIFI connection And 3G connection at the same time and then start transmiting sockets to 2 PC ( servers) connected to the wifi-3g Networks I Couldnt find in Wifi.manager Android.net Lib. any thing that can do that . Is there any body that invistigted such

[android-developers] market://details not working?

2009-03-30 Thread Michael Elsdörfer
Apparently, I'm supposed to be able to open my app in the Android market by querying an Intent with an URL like: market://details?id=app_id app_id seems to be the package name, e.g. say com.NamcoNetworks.PacMan See for example:

[android-developers] passing intents

2009-03-30 Thread provoca...@msn.com
I'm launching a new activity and trying to pass an intent as data along, so i can stopService a service that i launched with the intent im trying to pass. I see there is a putExtras(Intent src), but i dont think that is what im looking for. Anyone know how to pass an intent without using static

[android-developers] please help me , i need some ebooks about android!

2009-03-30 Thread manhp...@gmail.com
hi , everyone I'm finding some ebooks about android For Examples : Pro andoird , T-Mobile G1 For Dummies,Hello, Android: Introducing Google's Mobile Development Platform , Android Application Development: Programming with the Google SDK, The Busy Coder's Guide to Android Development ,Google

[android-developers] Re: ImageViews and onFocusChanged()

2009-03-30 Thread Romain Guy
Views in a GridView are not focused, they get selected. On Mon, Mar 30, 2009 at 5:56 AM, Oli Bird olibir...@gmail.com wrote: Hi there.. I have an extension of ImageView that I would like to be able to highlight on focus gain. At present, the highlighting works fairly well using

[android-developers] dex failure

2009-03-30 Thread BeWillDir
I've been using ant to build my .apk on one of my office systems. Works fine. Now I'm preparing for a trip and I want to continue development on my netbook, but I'm haviing trouble with the build process. It appears to run the compiler OK, and generates a set of class files identical to that on

[android-developers] Re: market://details not working?

2009-03-30 Thread droozen
I'm guessing you are working off some old data. See this page: http://developer.android.com/guide/publishing/publishing.html The intent should be a Uri something like market://search?q=pname:package or market://search?q=pub:Developer Name to see all your apps. On Mar 29, 3:45 pm, Michael

[android-developers] Re: custom progress indicator ?

2009-03-30 Thread Alexey
hm ... apparently its not working in from onResume , works fine from onClick listener . Anybody figured out how to make it this from onResume ? On Mar 30, 11:07 am, Alexey avolo...@gmail.com wrote: it does look like what i need thanks ! On Mar 30, 4:46 am, Gesh geo...@neofonie.de wrote:

[android-developers] Re: Android game developers desperately need optimised game engine example code ...

2009-03-30 Thread Stoyan Damov
I will try to code a demo which does side scrolling tonight, but I don't know opengl, so I won't use it. My phone is getting worse every day (I haven't used it as phone as a matter of fact for a while) but in case it does manage to show smooth scrolling, in the 5 seconds idle period, when it's

[android-developers] Re: Android game developers desperately need optimised game engine example code ...

2009-03-30 Thread admin.androidsl...@googlemail.com
Thanks Stoyan - I look forward to trying out your code. Very much appreciated. On Mar 30, 8:30 pm, Stoyan Damov stoyan.da...@gmail.com wrote: I will try to code a demo which does side scrolling tonight, but I don't know opengl, so I won't use it. My phone is getting worse every day (I

[android-developers] Photo Picker

2009-03-30 Thread Bobbie
I am having issues with some photo picker code that I am using. All of my pictures are stored on an SD card. The SD card is mounted and I can take pictures no problem. However, when I select a picture from the picker and output the location of the file, I should get:

[android-developers] Re: Debug.startMethodTracing InternalError: file open failed

2009-03-30 Thread fadden
On Mar 28, 2:35 pm, William william.caine...@gmail.com wrote: i put this in my oncreate method and get an error, file open failed. what am i doing wrong? Debug.startMethodTracing(rufio); Give it a full path, like /sdcard/rufio. --~--~-~--~~~---~--~~ You

[android-developers] Android Physics Engine

2009-03-30 Thread mscwd01
Does anyone know of, or have implemented, a physics engine which runs smoothly in Android? I have spent the last couple of days trying Phys2D and JBox2D, however both perform very poorly - I am struggling to get even a few objects to simulate smoothly as frequent garbage collection spoils it.

[android-developers] Re: IntBuffer Overflow - OpenGL ES

2009-03-30 Thread fadden
On Mar 30, 4:04 am, Daniel Johansson hann...@gmail.com wrote: I'm experiencing the same behavior, and I'm pretty sure it's a bug. A handful of bugs in the nio buffer implementation have been found and fixed. If you have some code that demonstrates the problem, please file a bug on

[android-developers] Re: dex failure

2009-03-30 Thread Dan Bornstein
On Mon, Mar 30, 2009 at 11:12 AM, BeWillDir wmmichael...@gmail.com wrote: Now I'm preparing for a trip and I want to continue development on my netbook, but I'm haviing trouble with the build process. It appears to run the compiler OK, and generates a set of class files identical to that on

  1   2   >