Re: [android-developers] Re: Android benchmark with rectangles

2010-05-29 Thread TreKing
On Fri, May 28, 2010 at 4:07 PM, kish wrote: > Is there any other way other than using multiple threads. > Nope - if you put everything in one thread of execution, your giant draw function must completely execute before anything gets actually drawn to the screen. ---

[android-developers] Re: Why ADB and DDMS cannot recognize my phone in Ubuntu?

2010-05-29 Thread asicwizard
Make sure that you have USB debugging enabled on your phone: Settings -> Applications -> Development -> USB Debugging Then use /usr/sbin/lsusb to see the VID and PID of your device I don't know the VID and PID of the Acer Liquid. But be sure that what you find with lsusb matches your UDEV rules.

[android-developers] Re: Why ADB and DDMS cannot recognize my phone in Ubuntu?

2010-05-29 Thread Indicator Veritatis
I have been using a slighly different sequence of commands, and under a slightly different Linux, Fedora. What I have been doing is: 1) connect the device, wait for beeps acknowledging USB connection and debug capability 2) become root (you will have to sudo each of the following commands instead)

[android-developers] Re: Please tell me where to look for help!

2010-05-29 Thread cpcarroll71
Thanks for the response. Sorry for my impatience. I've just had nothing but problems since I got my phone back in March (and on my 3rd one) so I've been quite frustrated as of late. Anyway, I have a Samsung Moment SPH M900. The videos in question are AVI videos. I have them on my SD card and from m

[android-developers] Re: Why ADB and DDMS cannot recognize my phone in Ubuntu?

2010-05-29 Thread Ichi
Hi Rogerio, Thanks for providing this. Unfortunately, I tried but it seems not work to me. Any other idea? Best Regards, Ichi On 5月28日, 下午8時07分, Rogério de Souza Moraes wrote: > Hi Ichi, > > Execute the following commands: > > * Enter in root shell > $ sudo -s > > * Stop the adb-server > # adb

[android-developers] Need help on List Adapter

