[android-developers] Re: WebView loadData and XML Parsing Question

2009-01-13 Thread Ryan
I'm guessing it was the first suggestion, not the other two. Actually, they were such simple changes I made both at once. E.G. I used UTF-8, instead of utf-8. And I switched to the loadDataWithBaseURL function. The variable html was always a String so no change there. I'm guessing it's the

[android-developers] Re: Is it possible to replace or extend the dialer application ?

2009-01-13 Thread shimo...@gmail.com
Hi, Thanks a mill ! It's working. One more question now - is there a way I can toggle the Intent filter in code (in run-time) ? What I am aiming at is adding this as a setting in my application, allowing the user to decide if he/she wants my app to replace the dialer for the PHONE button. If I

[android-developers] Re: Error to open image fiile using OI File Manager

2009-01-13 Thread Peli
This is a problem of the MMS application that seems to accept file:// data (through its IntentFilter), but crashes upon actually receiving them. We have put a work-around in place by providing the attachment through a Content Provider. You can get the latest development release from

[android-developers] Re: Dev Phone Warranty

2009-01-13 Thread xilak
Thanks Mark. It's a good idea. I will try that. /Lars On Jan 12, 7:46 pm, Mark Murphy mmur...@commonsware.com wrote: xilak wrote: I recently bought an unlocked T-mobile G1 from the US (I live in Sweden). This was just a couple of weeks before theDevPhonewas released... Unfortunately

Re: BUG, TERRIBLE BUG!!! Re: [android-developers] Re: HELP! (was Re: Low on space)

2009-01-13 Thread Al Sutton
C'mon Justin, it's a bug. It has no positive effect for users, it's not the desired behaviour, and it's on JBQs to-fix list. Lets not get into the realms of marketing by trying to relabel things so they don't sound so bad. Al. Justin (Google Employee) wrote: Well, I don't think this is

Re: BUG, TERRIBLE BUG!!! Re: [android-developers] Re: HELP! (was Re: Low on space)

2009-01-13 Thread Jean-Baptiste Queru
Just to make some things clear: -the core bug appears to be on the filesystem side. I'm not going to touch that part. -a secondary issue exists in the system process where some unlinked files are kept open longer than necessary (which apparently triggers the core bug). This is where I'm hoping

[android-developers] Is there some kind of Widget Engine/Platform/Runtime will appear in future android platform?

2009-01-13 Thread Max
Is there some kind of Widget Engine/Platform/Runtime will appear in future android platform? Such as Google Desktop Gadget, Nokia Web RunTime, Yahoo! Widget ... --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[android-developers] Re: can not find http proxy support for opencore http streaming playback

2009-01-13 Thread Paranoia
anybody here??? i hope android guys can know this issue. thanks! On Jan 11, 9:12 am, Paranoia zheny...@gmail.com wrote: http streaming playback can be support by opencore. but no any api for this in mediaplayer. can android developers add this functionality? i have no idea whether they can

Re: BUG, TERRIBLE BUG!!! Re: [android-developers] Re: HELP! (was Re: Low on space)

2009-01-13 Thread Al Sutton
Thanks for the clarification. Is anyone assigned to look at the filesystem problem or is that being reported upstream? Al. Jean-Baptiste Queru wrote: Just to make some things clear: -the core bug appears to be on the filesystem side. I'm not going to touch that part. -a secondary issue

[android-developers] Re: can not find http proxy support for opencore http streaming playback

2009-01-13 Thread rktb
mediaplayer does support http playback. http://code.google.com/android/reference/android/media/MediaPlayer.html#setDataSource(java.lang.String) On Jan 13, 2:21 pm, Paranoia zheny...@gmail.com wrote: anybody here???  i hope android guys can know this issue. thanks! On Jan 11, 9:12 am,

[android-developers] Re: How to Use Google Accounts in Android Application

2009-01-13 Thread friedger
I would like to see an official solution as well. Friedger On 13 Jan., 07:53, jeffkyjin jeffky...@gmail.com wrote: Thanks, I am still researching it On Jan 10, 1:21 am, Fred Grott(shareme) fred.gr...@gmail.com wrote: I am researching the same issues... I think I have my research

[android-developers] Re: Writting/Reading Sync settings - Possible?

2009-01-13 Thread code_android_festival_way
Something new on that topic? On 11 Jan., 09:11, code_android_festival_way festival.s...@googlemail.com wrote: Hello. I have seen several applications in the market that enable you to toggle yoursyncsettings. (for example ToggleSettings) How is this done? I have found the permissions to read

