[android-developers] Re: Alarm Wake Lock and Services

2009-12-18 Thread Alberto
Thanks, that clears things up. I guess I was somehow lucky that this worked for me, maybe the device wasn't going back to sleep quickly enough in my case. I'll implement the broadcast receiver and wakelock to ensure this always works. On Dec 18, 4:25 pm, Dianne Hackborn wrote: > A wake lock is n

Re: [android-developers] parsing a *string* of XML with SAX.

2009-12-18 Thread Agus
use xmlpullparser much easier On Fri, Dec 18, 2009 at 5:50 PM, redders wrote: > Okay, so I know that the parse() method takes an inputsource, and > normally it'd be better to parse the xml at the source (where it's a > stream), but in this case I want to be parsing it on a different > thread to

[android-developers] Re: OpenGL: How to test for VBO support?

2009-12-18 Thread Lance Nanek
Could it have something to do with how vertex buffer objects are now mandatory in OpenGL ES 1.1? On Dec 18, 8:24 pm, Robert Green wrote: > I'm working with the Droid right now and what's funny about it is that > it's the only device I have that doesn't report a VBO extension but > the VBOs work p

[android-developers] Re: Portrait vs landscape using sensor

2009-12-18 Thread Dianne Hackborn
The link is to the web interface to the official public repository. You can use it to browse through all of the source there. It starts here with a list of all of the projects: http://android.git.kernel.org/ Most of the Android-specific Java frameworks are in the "frameworks/base" project: htt

Re: [android-developers] Re: How to use the dpad button to pause and play audio while the device is locked

2009-12-18 Thread Dianne Hackborn
Tell them "Android sux and doesn't support this." Note that the HTC app could of course do something like this because, it is HTC's phone, and they can hack it however they want. Heck they could modify the lock screen to look for the key press and poke their media player app. On Fri, Dec 18, 200

[android-developers] Video Playback freezes on 1.6 donut with opencore2

2009-12-18 Thread Alexey Krasnoriadtsev
It looks like there is something wrong with the player (opencore), at times, video playback will get stuck on one frame, and will stay there for a long time. If you look at the log, you can see that player started playing at 17:59:48, at that time it has already buffered 6 seconds of video. Then a

[android-developers] Re: button Click event inside custom listview.... Help!

2009-12-18 Thread android09
Hi Abhishek, You can to through the below example for creating custom view. Follow the below link. http://www.anddev.org/basic_drag_and_drop-t3095.html I hope you will get the something from the above example. Best Luck. Thanks. On Dec 18, 7:47 am, Abhi wrote: > Hi guys, > > I have my own cus

[android-developers] Re: How to use the dpad button to pause and play audio while the device is locked

2009-12-18 Thread skyhigh
I am still getting requests from people to make my application pause and resume audio playback when they press a button while the screen is locked. One of the people requesting this feature assures me that the HTC Sense UI media player is doing this, so there must be a way to do it. Is there some

[android-developers] Re: Why RIL.java implements CommandInterface twice

2009-12-18 Thread James Wang
Maybe I should post it to porting group. -- 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...@g

[android-developers] Re: parsing a *string* of XML with SAX.

2009-12-18 Thread redders
Worth stating, that try/catch doesn't catch any exceptions, so it isn't arguing with me. On Dec 19, 1:50 am, redders wrote: > Okay, so I know that the parse() method takes an inputsource, and > normally it'd be better to parse the xml at the source (where it's a > stream), but in this case I want

[android-developers] parsing a *string* of XML with SAX.

2009-12-18 Thread redders
Okay, so I know that the parse() method takes an inputsource, and normally it'd be better to parse the xml at the source (where it's a stream), but in this case I want to be parsing it on a different thread to the thread it's being received on. My question is basically a "why won't this work" ques

[android-developers] OpenGL: How to test for VBO support?

2009-12-18 Thread Robert Green
I'm working with the Droid right now and what's funny about it is that it's the only device I have that doesn't report a VBO extension but the VBOs work perfectly on it so it clearly supports them. Hmm... Normally I check the extensions for one that ends in "vertex_buffer_object" but that's not

[android-developers] Re: this is just too much

2009-12-18 Thread Warren
Have you contacted law enforcement? You might have a hard time getting their attention for something "small" but it is their job to investigate and prosecute these things. When someone downloads something they don't have the rights to, that is wrong, but it gets much more serious when someone is pr

