[android-developers] Idea for non-US/UK developers with paid apps (was Setup Merchant Account link now available)

2009-02-14 Thread Al Sutton
OK, I'm going to float an idea that I'd like some feedback on from developers and (hopefully) someone at Google (Justin, I'd appreciate any clarification you can give on this). My company (Funky Android) is a UK Registered company and I would be willing to allow it to act as a publisher for

[android-developers] Re: Margin-problem with changed layout for titlebar

2009-02-14 Thread $§Kalle§$
I uploaded a screenshot, which shows the problem, I have with the changed titlebar http://hphone.eu/Android/Titlebar.html KalLe On 11 Feb., 21:09, $§Kalle§$ __kalle...@hphone.eu wrote: I am using the following Layout for thetitlebarwith a blue backround color RelativeLayout        

[android-developers] Re: Idea for non-US/UK developers with paid apps (was Setup Merchant Account link now available)

2009-02-14 Thread Mads Kristiansen
That's an interesting idea - I might sign up for something like that. In any case it will be very interesting first of all to see how well the paid apps will perform compared to a certain other Application Store. Another option for me personally would be to take a field trip to Germany and

[android-developers] Re: Setup Merchant Account link now available

2009-02-14 Thread Mariano Kamp
You wouldn't be on equal footing with us/uk developers. The category winners could already be picked when you are allowed to finally publish your app. On Sat, Feb 14, 2009 at 8:41 AM, Mads Kristiansen mads.kristian...@nullwire.com wrote: I'd like to see someone create a solution like armadillo

[android-developers] Re: Setup Merchant Account link now available

2009-02-14 Thread Mads Kristiansen
Yes, well hopefully I can create apps that are able to compete with the other really skillful developers out there. What happens is that I'll probably just give it away for free sarcasmand make it my mission in life ruin it for somebody else trying to sell a similar app until I can charge

[android-developers] SimpleCursorAdapter and ListView.setTextFilterEnabled()

2009-02-14 Thread Parakoos
I want to display all contacts with a phone number in a list. I got the data, it is displayed in the list but my problem is that I can't get the text filter functionality to work. E.g. when the user types 'fre' it should filter out all entries not containing 'fre'. This is what I've got in the

[android-developers] How to force MediaStore to rescan the SD card

2009-02-14 Thread info.sktechnol...@gmail.com
If I progammatically store new media files on the SD card, the MediaStore does not know about them until I remove and reinsert the SD card. Is there a way to tell the MediaStore to rescan the SD card without first unmounting the SD card? --~--~-~--~~~---~--~~ You

[android-developers] Re: Getting location with multiple providers

2009-02-14 Thread Aaron Smith
Aha. I didn't know it was possible to register more than one provider at a time. I'll give that a go. Cheers. On Feb 13, 2009 5:47 PM, Timo Bruck timot...@gmail.com wrote: I believe you have to register for multiple location providers (network, gps). In my code, I call requestLocationUpdates()

[android-developers] Share component as APK file

2009-02-14 Thread kevin
I am working on couple android applications which share a common component. The component has Activities, Service and own AndroidManifest.xml. After research, it seems there is no concept of run time share library among applications in Android. So I am looking for a way to linked the share

[android-developers] Re: Share component as APK file

2009-02-14 Thread Mark Murphy
kevin wrote: I am working on couple android applications which share a common component. The component has Activities, Service and own AndroidManifest.xml. After research, it seems there is no concept of run time share library among applications in Android. So I am looking for a way to

[android-developers] Re: Idea for non-US/UK developers with paid apps (was Setup Merchant Account link now available)

2009-02-14 Thread Mark Murphy
Al Sutton wrote: OK, I'm going to float an idea that I'd like some feedback on from developers and (hopefully) someone at Google (Justin, I'd appreciate any clarification you can give on this). My company (Funky Android) is a UK Registered company and I would be willing to allow it to

[android-developers] Re: Has anyone succeeded in displaying non latin-1 characters in Webview after RC33?

2009-02-14 Thread kolby
Mark, thanks for the tip on the URI encoding of the data for loadData. It worked like a charm. Apparently, I'm not the only one with this problem though. API documentation would go along way. Michael --~--~-~--~~~---~--~~ You received this message because you

[android-developers] Re: [Split the Android screen into two parts and run 2 applications simultaneously on both screen]

2009-02-14 Thread सरोज
Hello Faber, One more thing you told that you can combine App A and App B into App C and have each sub App write into their own view which would be contained in another view. How to do this .can you show some example/sample ? Thanking you. Regards, Saroj On Sat, Feb 14, 2009 at 6:33 PM,

[android-developers] Re: Problem in sending messages with special characters

2009-02-14 Thread for android
any help? On Fri, Feb 13, 2009 at 4:00 PM, for android forandr...@gmail.com wrote: I donot have a device.I am testing on the emulator. When i send a message(problematically and through the device) with special characters i am not able to view them properly. For eg: when i send a message

[android-developers] Re: [Split the Android screen into two parts and run 2 applications simultaneously on both screen]

2009-02-14 Thread सरोज
Hello Faber, Here App A and App B are system apps like contacts, dialer, browser, etc. I want to run these two apps simultaneously in two separate part/view of the android screen. Regards, Saroj K Pradhan On Sat, Feb 14, 2009 at 1:12 AM, Faber Fedor faberfe...@gmail.com wrote: Are App A and

[android-developers] Re: [Split the Android screen into two parts and run 2 applications simultaneously on both screen]

2009-02-14 Thread Mark Murphy
Saroj (सरोज) wrote: Here App A and App B are system apps like contacts, dialer, browser, etc. I want to run these two apps simultaneously in two separate part/view of the android screen. I do not believe that is possible, especially if they are not your applications (e.g., dialer, browser).

[android-developers] Re: [Split the Android screen into two parts and run 2 applications simultaneously on both screen]

2009-02-14 Thread सरोज
Hello Faber, I want to implement these idea in the android framework.The android screen is divided into two parts called dual screen. The android framework would manage the 2 system application and run first application on first part of screen and run second application on second part of screen

[android-developers] Re: Has anyone succeeded in displaying non latin-1 characters in Webview after RC33?

2009-02-14 Thread Fred Grott(shareme)
Kolby, Someone just updated javadocs for webview and etc in source..its in code review.. I found a lot of more answers ot webview question i had..hold on link is http://review.source.android.com/Gerrit#patch,sidebyside,8267,1,core/java/android/webkit/WebView.java On Feb 14, 7:55 am, kolby

[android-developers] Identifying a Phone By A Unique ID?

2009-02-14 Thread Mark Hansen
Is there some method in which i can identify a phone, a serial number or something similar that's accessible by code? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

[android-developers] Re: Unable to start service Intent error in Client-Server project

2009-02-14 Thread Sunil . Maharana
Hi Hans,Thanks for your help Hans, i have created two projects same as your project name and added your files, the TestService project is fine, but for ServiceMonitor project it is giving error at the import statement only.It is not allowing to import the TestService as "The import

[android-developers] Unable to start service Intent error in Client-Server project

2009-02-14 Thread Android
Hi Hans, Thanks for your help Hans, i have created two projects same as your project name and added your files, the TestService project is fine, but for ServiceMonitor project it is giving error at the import statement only. It is not allowing to import the TestService as The import

[android-developers] Re: Identifying a Phone By A Unique ID?

2009-02-14 Thread Mark Murphy
Mark Hansen wrote: Is there some method in which i can identify a phone, a serial number or something similar that's accessible by code? That depends on how you define identify and phone. ;-) You can get at the IMEI number via android.telephony.TelephonyManager's getDeviceId() method...but I

[android-developers] Re: Identifying a Phone By A Unique ID?

2009-02-14 Thread sm1
There are a few such serial numbers in a G1. For example, using the TelephonyManager you can obtain the SIM Serial Number and also the Device ID. Application {Device Internals for r1} will show you these, as well as other data. --~--~-~--~~~---~--~~ You received

[android-developers] Re: Identifying a Phone By A Unique ID?

2009-02-14 Thread Mark Hansen
Basically I'm reporting a score via a webservice, instead of having a login password I was just wanting to use a unqiue phone id to track the user. Is ANDRIOD_ID just an accesible global type variable? Thanks for the help. Mark On Feb 14, 10:50 am, Mark Murphy mmur...@commonsware.com wrote:

[android-developers] Re: Identifying a Phone By A Unique ID?

2009-02-14 Thread Mark Murphy
Mark Hansen wrote: Basically I'm reporting a score via a webservice, instead of having a login password I was just wanting to use a unqiue phone id to track the user. Is ANDRIOD_ID just an accesible global type variable? It's a static public field on android.provider.Settings.System. --

[android-developers] Re: Idea for non-US/UK developers with paid apps (was Setup Merchant Account link now available)

2009-02-14 Thread Al Sutton
The first step is, of course, Google saying that they won't shut down the agents account as soon as they list someone elses app Al. Mark Murphy wrote: Al Sutton wrote: OK, I'm going to float an idea that I'd like some feedback on from developers and (hopefully) someone at Google

[android-developers] Re: Identifying a Phone By A Unique ID?

2009-02-14 Thread Mark Hansen
That should work nicely.. thanks for the information. On Feb 14, 11:02 am, Mark Murphy mmur...@commonsware.com wrote: Mark Hansen wrote: Basically I'm reporting a score via a webservice, instead of having a login password I was just wanting to use a unqiue phone id to track the user.

[android-developers] Re: Unable to start service Intent error in Client-Server project

2009-02-14 Thread Hans
You should only need the AIDL file to reside in the TestService's folder because the IDL compiler will find it there. Again, make sure you have your build path setup properly for Service Monitor. Iirc, I tested this on a laptop I'd not used for anything and it built for me straight away when I

[android-developers] howto access music file properties?

2009-02-14 Thread robotissues
I would like to retrieve the properties that describe an mp3 file's properties (ie: author, album, title ...). I was not able to use javax.sound.sampled.AudioFileFormat to do this. Advice super appreciated. Thank you, i++ --~--~-~--~~~---~--~~ You received this

[android-developers] Need some help at testing an Android game

2009-02-14 Thread LuchoLaf
Hi from Argentina! we are a little team working on a tower defense- like game for Android. Our problem is that it's really complicated to get a real Android device here and we need it in order to see how the game performs. So this is a little help request for those who own a G1 or similar: here

[android-developers] Re: Need some help at testing an Android game

2009-02-14 Thread Al
Hi, here are the results I got: Min fps: 8 Max fps: 43 avg fps: 24 The game looks quite interesting, good luck. On Feb 14, 5:02 pm, LuchoLaf lucho...@gmail.com wrote: Hi from Argentina! we are a little team working on a tower defense- like game for Android. Our problem is that it's really

[android-developers] Re: G1 detected as 'offline' by Eclipse plugin

2009-02-14 Thread GiladH
Hi, If you're ALWAYS having this problem - your best bet it so go to the driver manager and look for yellow (i.e. incompletely installed) USB drivers If you're having this problem every now again - just boot your PC when it happens. couldn't figure out anything smarter than that.. GiladH

[android-developers] Re: Need some help at testing an Android game

2009-02-14 Thread LuchoLaf
Ups, I get avg fps: 38 on the emulator. Anyway, does it feel right the motion and animations or does it look choppy? Thanks buddy! On 14 feb, 14:10, Al alcapw...@googlemail.com wrote: Hi, here are the results I got: Min fps: 8 Max fps: 43 avg fps: 24 The game looks quite interesting,

[android-developers] Re: How to force MediaStore to rescan the SD card

2009-02-14 Thread kolby
You can make an android.media.MediaScannerConnection, connect to it, and provide a client to scan a directory. Michael On Feb 14, 7:05 am, info.sktechnol...@gmail.com info.sktechnol...@gmail.com wrote: If I progammatically store new media files on the SD card, the MediaStore does not know

[android-developers] Re: Has anyone succeeded in displaying non latin-1 characters in Webview after RC33?

2009-02-14 Thread kolby
Apparently the problem was not documentation, but my lack of understanding of the data: scheme. My bad, Michael On Feb 14, 10:08 am, Fred Grott(shareme) fred.gr...@gmail.com wrote: Kolby, Someone just updated javadocs for webview and etc in source..its in code review.. I found a lot of more

[android-developers] Question about defining selector drawable

2009-02-14 Thread Meryl Silverburgh
Hi, I am trying to setup a selector drawable in my asset file like this: * 2 different images for 'on'/'off' mode in rest mode (i.e. it does not has focus) * another 2 different images for 'on'/'off' mode in focus mode (i.e. it has the focus). In my case, the rest mode works, but the 'focus'

[android-developers] Re: G1 detected as 'offline' by Eclipse plugin

2009-02-14 Thread Al Sutton
If you're running Vista you may just be stuffed. I have two machines, an XP one and a Vista one. The Vista one always lists the G1 as being offline and reports no problems with the driver installation (no yellow triangle, no error message, just a This device is working properly. in the Device

[android-developers] Re: RTSP and MMS - mediaplayer shenanigans

2009-02-14 Thread Dave Sparks
I'm pretty sure that OpenCore is going to reject the mms URI. On Feb 13, 8:57 pm, Rob Franz rob.fr...@gmail.com wrote: I believe this is WMA on the other end. Does this present a problem? On Feb 13, 2009 11:13 PM, Rob Franz rob.fr...@gmail.com wrote: Hi all I'm trying to get an RTSP

[android-developers] local classes and starting new activity

2009-02-14 Thread automerc
I am having trouble running my application as every time i try to run it the simulator gives me a an error. I looked through the Documentation but I couldn't find anything on user created classes. import android.app.Activity; import android.os.Bundle; import android.view.View; import

[android-developers] Re: howto access music file properties?

2009-02-14 Thread Jason Van Anden
I sorted this out. MusicDroid example is a bit of a red herring. MusicStore is clearly the way to go! On another note ... can the Music App pre loaded with Android be accessed as a service? Essentially I would like to have the selected song pass back to my app. On Sat, Feb 14, 2009 at 11:36

[android-developers] Re: Android 1.1_r1 SDK released and developer.android.com launched

2009-02-14 Thread Guillaume Perrot
Sadly, the javadoc is not included in the new android.jar, so we can't have the doc in Eclipse anymore when auto-completing... Is there a way to restore that ? On Feb 14, 12:27 am, Mark Murphy mmur...@commonsware.com wrote: DavidLanz wrote: do you guys know what's the different from 1.0.r2 to

[android-developers] Dumb question about SMS - what port does a normal text SMS come in...

2009-02-14 Thread Hans
...on? Is that defined by the carrier or whoever has 'branded' the phone? For example, on the G1 in the US, does T-Mobile define that? If so, does anyone know? I was hoping that I could find out more information about where an SMS message came from when I received an Intent but it seems to

[android-developers] Re: Has anyone succeeded in displaying non latin-1 characters in Webview after RC33?

2009-02-14 Thread Chister Nordvik
Thanks! That did the trick :-) Seems like they changed the behavior in RC33, but now it works perfectly again. -Christer --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] Re: How to force MediaStore to rescan the SD card

