[android-developers] Style Guide for Android application development

2009-02-02 Thread johnny
I find there was many discussions about the Style Guide when Android was still in Beta and RC. Now Android 1.0 has been released. The new release cupcake also went out. I am curious about whether Google has a plan to release a Style Guide for Android app development. Thanks, Johnny

[android-developers] Save Image

2009-02-02 Thread ANDREA P
I want to save image after I make the photo with the Camera of the Emulator.. My program make a photo but don't save it. How do I do ??? Thanks !!! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[android-developers] How do I do to save an Image ????

2009-02-02 Thread ANDREA P
I want to save image after I make the photo with the Camera of the Emulator.. My program make a photo but don't save it. How do I do ??? Thanks !!! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-developers] map on emulator

2009-02-02 Thread google
hi, i am trying simple map application. i did all steps to get map app like getting API key... and so on but i am getting only white and black boxes of combination as o/p no map is coming. and in log it is showing MapActivity couldn't get connection factory client. can anybody tell solution

[android-developers] getting id of current picture taken from camera?

2009-02-02 Thread jj
Hello everybody, When I launch camera from my app camera capture picture and when I it save it goes into image media provider, So how should I get image _id for this current picture From media Provider.(I mean I want Uri for this picture content://media/ external/images/1) ;

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

2009-02-02 Thread David Turner
You will need to setup a network redirection, see http://code.google.com/android/reference/emulator.html#emulatornetworking On Mon, Feb 2, 2009 at 6:57 AM, zcj0429 zcj0...@gmail.com wrote: Hi, everyone: How can my host machine connect to emulator using socket? In my application, I need

[android-developers] Re: discover intents that an app supports

2009-02-02 Thread Peli
Hi, The effect is that there is is no good distinction between 'private' and 'public' interfaces, since all intents are equally visible [...] Just being able to see the intent filters of other apps would be a huge help. I doubt that this would be the solution you look for. If your

[android-developers] Re: discover intents that an app supports

2009-02-02 Thread Peli
Ok, then we had similar suggestions :-) Somehow extend the default information about intent filters with additional information provided by the developer (either in the Manifest, or through separate intents). Whether any of these is more effective than writing good documentation remains to be

[android-developers] content://sms/sent not getting updated?

2009-02-02 Thread GeorgeOfTheBush
Hi I am trying to send a text message like this. SmsManager sm = SmsManager.getDefault(); sm.sendTextMessage(5556, 5554, Test SMS, null, null); 5554 - my app is running on this emulator instance. 5556 - another emulator instance port#. After this, access

[android-developers] Re: Gesture detection

2009-02-02 Thread Moto
But single tap doesn't give my the onUp event I need. Essentially if you hold down a while or scroll the onSingleTapUp is never called... What I did was overwrite the dispatchTouchEvent(MotionEvent ev) and using ev.getAction() looked for ACTION_UP. This did the trick... Thanks for your helpp

[android-developers] Automatic upgrade

2009-02-02 Thread mat
Hi All, Can you provide some example code for automatic upgrade of application? I have URL where the new version is hosted, so after the user start the application I'd like to download new version from given URL, reinstall and run the new version. Regards

[android-developers] Re: is there any setStyle method?

2009-02-02 Thread Romain Guy
Textview supports setTextAppearance if I remember correctly. On Feb 2, 2009 2:22 AM, skink psk...@gmail.com wrote: Dianne Hackborn napisał(a): Sorry there is no way to change the style/theme that a view is using after is is created. thank you Dianne, but what about dynamic setStyle in the

[android-developers] Caching a content provider

2009-02-02 Thread Charles Harley
I am performing hundreds of calls to a single content provider to perform various insertions, updates and deletions. After profiling my application, I have noticed that the ContentResolver class takes approx. 30ms to retrieve the corresponding content provider object for each call. Is there

[android-developers] Re: Why I cannot see my mail to the group?

2009-02-02 Thread Mark Murphy
Faber Fedor wrote: Unless someone replies to your email, you will not see your original posting. That might be true from the Web interface, but I see my own posts and replies all the time when I do it from my email client. Since three of his posts showed up all at once, I'm guessing there

[android-developers] Re: Is there a simple way to do Key/Value with Spinners?

2009-02-02 Thread muckwarrior
I'm also interested in a solution to this. Before I start hacking something together does anyone have any advice on the best way to approach it? On Jan 12, 12:21 am, Robert Green rbgrn@gmail.com wrote: I'm familiar with arrays.xml to define static data sets for spinners and this works

[android-developers] Re: Why I cannot see my mail to the group?

