[android-developers] Re: Idle time in android?

2009-10-16 Thread pk
Also i want to add that i need to do this in the SDK build.I saw how this works in the framework code but there seems to be no way to find if the device has been idle from the released sdk apis. On Oct 15, 1:32 pm, pk prabhakarku...@gmail.com wrote: Hi, I have an application(service) that

[android-developers] Re: Google wave invitations...?

2009-10-16 Thread Beowolve
I take one too, if you have some left. Thx a lot On 16 Okt., 05:41, Kenneth Adam Miller kennethadammil...@gmail.com wrote: Who wants to be in Google wave? I have 16 invitations --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[android-developers] How to find out if a device has flash player

2009-10-16 Thread tomei.ninge...@gmail.com
Is there a programmatic way on Android (inside Java code, or in JavaScript code in a WebView) to determine if the device has flash player? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] ADC2 Tea-Party2

2009-10-16 Thread Mobidev
Any news from your sources regarding progress/start of ADC2 Round2 Tea- Party? I’m looking forward to taste at least 50 cups of tea out of 200 that will be offered. Isn’t it taking a bit longer to review Round-1 scores? Though we are not in position to judge how complex it might get beind the

[android-developers] Re: Confusion about necessity to override onConfigurationChanged()

2009-10-16 Thread westmeadboy
OK thanks for explaining. So, overriding onConfigurationChanged() is for handling resource differences resulting from the configuration change rather than just redrawing the screen (using the existing resources). On Oct 16, 12:58 am, Dianne Hackborn hack...@android.com wrote: You are using

[android-developers] Re: Google wave invitations...?

2009-10-16 Thread Evgeny V
Yes, please. Thanks, Evgeny On Fri, Oct 16, 2009 at 5:41 AM, Kenneth Adam Miller kennethadammil...@gmail.com wrote: Who wants to be in Google wave? I have 16 invitations --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[android-developers] Re: Google wave invitations...?

2009-10-16 Thread ani rudh
one for me please :) , thanks On Fri, Oct 16, 2009 at 12:06 PM, Evgeny V evgen...@gmail.com wrote: Yes, please. Thanks, Evgeny On Fri, Oct 16, 2009 at 5:41 AM, Kenneth Adam Miller kennethadammil...@gmail.com wrote: Who wants to be in Google wave? I have 16 invitations --

[android-developers] Re: Google wave invitations...?

2009-10-16 Thread Desu Vinod Kumar
HI me also One ...please... On Fri, Oct 16, 2009 at 12:08 PM, ani rudh anirudh11777s...@gmail.comwrote: one for me please :) , thanks On Fri, Oct 16, 2009 at 12:06 PM, Evgeny V evgen...@gmail.com wrote: Yes, please. Thanks, Evgeny On Fri, Oct 16, 2009 at 5:41 AM, Kenneth Adam Miller

[android-developers] Re: Google wave invitations...?

2009-10-16 Thread westmeadboy
me too :) On Oct 16, 11:41 am, Kenneth Adam Miller kennethadammil...@gmail.com wrote: Who wants to be in Google wave? I have 16 invitations --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group.

[android-developers] Re: Advice on Beta Release

2009-10-16 Thread Al Sutton
At AndAppStore You can mark a release as being Alpha, Beta, or Release Candidate quality and it'll get listed in the Pre-release section. That way you can do some ramp up publicity pointing at the download as opposed to risking getting bug reports in your comments if people think its' a full

[android-developers] Re: Google wave invitations...?

2009-10-16 Thread Hao
Me t!! Thanks a lot! On Oct 16, 5:41 am, Kenneth Adam Miller kennethadammil...@gmail.com wrote: Who wants to be in Google wave? I have 16 invitations --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: Google wave invitations...?

2009-10-16 Thread vishal bhoj
Please , send one to me too :) On Fri, Oct 16, 2009 at 9:14 AM, Guru gurudut...@gmail.com wrote: I want it.Thanks very much! On Fri, Oct 16, 2009 at 9:11 AM, Kenneth Adam Miller kennethadammil...@gmail.com wrote: Who wants to be in Google wave? I have 16 invitations -- Thanks and

[android-developers] Re: Google wave invitations...?