2009-02-14 Thread Dave Sparks
You want something like this in your activity: import android.media.MediaScannerConnection; import android.media.MediaScannerConnection.MediaScannerConnectionClient; private static class MediaScannerNotifier implements MediaScannerConnectionClient { private Context mContext; private

[android-developers] ViewFlipper bringChildToFront(View v)

2009-02-14 Thread gsmd
I have this ViewFlipper populated with views via addView(View v). Now, the simple task is to bring specific (not just next or previous) view to the top. Looks like bringChildToFront(View v) with a passed reference to a View should do this. It doesn't, the top view doesn't change. Plz suggest what

[android-developers] Re: Unable to start service Intent error in Client-Server project

2009-02-14 Thread Dianne Hackborn
There apparently is an implementation of that class in your local client .apk. It is very clear from the logs that the client is trying to interact with -some- component in its package, as you can see right in the component name. On Thu, Feb 12, 2009 at 2:37 PM, Hans hkess...@gmail.com wrote:

[android-developers] Re: Unable to start service Intent error in Client-Server project

2009-02-14 Thread Dianne Hackborn
On Sat, Feb 14, 2009 at 7:38 AM, sunil.mahar...@lntinfotech.com wrote: import com.android.TestService.*; Is this code part of the android platform? No? Then please don't use this namespace. Thanks. :) -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't

[android-developers] Re: [Split the Android screen into two parts and run 2 applications simultaneously on both screen]

2009-02-14 Thread Dianne Hackborn
This list is for programming with the SDK, please use android-framework or android-platform for talking about changes to the system. That said, doing this is extremely non-trivial. Your first step is to go into ActivityManagerService and WindowManagerService and have a good understanding of that

[android-developers] Re: ViewFlipper bringChildToFront(View v)

2009-02-14 Thread Mark Murphy
gsmd wrote: I have this ViewFlipper populated with views via addView(View v). Now, the simple task is to bring specific (not just next or previous) view to the top. Looks like bringChildToFront(View v) with a passed reference to a View should do this. It doesn't, the top view doesn't change.

[android-developers] Re: Comments/Ratings need to expire!

2009-02-14 Thread Dianne Hackborn
How about publishing it as a new app? As a user, I certainly wouldn't want ratings dropped quickly just because someone uninstalls an app. On Fri, Feb 13, 2009 at 10:32 PM, Beshoy odsl...@gmail.com wrote: A scenario: You release an app... brand new.. tested locally, but not globally... you

[android-developers] Re: Playing video in android

2009-02-14 Thread Marco Nelissen
s_filePath = /data/local/video/test_qcif_200_aac_64.mp4; This is probably not going to work, since playback is actually handled by a different process, which probably doesn't have permissions to access that file. The preferred way of handling this is to get a FileDescriptor for the file

[android-developers] Re: Comments/Ratings need to expire!

2009-02-14 Thread Timothy DeWees
Preach IT I'm glad we can now mark ratings as spam but they still need to expire. I've released something like 20+ updates to my application and I am still dinged for version 1.0 because a user rated me 1 star and said needs this feature. I've since added that feature but I'm still dinged

[android-developers] Re: ViewFlipper bringChildToFront(View v)

2009-02-14 Thread gsmd
Thanks, Mark, that worked. bringChildToFront(View v) seems to be a non-functional inheritance legacy for ViewFlipper. For anyone who will implement smth like this later, I suggest adding the views with addView(View v, int index), just a safety net; indexes MUST be sequential increasing.

[android-developers] Re: ViewFlipper bringChildToFront(View v)

2009-02-14 Thread Romain Guy
For anyone who will implement smth like this later, I suggest adding the views with addView(View v, int index), just a safety net; indexes MUST be sequential increasing. Just use addView(View), it guarantees that it will work. -- Romain Guy Android framework engineer romain...@android.com

[android-developers] Re: orange in R.color ?

2009-02-14 Thread gsmd
Thanks. Unfortunately, this doesn't seem to work out. Here's a sample TextView that I inflate: -- TextView xmlns:android=http://schemas.android.com/apk/res/android; android:textAppearance=?android:attr/textAppearanceMedium android:gravity=center

[android-developers] Re: ViewFlipper bringChildToFront(View v)

2009-02-14 Thread gsmd
Yeah, but if the view order changes, you'll get an unexpected behavior. On Feb 14, 10:58 pm, Romain Guy romain...@google.com wrote: For anyone who will implement smth like this later, I suggest adding the views with addView(View v, int index), just a safety net; indexes MUST be sequential

[android-developers] Re: Can I bind to the MediaPlaybackService?

2009-02-14 Thread Marco Nelissen
On Sat, Feb 14, 2009 at 8:33 AM, info.sktechnol...@gmail.com info.sktechnol...@gmail.com wrote: The MediaPlaybackService has exported=true but no intent filters. How do I create an Intent to bind to it? You don't :) MediaPlaybackService is internal the music player at this point. With some

[android-developers] Re: Unable to start service Intent error in Client-Server project

2009-02-14 Thread Hans
I'm not trying to be argumentative for the sake of being argumentative Dianne, but if that was the case, how could the IPC calls to the remote process be resolved if they are only declared in the manifest for the service project which is in a different *.apk? This would mean that android was

[android-developers] Re: Unable to start service Intent error in Client-Server project

2009-02-14 Thread Hans
On Feb 14, 3:12 pm, Dianne Hackborn hack...@android.com wrote: On Sat, Feb 14, 2009 at 7:38 AM, sunil.mahar...@lntinfotech.com wrote: import com.android.TestService.*; Is this code part of the android platform?  No?  Then please don't use this namespace.  Thanks. :) -- Dianne Hackborn

[android-developers] Re: Idea for non-US/UK developers with paid apps (was Setup Merchant Account link now available)

2009-02-14 Thread Jon Colverson
On Feb 14, 4:21 pm, Al Sutton a...@funkyandroid.com wrote: The first step is, of course, Google saying that they won't shut down the agents account as soon as they list someone elses app I don't see why Google would have a problem with this, as long as the agent is willing to accept legal

[android-developers] Re: Comments/Ratings need to expire!

2009-02-14 Thread Marco Nelissen
If a single 1-star rating brings your average rating down noticeably, you've got bigger problems :) In any case, this could be dealt with by weighing recent comments heavier than older comments, no need to remove old comments/ratings. This would be more fair to the customers who took the time to

[android-developers] Re: Dumb question about SMS - what port does a normal text SMS come in...

2009-02-14 Thread Marco Nelissen
SMS normally doesn't travel over an IP connection (note that you can send/receive SMS messages with phones that don't otherwise have a network connection), so there is no associated port. On Sat, Feb 14, 2009 at 11:25 AM, Hans hkess...@gmail.com wrote: ...on? Is that defined by the carrier