[android-developers] Will Android open up the hardware?

2009-01-13 Thread Vinegar Tasters
According to this post: http://www.edepot.com/forums/viewtopic.php?f=7t=1151 It seems pretty logical that opening up the hardware is important. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Re: Will Android open up the hardware?

2009-01-13 Thread Vinegar Tasters
Also: http://www.edepot.com/forums/viewtopic.php?f=8t=956 --~--~-~--~~~---~--~~ 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

[android-developers] Re: How to use email client of emulator of android sdk second release, for OI Notepad for transferring note

2009-01-13 Thread friedger
Jalandar, that is a problem with the email client, it does not handle the same intents as Google Mail (which is a pitty). However, you can use K9 as email client. OI Notepad uses following intent: Intent i = new Intent(); i.setAction(Intent.ACTION_SEND); i.setType(text/plain);

[android-developers] How to debug Android application like (Browser, Camera etc.)

2009-01-13 Thread Atish
Hi All, I have downloaded the Android source code. I have also added all the source code files to an Android project in Eclipse to browse. Now I am unable to debug any application like Browse, Camera etc. :( Can anyone please help me? Thanks in Advance, Atish

[android-developers] Programatically returning to the home screen

2009-01-13 Thread Al Sutton
Someone's just made a point to me that I'd like to throw out to everyone for their opinion; Some of the devices that Android has been ported to don't have an explicit home button, and on some of these returning to the home screen requires multiple taps. Because of this should applications

[android-developers] Problem in Viewing table - sdk1.0

2009-01-13 Thread jayesh.thadani
Hi.. I am using sdk1.0 i created database as firstDB created table in it as firsttable my application is working fine, but am not been able to view tables name in database. i open it with sqlite, it shows database name in it with .databases command.. but when i used .table it does not show

[android-developers] Re: Problem in Viewing table - sdk1.0

2009-01-13 Thread PRATAP SOLAPUR
have u created the table in the command mode or in programi think the table has not been created Use .schema with no arguements, it'll list all the tables... On 1/13/09, jayesh.thadani jayesh.thad...@gmail.com wrote: Hi.. I am using sdk1.0 i created database as

[android-developers] Logcat View fails with Could not create the view: 1

2009-01-13 Thread Jakob Sachse
Hi, when I started my eclipse this morning the Logcat View failed. Instead of Logcat a FailureView is displayed. There the stacktrace displays an ArrayIndexOutOfBoundsException. I had one or two filters for certain pids. Those seem to be unloadable. Has anyone experienced such an error before?

[android-developers] GMAPS is not being displayed in the emulator

2009-01-13 Thread sheik ahmed
Hi all, I am able to connect to the* internet* using emulator browser *(working behind the proxy) *but the GMAPS is not being working...I get following exception about the file not found exception(*FIRST*) when i start the emulator . I even tried by writing simple gmap program generating the map

[android-developers] GMAPS is not being displayed in the emulator

2009-01-13 Thread sheik
Hi all, I am able to connect to the internet using emulator browser (working behind the proxy) but the GMAPS is not being working...I get following exception about the file not found exception(FIRST) when i start the emulator . I even tried by writing simple gmap program generating the map key

Re: BUG, TERRIBLE BUG!!! Re: [android-developers] Re: HELP! (was Re: Low on space)

2009-01-13 Thread Stoyan Damov
On Tue, Jan 13, 2009 at 11:09 AM, Al Sutton a...@funkyandroid.com wrote: C'mon Justin, it's a bug. It has no positive effect for users, it's not the desired behaviour, and it's on JBQs to-fix list. Lets not get into the realms of marketing by trying to relabel things so they don't sound

[android-developers] Unable to reconstruct bitmap from ksop2 response

2009-01-13 Thread sooraj.rit
Hi , I am trying to download a bitmap from a web service ( created in .Net ). My web service consists of a method GetImage , and the server machine is returning the image stored in it as String which is converted from Byte[].but when i try to reconstruct a bitmap from the so obtained byte, it is

[android-developers] keeping size of tab constant while adding dynamic new tags

2009-01-13 Thread jalandar
When I add tags dynamically, as the tags added the size of tags reduces, I want to keep size of tab constant, while adding new tags, they should be horizontally scrolled. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[android-developers] Re: OutOfMemoryError BitmapFactory.nativeDecodeByteArray inside Threads

2009-01-13 Thread nickthecook
Does anyone know why this method would need to allocate 6MB? When this issue occurs, it is always trying to allocate the same amount of memory to the byte. It occurs with different images, of different sizes. I load the file contents to a byte array and try to decode this array into a Bitmap.

[android-developers] AudioTrack class for streaming audio

2009-01-13 Thread Tez
Hi, I had come across the post of an android engineer stating that there is a class known as AudioTrack that can play audio streamed from a buffer. Can anyone shed some light on this. The class belongs to the so called 'cupcake' development branch Cheers, Earlence

[android-developers] Re: Trouble with TabActivity

2009-01-13 Thread Timothy DeWees
Okay, so how do I accomplish what I am looking to do? I want my UI to have 3 to 4 tabs and I want the contents of those tabs to be my activities. On Jan 13, 12:48 am, Sergey Ten sergeyte...@gmail.com wrote: Timothy, Here onCreate is declared as protected method, not public  in 1.0_r2. For

[android-developers] Binding with service lost after calling unbindService()

2009-01-13 Thread Abraham
HI All, I'm facing an issue with my application need your expert opinion in resolving the issue. My app has a local service which is started by calling startService() when the phone boot up is complete. My app also has a UI component which the user can use for making use of the service.

[android-developers] Re: can not find http proxy support for opencore http streaming playback

2009-01-13 Thread Paranoia
opencore supports http streaming playback. but mediaplayer does not support http proxy, since no relevant api. On Jan 13, 5:37 pm, rktb yend...@pv.com wrote: mediaplayer does support http playback.http://code.google.com/android/reference/android/media/MediaPlayer.ht...) On Jan 13, 2:21 pm,

[android-developers] Re: OutOfMemoryError BitmapFactory.nativeDecodeByteArray inside Threads

2009-01-13 Thread blindfold
Sounds like your have ~300 KB JPEG-compressed images at the standard G1 resolution of 2048 * 1536. At 2 bytes per pixel (using RGB_565 or ARGB_ format) this will in your phone expand into 2048 * 1536 * 2 = 6291456 bytes uncompressed. That's a sizable chunk of memory. Regards On Jan 11, 4:29 

[android-developers] Re: Problem in Viewing table - sdk1.0

2009-01-13 Thread jayesh.thadani
Hi pratap, yes i created table in program... and it is working fine, i am able to retrieve data from table, my problem is .table in sqlite3 is not showing tables that are in database Same problem is with notepad1,2 3 application which is given as a sample application.. In sample example,

[android-developers] how to implement an application like netcounter?

2009-01-13 Thread trust_chen chen
hi all: i want to implement an application like netcounter,but I can not find the APIS: how to get the infomation the net node such as ppp0/wifi/usb0? how to know the current net node which network is using and the bytes of the downloa data? thanks!

[android-developers] setting max height of listview with initial height is wrap content(it may be empty)

2009-01-13 Thread jalandar
Hello everybody I want set initial height of list view with wrap content, and later it will be expanded as per data added to specific limit of height. I used wrap_content for height and android:maxHeight =100px, but it is not working properly the list grows in height beyond the maxHeight as the

[android-developers] ListView again; addHeaderView, addFooterView difficulty

2009-01-13 Thread Chronos
Hi there ! Like many others, I had some trouble adding a View to the end of the list; after reading some posts, I stumbled over the addHeaderView() / addFooterView() methods of ListView. Those work perfectly for adding Views to the beginning / end of the list (which do ALSO scroll).

[android-developers] Re: Is it possible to replace or extend the dialer application ?

2009-01-13 Thread shimo...@gmail.com
Hi, One more issue - everything was working fine on my ADP1 device. I selected my app (TAKEphONE) to be the default handler for this, so every time I pressed the CALL button my app launched by default. Then I wanted to check something, so I went to the system settings, to the Applications

[android-developers] Re: Binding with service lost after calling unbindService()

2009-01-13 Thread zero
i have seen things like that, myself. could you, by any chance, provide us with the logs of the memory leak ? it might not even be necessary to call unbind(), because you can call the service's thru the obtained interface without being bound to it. (btw, the general problem class is still

[android-developers] Re: jchat4android 1.3 released!

2009-01-13 Thread Al Sutton
Any reason you're not publishing an installable apk file? Al. Semeria Stefano wrote: We are proud to announce the release of jChat4Android 1.3 jChat4Android is a chat application for the Android platform based on Jade agent framework. It shows how Jade can effectively be used in a

[android-developers] Re: Unable to reconstruct bitmap from ksop2 response

2009-01-13 Thread Alistair.
I am not that familiar with using SOAP but I have passed images using Strings in the past. Can I suggest you encode your image using Base64 and then decode it on the Android side. You can use something like this: http://www.source-code.biz/snippets/java/2.htm Al. On Jan 13, 11:17 am,

[android-developers] Re: Large amounts of data and app responsiveness

2009-01-13 Thread Al
Michael, I had a look at http://code.google.com/android/reference/android/os/MessageQueue.IdleHandler.html, which is supposed to be called when the message queue is empty, but I never received a call on it. I'm implementing it like this: myHandler = new Handler() {

[android-developers] Re: Is it possible to replace or extend the dialer application ?

2009-01-13 Thread A T
That I'm not sure about. It should have asked you again, especially after re-installing. I know this because I've made an app that replaces the default call log as well, and every time i re-install (debug or release), I have to re-select my default. A similar issue I did know about, though, is if

[android-developers] Re: the android's built in video player, supports which file format

2009-01-13 Thread rktb
It supports 3gpp playback. On Jan 13, 12:47 pm, jalandar jagtap...@gmail.com wrote: the android's built in video player, supports which file format. Or there is no built in video player for video playing --~--~-~--~~~---~--~~ You received this message because

[android-developers] Re: When does one use a SurfaceView vs a View?

2009-01-13 Thread Satya Komatineni
Karl, thank you very much, and also thanks for the link. Can I use a regular View for OpenGL as well for demo purposes of OpengGL concepts? Or one has to use the SurfaceView? Thanks Satya On Sat, Jan 3, 2009 at 12:24 PM, Karl Rosaen kros...@google.com wrote: If you are implementing a game or

[android-developers] newbie question

2009-01-13 Thread Romkin
if i have created a bitmap of 240x320, what would be the best way to scale it to the android's screen resolution and how? thanks a lot. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] Re: Converting Bitmap to Byte Array

2009-01-13 Thread Shahbaz Khalid
http://www.exampledepot.com/egs/java.io/SerializeObj.html ?? On Mon, Jan 12, 2009 at 3:18 PM, Mike Reed r...@google.com wrote: Bitmap.compress(...) ? On Sat, Jan 10, 2009 at 2:40 AM, Timothy DeWees whtdrgn...@gmail.com wrote: Hello, I need to re-size a Bitmap and save it to a

[android-developers] Re: Binding with service lost after calling unbindService()

2009-01-13 Thread android_soft
No problem connecting with the local service using unbindService and bindService. I have several Activities using this model without an issue. Are you testing on the emulator or the device ? If you are trying it on emulator, and the boot event happens before uninstall of the package(your app)

[android-developers] Can I use a regular View for *trivial* OpenGL programs instead of SurfaceView?

2009-01-13 Thread Satya Komatineni
All samples in Android makes use of a SurfaceView to draw OpenGL. Can I use a regular View instead? Thanks Satya --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] Re: Trouble with TabActivity

