[android-developers] Re: Device Idle State Capture

2009-02-02 Thread Pooja
I meant when the device goes to PARTIAL_WAKE_LOCK state. Thanks, Pooja On Feb 3, 11:26 am, Dianne Hackborn wrote: > Well first you need to define what you mean by "idle". > > On Mon, Feb 2, 2009 at 10:13 PM, Pooja wrote: > > > Hi All: > > > Is it possible to somehow detect and capture the idl

[android-developers] How to Get PendingIntent Result Code?

2009-02-02 Thread Ron DuPlain
Is it possible to get the result code with a PendingIntent for a Service or BroadcastReceiver? (e.g. the result code from SmsManager send* methods) Various PendingIntent.send methods send the result code with the Intent, but only the Activity class seems to have a means to get this result code,

[android-developers] Some Activities never display UIs?

2009-02-02 Thread Ron DuPlain
I hear that "some Activities never display UIs" according to http://code.google.com/android/devel/building-blocks.html. My question: is this true? I have yet to find a way to make an Activity without a UI. Documentation suggests an Activity can be non-visual. For example, Activity.getWindow() r

[android-developers] Table layout without using Android XML

2009-02-02 Thread Muthu Kumar K.
Hi all, Can any one help me how to create table layout with out using the Android XML. Thanks in Advance, Muthu Kumar K. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this grou

[android-developers] Re: Audio in the emulator...

2009-02-02 Thread nicolas cosson
The problem is now resolved, I had make several mistakes: I had forgot to release the recorded sound. (record.release();) I hadn't put the complete path for the sdcard which in fact prevented the emulator from loading one. audio-in is useless with windows, plug and play does the job. I didn't pla

[android-developers] Profiling Android Libraries

2009-02-02 Thread krish24
Hi everyone, Is there any way to profile android libraries (OpenGL, webkit, etc) functions? Can we use Traceview or DDMS tools for debug/profile android libraries? Regards, krish --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Go

[android-developers] Re: How can host machine connect to emulator using socket

2009-02-02 Thread zcj0429
Thanks, David On Feb 2, 9:36 pm, David Turner wrote: > You will need to setup a network redirection, > seehttp://code.google.com/android/reference/emulator.html#emulatornetwor... > > On Mon, Feb 2, 2009 at 6:57 AM, zcj0429 wrote: > > > Hi, everyone: > >    How can my host machine connect to em

[android-developers] Is it possible to have 2 launcher Activity in a single apk?

2009-02-02 Thread j
I need to have 2 launcher activities (i.e. 2 icons on the home screen). Each launch icon would launch a separate activity. Essentially, I need a single apk which contains a suite of 2 apps which I don't want to distribute separately. Is this possible? --~--~-~--~~~---~

[android-developers] Re: Device Idle State Capture

2009-02-02 Thread Dianne Hackborn
Well first you need to define what you mean by "idle". On Mon, Feb 2, 2009 at 10:13 PM, Pooja wrote: > > Hi All: > > Is it possible to somehow detect and capture the idle state of the > android device? > Need help on the approach which should be followed for developing idle > time based applicat

[android-developers] Device Idle State Capture

2009-02-02 Thread Pooja
Hi All: Is it possible to somehow detect and capture the idle state of the android device? Need help on the approach which should be followed for developing idle time based applications in android? Thanks, Pooja --~--~-~--~~~---~--~~ You received this message beca

[android-developers] Getting Email IDs for a contact.

2009-02-02 Thread Don Rules
Hi All, I want know how to get All the EMAIL IDs associated with a particular contact given the Index of the contact. Please help me.. Regards, Don --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers

[android-developers] Re: LocationManager causes application to crash

2009-02-02 Thread pulkit
Pratap here is the logcat trace. What we understand from this is that it requires ACCESS_FINE_LOCATION permission which you suggested in first place. Now that we have specified it in our manifest.xml, what might be the issue? We define permissions as:- Thank

[android-developers] Re: LocationManager causes application to crash

2009-02-02 Thread PRATAP SOLAPUR
post the stack trace of ur logcatso that i can kno wat kind of error ur getting. On 2/3/09, pulkit wrote: > > > Thanks for replying Pratap, but unfortunately it didn't fix the > problem. > Any other suggestion please? > > On Feb 3, 10:23 am, PRATAP SOLAPUR wrote: > > Add ACCESS_FINE_LOC

[android-developers] Re: LocationManager causes application to crash