2009-02-02 Thread Justin (Google Employee)
This specific instance was a moderation delay. First time posters are moderated. Moderation passes happen less frequently on the weekend, because humans do them. Cheers, Justin Android Team @ Google On Feb 2, 9:16 am, Mark Murphy mmur...@commonsware.com wrote: Faber Fedor wrote: Unless

[android-developers] Re: Is there a simple way to do Key/Value with Spinners?

2009-02-02 Thread Dianne Hackborn
If you want to stick with using array resources, just make two arrays, one with the things to display to the user, the other with the keys. Otherwise, you can always make your own adapter, and load that from an XML resource or anything else of whatever format you want. On Sun, Jan 11, 2009 at

[android-developers] How to change working directory?

2009-02-02 Thread ebmajor
Hi all, I just got the Dev Phone G1 so I install my apk, named myapp.apk on it. But my application's working directory is /system/myapp which is mounted as read-only. So I want to change my working directory to /data. How can I change this ? Thanks in advance.

[android-developers] Re: How to change working directory?

2009-02-02 Thread Mark Murphy
ebmajor wrote: Hi all, I just got the Dev Phone G1 so I install my apk, named myapp.apk on it. But my application's working directory is /system/myapp which is mounted as read-only. So I want to change my working directory to /data. How can I change this ? 1. I would not rely

[android-developers] Re: is there any setStyle method?

2009-02-02 Thread Dianne Hackborn
Well you'll need to define dynamic theme. What specifically are you asking about? On Mon, Feb 2, 2009 at 1:58 AM, Paranoia zheny...@gmail.com wrote: so android does not support dynamic theme, right? do you guys have any plan to support it? On Feb 2, 10:36 am, Dianne Hackborn

[android-developers] Re: keytool - need help

2009-02-02 Thread Mark Roberts
Are you using Eclipse? You can load directly onto the G1 using eclipse. On Feb 1, 4:58 pm, solid young...@gmail.com wrote: I am new to developing android apps.  I have been writing java webapps for years and decided to try my hand at this.  I have my app humming along in the emulator but I

[android-developers] How to delete tab widget and again recreate

2009-02-02 Thread prem....@gmail.com
Hi I am trying to create TabPage. I am able to create it and everythong is fine in this page. Once i will come back to other page and again if will go to tab page then i am getting exception. Can anyone plz suggest me how to delete tabs and recreate again. Regards, prem

[android-developers] delete tabHost?

2009-02-02 Thread prem....@gmail.com
Hi how to delete tabHost and recreated? prem --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from

[android-developers] Re: Dialing Permission

2009-02-02 Thread Nauman ...
I think your problem is with the CALL intent and not the DIAL intent. Dial intent doesn't require permission by default but CALL does... I had the same problem with the CALL intent. I've downloaded the latest SDK ... did they change the default permissions? On Feb 2, 9:53 am, Sohail

[android-developers] How to change working directory?

2009-02-02 Thread ebmajor
Hi all, I just got the Dev Phone G1 so I install my apk, named myapp.apk on it. But my application's working directory is /system/myapp which is mounted as read-only. So I want to change my working directory to /data. How can I change this ? Thanks in advance.

[android-developers] Re: Trackball Event

2009-02-02 Thread Dianne Hackborn
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 ayanafr...@gmail.com wrote: Hi, I have an activity which then set's a custom View class. Most of my app's functionality is coded into the View. I detect motion

[android-developers] How to change working directory?

2009-02-02 Thread ebmajor
Hi all, I just got the Dev Phone G1 so I install my apk, named myapp.apk on it. But my application's working directory is /system/myapp which is mounted as read-only. So I want to change my working directory to /data. How can I change this ? Thanks in advance.

[android-developers] running out of memory