2009-01-13 Thread Timothy DeWees
So I think I need to do something like this: //In onCreate for class that extends Activity setContentView(R.layout.tabs); TabHost tabs =

[android-developers] Re: newbie question

2009-01-13 Thread Sundog
ImageViews are capable of scaling themselves... see http://code.google.com/android/reference/android/widget/ImageView.ScaleType.html On Jan 13, 7:55 am, Romkin ram...@gmail.com wrote: if i have created a bitmap of 240x320, what would be the best way to scale it to the android's screen

[android-developers] Re: What's slow on Android?

2009-01-13 Thread Ecthelion
I'd like to see: 1. JIT, or something else to speed up the applications in general. 2. Implement javax.sound.sampled classes (not really related to performance). On Jan 12, 11:21 pm, Tomei Ningen tomei.nin...@yahoo.com wrote: Hello Android developers, We are building an Android-based device,

[android-developers] Re: ArrayAdapter / spinner help

2009-01-13 Thread android_soft
int MyNameColumn = c.getColumnIndexOrThrow(drawingName); c.moveToFirst(); if (c != null) { .} 1. You are checking for null after using it above twice which is redundant.. 2. Catch the exception 3. If catching and you are getting a NullPointer then use Lod.e(TAG,

[android-developers] Accessing Files on the sdcard

2009-01-13 Thread Tez
Hi, I have a couple of recorded voice files stored on the sdcard simulation of the emulator. I want to acces these files so that I can stream them over the network to another app of mine. How can I create a java File object with a file stored on the sdcard? Cheers, Earlence

[android-developers] Re: Accessing Files on the sdcard

2009-01-13 Thread hmmm
I guess it should be like File f(sdcard/myaudio.3gpp) then FileInputStream(f) or just FileInputStream(sdcard/myaudio.3gpp) -Original Message- From: Tez earlencefe...@gmail.com To: Android Developers android-developers@googlegroups.com Date: Tue, 13 Jan 2009 07:25:59 -0800 (PST)

[android-developers] Re: Accessing Files on the sdcard

2009-01-13 Thread hmmm
sorry, /sdcard/... -Original Message- From: hmmm akul...@mail.ru To: android-developers@googlegroups.com Date: Tue, 13 Jan 2009 18:35:23 +0300 Subject: [android-developers] Re: Accessing Files on the sdcard I guess it should be like File f(sdcard/myaudio.3gpp) then

[android-developers] Re: Accessing Files on the sdcard

2009-01-13 Thread Jean-Baptiste Queru
And you should use Environment.getExternalStorageDirectory() to know the path to the external storage instead of hard-coding /sdcard. JBQ On Tue, Jan 13, 2009 at 7:37 AM, hmmm akul...@mail.ru wrote: sorry, /sdcard/... -Original Message- From: hmmm akul...@mail.ru To:

[android-developers] LinearLayout in gallery widget

2009-01-13 Thread loty
I'm getting a class cast exception when I try to use LinearLayout in Gallery. Is it a bug? Not yet supported feature? Has anyone got it working? Looks like it tries to get measurements from LinearLayout and then barfs out in Gallery somewhere. 01-13 10:47:52.294: ERROR/AndroidRuntime(428):

[android-developers] Re: setting max height of listview with initial height is wrap content(it may be empty)

2009-01-13 Thread Romain Guy
Hi, All you can do is set the height of the list view to be 100px directly. ListView really is not meant to be used this way and wrap_content is only supported to avoid errors or blank screens On Tue, Jan 13, 2009 at 4:50 AM, jalandar jagtap...@gmail.com wrote: Hello everybody I want set

[android-developers] Re: ListView again; addHeaderView, addFooterView difficulty

2009-01-13 Thread Romain Guy
Hi, Instead of doing your complicated casts every time, you should simply keep a reference to the original adapter in your Activity; this is usually how we do it in the default Android apps :) On Tue, Jan 13, 2009 at 5:29 AM, Chronos g358279012044...@gmail.com wrote: Hi there ! Like many

