[android-developers] Re: Android Market: server error when authorizing credit card

2009-03-05 Thread acrosser
Heh... I guess it would create some problems if you tried to purchase an app with your own account for, say, 1 dollar... So your account is then $-1.00, Google gets $0.30 and you get the other $0.70, bringing your own account up to $-0.30. Then if you return the app you would be refunded $1.00,

[android-developers] Update UK G1 not showing paid apps

2009-03-05 Thread Al Sutton
I've been playing with a UK G1 which has received the 1.1 firmware update (TC9), but it would seem that it can't access paid for apps. I'd appreciate someone else verifying this on another update UK G1, but when I switched the view to show paid apps only all the categories just have a message

[android-developers] Re: Where can I find a app for my gps test?

2009-03-05 Thread www_...@yahoo.com.cn
I have already known about that, but i still need a app to start my GPS as I don't have the environment to build a app. On 3月5日, 下午12时05分, www_...@yahoo.com.cn www_...@yahoo.com.cn wrote: Thanks Avraham. DoesGPSstarts automatically when android boots up? I mean whether or not i need a app to

[android-developers] Re: Update UK G1 not showing paid apps

2009-03-05 Thread Ryan
I can confirm this is the same on my UK G1. The market is no longer Beta, but no paid app's yet. My guess is the update means UK G1's can now support paid app's, but we're still waiting on Google to flick the switch and make them available. Hopefully, not too much longer to wait. On Mar 5,

[android-developers] Refresh Notification after deleting from user

2009-03-05 Thread Manfred
Hi! I have a Backgroundservice running, an icon is displayed in the status- bar. When a user clicks the button delete notifications my icon dissappears also. But i want that after that my icon appears again! So that the user is able to click on the notification to get into my application. Now i

[android-developers] Re: Update UK G1 not showing paid apps

2009-03-05 Thread lotusscript
Same here! Now where did I put that Google, switch em on or else email :-) Al Sutton wrote: I've been playing with a UK G1 which has received the 1.1 firmware update (TC9), but it would seem that it can't access paid for apps. I'd appreciate someone else verifying this on another update

[android-developers] Re: Is ProgressBar correctly handling padding-values?

2009-03-05 Thread Cyril Mottier
I prefer you being terse and giving understandable answers than no one answering me :p. Thanks ;) On 4 mar, 18:09, Romain Guy romain...@google.com wrote: onkeydown: make sure your view is focusable and focused. Padding: known bug, fixed in cupcake. Sorry for being terse, sent from my phone

[android-developers] Re: Refresh Notification after deleting from user

2009-03-05 Thread dillirao malipeddi
while creating notification set flags as FLAG_NO_CLEAR then the notification remains after user clicks clear notification Notification my_notification = new Notification(R.drawable.iconl, status_text, System.currentTimeMillis()); my_notification .flags = Notification.FLAG_NO_CLEAR; i

[android-developers] Re: Refresh Notification after deleting from user

2009-03-05 Thread Manfred
Thanks alot, this is what i need :-) On 5 Mrz., 10:04, dillirao malipeddi dillir...@arijasoft.com wrote: while creating notification set flags as FLAG_NO_CLEAR then the notification remains after user clicks clear notification  Notification my_notification = new

[android-developers] How to create a view with a background that wraps up all the content of the view?

2009-03-05 Thread hc
I'm trying to create a listview containing conversations in chat bubbles, and each chat bubbles are rows in the list view. So what I have is an avatar on the left, and a chat bubble on the right. Then in the chat bubble, I have a textview for name, a textview for content, and a textview for

[android-developers] Re: what is the recording format of Intent .RECORD_SOUND_ACTION?

2009-03-05 Thread zeeshan
thanks for the reply Dave, i was really waiting for it. is there any way to transcode it in mp3 after record finish. i need this kind of output: Intent intent = new Intent (MediaStore.Audio.Media.RECORD_SOUND_ACTION); startActivityForResult(intent, ACTIVITY_RECORD_SOUND); protected void

[android-developers] How to get raw data decoded by MediaPlayer

2009-03-05 Thread npak...@gmail.com
Hi all, Is it possible to get raw data decoded by MediaPlayer? If yes, please show me how to do that. Thank for your help. NPAK --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] Re: MediaPlayer not running - just blank screen