2009-02-02 Thread shweta kumari
Hi, I am running a script that runs randomly the browser and music.After 7-8 instances of browser getting opened I see the following error :- D/AndroidRuntime( 992): Shutting down VM W/dalvikvm( 992): threadid=3: thread exiting with uncaught exception (group=0x4000fe68) E/AndroidRuntime(

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

2009-02-02 Thread kostmo
Does anyone know whether the G1 device is capable of supporting OpenGL ES 1.1? Is this something that depends on both the graphics chip and the OS, or is it purely software? If Android/the G1 only supports OpenGL ES 1.0, are there any pieces of the 1.1 spec that are supported?

[android-developers] Re: How to turn on stdout/stderr log messages?

2009-02-02 Thread Squall.Hung
Hi fadden, I am a very junior developer on linux world. I ran into the same problem fail to redirect stdout/stderr log to logcat. I have followed your suggestion and I modified the sh application and ril driver but I did not get any fprintf message from logcat. I have tried to search related

[android-developers] Re: android.app.Application global application variable store

2009-02-02 Thread Dianne Hackborn
Just make a subclass, put its name in the application tag in your manifest, and retrieve it from the activity and cast it to your class. Though personally I would just use global variables for this kind of stuff. On Sun, Feb 1, 2009 at 5:29 AM, MB marcus.mm.bur...@googlemail.com wrote: I want

[android-developers] Re: G1 activation problem

2009-02-02 Thread rifo...@gmail.com
I've just unlocked my G1. I'm on rogers and have tried all the different APN's that i've found online. I still can't bypass the activation screen. I tried calling rogers and the rep said I could only put on the 2mb data plan and so i'm thinking maybe this data plan is the reason I can't connect

[android-developers] Re: It is Now MID-Q1, where are the Paid Apps???

2009-02-02 Thread Sundog
I am certainly not losing faith but the lack of information is truly disconcerting. As you say, Google has now failed to live up to the early first quarter promise. On Feb 1, 7:09 am, Java Developer supp...@cyntacks.com wrote: Dear Google, I believe I have been quite reasonable, patiently

[android-developers] Re: Dialing Permission

2009-02-02 Thread Dianne Hackborn
There was a very late fix with a problem where the dial permission wasn't being enforced. It is being enforced on current phones, and I'm not sure if the fix is in the SDK emulator, but you'd want to get the latest SDK to have the best chance of it being enforced. :} On Sun, Feb 1, 2009 at 9:13

[android-developers] Re: It is Now MID-Q1, where are the Paid Apps???

2009-02-02 Thread Mark Murphy
Java Developer wrote: I believe I have been quite reasonable, patiently waiting for you to deploy the paid application solution. There are many distribution options for Android applications; AFAIK all but Android Market support paid-for applications. I would not advise anyone to rely on any

[android-developers] Re: It is Now MID-Q1, where are the Paid Apps???

2009-02-02 Thread Sundog
Who didn't see THAT one coming... On Feb 2, 11:06 am, Mark Murphy mmur...@commonsware.com wrote: Java Developer wrote: I believe I have been quite reasonable, patiently waiting for you to deploy the paid application solution. There are many distribution options for Android applications;

[android-developers] Re: It is Now MID-Q1, where are the Paid Apps???

2009-02-02 Thread Shane Isbell
SlideME has support for paid applications: http://groups.google.com/group/android-discuss/browse_thread/thread/4d4bef14be051681/b12060065b9b2d5b Shane On Mon, Feb 2, 2009 at 10:03 AM, Sundog sunns...@gmail.com wrote: I am certainly not losing faith but the lack of information is truly

[android-developers] Re: It is Now MID-Q1, where are the Paid Apps???

2009-02-02 Thread Sundog
...and that one... Hint, folks, not naming anyone in particular: this constant pushing of your alternate solutions has had the exact opposite effect you intend, at least with me. On Feb 2, 11:07 am, Shane Isbell shane.isb...@gmail.com wrote: SlideME has support for paid

[android-developers] Re: It is Now MID-Q1, where are the Paid Apps???

2009-02-02 Thread Al Sutton
It'll probably turn up after the ADCII has started which will be after the first handsets built on the platform become available in the second half of 2008. (according to http://code.google.com/android/adc.html ) ;). Al. Sundog wrote: I am certainly not losing faith but the lack of

[android-developers] Re: It is Now MID-Q1, where are the Paid Apps???

2009-02-02 Thread Al Sutton
Does that mean I should the competitors to AndAppStore? :) Al. http://andappstore.com/ Sundog wrote: ...and that one... Hint, folks, not naming anyone in particular: this constant pushing of your alternate solutions has had the exact opposite effect you intend, at least with me. On Feb

[android-developers] Re: Testing applications in mobile

2009-02-02 Thread Mark Murphy
android.bank wrote: Hi, Can I install and test the applications directly on G1 ( purchased from T-Mobile ) or I should purchase the developer version of G1 ( available from google ). Btw, I already registered for android market. Thank you. Yes, you can install and test applications on a G1.

[android-developers] Re: It is Now MID-Q1, where are the Paid Apps???

2009-02-02 Thread Shane Isbell
On Mon, Feb 2, 2009 at 10:08 AM, Sundog sunns...@gmail.com wrote: ...and that one... Hint, folks, not naming anyone in particular: this constant pushing of your alternate solutions has had the exact opposite effect you intend, at least with me. SlideME is not for people like you. Wait for