[android-developers] Re: Programatically returning to the home screen

2009-01-13 Thread Romain Guy
A facility to go back to the Home screen has to be provided by the hardware or the system (for instance with a soft button.) It is definitely NOT the job of the applications to provide a way to go back to the Home screen. As such, these ports would have to find a way to let the user to back to

[android-developers] Re: Large amounts of data and app responsiveness

2009-01-13 Thread Michael MacDonald
I wouldn't count on ever being called when your app is as busy as it is. Instead, I would make sure that there was only one instance of your specific Runnable on the queue. Set a flag when you create and queue the Runnable and have the Runnable clear the flag when it completes, and don't

[android-developers] Re: Is there some kind of Widget Engine/Platform/Runtime will appear in future android platform?

2009-01-13 Thread Romain Guy
There is no official plan to support such widgets in the system at the moment. On Tue, Jan 13, 2009 at 1:21 AM, Max ysz...@gmail.com wrote: Is there some kind of Widget Engine/Platform/Runtime will appear in future android platform? Such as Google Desktop Gadget, Nokia Web RunTime, Yahoo!

[android-developers] setTextFilterEnabled(true) and onKeyDown

2009-01-13 Thread Mike Wei
1. write a activity extends ListAcitivity. set a ResourceCursorAdapter. 2. set getListView().setTextFilterEnabled(). 3. write override mothed onKeydown(). Problem. when I typo letter, what's will happen? is ResourceCursorAdapter.getFilter() or onKeydown?