2009-03-05 Thread nithin
Thanks for your reply, but still not working.. Now i am trying with this code... import android.app.Activity; import android.media.MediaPlayer; import android.os.Bundle; import android.util.Log; import android.view.SurfaceHolder; import android.view.SurfaceView; import

[android-developers] Re: MediaPlayer not running - just blank screen

2009-03-05 Thread dillirao malipeddi
did you get any error in ddms logcat ? may be your player gives error while try to play On Thu, Mar 5, 2009 at 3:14 PM, nithin nithin.war...@gmail.com wrote: Thanks for your reply, but still not working.. Now i am trying with this code... import android.app.Activity; import

[android-developers] can't read mp3 file from sdcard

2009-03-05 Thread zeeshan
Hi Mates, i am trying to write mp3 file in OutputStreamWriter. here is the code: String fileName=/sdcard/test_cbr.mp3; byte [] buffer = new byte[1024*4]; int bytesRead = 0; FileInputStream is = new FileInputStream(fileName); // everything fine untill here while( (bytesRead =

[android-developers] Re: MediaPlayer not running - just blank screen

2009-03-05 Thread nithin
no, there is no error in logcat... i put log messages every where and logcat showing all messages, but no video is playing.. Nithin On Mar 5, 2:48 pm, dillirao malipeddi dillir...@arijasoft.com wrote: did you get any error in ddms logcat ? may  be your player gives error while try to play

[android-developers] What is LOCAL_MODULE_TAGS?

2009-03-05 Thread Daisuke Miyakawa
Hi, When I'm looking over source code, I often find LOCAL_MODULE_TAGS. But there's no definition about that. Especially, I'm interested in the difference between - eng - user - optional - development Could anyone teach me what each tag means? Thanks, -- Daisuke Miyakawa (宮川大輔)

[android-developers] Re: When to setResult for onActivityResult

2009-03-05 Thread Chronos
@Tseng: I can't find this method - are you talking about class Activity ? So, let me get this straight: there are just two possible ways to setResult(): - Either: setResult() in your change listeners after data (even the slightest bit) changes in your activity - Or: present a dedicated GUI

[android-developers] Re: MediaPlayer not running - just blank screen

2009-03-05 Thread nithin
ya, i saw log messages, in that, getVideoSize returning -1... what may be the reason for that, any idea please.. Nithin 03-05 14:59:43.072: INFO/(324): 111 03-05 14:59:43.113: INFO/222(324): 03-05 14:59:43.123: INFO/333(324):

[android-developers] Re: Setting clickable on individual ListView's ChildViews

2009-03-05 Thread chiizuf...@googlemail.com
Thanks for your reply, What do you mean by disable the items in my adapter? On Mar 4, 4:27 pm, Romain Guy romain...@google.com wrote: That's not the way to do it. Simply use an OnItemClickListener on your ListView and modify your adapter to disable the items  you don't want clickable. Do NOT

[android-developers] Re: Help using autocomplete in my database.....

2009-03-05 Thread roland
Check this out, http://groups.google.com/group/android-developers/browse_thread/thread/aee4be30ed6c737b/268dcd8155a059b3?lnk=gstq=autocomplete#268dcd8155a059b3 On 4 mar, 07:22, aljo aljochim...@gmail.com wrote: i'm kinda new to this android application and still a newbei to programming so hope

[android-developers] Capturing exceptions on user's phones?

2009-03-05 Thread admin.androidsl...@googlemail.com
We all know what its like - everything works perfect on the dev's phone, but once you roll something out, user's complain about the dreaded force close!! Sometimes its just on one or two phones, but wouldn't it be good if we could get some kind of stack trace to see whats really going on?

[android-developers] Why different behaviour when exiting app using BACK and HOME ?

2009-03-05 Thread TAKEphONE
Hi all, I know this probably was discussed here before, but I can only find bits of info. Say a user runs my app from the HOME screen. The app has 3 tabs. Say he/she selectes a different tab, so he/she is in a different screen (same task). Now - if the user presses BACK - the device returns to

[android-developers] Re: Update UK G1 not showing paid apps

2009-03-05 Thread admin.androidsl...@googlemail.com
My theory is that RC9 means that all Google now needs to do is flick a switch and the UK will see paid apps without needing e.g. RC10. But I don't think Google are ready to flick the switch. They still want to sort out any teething issues they had from opening the paid market in the US. My paid