2010-05-29 Thread Ramesh Sangili
Guys, I am extending BaseAdapter and trying to populate the List Screen on my Activity Screen. NotifyDataSetChanged is not working as expected. Please find the below snippet of code. Please do let me know your thoughts. public void onCreate(Bundle savedInstanceState) { super.onCreate(sa

[android-developers] Re: FYI EVO/Incredible ADB How-To

2010-05-29 Thread brianl
Finally got it working by removing the existing driver and reinstalling, though that wasn't enough. From windows explorer had to select the Evo device and go through the trouble shooting steps. adb devices and finally Evo! Kind-of a pain. Google should have included the Evo device description i

[android-developers] GLES20 on Android 2.2 (Froyo)

2010-05-29 Thread James
I notice there's now a android.opengl.GLES20 class. Can anyone give me some pointers on how to use this class? Is it possible to use it with GLSurfaceView? James -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send e

[android-developers] Re: missing Lists.newArrayList()

2010-05-29 Thread Pinheiro
Thanks, Dmitri. I've tried using _ID also but the results are the same. > Also, sql parameters should always be passed using placeholders (question > mark) and an array of arguments. Could you please give an example? -- You received this message because you are subscribed to the Google Groups "

Re: [android-developers] missing Lists.newArrayList()

2010-05-29 Thread Dmitri Plotnikov
You don't have to use a batch. Whatever arguments you specify as batch parameters should also work directly. Traditionally, we use contacts._ID for deletion, not the name - you can have multiple contacts with the same name. Also, sql parameters should always be passed using placeholders (questio

Re: [android-developers] Problem with threading....

2010-05-29 Thread Mark Murphy
Robin van Leeuwen wrote: > In the code showed as below i create a process dialog for doing some > long operation (in this case waiting > 4 seconds)... It runs as it should. And shows the "Starting..." and > "Done" message but when it finishes > and i click Button1 again it terminates. What am i doi

[android-developers] Re: Scan wireless networks periodically

2010-05-29 Thread Lee
Also note that on Froyo you never get SCAN_RESULTS_AVAILABLE (or, after a longer timeout than I wanted to hang around for) if there are no APs nearby whereas previously you did. Lee On May 29, 11:27 am, Kostya Vasilyev wrote: > Note that sometimes Android initiates a scan on its own. > > So if y

[android-developers] Problem with threading....

2010-05-29 Thread Robin van Leeuwen
In the code showed as below i create a process dialog for doing some long operation (in this case waiting 4 seconds)... It runs as it should. And shows the "Starting..." and "Done" message but when it finishes and i click Button1 again it terminates. What am i doing wrong? - code - public

Re: [android-developers] Re: where is the sdcard in emulator 2.2?

2010-05-29 Thread Desu Vinod Kumar
Open DDMS from command prompt and check in thhe DDMS not in the eclipse u can find. i got it On Sat, May 29, 2010 at 5:34 AM, karteek wrote: > > > > i am working with eclips with the new SDK2.2. > while creating u r avd(emulator) there is option called sdcard size > you need to mention size > an

[android-developers] Same problem

2010-05-29 Thread Narp Developments
I'm having the same problem the UI just explodes because it cannot find the layout. -- 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, sen

Re: [android-developers] How can we restrict apps to a country/region

2010-05-29 Thread Mark Murphy
Achanta wrote: > Hello, > > I have my app in the market which is mainly for US based people as I > dont have the database that is required for any other country. > > So I am wondering if it is possible to restrict the app to be visible > to and downloaded by only US based users. Yes. On your Ma

[android-developers] How can we restrict apps to a country/region

2010-05-29 Thread Achanta
Hello, I have my app in the market which is mainly for US based people as I dont have the database that is required for any other country. So I am wondering if it is possible to restrict the app to be visible to and downloaded by only US based users. Thank you. -- You received this message bec

Re: [android-developers] Re: Socket freezes using GSM connection

2010-05-29 Thread Kostya Vasilyev
Ayanir, Your code seems to make assumptions about network data exchange that don't necessarily hold true for GSM connection, such as: - write() always sending the entire data buffer, this may not be the case. It's necessary to check the return value to see how much was actually sent. - read(

[android-developers] Re: SPP bluetooth

2010-05-29 Thread DonFrench
1124--1000-8000-00805F9B34FB is not the same as 110B--1000-8000-00805F9B34FB. On May 29, 1:30 am, Robert Armstrong wrote: > Thanks for your interest... > > The source code of the second example I posted is identical to the SDK > provided BluetoothChat  source(http://developer.a

Re: [android-developers] Re: Socket freezes using GSM connection

2010-05-29 Thread Mark Murphy
ayanir wrote: > anyone? There are broadcast Intents for when the data connection changes. You could monitor those and open up a fresh socket. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _The Bus

[android-developers] Re: Socket freezes using GSM connection

2010-05-29 Thread ayanir
anyone? On May 27, 5:31 pm, ayanir wrote: > Hello, > > I’m working on application that uses a socket connection. > I’ve implemented 2 different Threads for the read() and the write() > methods so they are not being blocked by the read. > Everything is working well on the WiFi connection but when

Re: [android-developers] Please tell me where to look for help!

2010-05-29 Thread John T. Haggerty
What type of video are we talking about specifically? How was it being launched before on 1.5 and how is it being launched now? What phone are you using? These would be minimum required questions to answer. I know for a fact for example that certain video formats can play they just need to have a p

[android-developers] Android cursor lifetime

2010-05-29 Thread Vikram
I have the following piece of code, which is behaving in a very strange manner. 1. When I run this code, the Cursor always carries 0 rows. 2. I know this sounds stupid, but when I debug the code, it carries all the rows in my table. 3. Alternatively, when I do not close the database and run throug

Re: [android-developers] Best way to live demo apps

2010-05-29 Thread Mark Murphy
Ted Neward wrote: > What about one of those magnifier overhead projectors from back in the 70s > or so? Not the transparency ones, the ones that essentially point a camera > at the base and project up onto the screen. You hold (or set) the phone > underneath it, and voila, you now have two screens,

Re: 回复: [android-developers] Re: EditText is u nuseful on widget

2010-05-29 Thread Mark Murphy
Wenqin Li wrote: > Well,how can I input for a widget? > If not support ? What's the way else? When they tap the widget, display an activity that has an EditText. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/

Re: [android-developers] Re: Can an AppWidget's RemoteViews be edited/created dynamically, or only from XML?

2010-05-29 Thread Mark Murphy
James W wrote: > I want to know if it is possible to build a remote views object in > some other way than from the XML file No, sorry. > because I dont know until run > time exactly how I want to lay out my RemoteView. Then have a few XML files for the different configurations. -- Mark Murphy

Re: [android-developers] Comparing 2 Voice API?

2010-05-29 Thread Ali Murtaza
Hi I am also looking how to convert voice into text string in Android using Voice Recognizer. Please tell me the step. I need this module, just converting voice into text. Thanks On Fri, May 28, 2010 at 4:34 PM, Touchapon wrote: > Hi, > I'm developing an app and I need some way to compare 2 v

[android-developers] Re: Can an AppWidget's RemoteViews be edited/created dynamically, or only from XML?

2010-05-29 Thread James W
Hi Dirk I dont have a problem with updating my widget, either setting text, visibility or intents on all the different imageviews, textviews etc within my widgets whenever i want all works fine. The issue is more fundamental than that: the remote views object is inflated from a static compiled XM

Re: [android-developers] Re: Scan wireless networks periodically

2010-05-29 Thread Kostya Vasilyev
Note that sometimes Android initiates a scan on its own. So if you listen for broadcast SCAN_RESULTS_AVAILABLE, make sure your code is able to handle it anytime, not just initiated from your app. 29.05.2010 5:09, Charly пишет: Thank you for the replies. Finally I decided to implement a Handle

Re: [android-developers] Re: API call from browser

2010-05-29 Thread Toni Menzel
This is an open source list, so pls give people at least 48h to answer before pushing. Nevermind. To my knowledge cloud2device service has not been opened yet. Though there is a website where you can get a sneak peak of what the API will look like. Google for cloud2device service for android.. did

Re: [android-developers] Re: How to update a Widget dynamically (Not waiting 30 min for onUpdate to be called)?

2010-05-29 Thread Kostya Vasilyev
You are welcome. It really is non-intuitive. I had reports from my users about widget intermittently not responding to clicks, but didn't know how to approach it. Finally, after buying a Moto Milestone, I saw that my widget got completely screwed up every time I pulled out the keyboard and th

[android-developers] Re: How to update a Widget dynamically (Not waiting 30 min for onUpdate to be called)?

2010-05-29 Thread Dirk Vranckaert
Kostya, at first sight, that helped! Thanks a lot for pointing me that out! Greetz.. Dirk On 29 mei, 11:04, Kostya Vasilyev wrote: > Dirk, > > This is the reason your widget sometimes stops responding to clicking. > > Each and every RemoteViews update needs to specify complete state, > includi

[android-developers] Re: Stalling widget buttons after some time

2010-05-29 Thread Dirk Vranckaert
Yeah I think it must be something like that if I understand you right. Kostya also explained me something over here: http://groups.google.com/group/android-developers/browse_thread/thread/dc4420e6f9057a05/4589ec46352e0157#4589ec46352e0157 And I guess that could be problem that my RemoteViews weren

[android-developers] Re: Certain apps not being shown in Android Market?

2010-05-29 Thread powder
Here I got it here: http://android.clients.google.com/packages/passion/signed-passion-FRF50-from-ERE27.1e519a24.zip But they removed the link now:-) I still have the zip, if you want it I can send it to you... On May 28, 10:24 pm, Mark Murphy wrote: > powder wrote: > > I thought 2.2 was offi

[android-developers] Re: Looking for Android GUI Design Tools and Resources

2010-05-29 Thread Tim
Could I suugest you have a look at our MobiForms Developer. MobiForms is like DroidDraw but you do not need any other tool. MobiForms is the world's first rapid application development tool specifically designed for Google Android. With MobiForms you do not need to learn Java, XML, DroidDraw, Ecli

[android-developers] Re: Stalling widget buttons after some time

2010-05-29 Thread dstefanox
I had similar problem on orientation change - widget stopped responding to button clicks after orientation change. Does this happen with your widget also? Slight difference with my widget is that it was sending intents to itself. Anyway, solution was to set pending intents to widget buttons every t

[android-developers] Re: An SDK without Java

2010-05-29 Thread Tim
Could I suugest you have a look at our MobiForms Developer. MobiForms is the world's first rapid application development tool specifically designed for Google Android. With MobiForms you do not need to learn Java, XML, Eclipse or the Android SDK. Instead most programming is done with the inituitive

[android-developers] Re: Can an AppWidget's RemoteViews be edited/created dynamically, or only from XML?

2010-05-29 Thread Dirk Vranckaert
James, To modify the widget layout from an activity or service you should use some could like this: RemoteViews rv = new RemoteViews(context.getPackageName(), WIDGET); rv.setTextViewText(R.id.label1, "text for label1"); rv.setTextViewText(R.id.label2, "text for label2"); rv.setTextViewText(R.id.l

Re: [android-developers] Re: How to update a Widget dynamically (Not waiting 30 min for onUpdate to be called)?

2010-05-29 Thread Kostya Vasilyev
Dirk, This is the reason your widget sometimes stops responding to clicking. Each and every RemoteViews update needs to specify complete state, including data and PendingIntents (if any). The home screen process can be bumped out of memory, and Android uses the most recent RemoteViews to recreate

[android-developers] Re: Stalling widget buttons after some time

2010-05-29 Thread Dirk Vranckaert
Anyone? Cause I'm really stuck on this issue! Can't find out what I did wrong! Dirk -- 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, s

Re: [android-developers] Can an AppWidget's RemoteViews be edited/created dynamically, or only from XML?

2010-05-29 Thread Kostya Vasilyev
James, I don't have the answer, but I would like to amend your question. Switching views is one thing, but what if there are versions of the same widget that have different sizes? Minimal widget size is specified in res/.xml, using . Is it posible to specify different sizes depending on what wid

[android-developers] Re: Any ScoreLoop users out there?

2010-05-29 Thread Junde (Scoreloop)
Hi Neil, Apologies for the delay, we decided to put the answer to your question up on our support site FAQ. Here it is: http://support.scoreloop.com/faqs/android-development/removing-searchlists-from-view Thanks very much for your help and support! Cheers, Junde On May 27, 6:18 am, Neilz wrot

[android-developers] Re: SPP bluetooth

2010-05-29 Thread Robert Armstrong
Thanks for your interest... The source code of the second example I posted is identical to the SDK provided BluetoothChat source(http://developer.android.com/resources/ samples/BluetoothChat/index.html), except for the UUID changed from:- private static final UUID MY_UUID = UUID.fromString("f

[android-developers] Re: Fonts

2010-05-29 Thread Keith Wiley
bump -- 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+unsubscr...@googlegroups.com For more options, vi

[android-developers] Re: Fonts

2010-05-29 Thread Keith Wiley
bump -- 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+unsubscr...@googlegroups.com For more options, vi

[android-developers] Re: SurfaceView Lifecycle - Switching between a Layout and a SurfaceView

2010-05-29 Thread tobias429
Hi Mun, No answer to this yet. What I found however is that it's not that the SurfaceView does not get created again. Android in fact creates a new one, however it looks like at the same time also a new holder is created. As my code however holds a link to the then outdated holder, it is not notif

回复: [android-developers] Re: EditText is unuse ful on widget

2010-05-29 Thread Wenqin Li
Well,how can I input for a widget? If not support ? What's the way else? 在 2010 年 5 29 日,1:46 下午,"chaitanya" 编写: This is because EditText is not supported by the AppWidget framework. here is a list of Views which you can use in the widget UI * AnalogClock * Button * Chronometer * Im

回复: [android-developers] Loaded time zone name s infinite loop issue

2010-05-29 Thread Wenqin Li
It's happened occasionally,restart emulater. 在 2010 年 5 29 日,2:07 下午,"croco" 编写: Hi all, I was wondering why my app slow down anormally ... showing DDMS i figureout the following stacktrace goes indefenetly. i'm on android 1.6. I think befaore i didn't got this issue and i've no idea why this c

回复: [android-developers] Re: Bulk inserts into ContentProviders

2010-05-29 Thread Wenqin Li
You can call activity's getContentResolver().query(uri,...) ,then get one cursor 在 2010 年 5 29 日,5:56 上午,"abhi" 编写: Look into ContentProviderOperation On May 26, 10:04 am, Vikram wrote: > I have written a content provider over a database table which > essentially captures phone contacts informa

[android-developers] Re: Bulk inserts into ContentProviders

2010-05-29 Thread Vikram
Thanks Abhi..Will take a look into it :) On May 29, 5:55 am, abhi wrote: > Look into ContentProviderOperation > > On May 26, 10:04 am, Vikram wrote: > > > > > I have written a content provider over a database table which > > essentially captures phone contacts information. > > > So at a point o

回复: [android-developers] Re: Can't Add an Edit Text to my Widget Layout

2010-05-29 Thread Wenqin Li
Hi,thanks for your help.can you give me more points.what is the user error? 在 2010 年 5 29 日,3:21 下午,"Zsolt Vasvari" 编写: I suspect a user error, specifically not reading the documentation. On May 28, 3:38 pm, "eyanblog.appspot.com" wrote: > Hi, > It seems to my problems. > I can't add EditText

[android-developers] Re: Can't Add an EditText to my Widget Layout

2010-05-29 Thread Zsolt Vasvari
I suspect a user error, specifically not reading the documentation. On May 28, 3:38 pm, "eyanblog.appspot.com" wrote: > Hi, >It seems to my problems. >I can't add EditText for a widget. >Why?Can anyone help me? >Thanks. >Suspect it is google's bug. > > On 5月27日, 上午3时01分, Chri