[android-developers] Re: LinearLayout in gallery widget

2009-01-13 Thread loty
Solved the problem. My linear layout needed this line to behave well within gallery widget myLayout.setLayoutParams(new Gallery.LayoutParams(140, 140)); Nothing beats scientific trial and error especially with super scarce SDK documentation. A 1 line explanation in Gallery docs would have saved

[android-developers] Re: setTextFilterEnabled(true) and onKeyDown

2009-01-13 Thread Michael MacDonald
AFAIK-- onKeyDown will be called first. Only if it does not consume the event (only if it returns false) does the filter processing happen. Mike Wei wrote: 1. write a activity extends ListAcitivity. set a ResourceCursorAdapter. 2. set getListView().setTextFilterEnabled(). 3. write

[android-developers] Multiple ProximityAlert problem

2009-01-13 Thread Aldo Neto
Hi, After a long fight I was able to create a PendingIntent and add it to the LocationManager.ProximityAlert() and get called when an GPS location is received. However, I need to have multiple locations set. I called addProximityAlert() many times (changing the RequestCode as suggested in other

[android-developers] Re: Validation of the phone number:

2009-01-13 Thread loty
Android has this ability as part of Linkify functionality - basic pattern matching. It does a good job of parsing out phone numbers but messes up other numbers sometimes. You can always roll your own - it's trivial with regular expression. On Jan 12, 11:49 pm, Manjunatha M (ಮಂಜುನಾಥ ಎಂ)

[android-developers] Re: What's slow on Android?

2009-01-13 Thread dmanpearl
If you can have just 3 things be much faster, what will they be? I need to make a custom camera filter display based on the camera preview run faster than I am currently able to do. We must get the display rate up to 5 to 10+ frames per second, through the G1 can barely display 1 fps. In

[android-developers] Save a file so that it persist after app version is upgraded

2009-01-13 Thread j
If I save a file via Context.openFileInput , is the file is automatically deleted when my app is upgraded to a newer version or does it persist? I need this file to persist across upgrade. --~--~-~--~~~---~--~~ You received this message because you are subscribed

[android-developers] Re: What's slow on Android?

2009-01-13 Thread A T
As a side note to answer your question (if anyone cares), call log is slow when scrolling because every time it binds a new list item it checks if its associated data needs to be updated Not a problem unless you're scrolling super fast, which you do if you have a giant log like *some* people

[android-developers] cupcake emulator crash on Windows

2009-01-13 Thread dmitry.lukas...@gmail.com
Hi All, Has anybody compiled emulator (cupcake branch) for Windows? Should it work?:) Because mine crashes. what I did: - noticed that ADT 0.8.0 doesn't support new xml attributes (like android:fastScrollEnabled). - compiled 0.9.0 ADT version from cupcake branch. Then I did make sdk (because