[android-developers] How to stop Gallery scroll?

2009-03-05 Thread neuzou
Hi: everybody, I need to stop Gallery scrolling as I want, the Gallery default behavior is stop at the end item, I don't know how to change it,can you give me some advice? Thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[android-developers] Re: Update UK G1 not showing paid apps

2009-03-05 Thread Stoyan Damov
On Thu, Mar 5, 2009 at 1:17 PM, admin.androidsl...@googlemail.com admin.androidsl...@googlemail.com wrote: My theory is that RC9 means that all Google now needs to do is flick a switch and the UK will see paid apps without needing e.g. RC10. But I don't think Google are ready to flick the

[android-developers] Re: Capturing exceptions on user's phones?

2009-03-05 Thread Mads Kristiansen
I do this in my beta applications and it is incredibly valuable. I am not aware of any existing implementations, so I built it myself. I'll store the stacktraces on the phone and upload them to a webserver, where I have a PHP script which will store the stack trace to a plain text file and also

[android-developers] Re: Capturing exceptions on user's phones?

2009-03-05 Thread admin.androidsl...@googlemail.com
Mads, Thats exactly what we all need. How do you get unhandled exceptions or do you put try...catch in all your code blocks? Do you submit stack traces individually or batch them up? Any chance of sharing some of the code? We really need a generic component for this - it will be a huge boost

[android-developers] Re: Capturing exceptions on user's phones?

2009-03-05 Thread Mads Kristiansen
Yes, you are right. It could probably be helpful to others and I'd be happy to share - I'll see if I can create a component somehow over the weekend. I don't have the code with me right now, but I'll be back ;) Basically I just have a default exception handler, which will catch all unhandled

[android-developers] Re: can't read mp3 file from sdcard

2009-03-05 Thread zeeshan
its working now! actually it was read permission problem. On Mar 5, 9:53 am, zeeshan genx...@gmail.com wrote: Hi Mates, i am trying to write mp3 file in OutputStreamWriter. here is the code: String fileName=/sdcard/test_cbr.mp3; byte [] buffer = new byte[1024*4]; int bytesRead = 0;

[android-developers] Re: Capturing exceptions on user's phones?

2009-03-05 Thread admin.androidsl...@googlemail.com
That would be really great if you could post something Mads. Alex On Mar 5, 11:50 am, Mads Kristiansen mads.kristian...@nullwire.com wrote: Yes, you are right. It could probably be helpful to others and I'd be happy to share - I'll see if I can create a component somehow over the weekend. I

[android-developers] Receiver dynamically or in manifest?

2009-03-05 Thread Manfred
Hi! I have dynamically registered a receiver in a class that extends Service to inform for incoming sms. Code: this.registerReceiver(smslistener, new IntentFilter (android.provider.Telephony.SMS_RECEIVED)); It works, but sometimes, when the phone is longer not used and the black-screen

[android-developers] Re: One adapter for different adapter views - how to specify proper layout for the view?

2009-03-05 Thread (Mishail)
Up thread. I believe it should be trivial. Just stick my nose into the appropriate docs --~--~-~--~~~---~--~~ 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] can't view pictures (camera Unhandled exception )

2009-03-05 Thread zeeshan
Hi, i am having the camera unhandled exception (stoped unexpectedly) when i try to view any image in the Pictures directory. i actually want to use crop funtion like Intent i = new Intent(com.android.camera.action.CROP); i.setClassName(com.android.camera,com.android.camera.CropImage); which is

[android-developers] network redirection problem

2009-03-05 Thread Asif k
Hi all, I want to configure IP address of the emulator and to set the network redirection ports for the socket communication. For that I had followed the steps as per android.developer.com/ emulator guides. But could not succeed in that. Can you plz tell me what will be the default

[android-developers] video player problem

2009-03-05 Thread manoj
Hi, I have written a small app which plays video files. Some files are playing nicely. but some files's view is not visible, but I am able to listen the audio. I dont know why? Can any one please suggest me where I am doing the wrong? here is my code: package bluemediaLab.vodcast1;

[android-developers] video viewing problem

2009-03-05 Thread manoj
Hi, I have written the following code which plays the media file(.mp4). Its working fine but, I have two problems: 1. While trying to play a video file for the first time, video is not getting played but the audio is playing(audible). Now if i try to play the same video again in the application