[android-developers] Re: It is Now MID-Q1, where are the Paid Apps???

2009-02-02 Thread Sundog
I would pursue who people like me are, but something tells me letting this comment stand by itself will be more of a service to the community. On Feb 2, 11:15 am, Shane Isbell shane.isb...@gmail.com wrote: On Mon, Feb 2, 2009 at 10:08 AM, Sundog sunns...@gmail.com wrote: ...and that one...

[android-developers] Why I cannot see my mail to the group?

2009-02-02 Thread Jerry Yang
Hi, all I have send some times, but still cannot see my mail in the group. Can anyone of you see it? Thanks With best wishes Jerry Yang Client System Engineer Intertrust. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[android-developers] Re: is there any setStyle method?

2009-02-02 Thread Paranoia
so android does not support dynamic theme, right? do you guys have any plan to support it? On Feb 2, 10:36 am, Dianne Hackborn hack...@android.com wrote: Sorry there is no way to change the style/theme that a view is using after is is created. On Sun, Feb 1, 2009 at 4:30 PM, skink

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

2009-02-02 Thread Mark Nuetzmann
You must be joking... If I am developing/debugging an app we have to uninstall every time we want to test a change to some code. I find this very hard to believe. On Jan 29, 2:38 am, Stoyan Damov stoyan.da...@gmail.com wrote: I don't know the reason for this particular error message, but I

[android-developers] Re: is there any setStyle method?

2009-02-02 Thread skink
Romain Guy wrote: Textview supports setTextAppearance if I remember correctly. indeed ! Textview supports public void setTextAppearance(Context context, int resid) so its even more mystery that there is no generic View.setStyle(int resid) method for example: suppose i want also change

[android-developers] Re: is there any setStyle method?

2009-02-02 Thread Romain Guy
Supporting dynamic style change is much more complicated than just changing the text appearance. It is not supported at the moment, that's all. On Mon, Feb 2, 2009 at 11:14 AM, skink psk...@gmail.com wrote: Romain Guy wrote: Textview supports setTextAppearance if I remember correctly.

[android-developers] Re: It is Now MID-Q1, where are the Paid Apps???

2009-02-02 Thread Shane Isbell
On Mon, Feb 2, 2009 at 10:22 AM, Sundog sunns...@gmail.com wrote: I would pursue who people like me are, but something tells me letting this comment stand by itself will be more of a service to the community. SlideME has never targeted itself to developers who use one side of their mouth to

[android-developers] Re: It is Now MID-Q1, where are the Paid Apps???

2009-02-02 Thread Josh Dobbs
Thhe only problem with these other outlets is the android users don't seem to know about them or even bother using them if they do know about them. I had my application posted on 3 of these such outlets for a week prior to posting my app on the android market. Not even one person downloaded the

[android-developers] Share text options ACTION_SEND

2009-02-02 Thread Alexey
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); sendIntent.putExtra(Intent.EXTRA_TEXT, Body); sendIntent.putExtra(Intent.EXTRA_SUBJECT,Title);

[android-developers] Re: Extending the WebView

2009-02-02 Thread Mark Murphy
Mark Nuetzmann wrote: I want to extend the WebView so that I can override the action of clicking on a link in the webview. You want to set a WebViewClient on the WebView, where in the WebViewClient you put your logic in shouldOverrideUrlLoading(). -- Mark Murphy (a Commons Guy)

[android-developers] Re: Share text options ACTION_SEND

2009-02-02 Thread Dianne Hackborn
That would happen because Gmail is the only app on the device that knows how to execute the intent you have created. On Mon, Feb 2, 2009 at 11:27 AM, Alexey avolo...@gmail.com wrote: Hi all, i'm trying to display a choice to send a text via email/sms. public void onClick(View v) {

[android-developers] Re: It is Now MID-Q1, where are the Paid Apps???

2009-02-02 Thread Shane Isbell
On Mon, Feb 2, 2009 at 11:25 AM, Josh Dobbs joshdo...@gmail.com wrote: Thhe only problem with these other outlets is the android users don't seem to know about them or even bother using them if they do know about them. I had my application posted on 3 of these such outlets for a week prior to

[android-developers] Re: Share text options ACTION_SEND

2009-02-02 Thread Alexey
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 Imap email will be an option ? All the data i have is a plain text. On Feb 2, 1:51 pm, Dianne Hackborn hack...@android.com wrote: That