[android-developers] Re: MediaPlayer plays sound but screen is black

2009-02-14 Thread Marco Nelissen
Several things potentially wrong with your code: - you're using MediaPlayer.create(), which calls prepare() for you. IIRC, setDisplay() needs to be called *before* prepare(), so you won't be able to use any of the MediaPlayer.create convenience methods. - the way you create and use the

[android-developers] Re: MediaPlayer plays sound but screen is black

2009-02-14 Thread Marco Nelissen
On Sat, Feb 14, 2009 at 1:32 PM, Marco Nelissen marc...@android.com wrote: Several things potentially wrong with your code: - you're using MediaPlayer.create(), which calls prepare() for you. IIRC, setDisplay() needs to be called *before* prepare(), so you won't be able to use any of the

[android-developers] Re: Unable to start service Intent error in Client-Server project

2009-02-14 Thread Hans
Crud Suni - I accidentally left an error call (from when I was testing out the weirdness of service creation the 'wrong' way) in the StartService method in the Service Monitor class... Right below the comment //Attempt to start the service there's a call: startService( new Intent( this,

[android-developers] Re: Unable to start service Intent error in Client-Server project

2009-02-14 Thread Hans
Fixed and re-uploaded in case anyone else uses it. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from

[android-developers] Re: Android 1.1_r1 SDK released and developer.android.com launched