[android-developers] Load two different views simultaneously in a screen

2009-03-05 Thread And-Rider
I want to create a single screen with two different views .And i want to refresh one view without disturbing the second view.I mean i do not want to refresh the entire screen and want to refresh only a part in a screeni am able to populate two layouts in one view but is there a way to

[android-developers] Re: Why different behaviour when exiting app using BACK and HOME ?

2009-03-05 Thread Jean-Baptiste Queru
The default behavior of the back key is to exit your activity by calling finish() (which should pop to the next activity in the activity stack of the task your activity was in, or to another task if your activity was at the bottom of its task). You can override that. The behavior of the home key

[android-developers] Uninstall built-in app

2009-03-05 Thread shaddu
Hello Android, We are plannig to write a new music application from scratch. Also we want to uninstall the built-in music application to ensure only our application resides on the phone. adb ls /data/app command doesn't list built-in applications. So, I am unable to uninstall the built in music

[android-developers] Re: (OT) Is the combination of Android Market and Google Checkout a joke?

2009-03-05 Thread Sena Gbeckor-Kove
Personally I don't think its an issue. I think it should stay in here and android-discuss unless there is already a place for it. S On 4 Mar 2009, at 17:24, John Lauricella wrote: Is it possible to start a new discussion group for folks who promote their own products that compete with

[android-developers] Re: PreferenceScreen Close

2009-03-05 Thread Noam
Anyone? On Mar 4, 6:53 pm, Noam noam.ha...@gmail.com wrote: Hello everyone, Is there a certain way for me to know when a PreferenceScreen is closed? Thanks, Noam. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[android-developers] Re: Uninstall built-in app

2009-03-05 Thread Jean-Baptiste Queru
That's not possible. If your application responds to the right intents, the user will be offered a choice when doing an action that can be handled both by the built-in application and by your application. JBQ On Thu, Mar 5, 2009 at 6:12 AM, shaddu shad...@gmail.com wrote: Hello Android, We

[android-developers] Re: Uninstall built-in app

2009-03-05 Thread Ludwig
I do not think you can uninstall system apps (for good reasons). User applications are installed under /data/app or app-private (which is writable), while system apps are under /system/app, which is ro. The way to deal with this is to respond to the same intents: so if you app is actually better

[android-developers] Re: Intercepting outgoing sms

2009-03-05 Thread Avraham Serour
not sure if you can do that, if not you could do the opposite, make the user send sms using you app, so if the number match your criteria you use your gateway, if not send it using the phone regular sms service On Thu, Mar 5, 2009 at 5:04 AM, Seer gilligan.ch...@gmail.com wrote: Hi, What i

[android-developers] Re: Uninstall built-in app

2009-03-05 Thread Al Sutton
I would suggest you don't even try to uninstall any other applications. Your application should not mess with other applications the user has on their 'phone. You will most likely see a huge user backlash once they discover your app has uninstalled other applications that they chose to put

[android-developers] Re: Where can I find a app for my gps test?

2009-03-05 Thread Kevin AN
phonefinder on market On Mar 5, 4:17 pm, www_...@yahoo.com.cn www_...@yahoo.com.cn wrote: I have already known about that, but i still need a app to start my GPS as I don't have the environment to build a app. On 3月5日, 下午12时05分, www_...@yahoo.com.cn www_...@yahoo.com.cn wrote: Thanks

[android-developers] Re: PreferenceScreen Close

2009-03-05 Thread Ludwig
There is a OnPreferenceChangeListener, which is not quite the same as knowing when the screen is closed, but it gives you a hook whenever a user changes a setting. Otherwise I would not think so as it would be eavesdropping on a user... HTH Ludwig 2009/3/5 Noam noam.ha...@gmail.com Hello

[android-developers] Re: How to create a view with a background that wraps up all the content of the view?

2009-03-05 Thread hc
nvm.. I've figured it out. Instead of setting a background using an ImageView/Button, I can just set a background to RelativeLayout and it will fix nicely On Mar 5, 5:20 pm, hc honch...@gmail.com wrote: I'm trying to create a listview containing conversations in chat bubbles, and each chat

[android-developers] Re: Spaces in strings.xml strings