2009-02-02 Thread pulkit
Thanks for replying Pratap, but unfortunately it didn't fix the problem. Any other suggestion please? On Feb 3, 10:23 am, PRATAP SOLAPUR wrote: > Add ACCESS_FINE_LOCATION permission and INTERNET permission > > On 2/3/09, pulkit wrote: > > > > > Hi, > > > We're working on Location b

[android-developers] Re: For launching a camera from appl which action requires?

2009-02-02 Thread jj
Hello James Thanks for replying me, Actually I want Uri of this image(Currently captured from camera) So that I can send this image by using : Uri uri = ContentUris.withAppendedId(Media.EXTERNAL_CONTENT_URI, 2); Intent i = new Intent(); i.setAction(Intent.ACTION_SEND);

[android-developers] Re: LocationManager causes application to crash

2009-02-02 Thread PRATAP SOLAPUR
Add ACCESS_FINE_LOCATION permission and INTERNET permission On 2/3/09, pulkit wrote: > > > Hi, > > We're working on Location based services with android emulator. But > the issue is that the application crashes when any of the following > statements executes:- > > Location location =

[android-developers] LocationManager causes application to crash

2009-02-02 Thread pulkit
Hi, We're working on Location based services with android emulator. But the issue is that the application crashes when any of the following statements executes:- Location location = locationManager.getLastKnownLocation(locationManag er.getBestProvider(CRITERIA, true)); OR Location location =

[android-developers] Re: Running Android Image from memory card?

2009-02-02 Thread Dianne Hackborn
This would be more appropriate for one of the platform groups, such as android-platform. Thanks! On Mon, Feb 2, 2009 at 6:54 PM, Aakash Patel wrote: > > Hi, > > Is it possible to boot the phone (ADP1) from a compiled android image > stored on the memory card without affecting the contents of th

[android-developers] Re: How to capture ACTION_MOVE MotionEvents in a view

2009-02-02 Thread Dianne Hackborn
That is because returning true says that you consumed the event and thus the rest of the events in that motion will be dispatched to that view. On Mon, Feb 2, 2009 at 6:30 PM, hbk723 wrote: > > I couldn't get it either, no matter what I did on the phone or in the > emulator all I get is ACTION_

[android-developers] Re: X11 module?

2009-02-02 Thread Dianne Hackborn
Discussion about working with the open source platform should be in one of the appropriate lists. Porting discussion is in android-porting. Thanks. On Mon, Feb 2, 2009 at 6:16 PM, chueh8 wrote: > > > For common linux, we provide a kernel driver and also a X11 module for > our device. > Since A

[android-developers] Re: Fwd: GMAPS is not being displayed in the emulator

2009-02-02 Thread swapna annamaneni
hi, i am also facing sme problem ,if get it plz let me know @ swapna.annaman...@gmail.com On Fri, Jan 16, 2009 at 12:19 PM, sheik wrote: > > Kindly look at this queryand help me regarding the issue.. > > thank you > > > > --~--~-~--~~~---~--~~ You receiv

[android-developers] Re: X11 module?

2009-02-02 Thread Romain Guy
Android does not include nor use X. On Feb 2, 2009 7:50 PM, "chueh8" wrote: For common linux, we provide a kernel driver and also a X11 module for our device. Since Android use the same linux kernel, I guess our kernel driver should work... Well, how about X11 module? does Android includes Xor

[android-developers] Reg OMA DM , FOTA & DS

2009-02-02 Thread manoj adepu
HI All, plz let me know Android source include the following components DM , FOTA and DataSync. How FOTA will be trigger on adriod and "android.permission.FOTA_UPDATE" some of fota related index strings are strike out. i would like know more on Sync applications. Regards Manoj --~--~-~

[android-developers] Flash Audio Wizard (v4) - Web Audio Software.

2009-02-02 Thread brilliant.danielw...@gmail.com
A Simple Step-By-Step Audio Wizard That Creates Everything You Need To Add Audio To Your Website In Just 2½ Minutes... Or Less. http://apologizer.sytec2001.hop.clickbank.net/?tid=56744 --~--~-~--~~~---~--~~ You received this message because you are subscribed to th

[android-developers] Re: How to capture ACTION_MOVE MotionEvents in a view

2009-02-02 Thread hbk723
I couldn't get it either, no matter what I did on the phone or in the emulator all I get is ACTION_DOWN, never ACTION_MOVE or ACTION_UP. HOWEVER, changing the return statement of onTouchEvent() to "true" fixed it for me. Frustrating! --~--~-~--~~~---~--~~ You recei

[android-developers] Re: Bring up active dialer or send dial tone