2009-10-16 Thread Raghavendra R
hi, please give me .. On Fri, Oct 16, 2009 at 12:41 PM, Kenneth Adam Miller kennethadammil...@gmail.com wrote: Who wants to be in Google wave? I have 16 invitations --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[android-developers] Re: SAR(Specific Absorption Rate) values of Android phones on the market

2009-10-16 Thread Cédric Berger
On Thu, Oct 15, 2009 at 21:46, Mark Murphy mmur...@commonsware.com wrote: The FCC IDs of phones, hyperlinked to the FCC filings, are on phonescoop.com. Just search for the phones you want. I do not know if you care, but for european phones : models/frequencies may be different, and SAR is

[android-developers] Re: paid apps

2009-10-16 Thread MrChaz
It seems that a lot of US cards don't allow foreign currency purchases so if you application isn't in dollars they can't buy it. On Oct 16, 1:08 am, Andrei gml...@gmail.com wrote: For paid apps on average there is like 15 - 20% declined credit card rate, why is it so high? The message is: The

[android-developers] Re: Google wave invitations...?

2009-10-16 Thread bear tung
me too ! thanks!! On Fri, Oct 16, 2009 at 3:40 PM, Raghavendra R raghavendrars...@gmail.comwrote: hi, please give me .. On Fri, Oct 16, 2009 at 12:41 PM, Kenneth Adam Miller kennethadammil...@gmail.com wrote: Who wants to be in Google wave? I have 16 invitations Bear

[android-developers] Re: Google wave invitations...?

2009-10-16 Thread spocky12
I'm interested, if you've got one left. On Oct 16, 5:41 am, Kenneth Adam Miller kennethadammil...@gmail.com wrote: Who wants to be in Google wave? I have 16 invitations --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[android-developers] Re: Advice on Beta Release

2009-10-16 Thread André
I have implemented the Flurry API (see flurry.com) into my own game Puzzle Blox Arcade! and released it as Beta on both AndAppStore.com and SlideMe.org. On both websites I have marked it as BETA release in the summary/description. Flurry enables you to get detailed statistics about the users of

[android-developers] Re: Google wave invitations...?

2009-10-16 Thread nisha.devit
Yeah, M interested.. Send one me to. :) On Fri, Oct 16, 2009 at 1:55 PM, spocky12 spock...@gmail.com wrote: I'm interested, if you've got one left. On Oct 16, 5:41 am, Kenneth Adam Miller kennethadammil...@gmail.com wrote: Who wants to be in Google wave? I have 16 invitations --

[android-developers] trouble sending an mms

2009-10-16 Thread sdphil
I am trying to send an MMS message like this -- Intent sendIntent = new Intent(Intent.ACTION_SEND); sendIntent.putExtra(sms_body, hello world); sendIntent.setType(vnd.android-dir/mms-sms); sendIntent.putExtra(Intent.EXTRA_STREAM, Uri.fromFile(new File (url))); //

[android-developers] Re: How to start a service without using any activity??

2009-10-16 Thread André
It solely depends upon your implementation whether a service starts, shuts down or restarts; regardless whether you do this from your application or an activity. In other words you shouldn't shut down the service once the activity finishes. This will keep it running and next time your activity

[android-developers] NPE while trying to start AppWidgetManager.ACTION_APPWIDGET_PICK intent

