[android-developers] Re: onReceive not triggering for SEND / image

2009-09-01 Thread Dianne Hackborn
SEND is an activity action. All you need to do is have it in your manifest for an activity, as you have shown, and you know it is working because you see it in the share menu, and when you select your item in the share menu your activity will be launched with the intent. That is all there is to i

[android-developers] Re: onReceive not triggering for SEND / image

2009-09-01 Thread EnnaN
FOr some more information: I did try to add the intent to an "receiver" in the manifest XML on a tip i got, but this not only didn't work to start my receiver class, it also removed the "share" option from the image i was trying to do something with... So not so big a succes. I'm sure it's a small

[android-developers] Re: Hmm... at last ADC2 is out of our way ... tell about your app and experience

2009-09-01 Thread JP
Augmented Reality. I've got a comp ed of AugmentThis! in the running. This round I didn't stress over the ADC, for a number of reasons, not the least that PURE LUCK will play a big role again. So I got the release candidate ready about a week before deadline. Of course there's always room to sque

[android-developers] Re: Hmm... at last ADC2 is out of our way ... tell about your app and experience

2009-09-01 Thread Rud
Just wait until next year. I'm going to do something that will use as much of the Google web structure as possible. Just didn't have enough time this year to learn all of it and do an Android app. Rud On Sep 2, 12:57 am, Chi Kit Leung wrote: > The games only? > Did any person submit any busi

[android-developers] Re: How to read in a large array of chars, quickly?

2009-09-01 Thread Dmitry.Skiba
In C++ char is one byte long, so memcpy works ok. But one-byte char is a real pain when it comes to internationalization. Java's jchar is like wchar_t in C++ and 2 bytes long. If you are serious about this conversion and there is no way to avoid it, and it is a real bottleneck, I suggest you to wr

[android-developers] Re: get the path of a file

2009-09-01 Thread SrilankanKK
On Sep 1, 10:58 am, "Dexter's Brain" wrote: > The Uri seems to be incorrect. "file://sdcard/myfile.zip" > > You can directly specify a file uri like Uri.fromFile(new File("/ > sdcard/myfile.zip")) > > Regards, > Dexter. > > On Sep 1, 11:35 am, SrilankanKK wrote: > > > Hi > > > I have create a

[android-developers] Re: Hmm... at last ADC2 is out of our way ... tell about your app and experience

2009-09-01 Thread Chi Kit Leung
The games only? Did any person submit any business type apps? On Wed, Sep 2, 2009 at 3:23 PM, -v- wrote: > > > I uploaded an app called TennisNow! Sleepless night, you bet! We were > a team of 3 ..me and 2 more from India (freind and his wife). We > started just 1 month back..I work in Java so

[android-developers] Re: Hmm... at last ADC2 is out of our way ... tell about your app and experience

2009-09-01 Thread -v-
I uploaded an app called TennisNow! Sleepless night, you bet! We were a team of 3 ..me and 2 more from India (freind and his wife). We started just 1 month back..I work in Java so I thought writing apps in Android SDK will be a cake walk :). Couldnt be more wrong. What I didnt like is this redefi

[android-developers] Re: Two applications sharing android:sharedUserID

2009-09-01 Thread sandy8531
This is really bad. When one application is uninstalled the other application stops working correctly - and users have no idea why the application fails, they just end up blaming the application developer. BTW - I do not believe the android marketplace provides a way to just reinstall without an

[android-developers] Re: Help in the "HelloMapView " tuto

2009-09-01 Thread powerbyte
Set project build target to "Google API" and try. Select your project in PackageExplorer and right mouse click, select properties. Select "Android" in left pane and now "Google APIs" to Verify Open default.properties and you see last line as target=Google Inc.:Google APIs:3 On Sep 1, 6:29 pm,

[android-developers] how to post something thing on Facebook profile?

2009-09-01 Thread Y2U
Hi guys, Im developing an application related to daily horoscopes. I have to add a functionality that allows user to post his/her horoscope on his/ her facebook profile. as far as i know we have to get some permissions from the user to post things to their profiles. but i dont know how to do that

[android-developers] Re: Problem in simple Code SQLite

2009-09-01 Thread powerbyte
add moveToFirst() after Cursor c=db.query(DATABASE_TABLE, new String[] { COL_ID,COL_NAME}, null, null, null, null, null); c.moveToFirst(); and before closing db.close() also close Cursor c.close(); On Sep 2, 9:17 am, "Bharath B.G." wrote: > *Here is the logcat, i got this when i changed the