Re: [android-developers] Alarm Wake Lock and Services

2009-12-18 Thread Dianne Hackborn
A wake lock is not currently held for services; you will need to wrap it with a broadcast receiver. (Actually it is held, but because services are async the power manager is immediately told that the pending intent has been sent, and releases its wake lock.) On Fri, Dec 18, 2009 at 4:23 PM, Alber

Re: [android-developers] Portrait vs landscape using sensor

2009-12-18 Thread Dianne Hackborn
You might want to use this: http://developer.android.com/reference/android/view/OrientationEventListener.html If it doesn't exactly serve your needs, just copy the code into your own app and tweak as desired: http://android.git.kernel.org/?p=platform/frameworks/base.git;a=blob;f=core/java/androi

[android-developers] Alarm Wake Lock and Services

2009-12-18 Thread Alberto
Hello, I have a question about alarms used with services with regards to wake locks. The documentation explains the behavior using BroadcastReceivers, a wakelock is held during onReceive(), but doesn't describe the behavior for alarms starting services with the RTC_WAKEUP flag. What is the behavior

[android-developers] streaming issue with mediaplayer on android 2.0

2009-12-18 Thread cvance383
I have an app that streams mp3's from a server, works fine on 1.5 and lower. But on the droid, for certain songs the mediaplayer buffers to like over 50% but onPrepared() is never called. These same songs work fine on 1.5 or on a 2.0 emulator but for some reason they just hang on the actual droid p

[android-developers] Re: Portrait vs landscape using sensor

2009-12-18 Thread Mark Wyszomierski
Hi Fabio, This is for a camera app, and the activity is set to remain in landscape mode all the time. So if I want to find out which way the phone is oriented, I need to use the sensors, as the configuration will always report that I'm in landscape mode, Thanks On Dec 18, 6:51 pm, Fabio wrote:

[android-developers] Re: Portrait vs landscape using sensor