2009-10-16 Thread Nikolay Ivanov
Hi all, I have a problem then trying to put an intent with AppWidgetManager.ACTION_APPWIDGET_PICK there is a problem somethere inside of android AppWidget ecosystem as I can see from the logs. So that I doing wrong? Code: public class NPEDemoActivity extends Activity { private final static

[android-developers] Re: Google wave invitations...?

2009-10-16 Thread Nivek
Hello, I counted 16 replies... but if it's not too late could you please send me one ? Thanks ! Nivek On 16 oct, 10:49, nisha.devit nisha.de...@gmail.com wrote: Yeah, M interested.. Send one me to. :) On Fri, Oct 16, 2009 at 1:55 PM, spocky12 spock...@gmail.com wrote: I'm

[android-developers] Re: Memory leak or feature

2009-10-16 Thread Mika
Hi Dianne, This is what I assumed also. Do you have any ideas where the leak could be in the sample app that I posted? I also checked the music player app with meminfo and it behaves similarly leaving activities in memory even after the ui is closed and system_process and com.android.music

[android-developers] SQLiteDatabaseCorruptException

2009-10-16 Thread Lazarus 101
Just got this exception on 1.6 emulator. Everything in my database was lost, the db file was still there but the tables were gone. Did anyone else experienced this? What might have caused this? I hope this is just an emulator bug... E/Database( 876): Failed to setLocale() when constructing,

[android-developers] Re: Programmatically get maximum heap size?

2009-10-16 Thread String
On Oct 16, 1:18 am, fadden fad...@android.com wrote: java.lang.Runtime.maxMemory() That's the one I needed. Many thanks! String --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to

[android-developers] Change button color on Focus and on click

2009-10-16 Thread Shoby
Hi i am developing an application that has a button whose color should change green color on focusing on the button and the color of button should change to red on clicking the button. I am using setBackgroundResource() in the onClick and onLongClick listeners. Though it changes the button color,

[android-developers] How to redirect the Logs into an file.

2009-10-16 Thread peeyush varshney
Hi, I want to redirect the Logs into an file. How should i proceed ? -- Thank Regards Peeyush Varshney --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

[android-developers] How to use CursorJoiner to join two table?

2009-10-16 Thread Victor Lin
Hi, I have two tables: Category(_id, name) Spend(_id, spend, category_id) I want to join these two tables. I tried to use CursorJoiner: Cursor spendCursor = managedQuery( AccountBook.Spend.CONTENT_URI, new String[] { AccountBook.Spend._ID,

[android-developers] Re: How to start a service without using any activity??

2009-10-16 Thread Farproc
First, you do not have to start/stop a service from a Activity. You can do that in anywhere via a Context object(which is very easy to retrieve). If you want to start a service, just call Context.startService(), form then on the service will keep running in background until you explicitly

[android-developers] Re: Google wave invitations...?

2009-10-16 Thread Farproc
Am I lucky? ;) On 10月16日, 上午11时41分, Kenneth Adam Miller kennethadammil...@gmail.com wrote: Who wants to be in Google wave? I have 16 invitations --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Re: Change button color on Focus and on click

2009-10-16 Thread Farproc
Set button's background to a StateListDrawable object or xml resource. Here is a sample to use StateListDrawable resource. It's very easy you event do not need to write the listeners!!! On 10月16日, 下午5时43分, Shoby shoby.su...@wipro.com wrote: Hi i am developing an application that has a button

[android-developers] Re: Change button color on Focus and on click

2009-10-16 Thread Shoby
Hi Farproc, Could you please provide a sample code or a link to a sample code for the same? Thanks, Shoby On Oct 16, 3:04 pm, Farproc farp...@gmail.com wrote: Set button's background to a StateListDrawable object or xml resource. Here is a sample to use StateListDrawable resource. It's

[android-developers] Re: How to use CursorJoiner to join two table?

2009-10-16 Thread RichardC
You can use a JOIN clause in SQLiteQueryBuilder.setTables http://developer.android.com/reference/android/database/sqlite/SQLiteQueryBuilder.html#setTables%28java.lang.String%29 -- RichardC On Oct 16, 10:50 am, Victor Lin borns...@gmail.com wrote: Hi, I have two tables: Category(_id, name)

[android-developers] Re: ARCHOS 5: MediaPlayer create method returns null

2009-10-16 Thread Mark Murphy
n.a wrote: Hi, my app is working perfectly and playing its music in the 1.5 and 1.6 emulators, my ADP1, and for everyone in the Android Market (at least there were no complaints). The problem is that when the app is run on the ARCHOS 5 tabled, the MediaPlayer.create(Context context, int

[android-developers] Re: Screen size

2009-10-16 Thread Sikus
I don't understand where is problem in QVGA distinction. I have banner which I load from server. Therefor I need recognize programatically absolute size of the physical screen that I have right width of banner. Is there any way how can I recognize right physical screen width? On 15 říj, 23:39,

[android-developers] R.drawable.my_icon Missing

2009-10-16 Thread Ne0
Hi, For some strange reason one of my drawable resources will not get written to R.drawable!?! The icon i am trying to use is in the correct directory, has a legal name, but when i compile i get: target Java: MobilePowerSurvey (out/target/common/obj/APPS/

[android-developers] Re: Google wave invitations...?

2009-10-16 Thread ColletJb
I think there are no invitation left from Kenneth Adam Miller. But if anyone invited by him has invitation and can invite me, It would be great ;) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Re: How to use CursorJoiner to join two table?

2009-10-16 Thread Victor Lin
But how about ContentProvider? I didn't query database directly, I used ContentProvider. On 10月16日, 下午6時39分, RichardC richard.crit...@googlemail.com wrote: You can use a JOIN clause in SQLiteQueryBuilder.setTables http://developer.android.com/reference/android/database/sqlite/SQLite... --

[android-developers] Re: How to use CursorJoiner to join two table?

2009-10-16 Thread RichardC
I do the join in the content provider using a different Uri for the joined view. For example you could use content://com.example.my_provider/spend_with_category as the Uri and do the join when you create the cursor. -- RichardC On Oct 16, 12:34 pm, Victor Lin borns...@gmail.com wrote: But

[android-developers] Animation between 2 activities?

2009-10-16 Thread Marc Reichelt
Hi there! I program on an application where different views are arranged horizontally, each view of screen size. The user should be able to switch between these views using his finger. I first used the ViewFlipper, which was great for simple layouts, but which is *way* too slow if the layouts of

[android-developers] Re: Animation between 2 activities?

2009-10-16 Thread Mark Murphy
Marc Reichelt wrote: I program on an application where different views are arranged horizontally, each view of screen size. The user should be able to switch between these views using his finger. I first used the ViewFlipper, which was great for simple layouts, but which is *way* too slow if

[android-developers] issue with playing .wma file

2009-10-16 Thread manoj
Hi all, I tried to play a .wma file in android phone. It didn't play. I dont know why. I played the media file in vlc player on pc. It worked. And also I found that some .wma files are playing and some are not playing. I tried to figure out the diff between the two. The audio codec is wma2

[android-developers] Audio Playback while Recording... ------- attemp playback while recording, cheat it! ----- error

2009-10-16 Thread Vishal
Hello, I have a Java application where in I am trying to read Audio samples from the mic into a buffer and then write the samples back to speaker from a buffer for playing. I have used AudioRecord and AudioTrack interfaces. Below are my configurations for the Record and Track object creation.

[android-developers] Re: How to capture audio data from mic into a buffer?

2009-10-16 Thread Vishal
Have found the solution. Used the AudioRecord and AudioTrack interfaces. On Sep 24, 3:10 pm, Vishal Gaonkar vishal.andr...@gmail.com wrote: I am working on a packet switched network. I want to capture the audio data from mic into a buffer at a desired sample rate. How can I capture the audio

[android-developers] Re: R.drawable.my_icon Missing

2009-10-16 Thread Ne0
Sorted, as i had mode no changes to the manifest it was rebuilding the resources, hence the reason it was saying it couldn't find the files. Liam On Oct 16, 12:30 pm, Ne0 liamjamesalf...@googlemail.com wrote: Hi, For some strange reason one of my drawable resources will not get written to

[android-developers] Re: How to configure the sampling rate/period while audio capture?

2009-10-16 Thread Vishal
Have found the solution. Used the AudioRecord and AudioTrack interfaces. On Sep 24, 12:55 pm, Vishal.Android vishal.andr...@gmail.com wrote: How to capture the audio data from mic into a buffer instead of a file? On Sep 23, 2:43 pm, Vishal Gaonkar vishal.andr...@gmail.com wrote: I am

[android-developers] Re: R.drawable.my_icon Missing

2009-10-16 Thread Ne0
The Fix (Short answer): If you have this problem, make a change to manifest, save and rebuild, sorts it all out! Liam On Oct 16, 12:30 pm, Ne0 liamjamesalf...@googlemail.com wrote: Hi, For some strange reason one of my drawable resources will not get written to R.drawable!?! The icon i am

[android-developers] Re: Google wave invitations...?

2009-10-16 Thread GSC
If anyone else has an available invitiation, please send me one. Thanks On Oct 16, 7:31 am, ColletJb collet...@gmail.com wrote: I think there are no invitation left from Kenneth Adam Miller. But if anyone invited by him has invitation and can invite me, It would be great ;)

[android-developers] Re: How to use CursorJoiner to join two table?

2009-10-16 Thread RichardC
From the documentation for CursorJoiner the following line - This joiner only supports the case where the tuple of key column values is unique. - worries me in that the key column AccountBook.Spend.CATEGORY_ID is not unique (it can't be as it is the link to the parent table). I am not sure I

[android-developers] Big problem with extra data in intent

2009-10-16 Thread DaminouU
Hi, I want to send RINGER_MODE update to an activity using an alarm manager and a BroadcastReceiver. So, in the file which is listening to android.media.EXTRA_RINGER_MODE, I have this : if(intent.getAction().equals(android.media.RINGER_MODE_CHANGED)) {

[android-developers] Re: Interrupted audio playback.

2009-10-16 Thread Mike
Thank you very much for your advice! I have not tried to raise MediaPlayers thread priority yet, but I'll try it next. Although i must admit that i am not convinced with this solution. The game is opengl powered. Input processing, game logic and rendering are each separated in a dedicated thread

[android-developers] R.drawable

2009-10-16 Thread nisha.devit
Hi, How we can store image files(*.png) to the folder R.drawable at runtime? -- Regards, n!$h --~--~-~--~~~---~--~~ 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] PendingIntent.getService Returns an existing or new PendingIntent matching the given parameters

2009-10-16 Thread Neil
In the documentation for PendingIntent.getService it says it Returns an existing or new PendingIntent matching the given parameters. What does that mean? I have one notification which calls pendingIntent = PendingIntent.getService(context, 0, new Intent (context,

[android-developers] Re: Google wave invitations...?

2009-10-16 Thread Kenneth Adam Miller
Have any of you gotten an email yet? I swear I've sent them out... perhaps they're just nominations for a possible invite to google wave and not you know actual concrete invitations I don't know, but I'm guessing that you guys would still want it. Hahah :) I'm in class right now, but I'll review

[android-developers] Re: Big problem with extra data in intent

2009-10-16 Thread Mark Murphy
Hi, I want to send RINGER_MODE update to an activity using an alarm manager and a BroadcastReceiver. So, in the file which is listening to android.media.EXTRA_RINGER_MODE, I have this : if(intent.getAction().equals(android.media.RINGER_MODE_CHANGED)) {

[android-developers] Re: Google wave invitations...?

2009-10-16 Thread Gavin Aiken
Takes at least 24 hours in my experience :) have fun waving! On Fri, Oct 16, 2009 at 2:09 PM, Kenneth Adam Miller kennethadammil...@gmail.com wrote: Have any of you gotten an email yet? I swear I've sent them out... perhaps they're just nominations for a possible invite to google wave and

[android-developers] Re: PendingIntent.getService Returns an existing or new PendingIntent matching the given parameters

2009-10-16 Thread Neil
Sorry, I should have searched this group better before posting. The solution is here: http://groups.google.com/group/android-developers/browse_thread/thread/2b98206d18a0192f/ On Oct 16, 2:59 pm, Neil neilb...@gmail.com wrote: In the documentation for PendingIntent.getService it says it

[android-developers] Re: Google wave invitations...?

2009-10-16 Thread Carl Whalley
I'd love an invite too ... anyone ... thanks! On Oct 16, 2:26 pm, Gavin Aiken gavin.ai...@imperial.ac.uk wrote: Takes at least 24 hours in my experience :) have fun waving! On Fri, Oct 16, 2009 at 2:09 PM, Kenneth Adam Miller kennethadammil...@gmail.com wrote:  Have any of you gotten an

[android-developers] Re: How to specify the maxWidth of a TextView as a percentage of screen width?

2009-10-16 Thread Streets Of Boston
Wrap another Layout (ViewGroup) around your text-view. Set this new layout's width to 50% of the parent's width (using Weight (or WeightSum... i can't remember) of 100 in the parent and layoutWeight or 50 of your new layout. Then the child of your new layout, your text-view, has a layoutWidth of

[android-developers] Re: How to specify the maxWidth of a TextView as a percentage of screen width?

2009-10-16 Thread westmeadboy
Thanks, thats a nice solution. Useful diagram too. However, I probably should have explained more about what I'm trying to do, because if I understand you correctly, that solution does not help what I want to do. In my horizontal LinearLayout, there are actually two TextViews which sit side by

[android-developers] Custom translucent theme

2009-10-16 Thread Olivier Guilyardi
Hi, I have 2 activities and need the second one to be translucent when started by and over the first one. When I set my activity theme to @android:style/Theme.Translucent, it works. I however want to customize alpha. So, following the example in ApiDemos - app - TranslucentActivity, I write:

[android-developers] Custom View donot Draw in ListView

2009-10-16 Thread purvi
Hello, I have a query, When I try to use a customview in the listview, the custom view donot display. All other views are displayed except the custom view. When I try to display the view like a normal layout (not in a list), it displays fine. Can anyone please help me to draw the customview in

[android-developers] CheckedTextView.isChecked

2009-10-16 Thread stanlick
This is a two part question: 1) Is there a preferred listener for this control? I notice in order to get this work, I had to listen for AdapterView.OnItemSelectedListener and AdapterView.OnItemClickListener 2) Within my onItemClick method, the value of control.isChecked() is opposite the GUI.

[android-developers] Re: ListView/Adapter Crash in 1.6 only: illegalStateException. 1.6 bug?

2009-10-16 Thread Sergey Vasilinets
Alexey, ListView chashes in case of: if (mItemCount != mAdapter.getCount()) { throw new IllegalStateException(The content of the adapter has changed but + ListView did not receive a notification. Make sure the content of + your

[android-developers] Re: Change button color on Focus and on click

2009-10-16 Thread Farproc
There was a post about that in this group, but I can't find it now!! Very wired You can search for how to make a view touchable visiually. If u find it, you will see how to set different backgrounds in different states(pressed, long pressed, focused, etc). Furthermore, if these drawables you

[android-developers] ViewFlipper with clickable items

2009-10-16 Thread Marc Reichelt
Hi! I am using the ViewFlipper to switch between different views by implementing a swing (mouse down, move and release). This works great with non-clickable items, e.g. a TextView. But if the views are clickable items (such as buttons), the onTouch() method of the ViewFlipper is not called. :-(

[android-developers] Re: Market screen shots

2009-10-16 Thread Streets Of Boston
The market compresses the uploaded images heavily. Just check the size of the images in your Market-Publish site of your app. They are quite small and tons of JPEG artifacts show up. Even if you uploaded PNGs, the images will become JPEGs, heavily compressed ones. On Oct 16, 11:48 am,

[android-developers] Re: R.drawable

2009-10-16 Thread Farproc
It's impossible but you can load an image using BitmapFactury at runtime. On Oct 16, 8:49 pm, nisha.devit nisha.de...@gmail.com wrote: Hi, How we can store image files(*.png) to the folder R.drawable at runtime? -- Regards, n!$h --~--~-~--~~~---~--~~ You

[android-developers] Re: Market screen shots

2009-10-16 Thread westmeadboy
Yeah, that's true in most cases. My images actually started out at about 12KB (8-bit PNG) which looked great before uploading them. The conversion magic on the server actually made them larger (downloads as 21KB) but with all the ugly dithering. Re-uploading them as 24-bit PNG (25KB) gave much

[android-developers] Re: Animation between 2 activities?

2009-10-16 Thread Marc Reichelt
Hi Mark, thanks for your help! By the way: I now found out why my views took so long to load. An odd combination of an Adapter and layouting led to many useless getView() calls. Now even 10 views are fast enough for the view flipper. Anyway: I think I will use your information to make the

[android-developers] Re: ListView/Adapter Crash in 1.6 only: illegalStateException. 1.6 bug?

2009-10-16 Thread Romain Guy
(it is a quote from sources ListView.java) and only in this case. Thus,  if number of elements wasn't changed, everything is ok. If you modify the adapter without changing the number of items it can also be bad. It's just that ListView does not detect this case. On 15 окт, 16:47, Alexey

[android-developers] Re: How to redirect the Logs into an file.

2009-10-16 Thread jotobjects
for example to write the log onto the device - adb logcat -f /data/log.log On Oct 16, 2:43 am, peeyush varshney varshney.peey...@gmail.com wrote: Hi,           I want to redirect the Logs into an file. How should i proceed ? -- Thank Regards Peeyush Varshney

[android-developers] Location based problem in emulator

2009-10-16 Thread Wayne Wenthin
Why would this blow up in the emulator if I have already pushed a location to it in DDMS? It works fine on the handset. Am I missing something really simple? Location loc = lm.getLastKnownLocation(lm.getProviders(true).get(0)); -- Writing code is one of few things that teaches me I don't know

[android-developers] Streetview intent question

2009-10-16 Thread ian
I'm unable to get Streetview running from an intent. For example, I'm using the following simple code which does not work: package ian.com.street; import android.app.Activity; import android.content.Intent; import android.net.Uri; import android.os.Bundle; public class Street extends

[android-developers] yalf - yet another logcat frontend

2009-10-16 Thread Pedro Banderas
hi, in order to dynamically filter logcat messages i created simple graphical frontend (~150 code lines). it supports filtering messages by tags (left Tags panel) as well as by matching message bodies against some regexp. requires pyqt4 any comments as always welcome thanks pskink

[android-developers] Re: Streetview intent question

2009-10-16 Thread ian
Oh my gosh, it started to work just fine. Anyway the following code serves as a simple example for anyone just starting to use Streetview/ My house looks great on the emulator screen! On Oct 16, 2:14 pm, ian stilbit...@gmail.com wrote: I'm unable to get Streetview running from an intent. For

[android-developers] Re: Should we still force our apps to API level 2?

2009-10-16 Thread Greivin Lopez
Thank you Mark. It sounds very interesting!, specially the JavaPP link. --~--~-~--~~~---~--~~ 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: Test for Android SDK version? Switch code for 1.5 cupcake or 1.6 donut

2009-10-16 Thread A. Elk
Curiosity: what variation? is it related to hardware, or to API differences? On Oct 15, 5:11 pm, Brady brady.kro...@gmail.com wrote: Hi, is it possible at runtime to determine whether the platform is running cupcake or donut? Due to some variation in my app between the two versions I'd like

[android-developers] Re: trouble with programmatically adding mock location data

2009-10-16 Thread Wayne Wenthin
Frederik,Did you ever find a way around this? I am experiencing the same problem. Wayne On Mon, Sep 28, 2009 at 6:53 AM, Frederik Pfisterer pfiste...@gmail.comwrote: Seems i'm talking with myself :-) Seems like it's a bug though, filed:

[android-developers] Strange behavior when loading images from SDCard

2009-10-16 Thread Mihai Fonoage
Hi, I have an activity that loads and displays images from the SDCard. I create a new AVD, specify the desired image of the sd card (which has all my pictures already loaded), specify that AVD for deployment, and start the application. I noticed a strange behavior. At first, the images are not

[android-developers] Problem to show unicode strings in TextView

2009-10-16 Thread qmwestview
Hi there, My data (stored as UTF-8 in the SQL db), when arrive at the phone as json strings, appear to be decimal Unicode, such as #32422;#20811;#23567; When I use setText(...) to show them in TextView, they are shown in their original form, rather than the characters they represent. If I use

[android-developers] Extendind Contacts application

2009-10-16 Thread A B
Hi, Do you know if there is a way to extend native contacts applications. I mean if there is any plugin framework that would allow you to add tour own stuff into the contacts e.g. new tabs or menu commands. I remember there was such thing in Symbian (via ECOM plugins). I briefly checked the

[android-developers] Problem with gridview refresh

2009-10-16 Thread GroupeM2ICPS
Hello, I made a simple game called taquin in french, here you can see an example of this game (it's not mine) : http://rigolmath.free.fr/taquin/taquin.htm#retour In my game the numbers are replaced by picture's fragments (object Bitmap), when I do movements by myself (by clicking on a picture

[android-developers] Re: Google wave invitations...?

2009-10-16 Thread renjun wang
On Thu, 2009-10-15 at 22:41 -0500, Kenneth Adam Miller wrote: Who wants to be in Google wave? I have 16 invitations does it have linux version? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Does Android support to using resource for activity attribute in AndroidManefest.xml

2009-10-16 Thread shi li
I have the following case. I have two string xml files under the dir of res/values and res/values-small. The strings in the two files are used to describe the different activity attribute. But i found that when i run my apk on QVGA emulator, the system always get the string value from res/values.

[android-developers] Does Android support to using resource for activity attribute in AndroidManefest.xml

2009-10-16 Thread YANG
I have the following case. I have two string xml files under the dir of res/values and res/values- small. The strings in the two files are used to describe the different activity attribute. But i found that when i run my apk on QVGA emulator, the system always get the string value from

[android-developers] Re: Google wave invitations...?

2009-10-16 Thread da zh
dear guru,i'd like to have one. it will be very nice of u if you give me one .thanks ahead~[?] 2009/10/16 Guru gurudut...@gmail.com I want it.Thanks very much! On Fri, Oct 16, 2009 at 9:11 AM, Kenneth Adam Miller kennethadammil...@gmail.com wrote: Who wants to be in Google wave? I

[android-developers] Locationmanager is running after removed listner

2009-10-16 Thread Lars Carlsson
Hi I have a service with a location manger and a lister that stores location in the DB. When the client runs stopService the service will remove the listener but for some reason i still get 5 -10 locations update to my listener why do i get this. public void onDestroy() {

[android-developers] Re: Google wave invitations...?

2009-10-16 Thread budziq
Well. Who wouldn't want one ;)? I guess I'd like one too ;) On Oct 16, 4:02 pm, Carl Whalley carl.whal...@googlemail.com wrote: I'd love an invite too ... anyone ... thanks! On Oct 16, 2:26 pm, Gavin Aiken gavin.ai...@imperial.ac.uk wrote: Takes at least 24 hours in my experience :) have

[android-developers] how to create our own BorderLayout

2009-10-16 Thread murali
Hi, I want to create our own BorderLayout like this BorderLayout left /left right /right top /top bottom /bottom /BorderLayout i know there is no layout in android like this , so I want to create like this. I

[android-developers] analog clock

2009-10-16 Thread jasmeet
i am trying to develop a world clock application in android. i want to use the analog clock for showing the time in different cities/ countries but don't know how to set the analog clock to a particular time. can somebody please help me with this?

[android-developers] Re: Google wave invitations...?

2009-10-16 Thread da zh
my account is sexro...@gmail.com 2009/10/16 da zh sexro...@gmail.com dear guru,i'd like to have one. it will be very nice of u if you give me one .thanks ahead~[?] 2009/10/16 Guru gurudut...@gmail.com I want it.Thanks very much! On Fri, Oct 16, 2009 at 9:11 AM, Kenneth Adam Miller

[android-developers] Re: Google wave invitations...?

2009-10-16 Thread da zh
hi,dear guru have u see my mail? 2009/10/16 Kenneth Adam Miller kennethadammil...@gmail.com Who wants to be in Google wave? I have 16 invitations --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-developers] Android put rectangles on camerasurface

2009-10-16 Thread devil
Hello, I have a camera preview on my device and now I like to put some shapes (e.g. rectangles) on specific places on my screen, with still the camera view turned on. How can I do this? First I was thinking about two layers, and the second one (the one with the shapes) will be transperent, but I

[android-developers] Re: Google wave invitations...?

2009-10-16 Thread nikhil
Can I get one too? On Oct 16, 10:02 pm, Carl Whalley carl.whal...@googlemail.com wrote: I'd love an invite too ... anyone ... thanks! On Oct 16, 2:26 pm, Gavin Aiken gavin.ai...@imperial.ac.uk wrote: Takes at least 24 hours in my experience :) have fun waving! On Fri, Oct 16, 2009 at

[android-developers] Help USB debug mode

2009-10-16 Thread Enrico
Hi guys, I need an infotmation about usb debug mode. During a test on my device (samsung galaxy) something went wrong, so I need to access with adb from the recovery mode (I use a custom reecovery of Drakaz), but the debug mode is not enabled in my device and I can't access to the system due to a

[android-developers] Re: ListActivity.onListItemClick(...) not being invoked

2009-10-16 Thread nikhil
I encountered the same problem as well. Whenever I put a checkbox on a list item or an expandable list item, the onListItemClick() stops working. I just want to know how was the Gmail app list view created. Romain Guy mentioned in the video that it was created using a custom view but how did the

[android-developers] Implementing 'push technology' into Android apps

2009-10-16 Thread rubeN_vl
Hi, What are the different ways to implement push technology into your Android app? The client Android app is supposed to receive content (XML Data) pushed by the server. I've looked around and found out it was possible to achieve it with usage off the SOAP protocol. But are there some better

[android-developers] Android Theme Widget wanted (For mAPPn's Home Alternative Application - aHome)

2009-10-16 Thread Brian
Hi there, My name is Brian and I am the Operation Manager of mAPPn, a mobile application and software provider based in Southern California. I am posting the message here looking to potentially partnerships with Android designers and developers. In short, we have had great success on the

  1   2   >