[android-developers] Re: 5 mins to ADC II submission deadline - so what is your submission?

2009-09-01 Thread Robert Green
I submitted a trial version of Light Racer 3D. It's full LAN multiplayer + 5 levels of the full game, which I also released on to the market yesterday. I think I put in 110 hours in the past week to get it done on time. It's submitted to the action category as well. There are dev videos on you

[android-developers] Re: Problem in simple Code SQLite

2009-09-01 Thread Bharath B.G.
*Here is the logcat, i got this when i changed the table name n hence created a new table also tell me how to wipe out the data from the database so that i can clear all the tables* 09-02 09:41:51.778: ERROR/Database(710): Leak found 09-02 09:41:51.778: ERROR/Database(710): java.lang.IllegalStateE

[android-developers] Re: SurfaceView to slow for games? OpenGL necessary to do games?

2009-09-01 Thread Robert Green
Light Racer 3D uses dynamic text by drawing to a HUD canvas and then uploading that texture for each update. It did work to upload the new texture every frame (score changing every tick) but it did have a slight impact on performance. I ended up just updating every 10 frames. For my next game I

[android-developers] Re: Problem in simple Code SQLite

2009-09-01 Thread Bharath B.G.
Hi, i put the code inside the try catch block and the error is bcoz of tables(there may be other errors too but first i hav to remove this error) now my question is where exactly is the database files, where they get stored...? in workspace or system32 folder or where...? bcoz i couldnt find the f

[android-developers] Re: Hmm... at last ADC2 is out of our way ... tell about your app and experience

2009-09-01 Thread CraigsRace
I decided to enter the competition 2 months ago. I started working on my entry by reusing code from 3 other projects that I had done before. I spent about 2 weeks putting it all together. Once I had something up and running, a Graphic Artist (Liam Welford) from England contacted me about one of

[android-developers] Re: XML/RSS search

2009-09-01 Thread russell.harro...@designvisa.com
It would seem simple using something like http://www.anddev.org/parsing_xml_from_the_net_-_using_the_saxparser-t353.html But from what I have read that code is no longer support or parts have been changed? I would also need to some how change the URL to the RSS on each search. On Sep 1, 9:11 pm,

[android-developers] Re: Activity | Theme_Dialog

2009-09-01 Thread Atif Gulzar
bump -- Best Regards, Atif Gulzar I Unicode, ɹɐzlnƃ ɟıʇɐ On Tue, Sep 1, 2009 at 1:04 PM, Atif Gulzar wrote: > Hi all, > > When I apply setTheme(android.R.style.Theme_Dialog); to my activity. The > width of the activity is wrapped to its content and some time it is very > skinny. Is it

[android-developers] Re: Hmm... at last ADC2 is out of our way ... tell about your app and experience

2009-09-01 Thread Rud
I actually submitted mine about 6 hours before the deadling. Amazing! Biggest hassle I had was fighting a cold/flu that started last Tuesday. Fortunately I am retired so could work as I could and sleep at odd hours. My application is the arcade game "Galactic Guardian: Zap GPS". It uses the sens

[android-developers] How would I display selective text from a website?

2009-09-01 Thread DemoShadow
For example, display the text "Images" on google.com --~--~-~--~~~---~--~~ 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] how to implement blur animation?

2009-09-01 Thread lolo
I want to implement a gaussian blur animation, so i tried blurmaskfilter but it didn't work.Maybe the blurmaskfilter only works on alpha channel? And I found a blurfilter function in framework, it seems implement the gaussian blur. Whether I can invoke the blurfilter in the skdraw::drawbitmap to

[android-developers] Re: 5 mins to ADC II submission deadline - so what is your submission?

2009-09-01 Thread Rud
I actually submitted mine about 6 hours before the deadling. Amazing! It is "Galactic Guardian: Zap GPS". It uses the sensors to shoot GPS satellites. I challenge you to clean the sky when "Command and Control" and "Cloaking" are both active. See more at http://sites.google.com/site/mysticlakes

[android-developers] Re: there are only five animations for android? how can i extend this feature

2009-09-01 Thread LemonDev
thanks. you mean i can't use the Animation object anymore, and i should do the "blur" in my code . but the problem is i don't use the "blur" separately: i want to mix the blur , scale and alpha , so i need to code the "scale" and "alpha" myself ? the android use Skia to draw bitmap, so weather