2009-12-18 Thread Fabio
Is there any reason why you cannot use the following code ? if (getResources().getConfiguration().orientation == Configuration.ORIENTATION_PORTRAIT) { //portrait } On Dec 18, 7:50 pm, Mark Wyszomierski wrote: > Hi, > > I'm trying to detect landscape vs portrait orientation with the > f

[android-developers] How to run unit tests for samples.

2009-12-18 Thread Nathan
Sorry for this basic question. How do I run the unit tests for the samples? Most of the samples have a subdirectory called tests with some source in them. However, I haven't been able to If I create a New Android Test project, it wants to create it from scratch. If I try to give it the tests subd

[android-developers] Re: Android Market - SharedPreferences

2009-12-18 Thread Maps.Huge.Info (Maps API Guru)
Answer: Yes. -John Coryat "Radar Now!" "What Zip Code?" -- 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-develo

Re: [android-developers] Android Market - SharedPreferences

2009-12-18 Thread Mark Murphy
Rafael Martins wrote: > If a user installs an update of an app using the Android Market, the > SharedPreferences persists? Yes. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy _The Busy Coder's Guide to *Advanced* Android Development_ Version 1.2 Available!

[android-developers] Android Market - SharedPreferences

2009-12-18 Thread Rafael Martins
If a user installs an update of an app using the Android Market, the SharedPreferences persists? -- 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 th

Re: [android-developers] this is just too much

2009-12-18 Thread David Overcash
Send him a C&D for fun. Then tell Paypal he's selling illegally pirated goods, they'll probably freeze his account. At the least you can stop him for a while. On Fri, Dec 18, 2009 at 12:28 PM, Andrei wrote: > Somebody on Craigslist selling our apps half price > > http://knoxville.craigslist.or

[android-developers] SDK running OK with Linux/Eclipse 64 bits ?

2009-12-18 Thread Nanard
Hi, I just have upgraded to Mandriva 64bits. I have installed the lasted Eclipse. But it seems it has problems loading 32bits SDK libs : Failed to parse the out of 'adb version' tools/adb: error while loading shared libraries: libncurses.so.5: cannot open shared object file ... Can you help

[android-developers] How to highlight the number and URL in page displayed

2009-12-18 Thread Sandeep Ranganath
Hi, In the app i have displayed, i would be displaying the address of a DEALER and PHONE NUMBER and home page URL. When the user click on number the application should iniate the call and when the user click on the URL it should open up in a new browser. I want to know how to make the number and U

[android-developers] Re: How can i stop a thread in a Activity?

2009-12-18 Thread Streets Of Boston
Calling interrupt() only works if your thread is interruptable and if your thread handles interruptions appropriately. Your thread only is interrupted if the thread is doing I/O or is in a wait-state (having called wait() on Object). If you want to have background threads that do one-shot jobs an

[android-developers] Re: OpenGL hardware requirements specification

2009-12-18 Thread Robert Green
Shaun, Most "effects" are things that you program so to enable/disable them, you have to do it in your own code. Most other primitive features like fog, lights and texture filtering are all controllable in GL, so you wouldn't need any additional configuration options for your GPU. I'm comfortabl

Re: [android-developers] Trackball Highlight for Header in ListView

2009-12-18 Thread Mark Murphy
droid_does wrote: > I have a ListView with a header and I am able to click the header as > if it was a list item however there is no highlighting if it receives > focus from the trackball/D-Pad. Basically I want the header view to > operate exactly as if it were just another list item in the ListV

Re: [android-developers] Re: Reminder: IRC office hours tomorrow

2009-12-18 Thread Megha Joshi
Check out the answers to questions from the 12/15 office hours here: http://moderator.appspot.com/#15/e=120951&t=11fd95 2009/12/17 Megha Joshi > We are still considering whether to provide transcripts depending on its > demand. > > There is a list of questions asked during office hours here.We w

Re: [android-developers] Re: Explanation about different UI meansuring...

2009-12-18 Thread Mark Murphy
jotobjects wrote: > On Dec 18, 12:17 pm, Mark Murphy wrote: >> http://developer.android.com/guide/topics/resources/available-resourc... > > Where is the setting for user desired font-size mentioned in that > link? Yeah, well, that seems to be missing, AFAICT. > Here it is recommended that you

[android-developers] Re: How to create a closed (circular) ListView

2009-12-18 Thread Streets Of Boston
I did this by creating my own list-adapter (subclassed from BaseAdapter). I coded my own list-adapter in such a way that its getCount() method returns a HGE number. And if item 'x' is selected, then this item corresponds to adapter position='adapter.getCount()/2+x' And for my adapter's metho

[android-developers] Re: OpenGL Error 1281 loading textures on Droid in native resolution

2009-12-18 Thread Robert Green
Solved. It's a scaling problem. My textures were being density- scaled on load and thus were no longer power-of-two when I tried to use them. On Dec 18, 4:15 pm, Robert Green wrote: > Just started testing my games on the Droid in native res (any density > enabled).  I've been using (scaled dens

[android-developers] Re: Explanation about different UI meansuring...

2009-12-18 Thread jotobjects
On Dec 18, 12:17 pm, Mark Murphy wrote: > > http://developer.android.com/guide/topics/resources/available-resourc... Where is the setting for user desired font-size mentioned in that link? Here it is recommended that you use 'sp' but I'm wondering if there are places where that would not be the

[android-developers] Trackball Highlight for Header in ListView

2009-12-18 Thread droid_does
I have a ListView with a header and I am able to click the header as if it was a list item however there is no highlighting if it receives focus from the trackball/D-Pad. Basically I want the header view to operate exactly as if it were just another list item in the ListView. Is there a way to do

[android-developers] Re: How to add a third-party jar into apk?

2009-12-18 Thread jotobjects
On Dec 14, 7:38 pm, bear tung wrote: >  but javax.xml.transform is already included in xmlsec-1.4.3.jar which is > not work.  T_T > That means you cannot use use xmlsec-1.4.3.jar. Welcome to the world of limited resources on smartphone devices! -- You received this message because you are sub

[android-developers] Re: Android Email Styles

2009-12-18 Thread droid_does
This is essentially a stupid question but in case anyone was wondering to achieve this you would need two different TextViews with a horizontal orientation so they are aligned (TextView1 TextView2). Then set the textColor to the colors you want and split the string adding split[0] to TextView1 and

[android-developers] Re: JDBC Driver for SQLiteDatabase

2009-12-18 Thread jotobjects
On Dec 15, 8:46 am, kristianlm wrote: > I understand that the driver doesn't have to be > documented if you're not supposed to be using > it since it's going "low-level". That's right. There is nothing useful you can do with the driver anyway. That's what the JDBC API is for. > > But the dri

[android-developers] OpenGL Error 1281 loading textures on Droid in native resolution

2009-12-18 Thread Robert Green
Just started testing my games on the Droid in native res (any density enabled). I've been using (scaled density) compatibility mode up until now. Everything works except for the textures. OpenGL throws error 1281 (Invalid Value) when loading in that mode (480x854). Everything loads fine when I

[android-developers] Bluetooth Developers Guide and Bluetooth Sample Code

2009-12-18 Thread Nick Pelly
Hi Bluetooth Developers, We have just published an Android Bluetooth Developers Guide, and a Sample Application. See links below. http://developer.android.com/guide/topics/wireless/bluetooth.html http://developer.android.com/resources/samples/BluetoothChat/index.html I hope these become a useful

[android-developers] MobiForms Developer Tool Now Supports Google Android Smartphones

2009-12-18 Thread Tim
The latest version of the revolutionary mobile development tool MobiForms 5.0 now offers support for Google Android smartphones. MobiForms is the first rapid application development tool in the world specifically designed for Google Android. Up until now developing for Android required in depth pr

[android-developers] Re: Drag and Drop

2009-12-18 Thread Business Talk
Thanks Mark On Dec 18, 4:37 pm, Mark Murphy wrote: > Business Talk wrote: > > is there any drag and drop support in android? Couldn't find any > > Nothing really built in, though with touch events and such you could > create something that works for your app. > > -- > Mark Murphy (a Commons > Gu

Re: [android-developers] I am a newbie...

2009-12-18 Thread Frank Weiss
To run on a phone, install the USB driver. For development in Eclipse, just use the Debug perspective - it will automatically create the .apk, download to the phone, and run it. On Dec 18, 2009 11:24 AM, "Jae Chang" wrote: I just followed the direction on google code page to set up java IDE, ec

Re: [android-developers] Re: Updating a pre-installed application

2009-12-18 Thread Dianne Hackborn
Sorry, I don't believe there is a way to do that. Market is not intended to deliver applications tied to a particular device; it is for applications that are developed for the regular platform. One possible trick you can use is to also require that the OEM include a shared library of yours, if yo

[android-developers] Re: TTS TalkBack doesn't read AlertDialog titles or messages?

2009-12-18 Thread RNekic
I tried the updated TTS app from that thread. The new version reads AlertDialog titles and messages now, although it still does not read other non-focusable text on the screen. Perhaps I'm not aware of an input function that will prompt TTS to read the entire screen. I'll take my follow-up quest

Re: [android-developers] Drag and Drop

2009-12-18 Thread Mark Murphy
Business Talk wrote: > is there any drag and drop support in android? Couldn't find any Nothing really built in, though with touch events and such you could create something that works for your app. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Android Tr

[android-developers] Drag and Drop

2009-12-18 Thread Business Talk
is there any drag and drop support in android? Couldn't find any -- 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-

[android-developers] Re: Updating a pre-installed application

2009-12-18 Thread John Seghers
One more question about this. Our application is one that requires OEM integration to provide its full functionality and thus if someone downloaded it from the Market to a phone on which it is not normally pre-installed, it would not function properly for them. Is there a way to place the update

[android-developers] Re: using soundPool but sound plays after a delay, sound is lagging

2009-12-18 Thread Matt
I have had similar issues using wav and mp3 files. I haven't profiled the delays, but I did decide to pre-load all of the settings that I could pre-load. Even retrieving all settings from the context and storing them. Then, just call playSound. This doesn't diagnose the problem, but it should r

[android-developers] Re: Localized to: unknown even though I have localized strings

2009-12-18 Thread ty
Same issue here. Tempted to ignore, but want to make sure not missing something. Anyone with an update on this? On Dec 10, 1:09 pm, Beth wrote: > Hey!  I also see the unknown message in my localized application.  The > first time I loaded a localized app on the Android Market, it read the > folde

[android-developers] Re: Program unique identifier

2009-12-18 Thread strazzere
@Watcher That's why the ANDROID_ID is meant to be used I believe, it is phone even on phone-less devices. Though some phone-less devices redirect the getDeviceId() call to return the ANDROID_ID too. @Iphpc Watcher is correct, there is no unique program specific identifier outside of the package

[android-developers] Re: Hebrew font on Android!

2009-12-18 Thread Lior
If you have a rooted phone and you want to add Hebrew fonts, you can follow the instructions in this link: http://iandroid.co.il/archives/485 In case you're using CyanogenMod ROM, you can update to version 4.2.9 which, as the change-log states, has Hebrew fonts. http://www.cyanogenmod.com/home/cya

[android-developers] Unable to start an activity, load the home screen, or show a notification during calls on Droid

2009-12-18 Thread Matt
Hi All, Has anyone been successful showing a notification, starting an activity, or loading the home screen *during* a call on the Droid? All three of these actions can be done with the emulator running 2.0, but will not run from the Droid. I don't receive any type of notification that these act

Re: [android-developers] Explanation about different UI meansuring...

2009-12-18 Thread Mark Murphy
Abdul Mateen wrote: > Can any body explain about , or give any refernce to different measuring > quantities in Android like dip, dp, inch. http://developer.android.com/guide/topics/resources/available-resources.html#dimension -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter

Re: [android-developers] Re: ClassLoader leaking memory?

2009-12-18 Thread Dianne Hackborn
Um, you are making this way too hard. You should load code with this: http://developer.android.com/reference/android/content/Context.html#createPackageContext(java.lang.String, int) And please please note, there are major security and functional issues with loading code like this. If this isn't

[android-developers] Re: androidplayground.net

2009-12-18 Thread Smelly Eddie
The site uses Paypal for subscriptions too, not just donations. And paypal has clear polices on infringement. Report here https://cms.paypal.com/be/cgi-bin/?&cmd=_render-content&content_ID=ua/InfringementRpt_full On Dec 17, 8:43 pm, "Guess Who, You Probably have my Number" wrote: > Hi Scott, >

[android-developers] Re: OpenGL hardware requirements specification

2009-12-18 Thread shaun
And to be able to access the device's setting for GPU class (or whatever it ends up being) programmatically at runtime if we want to disable/enable features/effects based upon its value. On Dec 18, 3:12 pm, shaun wrote: > I think Robert Green is on the right track.  We need something like > this

[android-developers] Explanation about different UI meansuring...

2009-12-18 Thread Abdul Mateen
Hi, Can any body explain about , or give any refernce to different measuring quantities in Android like dip, dp, inch. 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@googl

[android-developers] Re: OpenGL hardware requirements specification

2009-12-18 Thread shaun
I think Robert Green is on the right track. We need something like this now! On Dec 18, 2:34 pm, Robert Green wrote: > I'd really like to see a GPU Class enumeration starting with the > software renderer. > > android:gpuClass="integer" > > class 0 = software renderer > class 1 = MSM7200 series >

[android-developers] Re: ClassLoader leaking memory?

2009-12-18 Thread B++
After some further analysis, I noticed that memory resources are released if the loaded class belongs to the same apk as the app. The problem seems to be apparent if a loaded class belongs to a different apk. It looks like the resources about the class extraction are not getting released properly.

[android-developers] Re: Program unique identifier

2009-12-18 Thread Watcher
If your software is running on a phone-less tablet, chances are you won't even get an instance of TelephonyManager so getDeviceId() won't work Unique program identifer is the package identifier although anyone could use the same id as yours... On Dec 18, 4:49 am, lphpc wrote: > Hi All, >     A

[android-developers] Re: } catch (OutOfMemoryError E) {

2009-12-18 Thread Matt Kanninen
As a followup this had no impact. Also it wasn't an OutOfMemoryError when it it got bubbled up to my activity, it was an InflateException. Catching the exception seemed to have no impact, it still crashed. I tried this: //not having much luck fixing our OutOfMemoryErrors, so lets see what happen

Re: [android-developers] Enumerate activity history stack

2009-12-18 Thread Dianne Hackborn
"adb shell dumpsys activity" prints the current activity stacks, plus other core state in the activity manager. On Thu, Dec 17, 2009 at 4:11 PM, rich wrote: > When debugging I've sometimes wanted a tool that would list running > tasks and show which activities are on the history stack for each >

[android-developers] Re: How to test if app is shown on Market for all screensizes

2009-12-18 Thread Justin (Google Employee)
The problem of some Milestone devices not seeing copy protected apps is one we continue to work on addressing. We are working with the OEM to resolve the root cause. > You guys are funny. Android Market on HTC Tattoo does not show > applications that do not implicitly declare that they support its

[android-developers] Re: using soundPool but sound plays after a delay, sound is lagging

2009-12-18 Thread Robert Green
Can you quantify the lag? How much is it lagging? Lately I've been seeing my footstep sounds, which are individually triggered right and left steps, take 2-50ms to trigger for some reason. I'm not sure if it has something to do with the way the OGG is encoded, but I feel like it could. Perhaps

[android-developers] Re: OpenGL hardware requirements specification

2009-12-18 Thread Robert Green
I'd really like to see a GPU Class enumeration starting with the software renderer. android:gpuClass="integer" class 0 = software renderer class 1 = MSM7200 series class 2 = PowerVR SGX series class 3 = Some faster, more powerful GPU etc... This way, we could specify that a game only works on cl

[android-developers] this is just too much

2009-12-18 Thread Andrei
Somebody on Craigslist selling our apps half price http://knoxville.craigslist.org/mob/1515792578.html -- 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

[android-developers] Re: androidplayground.net

2009-12-18 Thread Guess Who, You Probably have my Number
Hi Scott, Figured I would let you in on something. I have nothing to do with that site anymore. I haven't in a while. If Tony is still on it then fine. But please don't put my name into anything. Me and you had a long discussion and touched many topics not to long ago and from what I can recall,

[android-developers] Hebrew font on Android!

2009-12-18 Thread Do it
When we see Hebrew languages that are available in the Android Mobile? -- 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 an

[android-developers] Re: OutofMemoryError: bitmap size exceeds VM budget.....

2009-12-18 Thread Sergiu Dogaru
how ? On Dec 18, 6:11 pm, Abhi wrote: > Resolved!!! > > On Dec 18, 9:25 am, Abhi wrote: > > > Anyone? > > > On Dec 18, 12:11 am, Abhi wrote: > > > > Hi, > > > > I am doing the following in my app, which at times results in the > > > above error. > > > > Action 1: Button on Main activity calls a

Re: [android-developers] Re: just another android rtp stack question

2009-12-18 Thread Marc Petit-Huguenin
maxsap wrote: > Anyone? > > On Dec 1, 3:34 pm, maxsap wrote: >> Hello all, I am new in android developer and I would like to make a >> sip based application for this platform. In the signaling part I have >> found about jain-sip (used it) and sipdroid( any good tutorial? ) the >> problem starts w

[android-developers] WebView Help

2009-12-18 Thread Mel Navarro
Hi, I was wondering if there is a way to select or highlight or focus at text from a webview's content. Or even select and copy text to the clipboard? (just like the default browser) Or even access the emulateShiftHeld() function? I'm working on an browser and am trying to add accelerators but

[android-developers] Contacts App crashes when switching between Dialer to Call log

2009-12-18 Thread Sameer AM
I've altered the contact app so that in Dialer the soft keypad always stays and it hides when other tab activity resumes, We've given different look for the contacts app, but when using the same, a crash occurs when we rapidly change from dialer to call log. And the App crashes without the standard

[android-developers] Program unique identifier

2009-12-18 Thread lphpc
Hi All, As known, we can get devcie unique ID using TelephonyManager#getDeviceId() . So, does a program have an unique identifier? How can I get it? I googled it but got nothing. Br -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To

[android-developers] Re: How To apply our settings to selected text instead of all text in Edit text View

2009-12-18 Thread Mukund
It is easy to do it for user selected text, just use getSelectionStart () and getSelectionEnd() and use Spannable to set the styles. On Nov 17, 10:49 am, Ram wrote: > Hi Androids, > I have a problem as follows: > > In my project i am havingrichtexteditoroptions to apply for the > edittextview. >

[android-developers] Enumerate activity history stack

2009-12-18 Thread rich
When debugging I've sometimes wanted a tool that would list running tasks and show which activities are on the history stack for each task. I can get a list of tasks by calling ActivityManager.getRunningTasks(). Each ActivityManager.RunningTaskInfo object in the list gives me interesting informatio

[android-developers] Re: Uninstalling TTS Data from the G1 / Dream

2009-12-18 Thread rob_b...@gmx.net
Hi! I found a solution: use adb tool to remove the app TtsService.apk: open the console with cmd navigate to tools dir inn your sdk: get rights and remove app: adb root adb shell cd system cd app rm TtsService.apk here you are. On 16 Dez., 06:22, Desu Vinod Kumar wrote: > HI > > while instal

[android-developers] Connect via USB and consume web service

2009-12-18 Thread Eric Crump
I need to connect my phone via the USB cable to my development machine and consume a web service that is running there. What do I need to do to get my Android to see the web service? Thanks. -- You received this message because you are subscribed to the Google Groups "Android Developers" group.

[android-developers] Re: Divert a call by sending the USSD command

2009-12-18 Thread oscarahman
Please start an activity as below: String encodedHash = Uri.encode("#"); startActivity(new Intent(Intent.ACTION_CALL,Uri.parse ("tel:*122*123456789"+encodedHash))); Thanks. Regards Prashanth D On Dec 17, 7:05 am, Mohammad Siddiqui wrote: > Hi > > can any one tell me how to programmaticaly dive

[android-developers] Re: Motorola Milestone not showing up in ddms / adb on Mac OS X Snow Leopard

2009-12-18 Thread Oliver
I don't know what did it, but trying it out today worked fine. I definitely had "None" selected back then, since I used it on Windows as well, but severall reboots obviously have restarted adb since. :) Nice one, I'll try that if it happens again, cheers. On Dec 15, 11:03 pm, TJ wrote: > If it's

[android-developers] Obtain Point of Interest data based on current location.

2009-12-18 Thread Ruppin
Hi, I am developing a GPS application in Android using Location/ Location Manager package. I am able to get the current latitude and longitude data correctly. My doubt is, do we have any means by which we can obtain the nearest "Point of Interest" based on the current location using And

[android-developers] I am a newbie...

2009-12-18 Thread Jae Chang
I just followed the direction on google code page to set up java IDE, eclipse and android sdk and i tried all the steps to go hello world app. now i want to try to run other sample codes provided by google android team. i downloaded zip file from http://android-developers.blogspot.com/?hl=en an

[android-developers] Re: ClassLoader leaking memory?

2009-12-18 Thread fadden
On Dec 17, 2:45 pm, "B++" wrote: > PathClassLoader classLoader =  new PathClassLoader("/path/to/apk.apk", > getClassLoader()); > classLoader.loadClass("path.to.class"); > classLoader = null; > > } > > Only these three lines will cause a "leak" if you keep on creating > this activity and destroying

[android-developers] BETA Tester Wanted

2009-12-18 Thread DevDroid
We are looking for people to help BETA test the FunMail app coming to the Android Market soon! Get a sneak peak at our app and help us find some bugz! Download the BETA at: http://funmail.com/android FunMail is a next-generation visual messaging platform. FunMail finds contextual relevant visual

[android-developers] Re: this is just too much

2009-12-18 Thread Jason Proctor
i flagged it as prohibited, as should others. hth -- jason.vp.engineering.particle -- 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, se

[android-developers] Re: this is just too much

2009-12-18 Thread Andrei
i contacted them to remove it, but this is whet is says on craigslist --- Android Apps Date: 2009-12-18, 11:51AM EST Reply to: see below Android Apps Advanced Task Manager $0.50 BitTorrent Client |aBTC $2.50 Album Art Grabber $1.00 Better Keyboard $1.50 PoliceStr

[android-developers] this is just too much

2009-12-18 Thread Andrei
Somebody on craigslist reseling our apps half price http://knoxville.craigslist.org/mob/1515792578.html -- 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

[android-developers] Portrait vs landscape using sensor

2009-12-18 Thread Mark Wyszomierski
Hi, I'm trying to detect landscape vs portrait orientation with the following: public void onSensorChanged(SensorEvent event) { float pitch = event.values[2]; if (pitch <= 45 && pitch >= -45) { // portrait } else if (pitch < -45) { // landscape }

Re: [android-developers] Re: Upload multiple versions for single android application for different SDK levels 1.5, 1.6, 2.0

2009-12-18 Thread Mark Murphy
Matt Kanninen wrote: > Mind you, I don't want to use reflection, it frightens me a bit, and > it's annoyed me and made my app harder to debug every time I've used > it. Eventually though we'll really want to use a feature not in 1.5. FYI, reflection is an option here, but it is not the only solut

[android-developers] Re: Camera intent - what's safe to use?

2009-12-18 Thread Matt Kanninen
On Dec 11, 4:37 pm, Vytautas Vaitukaitis wrote: > @Matt > > Yes, you're absolutely right - I'm trying to do what works on Hero - > if that fails, I do what works on all the other phones. > > I'm not quite sure about which of the Camera API issues you're talking > about: the failure to retrieve ima

[android-developers] Re: Upload multiple versions for single android application for different SDK levels 1.5, 1.6, 2.0

2009-12-18 Thread Matt Kanninen
An Android developer has to develop the habit of untraining management that is used to J2ME. If you release multiple different APKs you technically can fork your codebase, into different packages, to target different firmware. But you don't want to compete with yourself for market listings, you d

Re: [android-developers] Re: Automatic market updates

2009-12-18 Thread TreKing
> > So how do I get my users up to the current published version when my app > was deployed without the check-this-web-file-version-by-hand-code and I > don't even know who my users are? Is it absolutely crucial that your users have the most recent update the second it's put out? If not, don't wo

[android-developers] Re: ClassLoader leaking memory?

2009-12-18 Thread Matt Kanninen
If you have a small sample that demonstrates the problem that seems perfect for b.android.com. On Dec 17, 6:01 pm, "B++" wrote: > After some further analysis, it seems that the problem lies on the > DexFile. The PathClassLoader internally invokes the DexFile which > apparently unzips the package

[android-developers] Re: HTC Tattoo Market - New issues after 1.6 upgrade

2009-12-18 Thread G
See kids, that's why you always double check your code before posting questions. My mistake, thanks for pointing it out (feelin pretty dumb right about now) On Dec 18, 11:49 am, G wrote: > Wait, really?! I must've missed something in the latest update, will > double check. > > On Dec 18, 11:20 a

[android-developers] Re: OutofMemoryError: bitmap size exceeds VM budget.....

2009-12-18 Thread Matt Kanninen
How did you resolve it? I think we do need a list of ways one can cause this, how you figure out what caused it, and what to do to fix it. On Dec 18, 8:11 am, Abhi wrote: > Resolved!!! > > On Dec 18, 9:25 am, Abhi wrote: > > > Anyone? > > > On Dec 18, 12:11 am, Abhi wrote: > > > > Hi, > > > >

[android-developers] Re: TTS TalkBack doesn't read AlertDialog titles or messages?

2009-12-18 Thread blindfold
You might wish to check if the following recent update addresses your problem http://groups.google.com/group/tts-for-android/browse_thread/thread/291c47b0992d37f or else bring up your problem on that list. Regards On Dec 18, 5:55 pm, RNekic wrote: > So I tried turning on TalkBack to see how we

[android-developers] PVMFErrResourceConfiguration error on preparing MediaPlayer

2009-12-18 Thread Hermes Pique
I have a very brief video that I would like to include as a raw resource in my app. The video plays correctly when loaded from the SD card in the ApiDemos MediaPlayerDemo_Video example. However, if I attempt to load it as a raw resource, I get the following error after calling MediaPlayer.prepare:

[android-developers] DEV Phone 2 or Nexus One

2009-12-18 Thread kchoi
I am thinking about getting a DEV Phone 2, but there's new about Google's Nexus One phone that seems to have higher spec. Is there any advantage of getting DEV Phone 2 ? Any news about DEV Phone 3 (if any) ? -- You received this message because you are subscribed to the Google Groups "Android D

[android-developers] TTS TalkBack doesn't read AlertDialog titles or messages?

2009-12-18 Thread RNekic
So I tried turning on TalkBack to see how well my application works with the feature and I was surprised to discover that TalkBack does not speak the title or text of an AlertDialog. It's only speaking the text from the buttons I add to the dialog. Am I doing something wrong when I define my Aler

[android-developers] Re: HTC Tattoo Market - New issues after 1.6 upgrade

2009-12-18 Thread G
Wait, really?! I must've missed something in the latest update, will double check. On Dec 18, 11:20 am, moneytoo wrote: > In your application (AppAllarm v1.1.3) manifest file, the supports- > screens tag is empty (""). Are > you building your project using 1.6 SDK or later? > > On Dec 18, 3:43 pm

  1   2   >