[android-developers] Re: Notifications from a service, forced Intent.FLAG_ACTIVITY_NEW_TASK problem

2009-01-13 Thread Torgny
Is there any way that you can send extra data with the pending intent to the activity? On Jan 12, 3:59 am, Gothy dmitry.ut...@gmail.com wrote: Same problem with my app, but mine is not a main activity to do your hack proposed. The main problem is that when this happens passed parameters from

[android-developers] Re: Notifications from a service, forced Intent.FLAG_ACTIVITY_NEW_TASK problem

2009-01-13 Thread A T
try the singleTask launch mode in the activity tag of your manifest. On Tue, Jan 13, 2009 at 12:48 PM, Torgny torgny.bj...@gmail.com wrote: Is there any way that you can send extra data with the pending intent to the activity? On Jan 12, 3:59 am, Gothy dmitry.ut...@gmail.com wrote: Same

[android-developers] Native IM application

2009-01-13 Thread AP08
Hi, Since gtalkservice is not present in SDK 1.0 onwards; how can i use the native IM client (provided by Esmertec) ? The IM client code does not compile. Or where can I get the source code /jar file for the required packages ? thank you, Amit

[android-developers] Re: Using MultiAutoCompleteTextView and Tokenizer

2009-01-13 Thread Torgny
I have figured out how to do the custom tokenizer by looking at the sources for android, although for some reason it allows for matching of strings when the buffer is empty, even without the @ sign, anybody got any ideas? Here's what I came up with: package com.example.util; import

[android-developers] Re: Notifications from a service, forced Intent.FLAG_ACTIVITY_NEW_TASK problem

2009-01-13 Thread Dianne Hackborn
Please be sure to read the Application Model doc, which outlines two of the most common ways to have notifications interact with applications. On Mon, Jan 12, 2009 at 12:59 AM, Gothy dmitry.ut...@gmail.com wrote: Same problem with my app, but mine is not a main activity to do your hack