[android-developers] Re: SurfaceView to slow for games? OpenGL necessary to do games?

2009-09-01 Thread David Minor
I believe you can also draw text on a Canvas, and then use the underlying bitmap to create a texture. On Sep 1, 4:21 pm, Dan Sherman wrote: > Yeah, that's what we were looking into doing.  Was just hoping that there > might be a nice framework I missed somehow :) > > Thanks man :) > > On Tue, Se

[android-developers] Re: Keeping graphics running through orientation change

2009-09-01 Thread David Minor
Heh, sorry about the double post, didn't realize I posted that first message. So I changed my code to handle orientation config changes, rather than letting my activity get killed & recreated, and the problem has gone away. On Aug 30, 10:19 am, David Minor wrote: > Is the blur done using OpenGL

[android-developers] Re: what could disable the "back" button...

2009-09-01 Thread Dianne Hackborn
Look at the log. Look at "adb shell dumpsys activity" to see the current history stack. Use the debugger to step through your code when in the situation where you should be going back but aren't. On Tue, Sep 1, 2009 at 7:00 PM, sdphil wrote: > > I have a bunch of activities that are launching

[android-developers] Re: there are only five animations for android? how can i extend this feature

2009-09-01 Thread Dianne Hackborn
You'll need to take a snapshot of the thing you are blurring, perform a blur operation on that bitmap (which you will need to write yourself), and then you can draw the bitmap. On Tue, Sep 1, 2009 at 7:14 PM, LemonDev wrote: > >as we known we can use predefined animations in android > develo

[android-developers] Re: How to read in a large array of chars, quickly?

2009-09-01 Thread WoodManEXP
Hi Dianne, Thank you for replying. Frankly, I have been unable to figure out how to copy from a byte[] to a char[] except with round-about methods like 1. Forming 2 bytes into a char using bit shifting and or'ing 2. Using the java.nio classes (which are S L O W) if you need to do lots of transf

[android-developers] there are only five animations for android? how can i extend this feature

2009-09-01 Thread LemonDev
as we known we can use predefined animations in android developing, they are : alpha animation, scale animation, rotate animation, translate animation and skew animation(extend animation using Matrix's setSkew function). though ,we can implement other effect using the Matrix, but it can only

[android-developers] Re: Link to Amazon MP3 Store?

2009-09-01 Thread Peter Jeffe
If you mean how to invoke the Amazon MP3 app through an intent, you can do something like this: String query = // put query string here Intent i = new Intent(); i.setAction(Intent.ACTION_SEARCH); i.setClassName("com.amazon.mp3", "com.amazon.mp3.android.client.SearchActivity"); i.putExtra("actionS

[android-developers] what could disable the "back" button...

2009-09-01 Thread sdphil
I have a bunch of activities that are launching each other through intents. somehow, i got into a code state where some of the screens the back button (physical button) works, but others it does not. I didn't do anything intentionally to disable the back button - what could be causing the back b

[android-developers] Re: Is there any gmail API for android now?

2009-09-01 Thread Chi Kit Leung
I don't think they have a Gmail API built-in sdk. But I know there is a java version of Gmail API http://g4j.sourceforge.net/. I have not tried in Android. On Tue, Sep 1, 2009 at 11:40 PM, Liang wrote: > > I want to write an app that needs to access gmail, but i googled a lot > and cannot find

[android-developers] Re: How to read in a large array of chars, quickly?

2009-09-01 Thread JP
Similar past experience here - As trivial as it seems it's a buster in Java. Copying over a byte at a time is a way out that I've used in the past - on the server side, and it's a solution that leaves that sense of guilt of wasting resources. Not having tried this, I'd venture to see if the I/O st

[android-developers] Re: How to read in a large array of chars, quickly?

2009-09-01 Thread Dianne Hackborn
How long does it take to just copy from a byte[] to your own char[] in code? On Tue, Sep 1, 2009 at 5:13 PM, WoodManEXP wrote: > > This is sort of a java question too… > > How to read in a large array of chars, quickly? > > I have a file on the /sdcard/ with a million chars (2 bytes each) that >

[android-developers] Re: Triggering an application on a special gesture / event

2009-09-01 Thread Dianne Hackborn
If you want to modify the system (that is are building your own device), then android-porting is the place to ask. If you aren't doing that, the answer remains that you can't do what you want from an application. On Tue, Sep 1, 2009 at 5:19 PM, Dinesh wrote: > > Alright, then how can I hook int

[android-developers] Re: 5 mins to ADC II submission deadline - so what is your submission?

2009-09-01 Thread CraigsRace
Looking forward to seeing Seawasp! We will be competing in the same category. :) My entry: http://headtoheadracing.appspot.com/ Yes, I put an expiry in. Good luck to all! Should be fun! :) On Sep 2, 3:27 am, Michael wrote: > Hi, > > i submitted an OpenGL powered action/arcade game called