[android-developers] How can I source-level debugging in unit test caes in android under eclipse with ADT?

2009-02-02 Thread ying lcs
By following this: http://dtmilano.blogspot.com/2008/11/android-testing-on-android-platf.html I can run the unit test cases either by : 1. command line ' adb shell am instrument -w com.example.android.apis.tests/android.test.InstrumentationTestRunner' 2. Go to 'Dev' and clicks 'Instrumentation'

[android-developers] Re: It is Now MID-Q1, where are the Paid Apps???

2009-02-02 Thread Al Sutton
If you can get the AndAppStore client installed on every device in the same way that Google has the Marketplace client installed on every G1 shipped I'm sure you'd see those figures change :). Al. Josh Dobbs wrote: Thhe only problem with these other outlets is the android users don't seem

[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);

[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] 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);

[android-developers] Re: g1 for developers

2009-02-02 Thread Charlie Collins
1. Yes, it works fine on ATT (see other threads in this group, just set the ACN, it works) 2. It connects fine to ATT'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 ATT) And yes, I do have one (the dev G1 that is), and do

[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

[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

[android-developers] Re: g1 for developers

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

[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 avolo...@gmail.com 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

[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 micromys...@gmail.com

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

[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-developersq=developer+phone+1+at%26tqt_g=Search+this+group The link above is for the search term developer phone 1 att on this group. Android

[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: Why I cannot see my mail to the group?

2009-02-02 Thread longhairedsi
Hello, I'm having the same problem, posted about 20 hours ago, still not showing up. Lets see if this one arrives! Cheers Simon On Feb 2, 8:48 am, Jerry Yang jer...@intertrust.com wrote: Hi, all I have send some times, but still cannot see my mail in the group. Can anyone of you see it?

[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

[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

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

2009-02-02 Thread Marco Nelissen
On Mon, Feb 2, 2009 at 12:20 PM, bleucalme bleuca...@gmail.com 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

[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 cspeche...@gmail.com wrote: TextView                 android:text=please send this          

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

[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: discover intents that an app supports

2009-02-02 Thread jarkman
I see where you are coming from, but I think what may really happen is that the usage of intents between apps will turn into a terrible swamp. You can see it happening already, with developers using logcat output and guessing and finding snippets in other deveelopers blogs and reading source

[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 avolo...@gmail.com 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

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

[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. ?xml version=1.0 encoding=utf-8? WebView xmlns:android=http://schemas.android.com/apk/res/ android

[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 alowis...@gmail.com 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

[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 simon.drab...@gmail.com wrote: I'd be interested in possibly getting together. On Jan 30, 9:10 am,

[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

[android-developers] Cannot view images copied to SD Card in the emulator

2009-02-02 Thread SBK
Hi I was able to copy image files to the emulator. This is what i did. 1. Created an SD Card image as per http://code.google.com/android/reference/emulator.html#sdcard 2. Run the emulator as emulator -sdcard imagename 3. Run adb push test.png /sdcard After restarting the emulator, i found that

[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 sr9...@gmail.com wrote: Great, do you know any other people in this area interested in Android?? If you are

[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 hack...@android.com 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 ayanafr...@gmail.com

[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 rob.fr...@gmail.com 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

[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 rob.fr...@gmail.com wrote: Hi all When did Google start allowing devs to charge for their applications? I thought this was

[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

[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

[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 joshdo...@gmail.com 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

[android-developers] Key down event not recieved during call for sending DTMF events

2009-02-02 Thread srinivas
Hi, I am testing DTMF tone generation. When i make a call and press a key while in call, a key down and a key up evnets should be generated which are processes in InCallScreen.java file. The key down event is not received in this file. But this event is received in EentHub.cpp. I am seeing this

[android-developers] Re: Age of GPS data

2009-02-02 Thread Ludwig
I suggest you better implement a location listener, which is much more light-weight than the busy polling you are implementing. You can cancel your subscription to location updates once you have one that satisfies you.Ludwig 2009/2/1 Anna PS annapowellsm...@googlemail.com Great - thank you.

[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 joshdo...@gmail.com wrote: I have people giving me one star because my app is not open office or cupcake. I also  

[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 joshdo...@gmail.com 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 joshdo...@gmail.com wrote: I have people giving me one

[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

[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

[android-developers] android.app.Application global application variable store

2009-02-02 Thread MB
I want to create a global variable store for a list of user defined objects. I have a LinkedList of Feed (a user defined object) that I need to be made available to a new Activity that is created. This list is displayed using a ListView and so when an item of the ListView is clicked, I need the

  1   2   >