[android-developers] Re: ArrayAdapter / spinner help

2009-01-13 Thread Josh Dobbs
That stops it from crashing but exception.getMessage() is null. Is there something i need to do so that the message is not null? What else should I be looking for? Thanks! Josh On Tue, Jan 13, 2009 at 7:22 AM, android_soft cspeche...@gmail.com wrote: int MyNameColumn =

[android-developers] Re: Save a file so that it persist after app version is upgraded

2009-01-13 Thread Dianne Hackborn
It is deleted if your app is deleted, but retained during an upgrade. On Tue, Jan 13, 2009 at 9:04 AM, j jac...@gmail.com wrote: If I save a file via Context.openFileInput , is the file is automatically deleted when my app is upgraded to a newer version or does it persist? I need this file

[android-developers] Re: Writting/Reading Sync settings - Possible?

2009-01-13 Thread code_android_festival_way
One last try if someone could tell me how to toggle the sync settings. :-) On 13 Jan., 10:40, code_android_festival_way festival.s...@googlemail.com wrote: Something new on that topic? On 11 Jan., 09:11, code_android_festival_way festival.s...@googlemail.com wrote: Hello. I have seen

[android-developers] Re: Notifications from a service, forced Intent.FLAG_ACTIVITY_NEW_TASK problem

2009-01-13 Thread Torgny Bjers
singleTask launch mode did the trick. No more duplicates running on top of each other. Thank you for the help! On Tue, Jan 13, 2009 at 12:50 PM, A T somecs...@gmail.com wrote: try the singleTask launch mode in the activity tag of your manifest. On Tue, Jan 13, 2009 at 12:48 PM, Torgny

[android-developers] Re: Binding with service lost after calling unbindService()

2009-01-13 Thread Dianne Hackborn
Repeatedly binding and unbinding works fine in the local service sample (which you can test by pressing the buttons), so my first question would be what you are doing different than it. Likewise you can see that if you bind the service, then go to the other local service sample, you are still

[android-developers] EARN 100$ PER DAY WITH CJ

2009-01-13 Thread namratamo...@gmail.com
EARN 100$ PER DAY WITH CJ http://megalinesolutions.googlepages.com/cj_1 --~--~-~--~~~---~--~~ 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] Visual Guide for Android Widgets

2009-01-13 Thread c_schumaker
I am looking for a visual guide for the Android widget set. I have downloaded the SDK in which there is a file of 122 html files describing the widgets. I am wondering if anyone has compiled visuals for all of the widgets? I have only found a very limited amount of of visuals, which were found

[android-developers] SMS comes with a country code, cannot look up in contacts

2009-01-13 Thread Alex
Hi all, I have this problem with Android Dev Phone 1: When receiving SMS, the From number has a form of +countrycodeoperatorcodenumber. However, when receiving calls, the number is 8operatorcodenumber. Now the problem is that if I store my contacts in 8operatorcodenumber format, the name of the

[android-developers] Looking for Complete Widget Visual Guide

2009-01-13 Thread c_schumaker
I am looking for a visual guide for the Android widget set. I have downloaded the SDK in which there is a file of 122 html files describing the widgets. I am wondering if anyone has compiled visuals for all of the widgets? I have only found a very limited amount of of visuals, which were found

[android-developers] Soft Keypad not appearing

2009-01-13 Thread Ram
We have ported Android on our Custom board. When we open the 'Dialer' application, it doesn't have a soft keypad. The application window shows the Dialer, Call log, Contacts Favourites tabs. The focus is on the Dialer tab displaying the following message: Use keyboard to dial. As our keyboard

[android-developers] UDP communication is no longer valid?

2009-01-13 Thread Hun
Hi, I tried a very simple UDP communication as follows: The code simply sends a UDP packet to the hosting computer (the same machine on which the emulator runs. ) package com.android.quoteclient; import android.app.Activity; import android.os.Bundle; import android.widget.TextView; import

[android-developers] Keskustelu aiheesta localizing-android-apps-draft

2009-01-13 Thread prc
Im currently localizing an android application and I would like to know how does the localization resolving work if it would need to reverse. So lets assume that res/values/strings.xml contains for example 20 strings. and res/values-de/strings.xml contains only 15 strings. What happens if

[android-developers] Questions on sound processing

2009-01-13 Thread ramplam
Questions on sound processing Dear Developers, I want to write an application that turns the G1 into some kind of a music instrument. There for I have some questions/discussion topics regarding the sound capabilities of android. Is it possible to play a MediaPlayer i.e. with a midi file and