[android-developers] Re: Popup a spinner when clicking on a TextView

2009-09-01 Thread WoodManEXP
I have had success making stuff appear and disappear with "setVisibility()." No visability, no response to user events. visability and response to user events. Good luck! On Sep 1, 4:28 pm, Jonas wrote: > Hi, > > How can I popup a spinner when clicking on a TextView? > I then like to choose a v

[android-developers] Re: Triggering an application on a special gesture / event

2009-09-01 Thread Dinesh
Alright, then how can I hook into the system and notify my application of this particular event? Thanks. Dinesh On Aug 30, 11:34 pm, Romain Guy wrote: > No, this is not possible. Applications cannot listen to touch/key > events that are not sent to the application itself. Only the system > can

[android-developers] Google Android Challenge II bugix..!

2009-09-01 Thread sommeralex
Hello Google! I cant find a proper email to contact you, therefore, i write you here.. I have submitted an Application for the google android challenge but did a big mistake when I was re-send the application. I removed the Allow Android Mock Location Permission but forgot to remove the testProvi

[android-developers] Support for MultiPart in Webkit/Browser

2009-09-01 Thread George
Does anyone know whether there is support for Multipart MIME in Android's port of WebKit? If yes, what is the extent of support? Thanks, George --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" grou

[android-developers] How to read in a large array of chars, quickly?

2009-09-01 Thread WoodManEXP
This is sort of a java question too… How to read in a large array of chars, quickly? I have a file on the /sdcard/ with a million chars (2 bytes each) that I would like to read in quickly. It is a binary file written from another system and I cannot change it. It can be read into a byte[] array

[android-developers] Re: Who makes embedded hardware Android devices?

2009-09-01 Thread L!TH!UM
How difficult would the Android porting be? Sorry, I could not resist. On Sep 1, 4:30 pm, "Roman ( T-Mobile USA)" wrote: > Check out the following pages about smartq5/7. It's a device with > bluetooth and Wifi support. > > Don't ask me how difficult the Android porting would be. > > http://

[android-developers] Re: Who makes embedded hardware Android devices?

2009-09-01 Thread Roman ( T-Mobile USA)
Check out the following pages about smartq5/7. It's a device with bluetooth and Wifi support. Don't ask me how difficult the Android porting would be. http://www.engadget.com/2009/02/12/smartq-5-touchscreen-pmp-mid-promises-wifi-bluetooth?icid=sphere_blogsmith_inpage_engadget http://www.pocketa

[android-developers] Re: SurfaceView to slow for games? OpenGL necessary to do games?

2009-09-01 Thread Dan Sherman
Yeah, that's what we were looking into doing. Was just hoping that there might be a nice framework I missed somehow :) Thanks man :) On Tue, Sep 1, 2009 at 3:10 PM, Phred wrote: > > Dan,I've yet to start messing with GL ES so this is coming from > Direct3D experience but the idea is the same.

[android-developers] Re: invalidate thumbnails in a GridView

2009-09-01 Thread sdphil
nevermind, i'm a tard - works exactly as expected. On Sep 1, 4:24 pm, sdphil wrote: > hm...  even tried adapter.notifyDataSetChanged() as well - same > result! > > On Sep 1, 4:09 pm, sdphil wrote: > > > i have a gridview with a bunch of thumbnails in it.  when it first > > gets draw, I put in a

[android-developers] Re: invalidate thumbnails in a GridView

2009-09-01 Thread sdphil
hm... even tried adapter.notifyDataSetChanged() as well - same result! On Sep 1, 4:09 pm, sdphil wrote: > i have a gridview with a bunch of thumbnails in it.  when it first > gets draw, I put in a default icon. > > in a separate thread, i retrieve a bunch of images. > > when all those images ar

[android-developers] Problem In a call Notification( Android 1.5 and Eclipse 3.4.2 )

