[android-developers] Re: Audio / Performance Issues on ICS / Android 4

2012-04-28 Thread al
I do something very similar in my apps (Grand Piano and Opus #1) without problems on ICS. Sound generation is quite expensive in my case, so I have problems on slow devices (1Mhz / single core / old android version) but not on the galaxy nexus. One thing I noticed however is that it seems like

[android-developers] Re: Selling paid apps at Google Play

2012-04-28 Thread Zsolt Vasvari
I am no tax lawyer, and definitely consult one but you should not be double taxed. AFAIK, the only country in the world that taxes foreign income is the United States. On Saturday, April 28, 2012 1:07:33 PM UTC+8, Narek Gevorgyan wrote: Hi, Thanks for helpful comments, yea I only

[android-developers] Re: value of EditText duplicated in ListView

2012-04-28 Thread Seif-Allah
thanks but i didn't get your point. here is a piece of my code: public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main_devis); mainListView = (ListView) findViewById( R.id.mainListView );

Re: [android-developers] Re: OnTouchEvent disable

2012-04-28 Thread Mai Al-Ammar
Thanks for your reply but since I'm a beginner in Android development, I have a question : what do you mean by view ? thanks a lot On Fri, Apr 27, 2012 at 9:19 AM, moktarul anam mokta...@gmail.com wrote: Dear Memo, try to use view.setFocusable(false) and check Enjoy Moktarul Anam On

[android-developers] Re: Non-square pixels

2012-04-28 Thread SytheZN
Well, the idea was to have the display driver report to Android that the display's resolution is 864x480 instead of 800x480, and then perform bilinear or bicubic resizing on the frames. The device's gpu should be able to handle the scaling without too much trouble by rendering the raster frames

[android-developers] get notification tone uri

2012-04-28 Thread Amit Mangal
HI there, is the any way to get notification tones uri. and after getting that uri how to play one from that uri. 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] play sound file

2012-04-28 Thread Mai Al-Ammar
Hello every one, I tried to play sound file (*.mp3) in Android application. I used the following code: MediaPlayer m = new MediaPlayer (); m = MediaPlayer.create(this, R.raw.start1); m.start(); first, I play a sound file, then when I tried to play another sound file, it still play the old one

Re: [android-developers] play sound file

2012-04-28 Thread Mark Murphy
On Sat, Apr 28, 2012 at 10:23 AM, Mai Al-Ammar mai.alam...@gmail.com wrote: I tried to play sound file (*.mp3) in Android application. I used the following code: MediaPlayer m = new MediaPlayer (); m = MediaPlayer.create(this, R.raw.start1); m.start(); first, I play a sound file, then when

Re: [android-developers] play sound file

2012-04-28 Thread Mai Al-Ammar
I did not delete it at run time, I delete the file before I compile the project and replace it with other file. but the program still play the old one On Sat, Apr 28, 2012 at 5:34 PM, Mark Murphy mmur...@commonsware.comwrote: On Sat, Apr 28, 2012 at 10:23 AM, Mai Al-Ammar mai.alam...@gmail.com

Re: [android-developers] How to debug Service/BroadcastReceiver and prevent Watchdog from killing process when stepping through the code?

2012-04-28 Thread Streets Of Boston
Not entirely possible. I already offloaded quite a bit of processing on a background thread Handler, but some of the code MUST run on the main (UI) thread (the service inflates a View with a WebView used for HTML pre-rendering). On Friday, April 27, 2012 6:10:31 PM UTC-4, Kostya Vasilyev

Re: [android-developers] play sound file

2012-04-28 Thread Mark Murphy
On Sat, Apr 28, 2012 at 10:49 AM, Mai Al-Ammar mai.alam...@gmail.com wrote: I did not delete it at run time, I delete the file before I compile the project and replace it with other file. but the program still play the old one Then you did not install the modified app on the device. -- Mark

Re: [android-developers] How to debug Service/BroadcastReceiver and prevent Watchdog from killing process when stepping through the code?

2012-04-28 Thread Kostya Vasilyev
I never said anything about a background thread. Assuming a service, just replace this: @Override public int onStartCommand(Intent intent, int flags, int startId) { . blah blah make some objects, call some methods... return START_...; } With this: @Override public int

Re: [android-developers] Re: Unable to use ndk-gdb

2012-04-28 Thread Parminder Singh
Hi, Thanks for your precious time to look at the problem. I tried it and it was helpful for me, additionally I also found that the adb sever does some problem while debugging, it was due to HTC sync application which need to be turned off while running ndk-gdb command. Now, a new error message

Re: [android-developers] Re: Unable to use ndk-gdb

2012-04-28 Thread Mark Murphy
Questions regarding the NDK are best asked on the android-ndk Google Group, which is the support resource for the NDK. On Sat, Apr 28, 2012 at 11:24 AM, Parminder Singh pammy18...@gmail.com wrote: Hi, Thanks for your precious time to look at the problem. I tried it and it was helpful for me,