2009-03-05 Thread droozen
Thanks. I'll try it out! On Mar 4, 5:29 pm, Marco Nelissen marc...@android.com wrote: If you want to make sentences, it's still a good idea to put a format string in the resource and then use that, since you'll be able to correctly localize your app later on. To use this with a Cursor and

[android-developers] Finance for Android - A Google Developer’s Note

2009-03-05 Thread Bob
I wrote up my experiences working on the new Finance app here: http://www.googleandblog.com/finance-for-android-google-developers-note/3827/ enjoy! Bob --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: Update UK G1 not showing paid apps

2009-03-05 Thread Ryan
But I don't think Google are ready to flick the switch. They still want to sort out any teething issues they had from opening the paid market in the US. Looks like we're in for a long wait then... On Mar 5, 11:22 am, Stoyan Damov stoyan.da...@gmail.com wrote: On Thu, Mar 5, 2009 at 1:17 PM,

[android-developers] Re: getApplicationContext returns null in test case (unless you sleep first)

2009-03-05 Thread AndyM
There are APIs to allow you to run code on the main thread to access its objects. I'm a little confused about what APIs you are talking about and how they would help solve this problem. Could you clarify? To me it seems that the test runner should not be calling my tests if the Application is

[android-developers] Re: Converting FREE app to PAID app

2009-03-05 Thread Sena Gbeckor-Kove
You could add a DataProvider to the free app and the paid app could use that to do an import. S On 4 Mar 2009, at 22:41, Stoyan Damov wrote: +1 for that, and if you share the backup/restore functionality code between the 2 apps you'll have 1 more feature to the paid app - backup (e.g.

[android-developers] Re: (OT) Is the combination of Android Market and Google Checkout a joke?

2009-03-05 Thread madcoder
...so we don't get this constant conflict-of-interest commentary on how bad the Google system is... I think is good to talk about the likes and dislikes of the Android system. This way, potential problems can be identified and corrected. I also believe alternative application distribution

[android-developers] Re: Uninstall built-in app

2009-03-05 Thread grennis
Wow, this has to be the single worst idea I have ever heard. Are you planning to re-install the default music player if I uninstall your app? Let me guess... your app is so great nobody would ever want to uninstall it... right... On Mar 5, 9:12 am, shaddu shad...@gmail.com wrote: Hello

[android-developers] Re: Application criteria/certification?

2009-03-05 Thread brs
I think the idea is that the market should pretty much be the wild- west and user feedback should eventually sort out the good, the bad and the ugly. There might be some room for a third-party to provide app audit certification services. If there is every going to be an enterprise class Android

[android-developers] Re: Uninstall built-in app

2009-03-05 Thread Mads Kristiansen
Do you work for Sony? Might as well throw a rootkit in there along with the app ;) Why do you wan't to ensure your player is the only one on the phone? Maybe there is another solution.. / Mads On Thu, Mar 5, 2009 at 3:12 PM, shaddu shad...@gmail.com wrote: Hello Android, We are plannig to

[android-developers] Re: (OT) Is the combination of Android Market and Google Checkout a joke?

2009-03-05 Thread John Lauricella
Yes, you are right, and I apologize to everybody who is contributing to this community, even if that contribution appears negative on the surface to those of us who don't look too deep into it...I am only a fallible human myself, and was irritated at other aspects of life when I wrote the

[android-developers] Re: Neither user nor current process has android.permission.SET_PREFERRED_APPLICATIONS

2009-03-05 Thread DanM
I'd also like to point out that there is a bug in the android system when handling intents for subactivities. I created an application that responds to the same intent as the call- log portion of the phone application (the intent that is started when the call-log tab is selected within that

[android-developers] Re: Uninstall built-in app

2009-03-05 Thread Christine
Great idea! Uninstall the music app to install your own. Then uninstall the mail app and install another one. Uninstall the phone app and install something else entirely. Finally, uninstall Android and install Windows Mobile. Cool! Christine On Thu, Mar 5, 2009 at 3:12 PM, shaddu

[android-developers] Re: MediaPlayer not running - just blank screen