2009-02-14 Thread blake
Justin, For those of us following along at home, is there a tag or branch, in the source that corresponds to the 1.1 release? Thanks! -blake On Feb 9, 2:31 pm, Justin (Google Employee) j...@google.com wrote: Hey developers, today we released the new, 1.1_r1 SDK. This SDK includes some

[android-developers] Re: sound effect using SoundPool

2009-02-14 Thread Sundog
I am using your class and setting it up as you indicate, but having the same difficulty I did last time I tried to use SoundPool; I have seven one-shot sounds that trigger from buttons and in the emulator it works every time, but on the phone itself, occasionally all 7 work but usually only a

[android-developers] Alarm Manager forgets repeating alarms?

2009-02-14 Thread Mariano Kamp
This question is a bit strange, but does anybody know about a common gotcha when using the AlarmManager? And not knowing it sometimes leads to the AlarmManger forgetting alarms? I have a repeating task that runs once an hour. Some nights it runs without a hitch and some nights it runs a

[android-developers] Re: Idea for non-US/UK developers with paid apps (was Setup Merchant Account link now available)

2009-02-14 Thread Mariano Kamp
Germany, Old Europe and all, is also on the axis of the forgotten. So your field trip would need to go to the UK. On Sat, Feb 14, 2009 at 10:12 AM, Mads Kristiansen mads.kristian...@nullwire.com wrote: That's an interesting idea - I might sign up for something like that. In any case it will