Re: [android-developers] Re: Unable to use ndk-gdb

2012-04-28 Thread Parminder Singh
Thanks buddy it was very helpful. I hope the specific group can resolve my problem. :) Pammy On Sat, Apr 28, 2012 at 11:30 PM, Mark Murphy mmur...@commonsware.comwrote: Questions regarding the NDK are best asked on the android-ndk Google Group, which is the support resource for the NDK. On

Re: [android-developers] play sound file

2012-04-28 Thread Mai Al-Ammar
I install the new program every time but it still the old file. On Sat, Apr 28, 2012 at 5:55 PM, Mark Murphy mmur...@commonsware.comwrote: On Sat, Apr 28, 2012 at 10:49 AM, Mai Al-Ammar mai.alam...@gmail.com wrote: I did not delete it at run time, I delete the file before I compile the

Re: [android-developers] play sound file

2012-04-28 Thread Mark Murphy
On Sat, Apr 28, 2012 at 11:51 AM, Mai Al-Ammar mai.alam...@gmail.com wrote: I install the new program every time but it still the old file. You are mistaken about something. I have no way of telling you what. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy

Re: [android-developers] play sound file

2012-04-28 Thread Mai Al-Ammar
I solve it :) I forgot to do clean the project in eclipse , I just compile and build thanks for your effort On Sat, Apr 28, 2012 at 7:12 PM, Mark Murphy mmur...@commonsware.comwrote: On Sat, Apr 28, 2012 at 11:51 AM, Mai Al-Ammar mai.alam...@gmail.com wrote: I install the new program every

[android-developers] Re: Fragment problems (converting an app)

2012-04-28 Thread Bas Verhoog
No ideas? :( I really need some help here... -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to

Re: [android-developers] How to debug Service/BroadcastReceiver and prevent Watchdog from killing process when stepping through the code?

2012-04-28 Thread Streets Of Boston
Aha! but i think i saw the process being killed on *anything *that runs on the main UI thread. But i'm not entirely sure. I'll try that . Thanks! On Saturday, April 28, 2012 11:05:55 AM UTC-4, Kostya Vasilyev wrote: I never said anything about a background thread. Assuming a service, just

[android-developers] Event propagation

2012-04-28 Thread momo
The Android FW event model is a little confusing. Since we're generally limited to a single listener, I've run into a couple issues I'm not sure how to handle correctly. In both cases, I was able to eventually get the net result to work, but generally with some hacky workarounds. I wonder if

[android-developers] Re: Event propagation

2012-04-28 Thread momo
It looks like returning super.onTouchEvent(event); works. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to

[android-developers] Re: Fragment problems (converting an app)

2012-04-28 Thread Spiral123
Hi Bas, I didn't debug your code, but just as an ideawhy not put your dialog in a separate activity themed as a dialog that just extends a regular activity or listactivity? I do that all the time in my app. just because you are working with fragments doesn't mean that everything needs to

Re: [android-developers] Re: Fragment problems (converting an app)

2012-04-28 Thread Kostya Vasilyev
These are just compile problems. The general rule is: start fixing them top to bottom. As you do that, some of the latter ones may go away, because the compiler's comprehension of your file can get thrown off by earlier errors and it never recovers. This is especially true for mismatched curly

[android-developers] Android Google Play marketplace changed permissions in application now won't allow update

2012-04-28 Thread slipp3ry
I added uses-permission android:name=android.permission.WRITE_EXTERNAL_STORAGE uses-permission android:name=android.permission.ACCESS_NETWORK_STATE to an already published application. Now in Google Play it recognises it as an installed application, takes the user through to Open or Update

[android-developers] Google I/O device in reboot loop.

2012-04-28 Thread Nathan
Without any provocation, my Galaxy Tab 10.1 began to be stuck in a reboot loop this morning. Since this is a common device among Android developers, perhaps some of you have already dealt with this problem. It displays the Samsung name, then the swirly logo, then the Samsung name, then the

[android-developers] Re: Pinch zoom functionality for custom view

2012-04-28 Thread Jason
Hi there, I've implemented an open source pinch-zoom ImageView replacement called GestureImageView which does everything you should need. You can either drop it straight in, or just use the source however you want. https://github.com/jasonpolites/gesture-imageview On Tuesday, September 6,

[android-developers] Re: Pinch Zoom on Image

2012-04-28 Thread Jason
https://github.com/jasonpolites/gesture-imageview On Friday, December 17, 2010 1:07:39 AM UTC-8, ajmer singh wrote: Hi All I need to implement the pinch zoom on an image,could anybody please let me know how one can implement this,Is there any tutorials etc ?. -- Thanks and Regards