2009-02-02 Thread David
On Jan 27, 2:45 am, songs wrote: > Hi, > > I'm trying to write a convenience app that needs to bring up the > active dialer for a connected call, but I'm having issues after trying > a couple of approaches. Sorry, right now the DTMF dialpad is built in to the in-call UI (i.e. it's not a separate

[android-developers] How to hang up outgoing call?

2009-02-02 Thread Tilekus
Hi everyone, We are new to Android and creating an application where one of the things we need is to control the outgoing call, at least to be able to stop it from our application. For now we tried using Intent.ACTION_CALL to use existing activity: Intent callIntent = new Intent(Intent.

[android-developers] X11 module?

2009-02-02 Thread chueh8
For common linux, we provide a kernel driver and also a X11 module for our device. Since Android use the same linux kernel, I guess our kernel driver should work... Well, how about X11 module? does Android includes Xorg ? If not, what's target we need to do for our original X11 module/driver? T

[android-developers] Running Android Image from memory card?

2009-02-02 Thread Aakash Patel
Hi, Is it possible to boot the phone (ADP1) from a compiled android image stored on the memory card without affecting the contents of the image flashed on the phone? I would like to do this so I can work with development images, but I didn't want to mess with the factory image. Thanks, Aakash

[android-developers] Compare Mobile Platforms

2009-02-02 Thread David
Hey guys, I am thinking of developing a small application and I am trying to decide between various Mobile applications platforms - Android, iPhone and RIMM. I was wondering if any of you have any thoughts on any of these mobile platforms, there advantages/disadvantages etc. Also - how would yo

[android-developers] Cant go back to previous page from webview page.

2009-02-02 Thread Komal
Hi, I am developing simple RSS Reader kind of application.In my applicaion i cant go back from Webview page to previous page.i can go back from all pages except the page where i have used Webview.What could be the reason?why i cant go back? Thanx. --~--~-~--~~~---~--~

[android-developers] How ACTION_CHOOSER picks choices for ACTION_SET_WALLPAPER

2009-02-02 Thread Layeeq
In Launcher application, ACTION_CHOOSER intent is used to show possible choices for setting wallpaper from. I could not find ACTION_SET_WALLPAPER in any AndroidManifest.xml. What ACTION does it use to identify the possible choices (gallery, wallpaper)? Is this PICK_ACTION? Thanks, Layeeq

[android-developers] DM,FOTA & DS with Andriod

2009-02-02 Thread manoj adepu
HI All, Is the source include in Android for following components DM,FOTA & DataSync. How the FOTA will trigger on Andriod..some the FOTA related index items are striked out.. I would like to know about sync application like contacts & calender etc.. plz let me know about these things.. Regard

[android-developers] How to auto lock alt by application

2009-02-02 Thread jackd...@gmail.com
Hi all, I want to auto lock hardware key "alt" by application to let user input special character as default. My idea is to issue key up event of keycode "alt" two times when user focus on a specific EditText. I have to check the current alt lock is on or off before I do so but I do know ho

[android-developers] Re: Android Developers in Atlanta, GA

2009-02-02 Thread BarbieDahl
Hi Shaun, Your in luck, Simon is beginning to look into OpenGL. I'm doing mostly location based awareness apps but we Simon and I were thinking of setting up a google group for atlanta area folks. If you know other people who are interested, reply to this post. Once I get the google group set

[android-developers] Need help in understanding LocalServiceTest in the ApiDemos test example

2009-02-02 Thread silverburgh.me...@gmail.com
Hi, I appreciate if someone can help me understand the following code in LocalServiceTest in the ApiDemos test example: For the 'testStartable' method, how does it verify that the service has started? public void testStartable() { Intent startIntent = new Intent(); startIntent.s

[android-developers] Why I can't delete SIM record?

2009-02-02 Thread huangjuanm...@gmail.com
Hi guys, I can use code to delete contacts in phone, but I can't do it in SIM card. Does anybody know it?? Here is my code to delete SIM record. mSimUri = Uri.parse("content://sim/adn"); getContentResolver().delete(mSimUri, "name=?",new String[] {"people name"}); No exception to execute this c

[android-developers] Re: How to make my application know where I am, in country level.

2009-02-02 Thread magicpig
Then, what is the difference between getNetworkCountryIso and getNetworkOperator? I think we can use getNetworkCountryIso, right? On Jan 22, 5:14 pm, legerb wrote: > String networkOperator = ((TelephonyManager) > context .getSystemService > (Context.TELEPHONY_SERVICE)).getNetwo

[android-developers] Re: Signing the application

2009-02-02 Thread srajpal
here is a great tutorial that worked perfectly for me http://www.anddev.org/signing_your_apk-application_for_release_keytooljarsigner-t3069.html On Feb 2, 8:35 pm, Alowishus wrote: > Update: I think this may be a vista problem, the app is built and runs > perfectly in the emulator, I try and

[android-developers] Re: Signing the application

2009-02-02 Thread Alowishus
Update: I think this may be a vista problem, the app is built and runs perfectly in the emulator, I try and use the instructions for the keytool and the jarsigner and i was getting IO errors because of Vista's file security, I ended up copying the tools and files into my workspace to rectify the p

[android-developers] How can I create a Parcel object for unit testing purposes?

2009-02-02 Thread lucius
Hi, In my android project, I have a class which creates a Parselable object (in my case, MyData). public static final Parcelable.Creator MYDATA_CREATOR = new Parcelable.Creator() { public MyData createFromParcel(Parcel in) { return new MyData(in); } } My question is

[android-developers] Re: How to handle ini file in android?

2009-02-02 Thread Emmanuel
Do you mean you want to use a .ini file that is more than 1 mo ? 1mo is a lot of memory for a mobile phone ! Though if you really need to, you can always concatenate several 1 Mo asset files to fit your needs. Emmanuel http://androidblogger.blogspot.com/ On Feb 2, 8:18 am, Paranoia wrote: >

[android-developers] Re: Memory leak in BitmapFactory/Gallery?

2009-02-02 Thread fadden
On Jan 31, 1:12 am, blindfold wrote: > When compiling hprofConv.c I noticed that stdint.h is not included > with Visual Studio C++ products (http://en.wikipedia.org/wiki/ > Stdint.h), so I fetched the "portable stdint.h" pstdint.h from the web > (http://www.azillionmonkeys.com/qed/pstdint.h). Nex

[android-developers] Signing the application

2009-02-02 Thread Alowishus
So, I got the screens and code all worked out, I want to export and sign the application for public distribution but the documentation on this is overwhelming. Any hints on signing the app and all that jazz? --~--~-~--~~~---~--~~ You received this message because yo

[android-developers] Re: How do I display the menu programatically?

2009-02-02 Thread Stoyan Damov
Solved. If someone else needs that: mActivity.getWindow().openPanel(Window.FEATURE_OPTIONS_PANEL, new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_MENU)); Cheers, Stoyan On Mon, Feb 2, 2009 at 10:24 PM, Stoyan Damov wrote: > Hi, > Is there a way to programmatically display the menu, w/o the

[android-developers] Re: signature issue when set share user id to android,media

2009-02-02 Thread Dianne Hackborn
Oh and this doesn't belong on android-developers because it is not related to using the SDK. :) On Mon, Feb 2, 2009 at 3:32 PM, Dianne Hackborn wrote: > You need to build everything yourself, and sign it all with the same > certificate that you own. In the make files for the .apks you will see

[android-developers] Re: signature issue when set share user id to android,media

2009-02-02 Thread Dianne Hackborn
You need to build everything yourself, and sign it all with the same certificate that you own. In the make files for the .apks you will see a line telling the build system which certificate file to use and you should use the same line in your own .apk. On Mon, Feb 2, 2009 at 3:21 PM, MayFirst wr

[android-developers] Re: Mediaplayer, retrieving after starting a new activity

2009-02-02 Thread Marco Nelissen
The only reason that your playback continues in the background is because you're not stopping it, and the system hasn't garbage collected your MediaPlayer object yet. If you want to do reliable background playback while your UI exits, you will have to do this in a service. On Sun, Feb 1, 2009 at

[android-developers] signature issue when set share user id to android,media

2009-02-02 Thread MayFirst
I made some modifications in cupcake camera source code using Eclipse, and try to load to emulator for testing. But it fails installing the apk to the emulator due to the mis-matched signature of android,media, which is set as share user id in manifest.xml. The android,media is pre-built in the

[android-developers] Re: Audio in the emulator...

2009-02-02 Thread Dave Sparks
Sorry, I don't have a Windows machine for testing. Maybe one of our developer advocates can help you with that. >From the debug spew from the audio input driver, it sounds like it should be recording. Do you see the file being written to the SD card? On Feb 1, 2:45 am, Nicolas Cosson wrote: > T

[android-developers] Re: Mediaplayer, retrieving after starting a new activity

2009-02-02 Thread Dave Sparks
If your application is properly written, you should be calling release () on the MediaPlayer object in your onPause() method. There is no guarantee that your app won't be killed while it's sitting in background, which will stop the audio. If you want audio in the background, you need to write a s

[android-developers] Re: About media player

2009-02-02 Thread Dave Sparks
What kind of plug-in do you want to write? "media player" is kind of a vague term. There is the Music player application, the MusicPlaybackService, the MovieView activity, the VideoView activity, and the MediaPlayer object. Source for all of those is available at source.android.com. On Feb 1, 12

[android-developers] Re: How to make layout "fill" available space in middle

2009-02-02 Thread Mike
Worked like a charm - thanks Mike On Feb 2, 2:28 pm, Romain Guy wrote: > Use a veritcal LinearLayout and simply give the middle TextView the > attribute android:layout_weight="1.0". That's all. > > > > On Mon, Feb 2, 2009 at 12:17 PM, Mike wrote: > > > Let's say I want to make a layout that ha

[android-developers] Re: How does one sell on the Android Market?

2009-02-02 Thread Rob Franz
Thanks! On Mon, Feb 2, 2009 at 4:47 PM, Josh Dobbs wrote: > You can charge for your application however the ability to sell through the > android market as not yet been implemented. > > > > > On Mon, Feb 2, 2009 at 1:41 PM, Rob Franz wrote: > >> Hi all When did Google start allowing devs to cha

[android-developers] Re: Audio Volume

2009-02-02 Thread Dave Sparks
The volume adjustment is context sensitive. You can tell which volume is being adjusted by the volume display. If YouTube or the music player, adjusting the volume will affect only the music/video playback volume. The volume display will read "Media Volume". If you're in the home screen, or most

[android-developers] Re: dbus_bus_get failure in audio flinger

2009-02-02 Thread Dave Sparks
This forum is for application developers. You should try this question in android-porting. On Feb 2, 9:34 am, "henry.lon...@gmail.com" wrote: > Hi, > > I tried to play with audio flinger code. What i did is to call > dbus_bus_get to connect to dbus daemon. However I got the errror > "Failed to c

[android-developers] Re: Image to the screen

2009-02-02 Thread PeeWee Sperman
I feel you on this issue. I am having the same problem trying to find in depth code with good explanations of what's going on. Hell...at this point I just want to launch a app from my phone (icon and all that). I can't find any good documentation. I did pick up a book, "Android Application Develo

[android-developers] How can to remote debug with android emulator

2009-02-02 Thread Lucius Fox
Hi, I am trying to follow the steps below (found in an earlier email thread from Anil Yadav (anily0...@gmail.com): Step 1: First launch emulator from command line (by typing Emulator command) Step 2: Then launch DDMS using command line (by typing DDMS command) Step 3: Start your application in e

[android-developers] Re: I am getting SICK of 1 star ratings for charging!

2009-02-02 Thread Beshoy
Pretty sure it's a no to that too On Feb 2, 3:52 pm, Josh Dobbs wrote: > FORGOT TO ASK > Does anyone know if we can block specific users from downloading our apps? > > > > On Mon, Feb 2, 2009 at 1:51 PM, Josh Dobbs wrote: > > I have people giving me one star because my app is not open o

[android-developers] Re: I am getting SICK of 1 star ratings for charging!

2009-02-02 Thread Beshoy
I'm using the G1 to check comments, and no.. no way to reply or contact the poster :( no way to anything.. all you can do is read it and weep! lol On Feb 2, 3:51 pm, Josh Dobbs wrote: > I have people giving me one star because my app is not open office or > cupcake. I also  have people giving m

[android-developers] Re: I am getting SICK of 1 star ratings for charging!

2009-02-02 Thread Josh Dobbs
FORGOT TO ASK Does anyone know if we can block specific users from downloading our apps? On Mon, Feb 2, 2009 at 1:51 PM, Josh Dobbs wrote: > I have people giving me one star because my app is not open office or > cupcake. I also have people giving me one star annd leaving me comments > that

[android-developers] Re: I am getting SICK of 1 star ratings for charging!

2009-02-02 Thread Josh Dobbs
I have people giving me one star because my app is not open office or cupcake. I also have people giving me one star annd leaving me comments that have nothing at all to do with my app(racial slurs and such). Can we reply to comments? If so I really don't know how. I have been using cyrket to view

[android-developers] I am getting SICK of 1 star ratings for charging!

2009-02-02 Thread Beshoy
Come on. All these people giving 1 star JUST BECAUSE someone wants to make some money?! WHAT THE HECK! I'm making two versions: ONE FREE and one for a buck. The free one will have ads... and I've got tons of people giving one star saying "won't pay"... seriously.. this rating system is flawed f

[android-developers] Re: How does one sell on the Android Market?

2009-02-02 Thread Josh Dobbs
You can charge for your application however the ability to sell through the android market as not yet been implemented. On Mon, Feb 2, 2009 at 1:41 PM, Rob Franz wrote: > Hi all When did Google start allowing devs to charge for their > applications? I thought this was currently not permitted

[android-developers] Re: How does one sell on the Android Market?

2009-02-02 Thread Shane Isbell
On Mon, Feb 2, 2009 at 1:41 PM, Rob Franz wrote: > Hi allWhen did Google start allowing devs to charge for their > applications? I thought this was currently not permitted (but would be at > some point). Perhaps I missed an announcement? > Google currently has no-charge restriction for applicat

[android-developers] Re: Trackball Event

2009-02-02 Thread Ikon
How would I ensure it has input focus? It is the only view in the app so far. On Feb 2, 1:01 pm, Dianne Hackborn wrote: > Trackball events are dispatched to the focused view, make sure your view has > input focus. > > > > On Sun, Feb 1, 2009 at 4:38 PM, Ikon wrote: > > > Hi, > > > I have an act

[android-developers] Re: How does one sell on the Android Market?

2009-02-02 Thread Rob Franz
Hi allWhen did Google start allowing devs to charge for their applications? I thought this was currently not permitted (but would be at some point). Perhaps I missed an announcement? On Mon, Feb 2, 2009 at 4:13 PM, Mark Murphy wrote: > > Shane Isbell wrote: > > I'm aware that one can post

[android-developers] Re: Android Developers in Atlanta, GA

2009-02-02 Thread shaun
I am in Marietta. I would like to participate, especially if some game developers start joining...or at least someone with valuable experience with OpenGL. On Feb 2, 4:30 pm, BarbieDahl wrote: > Great, do you know any other people in this area interested in > Android?? If you are on google chat

[android-developers] Re: G1 support for OpenGL ES 1.1?

2009-02-02 Thread shaun
I sure would love to know more on this subject also. Any game developer really. To clearly understand the current supported subset of the 1.1 API that is presently available in Android SDK 1.0 r2 would be great. I mean, the fact that we can cast the GL context to either GL10 or GL11 is a little

[android-developers] Re: Android Developers in Atlanta, GA

2009-02-02 Thread BarbieDahl
Great, do you know any other people in this area interested in Android?? If you are on google chat, send me an email so I can add you to my contacts. Thanks, Barbara On Jan 30, 4:22 pm, Simon wrote: > I'd be interested in possibly getting together. > > On Jan 30, 9:10 am, BarbieDahl wrote: > >

[android-developers] Re: Image to the screen

2009-02-02 Thread Stoyan Damov
Take a look at the app demos in the SDK. On Mon, Feb 2, 2009 at 9:30 PM, Alowishus wrote: > > Hello All, > > As an avid G1 user and a developer I am tasked with developing > applications for the G1, im currently reading a couple of books and > none seem go too in depth with tutorials and what no

[android-developers] Re: Extending the WebView

2009-02-02 Thread Mark Nuetzmann
Still having problems with this... So when I try to use the above code on an Item inserted in a ListView it still does not work. I tried inflating the following code which did not work. http://schemas.android.com/apk/res/ android" android:id="@+id/webview"

[android-developers] Re: Starting an activity with FLAG_ACTIVITY_MULTIPLE_TASK to see multiple instances

2009-02-02 Thread Dan Raaka
Here is an use case we are trying .. Apk .. MyEmail main -> Inbox view -> composer view -> msgview If the above apk contains 3 activities .. User launches the "MyEmail: and sees the Inbox .. User selects one of the messages .. thus launching the "msgview" activity .. User goes back to

[android-developers] Re: How does one sell on the Android Market?

2009-02-02 Thread Mark Murphy
Shane Isbell wrote: > I'm aware that one can post free applications on the Android Market. > However, if one wishes to sell an app, how does one go about doing > this? Do we have to sell apps from our own websites? > > You can sell apps at http://slideme.org. We have a client similar

[android-developers] Re: Share text options ACTION_SEND

2009-02-02 Thread Alexey
is it possible at all to have an Send via email and send via SMS option together at all ? On Feb 2, 1:27 pm, Alexey wrote: > Hi all, i'm trying to display a choice to send a text via email/sms. > public void onClick(View v) { >                 Intent sendIntent = new Intent(Intent.ACTION_SEND);

[android-developers] Re: How does one sell on the Android Market?

2009-02-02 Thread Shane Isbell
On Mon, Feb 2, 2009 at 12:45 PM, Gw1921 wrote: > > Hi > > I'm aware that one can post free applications on the Android Market. > However, if one wishes to sell an app, how does one go about doing > this? Do we have to sell apps from our own websites? You can sell apps at http://slideme.org. We h

[android-developers] How does one sell on the Android Market?

2009-02-02 Thread Gw1921
Hi I'm aware that one can post free applications on the Android Market. However, if one wishes to sell an app, how does one go about doing this? Do we have to sell apps from our own websites? What instructions do we give our users (in terms of the installation procedure etc). Any ideas would be h

[android-developers] Re: g1 for developers

2009-02-02 Thread Charlie Collins
Well, I was just about to repost that I was incorrect about 3G. ;) I blazed by the question and realized afterwards, before I saw Dianne's response, that it works on their data network in general, it works on "edge," but no it doesn't work on their 3g. Sorry to have misinformed there. On Feb 2,

[android-developers] Re: ImageButton resizes within TableLayout -- How do i fix?

2009-02-02 Thread Pete
Unfortunately, to me this seems like a hack. Is there really no way to force the button not to resize (filling its cell within the table) beyond its needed space? On Feb 2, 12:51 am, Chander Pechetty wrote: >                 android:text="please send this" >                 android:maxWidth="1

[android-developers] Re: Failed to upload myapp.apk on 'HT841GZ03224': Too many open files

2009-02-02 Thread Stoyan Damov
BTW, reinstalling the app after each and every small change doesn't seem to me to be a good development practice unless you're learning Android development and are constantly experimenting with the SDK. Otherwise it smells like you're trying to do something, struggling with it and going the trial

[android-developers] Re: Failed to upload myapp.apk on 'HT841GZ03224': Too many open files

2009-02-02 Thread Stoyan Damov
Unfortunately I'm not. Do search this list for "TERRIBLE BUG" where you'll find me ranting about that, and Android engineers confirming that there's a bug related to unlinking files, which causes your phone memory the decrease after each reinstall (that is a failed attempt to delete the app, and t

[android-developers] Re: How to make layout "fill" available space in middle

2009-02-02 Thread Romain Guy
Use a veritcal LinearLayout and simply give the middle TextView the attribute android:layout_weight="1.0". That's all. On Mon, Feb 2, 2009 at 12:17 PM, Mike wrote: > > Let's say I want to make a layout that has 3 TextViews, one on top of > the other. But, I want the top TextView to always "stic

[android-developers] Re: Extending the WebView

2009-02-02 Thread Mark Nuetzmann
Yes. thank you. For others, here is the code that I am currently using that appears to work. WebView web = (WebView) findViewById(R.id.webview); web.getSettings().setJavaScriptEnabled(true); web.getSettings().setJavaScriptCanOpenWindowsAutomatically (false);

[android-developers] Re: Music player, mute app sound

2009-02-02 Thread Marco Nelissen
On Mon, Feb 2, 2009 at 12:20 PM, bleucalme wrote: > > Hi, > > I would like to mute my application's music when the user is > listening to mp3 with the OS music player. I'm using 2 channels in my > app so I can't use AudioManager.isMusicActive(). I can't think of any way to do what you want

[android-developers] How to make layout "fill" available space in middle

2009-02-02 Thread Mike
Let's say I want to make a layout that has 3 TextViews, one on top of the other. But, I want the top TextView to always "stick" to the top of the screen (regardless of orientation), and I want the bottom TextView to always "stick" to the bottom of the screen. Then I want the middle TextView to a

[android-developers] Image to the screen

2009-02-02 Thread Alowishus
Hello All, As an avid G1 user and a developer I am tasked with developing applications for the G1, im currently reading a couple of books and none seem go too in depth with tutorials and what not. I am a hands on kind of person when it comes to learning. I've done the hello world application and

[android-developers] Re: fitness or workout program

2009-02-02 Thread Shayan
WorkItOut 1.1 is out, new functions include: -Update/Upgrade Notifier -Notes field -Quick add list for over 30 common exercises -Save function on menu (not just on the number pad) -Show/hide number pad -Set date for workouts -Choose number of sets ( 1-8 ) -No more default 0’s displayed on a new e

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

2009-02-02 Thread bdb4269
(To see this message in a much better format -- follow this link) http://androidcommunity.com/forums/showthread.php?p=133454 I think someone should port Dasher to Android. Dasher is free software, that takes an extremely unique approach to achieve information efficient text entry. It allows

[android-developers] Re: looking for an answer about the g1 for developers

2009-02-02 Thread Justin (Google Employee)
Please take care to search this forum specifically for answers before posting. http://groups.google.com/group/android-developers/search?group=android-developers&q=developer+phone+1+at%26t&qt_g=Search+this+group The link above is for the search term "developer phone 1 at&t" on this group. Android

[android-developers] How do I display the menu programatically?

2009-02-02 Thread Stoyan Damov
Hi, Is there a way to programmatically display the menu, w/o the user having to press the Menu key? Thanks! Stoyan --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, sen

[android-developers] Re: Starting an activity with FLAG_ACTIVITY_MULTIPLE_TASK to see multiple instances

2009-02-02 Thread Dianne Hackborn
Please please please don't use FLAG_ACTIVITY_MULTIPLE_TASK unless you really know what you are doing. At the very least, you need to read and fully understand the material here: http://code.google.com/android/intro/appmodel.html On Mon, Feb 2, 2009 at 12:11 PM, Dan Raaka wrote: > > I am trying

[android-developers] Re: Share text options ACTION_SEND

2009-02-02 Thread Dianne Hackborn
Sorry I don't know enough about the individual apps to be able to help you there. On Mon, Feb 2, 2009 at 11:55 AM, Alexey wrote: > > So ACTION_SEND is not handled by email client ( Imap ) ? > What i need to specify as a parameters for the intent ( or may be use > different action ) so SMS and Im

[android-developers] onTouch event for scrolling a list

2009-02-02 Thread Allie
Hi: I am working on scrolling a list using our touching mechanism. I can get the x and y pixel information from the onTouchEvent. However, I wonder how we can pass the calculated scroll amount to scrollBy or scrollTo? I did not find sample or source for the android scrolling mechanism. Where can

[android-developers] Re: g1 for developers

2009-02-02 Thread Dianne Hackborn
It almost certainly does NOT work with 3G on AT&T. The G1 radio uses a different frequency than AT&T uses, so there is no way it can work. On Mon, Feb 2, 2009 at 12:16 PM, Charlie Collins wrote: > > 1. Yes, it works fine on AT&T (see other threads in this group, just > set the ACN, it works) > >

[android-developers] Music player, mute app sound

2009-02-02 Thread bleucalme
Hi, I would like to mute my application's music when the user is listening to mp3 with the OS music player. I'm using 2 channels in my app so I can't use AudioManager.isMusicActive(). Any suggestions? --~--~-~--~~~---~--~~ You received this message because yo

[android-developers] Re: Cannot View Images from SD Card Image on Emulator

2009-02-02 Thread myIP
Read my last post. I simply reverted the SDK to 'release 1'. --~--~-~--~~~---~--~~ 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 unsu

[android-developers] Re: g1 for developers

2009-02-02 Thread Charlie Collins
1. Yes, it works fine on AT&T (see other threads in this group, just set the ACN, it works) 2. It connects fine to AT&T's 3G as well - so long as you have a data plan, it works fine ($30 a month on top of any existing plan at present for AT&T) And yes, I do have one (the dev G1 that is), and do

[android-developers] Re: Extending the WebView

2009-02-02 Thread Mark Nuetzmann
Yes. thankyou. Here is the code I am using that appear to work WebView web = (WebView) findViewById(R.id.ad_webview); web.getSettings().setJavaScriptEnabled(true); web.getSettings().setJavaScriptCanOpenWindowsAutomatically (false); web.getSettings().

[android-developers] Re: Extending the WebView

2009-02-02 Thread Mark Nuetzmann
Yes. thank you. For others, here is the code that I am currently using that appears to work. WebView web = (WebView) findViewById(R.id.ad_webview); web.getSettings().setJavaScriptEnabled(true); web.getSettings().setJavaScriptCanOpenWindowsAutomatically (false);

[android-developers] Starting an activity with FLAG_ACTIVITY_MULTIPLE_TASK to see multiple instances

2009-02-02 Thread Dan Raaka
I am trying to launch an activity from another activity .. Within the com.android.SingleLauncher.. I have activity launch code as .. Intent intent = new Intent(Intent.ACTION_MAIN); intent.addCategory(Intent.CATEGORY_LAUNCHER); intent.setComponent(n

  1   2   >