[android-developers] How to Check Key Status?

2009-02-14 Thread iAmACyborg
Hi, I'm killing myself here, any help would be appreciated. Is there any way to poll the state of a given hardware key? I'm not talking about using an event. Matthew --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[android-developers] Re: Idea for non-US/UK developers with paid apps (was Setup Merchant Account link now available)

2009-02-14 Thread Mariano Kamp
Sounds like a great idea. But then all the uploads would need to go through you, right? That could make it a burden for you. All rights remain with the developer, so that when the wonderful and popular google checkout opens with a minutes notice in the respective country the app can be published

[android-developers] Re: MediaPlayer plays sound but screen is black

2009-02-14 Thread Brendan
Wow that sounds really convenient. Since the signature of the MediaPlayer.create() that takes a SurfaceHolder requires the second argument to be a URI and not a resource id, I tried creating a URI for the resource by doing this: Uri uri = Uri.parse(android.resource://com.example.www/ +

[android-developers] Re: How to Check Key Status?

2009-02-14 Thread Dianne Hackborn
I don't believe there currently is, sorry. On Sat, Feb 14, 2009 at 2:16 PM, iAmACyborg i...@macyb.org wrote: Hi, I'm killing myself here, any help would be appreciated. Is there any way to poll the state of a given hardware key? I'm not talking about using an event. Matthew --

[android-developers] Re: Dumb question about SMS - what port does a normal text SMS come in...

2009-02-14 Thread Hans
So default text based SMS traffic does not travel over IP, but SMS traffic can travel over IP? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

[android-developers] Re: sound effect using SoundPool

2009-02-14 Thread Dave Sparks
There are a lot of fixes to SoundPool coming in the Cupcake release. I need to check on the crash you mentioned - I don't recall seeing that before and it should give you an error, not crash. The range is dependent on the ratio of the sample rate of the source and the hardware output. On Feb

[android-developers] Re: Dumb question about SMS - what port does a normal text SMS come in...

2009-02-14 Thread george_c
No SMS can NOT ever travel over IP to your handset. Between carriers networks they can, but thats all on the backend of the networks. e.g SS7/SIGTRAN stuff. George On Sun, Feb 15, 2009 at 1:10 AM, Hans hkess...@gmail.com wrote: So default text based SMS traffic does not travel over IP, but

[android-developers] Re: MediaPlayer plays sound but screen is black

2009-02-14 Thread Marco Nelissen
On Sat, Feb 14, 2009 at 3:01 PM, Brendan raven...@gmail.com wrote: Wow that sounds really convenient. Since the signature of the MediaPlayer.create() that takes a SurfaceHolder requires the second argument to be a URI and not a resource id, I tried creating a URI for the resource by doing

[android-developers] Re: Unable to start service Intent error in Client-Server project

2009-02-14 Thread Dianne Hackborn
On Sat, Feb 14, 2009 at 1:14 PM, Hans hkess...@gmail.com wrote: I'm not trying to be argumentative for the sake of being argumentative Dianne, but if that was the case, how could the IPC calls to the remote process be resolved if they are only declared in the manifest for the service project

[android-developers] Re: Resize based on orientation.

2009-02-14 Thread David
Alright, In the new SDK found here: http://dl.google.com/android/android-sdk-windows-1.1_r1.zip Google added an OrientationListener package (android.view.OrientationListener) that has an onOrientationChanged (int orientation) function. This helps immensly. However, I agree with you Dianne,

[android-developers] Re: Has anyone succeeded in displaying non latin-1 characters in Webview after RC33?

2009-02-14 Thread yhfudev
you may use: loadDataWithBaseURL (null, content, text/html, utf-8, about:blank); On Feb 13, 2:33 pm, Mark Murphy mmur...@commonsware.com wrote: Chister Nordvik wrote: String xml = html +   body +         Norwegian chars: aring;oslash; +   /body + /html; myWebView.loadData(xml,

[android-developers] Re: # special characters in webview

2009-02-14 Thread yhfudev
You may use: loadDataWithBaseURL (null, content, text/html, utf-8, about:blank); On Jan 27, 7:45 am, Bob bshumsk...@yahoo.com wrote: Hi, I am populating awebviewwith the loaddata option but special characters such as ' for quotation mark aren't showing up and end the display.  What am I

[android-developers] ViewGroup, Views and Animation

2009-02-14 Thread mobilek...@googlemail.com
Hi, I have a few views and animations and I need to figure out a way to package them so I can use them throughout my app. I thought I should be able to use ViewGroup, however, things are getting a bit complicated as my animations need to repeat and to achieve that I have applied the technique

[android-developers] Re: ViewGroup, Views and Animation

2009-02-14 Thread Romain Guy
Animations have a repeat mode, no need to do it yourself. Also, why wouldn't ViewGroup handle the startOffset? From your email, I don't really understand what your problem is exactly :) On Sat, Feb 14, 2009 at 3:52 PM, mobilek...@googlemail.com mobilek...@googlemail.com wrote: Hi, I have a

[android-developers] Re: Margin-problem with changed layout for titlebar

2009-02-14 Thread Marco Nelissen
On Wed, Feb 11, 2009 at 12:09 PM, $§Kalle§$ __kalle...@hphone.eu wrote: I am using the following Layout for the titlebar with a blue backround color RelativeLayout android:id=@+id/RelativeLayout01 xmlns:android=http://schemas.android.com/apk/res/android;

[android-developers] Re: Some bugs of WebView

2009-02-14 Thread yhfudev
After I have tried some methods, it could work now. use: loadDataWithBaseURL (null, content, text/html, utf-8, about:blank); Thank you very much! On Feb 11, 3:21 pm, Mark Murphy mmur...@commonsware.com wrote: kolby wrote: Hmmm,    String test = htmlhead/headbodysome text font color=

[android-developers] Re: MediaPlayer plays sound but screen is black

2009-02-14 Thread Brendan
Thanks for all your help! I've been trying out your original idea, but I still seem to be having issues. I have moved the SurfaceView to main.xml, it looks like this: ?xml version=1.0 encoding=utf-8? LinearLayout xmlns:android=http://schemas.android.com/apk/res/ android

[android-developers] Re: Resize based on orientation.

2009-02-14 Thread David
Timo Bruck's tip worked like a charm. Each item now takes up exactly 1/2 of the screen, which is what I want. You guys are great, thank you very, very much. On Feb 14, 6:27 pm, David godsinven...@gmail.com wrote: Alright, In the new SDK found

[android-developers] Re: Resize based on orientation.

2009-02-14 Thread Dianne Hackborn
OrientationListener is not new in 1.1, and it is for monitoring the accelerometer sensor not keeping track of the screen display. :} On Sat, Feb 14, 2009 at 3:27 PM, David godsinven...@gmail.com wrote: Alright, In the new SDK found here:

[android-developers] Re: ViewGroup, Views and Animation

2009-02-14 Thread Romain Guy
Use Animation.setRepeatMode() and Animation.setRepeatCount(). On Sat, Feb 14, 2009 at 4:31 PM, mobilek...@googlemail.com mobilek...@googlemail.com wrote: Ok, well I'm a bit new to animations on android, and wasn't sure if ViewGropus was the right path for me. Btw how would you set the repeat

[android-developers] Re: MediaPlayer plays sound but screen is black

2009-02-14 Thread Marco Nelissen
I think you have to use the SurfaceHolder callbacks to find out when the surface has actually been created, and *then* call setDisplay/prepare/start On Sat, Feb 14, 2009 at 4:28 PM, Brendan raven...@gmail.com wrote: Thanks for all your help! I've been trying out your original idea, but I

[android-developers] Re: Margin-problem with changed layout for titlebar

2009-02-14 Thread $§Kalle§$
Don't worry. I will not try to make my apps like Windows x.x. I just want to understand the changebale titlebar for the moment ;-) Here is the complete layout, which fits to the scrrenshot I mentioned. I do not think, that the icons caused the problem. ## ?xml version=1.0

[android-developers] How do I remove the default frame around each picture in Gallery?

2009-02-14 Thread j
How do I remove (or replace) the default frame around each picture in Gallery widget? Does the frame comes from attr name=android:galleryItemBackground / ? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: Margin-problem with changed layout for titlebar