2009-03-05 Thread Marco Nelissen
That won't work for a number of reasons: - when you create the MediaPlayer and call start(), your display isn't ready yet. You need to wait for the surfaceCreated() callback. - you need to use the version of MediaPlayer.create() that takes a SurfaceHolder parameter. (this was all discussed on

[android-developers] Re: (OT) Is the combination of Android Market and Google Checkout a joke?

2009-03-05 Thread Al Sutton
John, It was my post you responded to and, believe it or not, I valued your response and stepped out of this thread to see what the general opinion was. I do have a vested interest in seeing the bad points of Market brought to light because these represent opportunities for AndAppStore, and I

[android-developers] Update G1

2009-03-05 Thread victorcab
Is there a process to update the original developer unlocked G1 to the latest firmware available? I have: Model Number: Android Dev Phone 1 Firmware version: 1.0 Baseband Version: 62.33.20.08H_1.22.12.29 Kernel Version: 2.6.25-01843-gfea26b0 android-bu...@apa27 #6 Build number:

[android-developers] Re: How to update Android Dev 1

2009-03-05 Thread victorcab
Have you found any info? I am looking for a similar solution. On Feb 10, 3:30 am, Andreas Jellinghaus tolon...@gmail.com wrote: Hi, * where can I find official firmware for my android dev 1? * what is the official way toupdatethe firmware? * does such a firmwareupdatehave negative side

[android-developers] Re: How to update Android Dev 1

2009-03-05 Thread Jean-Baptiste Queru
No official system images are currently available for the ADP1. We're working on it. JBQ On Thu, Mar 5, 2009 at 9:30 AM, victorcab victor...@gmail.com wrote: Have you found any info? I am looking for a similar solution. On Feb 10, 3:30 am, Andreas Jellinghaus tolon...@gmail.com wrote: Hi,

[android-developers] HttpConnection Intermittent Poblems

2009-03-05 Thread Ryan
Hi, My app uses a simple HttpConnection to download and parse some XML that I host. The important code is as follows:- URL url = new URL(urlStr); URLConnection connection = url.openConnection(); HttpURLConnection httpConnection =

[android-developers] Re: Dialog Survival Over Configuration Change

2009-03-05 Thread Nmix
On Mar 4, 11:59 pm, Nmix nepean...@gmail.com wrote: No doubt you're right. After a while it feels like I'm doing a peculiar dance to celebrate the Rites of Spring, all the while sprinkling magic pixie dust over my code. I had already come to the same conclusion, that doing dismissDialog()

[android-developers] Looking for a way to build resolution independent layout xml?

2009-03-05 Thread Videoguy
Hi I am working on a screen that needs to look fine at HVGA-L resolution as well as 640x480 resolution. Lets say I have a button that is 200 pixels wide and 50 pixels high on HVGA-L skin. When the same layout xml is shown at 640x480 skin, I want my button size increase proportionately. The

[android-developers] Re: Looking for a way to build resolution independent layout xml?

2009-03-05 Thread Avraham Serour
build the interface without the xml, coding it, so each time you are going to draw it check current resolution. I worked with brew a few years back and some things we did that way, others we just draw the button the same size in pixels, so the owner of the bigger screen would see things smaller or

[android-developers] Re: Looking for a way to build resolution independent layout xml?

2009-03-05 Thread Videoguy
I have lot of screens that need this. XML is a great prototyping tool. I am wondering whether it can be accomplished with xml layouts though. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group.

[android-developers] Apache STDCXX library

2009-03-05 Thread Mattaku Betsujin
Hello, Has anyone ported Apache C++ Standard Library (STDCXX) onto Android? Thanks --~--~-~--~~~---~--~~ 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: Failed to reopen debug port for Selected Client to:

2009-03-05 Thread NWallman
Turns out my hosts file was messed up. When I fixed that my problem was resolved. On Mar 4, 8:02 pm, NWallman ad...@noobspeak.com wrote: Hi, I am struggling to get my emulator to be able to bind for debugging purposes.  I get the following stack trace when I start my emulator: [2009-03-04

[android-developers] Trying to understand TabHost source code

2009-03-05 Thread ying lcs
Hi, I am trying to understand TabHost source code. In the setup() , it has: // KeyListener to attach to all tabs. Detects non-navigation keys // and relays them to the tab content. mTabKeyListener = new OnKeyListener() { public boolean onKey(View v, int keyCode,

[android-developers] Re: Trying to understand TabHost source code

2009-03-05 Thread Dianne Hackborn
The comment says is re-directs non-navigation keys to the content. It isn't intercepting the other keys, it is ignoring them (returning false). On Thu, Mar 5, 2009 at 11:42 AM, ying lcs ying...@gmail.com wrote: Hi, I am trying to understand TabHost source code. In the setup() , it has:

[android-developers] Re: getApplicationContext returns null in test case (unless you sleep first)

2009-03-05 Thread Dianne Hackborn
The framework runs the instrumentation independently of the app, so it can do what it wants when it wants. And an activity is not the app. Activities are created all the time, you can't wait for whatever one to be created before running the instrumentation.

[android-developers] Re: Neither user nor current process has android.permission.SET_PREFERRED_APPLICATIONS

2009-03-05 Thread Dianne Hackborn
Ah yeah. This is either a bug, or just not something that is supported. We will change Dialtacs to not use implicit intents for its tabs, since replacing them just won't work. This will avoid running into such problems involving it. On Thu, Mar 5, 2009 at 8:53 AM, DanM dan.me...@gmail.com

[android-developers] Re: Intercepting outgoing sms

2009-03-05 Thread Seer
Avraham thanks for the reply. I know i can do it by making my own app that the send the mail by but that is really less than ideal in my case. Maybe it would be possible to write an sms gateway class or something that is set to the default method instead of the normal mobile one. The i could

[android-developers] Re: Distinguishing Between Edge and 3G network

2009-03-05 Thread rycerz1411
Well I created a workaround for this, by testing network download speed. Here is a link to the source code a href=http://www.gregbugaj.com/?p=47;Source/a This is not perfect but it works, maybe they are using one of their internal packages that are not available via SDK. On Mar 2, 1:39 pm,

[android-developers] Re: How to update Android Dev 1

2009-03-05 Thread Disconnect
(Soon is getting farther and farther away..) In the meantime, if you need to get back to stock you can use the backup images off my site - http://is.gd/lYLL for update.zip or http://is.gd/lYLT if you want to flash with fastboot. They aren't official, but they are here. (For the curious, those are

[android-developers] Re: Why different behaviour when exiting app using BACK and HOME ?

2009-03-05 Thread TAKEphONE
Hi again. Do you mean I can override finish() ? What do I do there ? - if I just do not call super.finish(), the BACK pressing does nothing. But - wouldnt that cause problems elsewhere (other instances where the OS or another app may want/need to close down my app) ?! Shimon On Mar 5, 3:57 

[android-developers] Re: Why different behaviour when exiting app using BACK and HOME ?

2009-03-05 Thread Jean-Baptiste Queru
You can capture the back key and make it do whatever you want. JBQ On Thu, Mar 5, 2009 at 1:08 PM, TAKEphONE shimo...@gmail.com wrote: Hi again. Do you mean I can override finish() ? What do I do there ? - if I just do not call super.finish(), the BACK pressing does nothing. But -

[android-developers] how to preload an android application

2009-03-05 Thread Lawrence
Hi, i am now wondering how to preload an application. Does it work if only place it under /system/app/? Thanks, Lawrence --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to

[android-developers] Problem with using DDMS to send mock gps location data!

2009-03-05 Thread rocia
hi, I encountered with a problem when I use DDMS to send mock gps location data . I checked out the source code of Android and make the latest version.Then put my test apk file of gps to the emulator and start DDMS, but when I use Emulator Control of DDMS to manually Button to send mock

[android-developers] How to mount SD as USB mass storage automatically

2009-03-05 Thread telematics
I am developing an android app that will automatically mount the SD as the USB mass storage when the G1 phone is connected to a PC via USB, and automatically umount it when the USB is disconnected. I know to how to create a broadcast receiver to receive UMS_CONNECTED and UMS_DISCONNECTED

[android-developers] How to mount SD as USB mass storage programmatically

2009-03-05 Thread telematics
Is there anyone know how to mount the SD as USB mass storage from an android app programmatically when it is connected to a PC? It is unacceptable for the use case I am working on to ask the user to go to the notification screen to manually click mount button. Your help will be highly

[android-developers] How to read feedback

2009-03-05 Thread Neil
This seems like a stupid question, but somehow I couldn't find the answer anywhere ;) How do I read the feedback that my app gets in Market? Shouldn't there be a link somewhere in Developer Console? Regards Neil --~--~-~--~~~---~--~~ You received this

[android-developers] Initial database population from large data files, several problems

2009-03-05 Thread Justin Allen Jaynes
I'm building a dictionary application with 135,000 word entries (words only). My raw file must have been too large (1.5 meg), because I got this error: D/asset (909): Data exceeds UNCOMPRESS_DATA_MAX (1424000 vs 1048576) I've searched for this error with very few relevant hits. It seemed to

[android-developers] Problem with using DDMS to send mock gps location data!

2009-03-05 Thread rocia
hi, I encountered with a problem when I use DDMS to send mock gps location data . I checked out the source code of Android and make the latest version.Then put my test apk file of gps to the emulator and start DDMS, but when I use Emulator Control of DDMS to manually Button to send mock

[android-developers] Re: Neither user nor current process has android.permission.SET_PREFERRED_APPLICATIONS

2009-03-05 Thread MakeMobile
What do you mean by not supported? Do you mean that you should not be able to do this for any TabActivity class? What is to stop other developers from falling into the same trap? Also, if this is the case, it seems to be impossible to create a new call-log application because one would have to

[android-developers] MediaPlayer: Stop , play back issue

2009-03-05 Thread AndroidUser
When i tried to play the audio button i can ablet to play, pause. But i am unable to play again once if i stopped. What i did mistake here could u plz explain public class PlayAudio extends Activity { /** Called when the activity is first created. */ @Override public void

[android-developers] Re: android.telephony

2009-03-05 Thread run99ner_ff
Okay, I have found a way to get the cell id, lac, ncc, bcc, (bsic), rxLev, rxQual, C/I, neighbor info, gsm umts information. Launch the Dialer app and type *#*#7262626#*#* . . next push the Menu key and select Test Item. But I'm still disappointed as there are more than 10 screens. I would

[android-developers] Eclipse problems when adding layoutlib.jar to a project

2009-03-05 Thread Lars
Hello, I need to use the IWindowManager classes et al that resides in the layoutlib.jar file and have added it to my project in Eclipse (3.4.2) as an external Jar. After doing this, Eclipse utilizes 100% CPU (very slow, almost hung) and is unusable when Eclipse tries to build the project.

[android-developers] Unable to access www.facebook.com using Android emulator.

2009-03-05 Thread pranab
Hi, I am able to access all the sites through Android emulator except www.facebook.com. Whereas I am able to access www.facebook.com from my PC using internet exporer. I am using static IP to avoid the proxy. Can anybody tell me what could be the issue and how to get rid of this problem. Thanks

[android-developers] Socket on SDK platform Error

2009-03-05 Thread shuttle78
Hi, I've developed an simple UDP socket connection client/server (in the same application) with a standard java api, but when I try to start the application in my sdk it crash. I've tried to add the line uses-permission android:name=android.permission.INTERNET in AndroidManifest.xml file but I've

[android-developers] how to preload an application

2009-03-05 Thread Lawrence
Dear all, i am finding all android preloaded applications are located under / system/app/. So i am wondering if there is way that we can preload our own applications. Does it work that we just placed an app under / system/app/? --~--~-~--~~~---~--~~ You

[android-developers] Re: Load two different views simultaneously in a screen

2009-03-05 Thread Kacza
On 5 Mar, 14:50, And-Rider rahulregunat...@gmail.com wrote: I want to create a single screen with two different views .And i want to refresh one view without disturbing the second view. Hi, the first thing that comes to my mind is to create a LinearLayout, put two views into it and refresh

[android-developers] Interested CRM on Android ?

2009-03-05 Thread Jayant
Aftek has a very strong exposure to mobile application development and has delivered variety of projects focusing on mobile applications including touch point applications, mobile ads, mobile searches, polls, location based services, CRM extensions etc. We also have expertise in technologies

[android-developers] EditText Unicode or Latin-1

2009-03-05 Thread Mr.No
How do i enable Unicode in for my EditText, if i enter ö,ä,ü he shows me [ +- ect... rgds mr.no --~--~-~--~~~---~--~~ 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] How to make an application NOT uninstallable like build-in apps

2009-03-05 Thread Explore Android
Hi All, I am working on social networking application and our company/operator requirement is that the user should not be allowed to uninstall this application like any build in applications. How can we make our application be NON uninstallable? Any pointers, greatly appreciated.

  1   2   3   >