Re: BUG, TERRIBLE BUG!!! Re: [android-developers] Re: HELP! (was Re: Low on space)

2009-01-13 Thread Tom Fanning
On Tue, Jan 13, 2009 at 10:08 AM, Stoyan Damov stoyan.da...@gmail.comwrote: On Tue, Jan 13, 2009 at 11:09 AM, Al Sutton a...@funkyandroid.com wrote: C'mon Justin, it's a bug. It has no positive effect for users, it's not the desired behaviour, and it's on JBQs to-fix list. Lets

[android-developers] Re: Android Dev Phone - Failed to upload app using Eclipse (timeout)

2009-01-13 Thread moontain
I'm facing the same problem on G1 with RC30 update... 2009/1/5 Rafael Fernandes luizraf...@gmail.com hi guys, any takers on this one? I was debugging the eclipse plug in and everything, but no lucky... the funny part is that it can connect to the device, but it can't upload anything...

[android-developers] Dependency injection into Activity

2009-01-13 Thread Koert
I have been developing an Android application and I keep wishing some king of dependency injection would be possible to make unit testing a bit easier. And I mean unit testing in the Eclipse IDE, not integration testing on the emulator or phone itself. I have been experimenting with reflection

[android-developers] Re: Continuing topic Bind to a remote service

2009-01-13 Thread rktb
Bumping it up ... On Jan 13, 12:39 pm, rktb yend...@pv.com wrote: Hi, I could not find Reply on the post:http://groups.google.com/group/android-developers/browse_thread/threa So, creating a new post. Based on Dianne's example, I am able to start a remote service and also call

[android-developers] Object Reference- R

2009-01-13 Thread elo
Hi, I need to get the Object which refers on the R.java Thank you --~--~-~--~~~---~--~~ 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

Re: BUG, TERRIBLE BUG!!! Re: [android-developers] Re: HELP! (was Re: Low on space)

2009-01-13 Thread Justin
Hi all - new to this, but have a (possibly related, possibly not) issue - I tried the above, and it didn't change... I've seen a number of folks comment on the size of the Market as reported in the Settings- Applications-Manage Applications panel, and I still don't get why my Market is 21MB.

[android-developers] Re: Bug - my (desktop) screen won't scroll sideways

2009-01-13 Thread Genesio
My G1 has NEVER been rebooted for at least 2 Months after I got it. Recently I had to restart because I installed JesusFreeke v1.31 but I usually leave it always on beacuse I use it as an alarm clock in the night and to listen music in my car. Anyway, I don't think this is a proper topic for

[android-developers] Re: How to debug Android application like (Browser, Camera etc.)

2009-01-13 Thread Andrew Stadler
Hi Atish- Questions or issues regarding the open source build or debugging platform applications should be posted to android-platform. This list is for discussion development of apps using the published SDK. See source.android.com/discuss for more information Thanks Andy On Tue, Jan 13, 2009

[android-developers] Re: Show AlertDialog after back button

2009-01-13 Thread Andrew Stadler
tmat- You might want to try this: 1. Override your activity's onKeyDown() method. 2. If the KeyEvent is KEYCODE_BACK, display your dialog 3. If your dialog returns YES, simply call Activity.finish() Remember that when you override onKeyDown(), you must return true if you handle the key

[android-developers] Re: Native IM application

2009-01-13 Thread Andrew Stadler
Hi Amit- Questions or issues regarding the open source build or debugging platform applications should be posted to android-platform. This list is for discussion development of apps using the published SDK. See source.android.com/discuss for more information Thanks Andy On Tue, Jan 13, 2009

[android-developers] Re: Is there some kind of Widget Engine/Platform/Runtime will appear in future android platform?

2009-01-13 Thread Fred Grott(shareme)
Romain but doesn't the webkit Nov 2008 nighties have the w3c web widget plugin in there? And is not sdk 1.0.3 including that webkit version? On Jan 13, 10:17 am, Romain Guy romain...@google.com wrote: There is no official plan to support such widgets in the system at the moment. On Tue,

[android-developers] Re: TabHost crash in setup

2009-01-13 Thread Mark Murphy
So out of curiosity, if it doesn't create the children views, anyone know what the call to setup() does? Here's the TabHost source code: http://tinyurl.com/9mpt5e Mostly, setup() seems to hook up to various events. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's

  1   2   >