2009-09-01 Thread mrvsabari
Hi, I am new to Android Development. I used a Android 1.5 and Eclipse 3.4.2 and i created a call notification application.if i made a call from the Eclipse DDMS at that timeit throws an error message in the Logcat. 09-01 12:36:54.517: ERROR/MediaPlayerService(542): Couldn't open fd for con

[android-developers] invalidate thumbnails in a GridView

2009-09-01 Thread sdphil
i have a gridview with a bunch of thumbnails in it. when it first gets draw, I put in a default icon. in a separate thread, i retrieve a bunch of images. when all those images are done being retrieved, i'd like to force my gridview to redraw all the thumbnails (or at least those that are visibl

[android-developers] Re: Graphics

2009-09-01 Thread Yusuf Saib (T-Mobile USA)
Hello, there are several ways to do graphics in Android, but for starters I suggest you look at the Canvas class. Yusuf Saib Android ·T· · ·Mobile· stick together The views, opinions and statements in this email are those of the author solely in their individual capacity, and do not necessarily

[android-developers] Re: SurfaceView to slow for games? OpenGL necessary to do games?

2009-09-01 Thread Phred
Dan,I've yet to start messing with GL ES so this is coming from Direct3D experience but the idea is the same. What you can do is create a texture with all the letters of the alphabet, numbers 0-9 and symbols. There are apps out there that will create such a texture and an XML file that contains t

[android-developers] Re: 5 mins to ADC II submission deadline - so what is your submission?

2009-09-01 Thread Michael
Hi, i submitted an OpenGL powered action/arcade game called Seawasp. It took me four months (plus two weeks of vacation from my regular work) to create it. Although my intent is to sell the game on android market, i haven't implemented any time restrictions in the ADC version. So any user how get

[android-developers] OpenGL-ES get current surface.

2009-09-01 Thread Keean Schupke
Anyone used the eglGetCurrentSurface call? According to EGL docs, it should accept EGL_DRAW or EGL_READ, but I get java.lang.IllegalArgumentException when I call it with either of those. What could I be doing wrong Regards, Keean. --~--~-~--~~~---~--~~ You recei

[android-developers] Re: I can't see the STK icon in main menu