2009-02-14 Thread Marco Nelissen
It's starting to look like your custom title layout is embedded in a container view that does additional padding. Not sure why it would do that, but if that's the case, you may have to request FEATURE_NO_TITLE instead, and then make your custom title part of the your layout. On Sat, Feb 14, 2009

[android-developers] Re: Programmatically get resource information

2009-02-14 Thread Alistair.
Something like: private Bitmap getFromName(String bitmapName) { Bitmap target = null; try { int value = getFieldValue(bitmapName, R.drawable.class); InputStream is = context.getResources().openRawResource(value); target =

[android-developers] Restricting number of items AutoCompleteTextView displays.

2009-02-14 Thread Lewis
I have an AutoCompleteTextView working correctly. I want to limit the amount of items which show in the drop down menu which appears (in order to stop the menu appearing over other screen items). I cannot find the attribute I have to change for this anywhere. My AutoCompleteTextView is bound to a

[android-developers] Re: Restricting number of items AutoCompleteTextView displays.

2009-02-14 Thread Romain Guy
You cannot control this feature. On Sat, Feb 14, 2009 at 6:04 PM, Lewis lewisandrewba...@googlemail.com wrote: I have an AutoCompleteTextView working correctly. I want to limit the amount of items which show in the drop down menu which appears (in order to stop the menu appearing over other

[android-developers] Re: RTSP and MMS - mediaplayer shenanigans

2009-02-14 Thread Marco Nelissen
Doesn't that certain satellite radio online streaming audio service require that you authenticate in some way before accessing the stream? On Sat, Feb 14, 2009 at 4:55 PM, Rob Franz rob.fr...@gmail.com wrote: It's hard to say what's being rejected... I have tried putting rtsp:// instead of

[android-developers] Please help me in defining the style of my custom widget in my theme.

2009-02-14 Thread Meryl Silverburgh
Hi, I have tried everything thing I can thing of in defining the style of my widget in my theme. But I still can't get it to work. I have posted my questions to various forum/newgroup, I can't get my problem resolved. I appreciate if someone can help me. I am tying to define the style of

[android-developers] How to share preference across several Activities?

2009-02-14 Thread Mattaku Betsujin
Hello, I have two activities in two different packages: com.foo.a and com.foo.b. Is it possible to create an PreferenceActivity (with the exact same XML file) so that the preference is shared across the two activies? Thanks --~--~-~--~~~---~--~~ You received this

  1   2   >