2009-09-01 Thread hilti
Hi Maxwell The Stk Icon will be removed every time the device boots, see packages/ apps/Stk/src/com/android/stk/BootCompletedReceiver.java, StkAppService.java and StkAppInstaller.java. You can start the Stk directly (works with HTC Hero): Intent intent = new Intent(); intent.addFlags(Intent.FLA

[android-developers] Re: Bluetooth Support in Eclair

2009-09-01 Thread cybergen
Will there be a Bluetooth API in Eclair? --~--~-~--~~~---~--~~ 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

[android-developers] AppWidget bitmaps disappear after a few minutes

2009-09-01 Thread Lee
Hello all, pleased to join the community after moving over from PalmOS recently. I thought this problem was funny till it kept me awake all night trying to beat the ADC deadline... I have an ImageView in a LinearLayout of my widget. I set the ImageView drawable from an application icon like this

[android-developers] what wrong with web source.android.com

2009-09-01 Thread king qin
I can't open the source web these days. what about you? --~--~-~--~~~---~--~~ 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 unsubscrib

[android-developers] Re: Help in the "HelloMapView " tuto

2009-09-01 Thread Zonakusu
I have similar problems with the google maps. When I try to import com.google.maps.MapActivity it tells me "MapActivity cannot be resolved to a type". While i _have_ included the com.google.android.maps in my XML file. When I use eclipse to search through the available com.* packages I can't seem

[android-developers] Re: Problem in Reverse Geocoder...Address,Country Name are not Displaying...

2009-09-01 Thread henderson.justin
There simply is NO guarantee that it will get an exact address. From the method description: "The results are a best guess and are not guaranteed to be meaningful or correct." You may also want to pull data from the address with getAdminArea() and getSubAdminArea(). On Sep 1, 6:04 am, ragavendr

[android-developers] eglGetCurrentSurface(EGL10.EGL_DRAW)

2009-09-01 Thread Keean Schupke
When I call: eglGetCurrentSurface(EGL10.EGL_DRAW) I get the response: java.lang.IllegalArgumentException at com.google.android.gles_jni.EGLImpl._eglGetCurrentSurface(Native Method) at com.google.android.gles_jni.EGLImpl.eglGetCurrentSurface (EGLImpl.java:101) This appears to be coming from the

[android-developers] Link to Amazon MP3 Store?

2009-09-01 Thread Thomas
Anyone know how to properly handle the link to Amazon MP3 store intent? Rather not have it first loaded by the browser. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group

[android-developers] How do I implement onClick for a DialogPreference?

2009-09-01 Thread Nick
I have a DialogPreference in my Preference Activity and would like to know which button was pressed. I have implemented the OnSharedPreferenceChangeListener which does not seem to get triggered when the DialogPreference is selected. I have also tried OnPreferenceClickListener but this gets trig

[android-developers] Graphics

2009-09-01 Thread Naresh
Hai Friends i am new to android i want to do some programs using graphics can anyone send me sample programs about graphics package --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post t

[android-developers] Re: Problem in simple Code SQLite

2009-09-01 Thread leonardo.
You can put a try { db.execSQL("create table myTable (id integer primary key, name text not null);"); } catch(Exception e) {} to try to see the error?? 2009/9/1 Bharath B.G. > Hi, I am very new to SQLite, i referred some books regarding coding in > SQLite n went straight for coding > > But whil

[android-developers] Graphics

2009-09-01 Thread Naresh
Hai Friends i am new to android i want to do some programs using graphics can anyone send me sample programs about graphics package --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post t

[android-developers] Wrap Text at Word Boundaries

2009-09-01 Thread kjantz
Hi, I'm using a TableLayout and am trying to fit dynamic data into my table. I have 3 columns and have set 2 and 3 to stretchable, and 1, 2, and 3 to shrinkable. This seems to produce undesirable text wrapping results. If the first column's data is very short, the first column is very skinny whil

[android-developers] custom background color on listview

2009-09-01 Thread chrisoz
How can something so simple be so hard to achieve. I have a custom list extending an ArrayAdapter for rendering the list items. I want the items on my list to have a white background color, and the selected item to have a different background color. I am unable to intercept the onItemSelected and

[android-developers] error 404 comes up when tried to browse the site

2009-09-01 Thread Sudeep
Hi, When i tried to browse a particular website through Browser application, i get error ERROR 404 PAGE NOT FOUND. The same link is accessible in my desktop. What could be the problem?? I get messahe like this I/ActivityManager( 86): Starting activity: Intent { action=android.intent.act

[android-developers] Hmm... at last ADC2 is out of our way ... tell about your app and experience

2009-09-01 Thread Lout
While you developers relax... would you mind sharing what apps to expect through this challenge.. and anything else you wish to share about ADC2 submissions... well anything including the fact: 'thank God, no more sleep less nights'! Am collecting information about the challenge (ADC2) for a news

[android-developers] XML/RSS search

2009-09-01 Thread russell.harro...@designvisa.com
Hi All, I have been trying to work out the following. I have the search box but I need to link the search box to the following When a user types a word like Apple and clicks done. it search's the below xml feed, and shows it below, the text field. I also need to link the links so they open in the

[android-developers] Re: How to bind gmail account to GoogleLoginService

2009-09-01 Thread Cloud
I meet the same issue, it seems like that there is no GoogleLoginService. I think it is necessary to start this service. But I don't know how to do. Can anybody help me? On Aug 14, 1:32 pm, ObiWong wrote: > For G1, binding account is easy, an app-wizard will helped to do this > matter when you f

[android-developers] open-source games

2009-09-01 Thread sipungora
Hi, does somebody know site(s) with open-source games for Android? Thanks in advice. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developer

[android-developers] Is there any gmail API for android now?

2009-09-01 Thread Liang
I want to write an app that needs to access gmail, but i googled a lot and cannot find any API for gmail. do you guys know where to get it? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. T

[android-developers] Who makes embedded hardware Android devices?

2009-09-01 Thread Jeff Puckett
I'm playing around with an idea in the back of my head, was wondering if there were any Android devices that had touchscreen and wifi - no other requirements necessary. The GiiNii Movit Mini is as close to what I'm looking for as I can find. Are there hardware vendors that make custom Android pr

[android-developers] Re: App Widget and Orientation Changes

2009-09-01 Thread Lee
Hello, > After an orientation change when the home screen redraws, the > ImageView doesn't always draw. The rest of the RemoteView does draw > just as it was set during the most recent Update. I've just submitted a similar thread (hope it appears soon). As with you, my ImageView is disappear

[android-developers] AppWidget bitmaps disappear after a few minutes

2009-09-01 Thread Lee
Hello, I thought this one was funny until it kept me up for 5 hours last night trying to beat the ADC deadline! I have an appwidget with an image view in a linear layout. I set the bitmap to be the icon of an application: Drawable d = packageManager.getActivityIcon( new ComponentName ( appPacka

[android-developers] Re: Views below ScrollView

2009-09-01 Thread AngelOD
Hmm, I suppose that could work, but if you use a vertical LinearLayout, and then have a ScrollView with a layout-weight of 1, and a horizontal LinearLayout with a layout-weight of 0, wouldn't that work at least as well? :) On Sep 1, 9:14 am, Atif Gulzar wrote: > ok I find the solution. Set Botto

[android-developers] Bit of a problem with an app Im making...

2009-09-01 Thread ExO PoLiTiX
Hi, I am new to android development so sorry if this question has a really obvious answer. I am hoping to make a game for the platform but to start with I have just tried to make a basic layout of 4 buttons to move in different directions and then have a background and an image in front which wil

[android-developers] Two projects, One Service

2009-09-01 Thread Efor18
Hello, I need to make a service usable from other applications, I'm trying the following: First eclipse Project: - Service.java: The class that extend the Service. - MainActivity.java: Activity that only launch the service. - MyInterface.aidl: The interface to comunicate with teh service. - Mani

[android-developers] Re: Touch Listener

2009-09-01 Thread Dianne Hackborn
Only one view can have focus at a time. You'll need to pick one thing to get key events and handle them there, if you don't want to allow the user to move focus around themselves. On Tue, Sep 1, 2009 at 10:45 AM, vanquisher sinner < vanquisher.sin...@gmail.com> wrote: > > I am calling requestFoc

[android-developers] Re: Two applications sharing android:sharedUserID

2009-09-01 Thread Dianne Hackborn
This will be fixed in Donut. Unfortunately I don't know of any work-around short of re-installing the app (note that this -doesn't- requiring uninstalling, just performing an install on top of the existing app). On Tue, Sep 1, 2009 at 2:21 PM, sandy8531 wrote: > > I have two applications in the

[android-developers] Two applications sharing android:sharedUserID

2009-09-01 Thread sandy8531
I have two applications in the field that share the same sharedUserid. What I just found out was that there is a bug in Android, where un- installing one application removes permissions from the other application also - thereby rendering the other application useless. Looks like this bug has bee

[android-developers] Popup a spinner when clicking on a TextView

2009-09-01 Thread Jonas
Hi, How can I popup a spinner when clicking on a TextView? I then like to choose a value an return this value for display in the TextView, similar how a Date/Time picker works. Many thanks, Regards Jonas. --~--~-~--~~~---~--~~ You received this message because y

[android-developers] Re: how do you position an image src inside an ImageButton

2009-09-01 Thread Sekar
Just put padding-left, padding-top to moving the position, http://youropensource.com/categories/75-Android --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email

[android-developers] Re: Changing audio path to earpiece from speakerphone

2009-09-01 Thread Doug
Have you checked that your app has the following permission: MODIFY_AUDIO_SETTINGS ?? Just a thought... On Sep 1, 6:13 am, CR wrote: > Thanks for your response. I am trying this on the G1, and it is not > working for me. > > On Aug 31, 7:03 pm, Doug wrote: > > > > > PS: MODE_NORMAL is basical

[android-developers] Re: how do you position an image src inside an ImageButton

2009-09-01 Thread sdphil
that didn't help and furthermore, I need that. :) On Sep 1, 11:22 am, "Dexter's Brain" wrote: > Remove the background tag. That should help. > > Regards, > Dexter. > > On Sep 1, 11:10 pm, sdphil wrote: > > > I want the image to be right aligned within the image button. > > > This -- > > >      

[android-developers] Re: How to retain EditText data when "BACK" key is pressed

2009-09-01 Thread Dianne Hackborn
I would suggest instead saving the data in onPause() and restoring it in onCreate(). (And if you are doing this, you should turn off the text view's auto-saving of its data in the saved instance state, since you no longer need that.) On Tue, Sep 1, 2009 at 11:44 AM, Mark Murphy wrote: > > pink 4

[android-developers] Re: Network-based App Authentication

2009-09-01 Thread Mark Murphy
jeffro wrote: > I'm trying to figure out how to develop a network-based authentication > for my apps. I need some way to authentication an ID from the phone > with an ID from the purchase order. Google Checkout has an ID in the > order listing at the end: > > "Trackmaster - Trackmaster is a po

[android-developers] Re: How to retain EditText data when "BACK" key is pressed

2009-09-01 Thread Mark Murphy
pink 444 wrote: > Hai, >I have a EditText filed in my Activity class,Where i need to > retain data,when orientation is changed or "HOME" button is pressed or > "BACK(FINISH)" is pressed. > > Android internally maintaining EditText when orientation is > changed or HOME button is pres

[android-developers] Re: CPU bandwidth control for threads/apps

2009-09-01 Thread Yusuf Saib (T-Mobile USA)
You understood it correctly. That level of granularity is not available. Yusuf Saib Android ·T· · ·Mobile· stick together The views, opinions and statements in this email are those of the author solely in their individual capacity, and do not necessarily represent those of T-Mobile USA, Inc.

[android-developers] Service lifecycle and in-memory caching

2009-09-01 Thread droidin.net
If I have a service that contains Map with some cached objects that I'm serving "on demand" to the Activity, then how reliable that cache is and what are the chances that server object (and my cache) may be dropped? The server runs in its own thread (AIDL) and Activity binds/unbinds from it as nee

[android-developers] Re: problem loading opengl

2009-09-01 Thread David Turner
May I suggest you add a bit more detail about what you're doing and the error(s) you get if you want people here to help you.? On Mon, Aug 31, 2009 at 10:31 PM, anuj tyagi wrote: > > logcat shows errors in loading GLS > and some other errors like sys\ > and application terminates > > > > --~--~

[android-developers] Network-based App Authentication

2009-09-01 Thread jeffro
I'm trying to figure out how to develop a network-based authentication for my apps. I need some way to authentication an ID from the phone with an ID from the purchase order. Google Checkout has an ID in the order listing at the end: "Trackmaster - Trackmaster is a powerful racing lap timer th

[android-developers] Re: ADC2 Submit vs Upload

2009-09-01 Thread nuno
There was always an upload button.That was the button you pressed before the submit. You could upload more than one app. On Sep 1, 6:43 am, Sri2 wrote: > We submitted the app. After submitting, I see a Upload button, what's > that for? Is it to upload to Android market? --~--~-~--~~-

[android-developers] Re: Contacts photos does not work after insert

2009-09-01 Thread Michel Albert
Incidentally, I am also writing a small backup tool and had a problem that sounds very similar to yours. I figured out, that adding photos does not work properly on the emulator. I added a new menu option which, when clicked, added a photo from a binary stream to a hard-coded contact URI. When I

[android-developers] Re: How to build Uri to an image present at the APK ?

2009-09-01 Thread Dexter's Brain
Hi, The code for starting the intent is correct. But I am not sure about the data, i.e the Uri that you have passed. Normally, other application cannot access your application specific files, unless you expose them through a content provider. One option would be to save your file to the sdcard, a

[android-developers] Re: how do you position an image src inside an ImageButton

2009-09-01 Thread Dexter's Brain
Remove the background tag. That should help. Regards, Dexter. On Sep 1, 11:10 pm, sdphil wrote: > I want the image to be right aligned within the image button. > > This -- > >                                              android:layout_width="fill_parent" >                              android

[android-developers] Re: Device Chooser always picks Emulator (after upgrading Ubuntu to Jaunty)...

2009-09-01 Thread John B. Hansen
To workaround this problem, I've had to re-provision one of my old machines with Ubuntu Intrepid (8.10). Its slower but it works fine. For now, I cannot do Android development in Ubuntu Jaunty (9.04). On Aug 31, 9:07 pm, "John B. Hansen" wrote: > I just updated my Ubuntu Linux box to Jaunty (9.

[android-developers] How to retain EditText data when "BACK" key is pressed

2009-09-01 Thread pink 444
Hai, I have a EditText filed in my Activity class,Where i need to retain data,when orientation is changed or "HOME" button is pressed or "BACK(FINISH)" is pressed. Android internally maintaining EditText when orientation is changed or HOME button is pressed .But it is not maintaining

[android-developers] problem loading opengl

2009-09-01 Thread anuj tyagi
logcat shows errors in loading GLS and some other errors like sys\ and application terminates --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-de

  1   2   >