[android-developers] Re: Android Database

2010-02-26 Thread skink
On Feb 25, 8:24 pm, Mark Murphy mmur...@commonsware.com wrote: Julian wrote: I am trying to create an application that reads information from a database on a separate server(not the android phone).  Does anyone have any information on how to create a database connector class? Write a

[android-developers] Re: Disable Home Key?

2010-02-26 Thread DroidBy
Hi Sean Hodges, I am happy that you give me a clue on this, however I am not able to open the link that you post, it will redirect me to a blank webpage. Can you repaste the link? or the main link that I can browse into the sub-pages of this? Btw, Do you have any idea on the KeyGuardManager? Can

[android-developers] Re: Use of intents

2010-02-26 Thread Shekhar
Hi Mark, Could you please provide some pointers on how to implement listener object for the service. Regards, Shekhar On Feb 16, 11:25 pm, Mark Murphy mmur...@commonsware.com wrote: Shekharwrote: Now the service running in the background has to pass data to the activity continously for UI

[android-developers] where to store files?

2010-02-26 Thread kavitha
Hi All, I am in confusion,where to store my data files. Which is convenient? 1.sdcard 2.cache of context 3.data folder of package Thanks Kavitha -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] Re: Disable Home Key?

2010-02-26 Thread Sean Hodges
On Fri, Feb 26, 2010 at 8:17 AM, DroidBy meikeng@gmail.com wrote: I am happy that you give me a clue on this, however I am not able to open the link that you post, it will redirect me to a blank webpage. Can you repaste the link? or the main link that I can browse into the sub-pages of

[android-developers] Re: Contacts FAQ?

2010-02-26 Thread sazilla
Hi Berto, do you managed to render the contacts edit fields from a custom account using the native contacts app? or for contacts view only? thanks Carlo On 25 Gen, 17:25, Berto mstbe...@gmail.com wrote: Just an update for those of you still lost on adding custom accounts, sync adapters, etc.  

Re: [android-developers] Re: Disable Home Key?

2010-02-26 Thread zhangjun
you can check code in PhoneWindowManager.java, you can disable launch Home function when your lock show same as keyguard show On Fri, 2010-02-26 at 00:17 -0800, DroidBy wrote: Hi Sean Hodges, I am happy that you give me a clue on this, however I am not able to open the link that you post,

[android-developers] Unexpected MEDIA_BUTTON action broadcasting when unplugging headset

2010-02-26 Thread Urakagi
I'm writing music app, and find a confusing issue about headset buttons. My app has a BroadcastReceiver class to receive headset button controls, with action android:name=android.intent.action.MEDIA_BUTTON/ as intent filter. The problem is, when I unplug a wired headset slowly, sometimes

[android-developers] Re: Task activity stack always reset when launched from Home

2010-02-26 Thread Neha
Hi, Does anyone have any updates on this issue? I'm facing the same problem with my activity when launchMode=singleTask. - Launcher - Activity A (singleTask) - Activity B (standard) - Press HOME - Long-press HOME or go to Launcher - Activity A (B's onDestroy called) adb shell dumpsys

[android-developers] Re: AudioTrack.getPlaybackHeadPosi tion() is buggy????

2010-02-26 Thread blindfold
thanks, though therein i didnt find anything about getPlaybackHeadPosition() Then you missed my posts 12 and 13 in that thread, http://groups.google.com/group/android-developers/tree/browse_frm/thread/56ab381d56069436/a3905a29d60466f6?rnum=11lnk=nl as well as my bug report

[android-developers] Re: Piracy sucks, or does it?

2010-02-26 Thread Anthoni
On Feb 26, 7:43 am, ko5tik kpriblo...@yahoo.com wrote: Backdating the Phone would be major PITA , and surely screw up all the calendar and synchronization stuff. Is the app in question as expensive to mandate this PITA? Some people would just to avoid paying for it. But like has been mentioned

[android-developers] How to customize onscreen keyboard? Please help!

2010-02-26 Thread EvgenyV
Hi All! I need to hide all keys except numbers, point and dash and change the dash behaviour. Unfortunately attribute android:inputType=number|numberSigned| numberDecimal doesn't hide @, #, $ etc. keys. How can I customize the soft keyboard view? I actually need to show and react to my custom

Re: [android-developers] Re: intercept sms

2010-02-26 Thread zhangjun
no priority in Activity and Task now, so i guess no solution for your requirement :( maybe google can design it in future, but it is difficult for Application to implement high priority Activity or services On Thu, 2010-02-25 at 18:19 -0800, nigel wrote: Thank you for your answer. Can I let

[android-developers] Which View/Layout does the Market app (1.6) details activity use?

2010-02-26 Thread westmeadboy
I want to do something very similar (in terms of appearance) to the app details activity of the Market app. It looks like a cross between linear layout (not all rows the same), list (scrolling nature), preferences (headings). My guess is its a linear layout in a scroll view (ignoring activity

[android-developers] Bluetooth connect not working

2010-02-26 Thread Jamie
I am trying to establish a connection to another Bluetooth device on my Nexus One (2.1) with the following code, which occurs when on the broadcast receiver when a device is found. BluetoothDevice device = (BluetoothDevice) intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE); BluetoothSocket

[android-developers] my FileDescriptor doesn't work with mediaplayer (plz help)

2010-02-26 Thread genxsol
Hi Experts, i have a filedescriptor through a script like this Class? execClass = Class.forName(android.os.Exec); Method createSubprocess = execClass.getMethod(createSubprocess,

[android-developers] [Android-developers]How many SurfaceHolder objects can be created in one activity having one view?

2010-02-26 Thread Latha Shivanna
Hi All, I need to have an app where i can play both video and audio using mediaplayer APIs. But my problem here is , for video . i have to use SURFACE_TYPE_PUSH_BUFFERS and pass this to mp.setDisplay(). SurfaceHolder.setType(SurfaceHolder.SURFACE_TYPE_PUSH_BUFFERS); Where as, An audio

[android-developers] Android Market List Order

2010-02-26 Thread barisistanbul
What order Market Application use for application listing? Today in the first 30 application for all application has 25 downloads except dictionary.com application which is #10 between #15 according to carrier. It was listed #5 on All applications category and #1 on Reference category while it

[android-developers] Re: Piracy sucks, or does it?

2010-02-26 Thread Hekki
Hi, People cheat, it's in our human nature, it's even an economic rule : Individuals try to get the most with their limited resources. So if they can have something for free, they will. The problem is not really to fight this, because we'll never win (RIAA anyone : ), it's to find a way to

[android-developers] Re: Piracy sucks, or does it?

2010-02-26 Thread Hekki
I do not know what a PITA is but I agree. Changing your phone time just to play a game or use an app is to much work to worth the trouble. If someone does that, then he is either very, very poor, or very very pathetic with avarice and you won't get anything from him anyway. Yahel On 26 fév,

Re: [android-developers] Re: Piracy sucks, or does it?

2010-02-26 Thread Sean Hodges
On Fri, Feb 26, 2010 at 12:15 PM, Hekki kaye...@gmail.com wrote: I'm french and here some of our stand-up comedians are upset with youtube and the likes because youtube makes money on they're work and they don't see a single penny of it. There is nothing in this world quite like witnessing a

[android-developers] Re: Piracy sucks, or does it?

2010-02-26 Thread Hekki
There is nothing in this world quite like witnessing a penniless upset French stand-up comedian hurling abuse at YouTube :) Well you know when we're not on strike or ranting about our first lady, we need the vent :D -- You received this message because you are subscribed to the Google Groups

Re: [android-developers] How to customize onscreen keyboard? Please help!

2010-02-26 Thread Mark Murphy
EvgenyV wrote: Hi All! I need to hide all keys except numbers, point and dash and change the dash behaviour. You can't. You can create your own soft keyboard, and convince users to switch to it -- but then you will need to create a *complete* soft keyboard, since their choice is for their

Re: [android-developers] Alert Dialog to display across activities?

2010-02-26 Thread Mark Murphy
Sam wrote: Does anyone know if it's possible to get a Dialog box to display between activities? If, by this, you mean Activity A opens the Dialog and it stays open until Activity B is on-screen and dismisses it, I'm fairly certain that is not possible. -- Mark Murphy (a Commons Guy)

Re: [android-developers] Which View/Layout does the Market app (1.6) details activity use?

2010-02-26 Thread Mark Murphy
westmeadboy wrote: I want to do something very similar (in terms of appearance) to the app details activity of the Market app. It looks like a cross between linear layout (not all rows the same), list (scrolling nature), preferences (headings). My guess is its a linear layout in a scroll

[android-developers] Re: Which View/Layout does the Market app (1.6) details activity use?

2010-02-26 Thread westmeadboy
Thanks Mark - that MergeAdapter will definitely come in handy for some other things I'm doing. In the Market activity, only the Comments section can really be described as a list. So wouldn't the MergeAdapter only be useful in the situation where there is more than one sublist? In my case, I

[android-developers] Re: Free Version of App

2010-02-26 Thread String
On Feb 25, 7:58 pm, Streets Of Boston flyingdutc...@gmail.com wrote: How do you make a time limited trial version, where limiting the time is fairly fool-proof? How do you know how long the user has your app installed (including the possibility that the app has been uninstalled one or more

Re: [android-developers] Re: Which View/Layout does the Market app (1.6) details activity use?

2010-02-26 Thread Mark Murphy
westmeadboy wrote: In the Market activity, only the Comments section can really be described as a list. That is a misconception. Try using your D-pad or trackball or whatever on that screen. You will find that the comments, the three items below the About the developer heading, and the Flag as

[android-developers] Re: Which View/Layout does the Market app (1.6) details activity use?

2010-02-26 Thread westmeadboy
I see that the description section is not selectable and assume it is pretty trivial to define whether something like that (and headings) is selectable or not... In my case, some rows are selectable and others have views within them that are selectable (think of a displayed sentence where

Re: [android-developers] Re: Which View/Layout does the Market app (1.6) details activity use?

2010-02-26 Thread Mark Murphy
westmeadboy wrote: I see that the description section is not selectable and assume it is pretty trivial to define whether something like that (and headings) is selectable or not... In my case, some rows are selectable and others have views within them that are selectable (think of a

[android-developers] Re: Dialog goes away on click of search button

2010-02-26 Thread Bolha
Hey, Amit! Specifically to the search button problem, I've found the following solution: case DIALOG_PROGRESS_SPINNER: progressDialog = new ProgressDialog(this) { @Override public boolean onSearchRequested()

[android-developers] Re: Android, send me logs! - code library for detecting force-close and sending logs

2010-02-26 Thread Nanard
Inserting a try {} catch {xxxException ...} in the code an be hard... if the crash occurs in a place we don't expect/suspect of not being stable. A solution for Google team, would be in the Manifest.xml to add field : sendErrorLogsTo=m...@me.com So, for each Force Close we could receive a mail

[android-developers] Re: AudioPolicyManager

2010-02-26 Thread ani
You didn't miss anything: currently the plugging-in of a wired accessory will not interrupt/reroute BT A2DP streaming, A2DP has priority over wired connections. We intend to change that behavior in a future release. Do you have a specific use-case you can share? We can add it to our

[android-developers] Apps, Market and MyTouch 3G 3.5mm.

2010-02-26 Thread BlackLight
Hello. I've got several messages from my users. All of them has MyTouch 3G 3.5mm and they cannot find my app in the Market (even search shows nothing found). Users with G1, Droid, Hero can find and download app. ?xml version=1.0 encoding=utf-8? manifest

[android-developers] Re: Which View/Layout does the Market app (1.6) details activity use?

2010-02-26 Thread westmeadboy
ok, ListView it is! I think the thing that bothers me, is I would like to define the whole layout in XML (as if I were using a LinearLayout). I wonder if its still possible (or recommended) to do that. Inflate the layout and then read off the children into the Adapter...?? On Feb 26, 2:27 pm,

Re: [android-developers] Re: Which View/Layout does the Market app (1.6) details activity use?

2010-02-26 Thread Mark Murphy
westmeadboy wrote: ok, ListView it is! I think the thing that bothers me, is I would like to define the whole layout in XML (as if I were using a LinearLayout). I wonder if its still possible (or recommended) to do that. Inflate the layout and then read off the children into the

Re: [android-developers] How to customize onscreen keyboard? Please help!

2010-02-26 Thread Evgeny V
I got it. Thank you very much! On Fri, Feb 26, 2010 at 2:43 PM, Mark Murphy mmur...@commonsware.comwrote: EvgenyV wrote: Hi All! I need to hide all keys except numbers, point and dash and change the dash behaviour. You can't. You can create your own soft keyboard, and convince users

[android-developers] Re: Which View/Layout does the Market app (1.6) details activity use?

2010-02-26 Thread westmeadboy
I think you're right, it could get messy. Having said that, I think there is a good case for creating a custom widget like LinearLayout2ListView (i.e. extends ListView and takes a linear layout resource as an argument). A man of your talents Mark, could polish that off in about half an hour :)

Re: [android-developers] Alert Dialog to display across activities?

2010-02-26 Thread TreKing
On Thu, Feb 25, 2010 at 11:10 PM, Sam samm...@gmail.com wrote: Does anyone know if it's possible to get a Dialog box to display between activities? What are you trying to achieve by doing this? Maybe there's another / better way ...

[android-developers] USB mass storage issue in Eclair

2010-02-26 Thread Saikat
I have an issue for USB host in éclair(eclair + some fix for USB). 1. Connect USB Mass Storage using a adapter in phone. 2. The USB mass storage will be mounted properly. 3. Unmount the same and take out the drive and it is happening properly. 4. Now connect back the

[android-developers] is it possible to get user name against the default Gmail account.

2010-02-26 Thread Atif Gulzar
Hi, Is it possible to get the user name against the default Gmail account on device? For example when we comment on some application in Market, it automatically deduct the user name form device. -- Best Regards, Atif Gulzar I Unicode, ɹɐzlnƃ ɟıʇɐ -- You received this message because

[android-developers] Re: intercept sms

2010-02-26 Thread nigel
Thank you,zhangjun.It's a piece of dismal news. It seems I have to change my design. Thanks a lot. On 26 Feb, 17:19, zhangjun jun.zh...@borqs.com wrote: no priority in Activity and Task now, so i guess no solution for your requirement :( maybe google can design it in future, but it is

Re: [android-developers] is it possible to get user name against the default Gmail account.

2010-02-26 Thread Sean Hodges
On Fri, Feb 26, 2010 at 2:19 PM, Atif Gulzar atif.gul...@gmail.com wrote: Is it possible to get the user name against the default Gmail account on device? I sure hope not... -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] Re: AudioTrack.getPlaybackHeadPosi tion() is buggy????

2010-02-26 Thread HeHe
thank you again. yes, i found getPlaybackHeadPosition() in your posts. since my sampling rate is 8000, i have no problem with getPlaybackHeadPosition() if pause() is NOT called. On Feb 26, 1:06 am, blindfold seeingwithso...@gmail.com wrote: thanks, though therein i didnt find anything about

[android-developers] Re: Android, send me logs! - code library for detecting force-close and sending logs

2010-02-26 Thread Streets Of Boston
I haven't made it public yet (i will at some point), but i have a similar system for my apps. The process of my activities registers itself by calling Thread.setDefaultUncaughtExceptionHandler(uncaughtXcptHandler) and binds to service that i wrote that runs in a different process (since my app

[android-developers] Ringtone.stop() wont work?

2010-02-26 Thread draf...@gmail.com
I currently start a Ringtone on Android and it plays fine. However when I try to stop the ringtone it doesn't stop or atleast doesn't stop straight away, it will keep in playing until it just plays out. Here is how I set up the Ringtone: int rm = audio_service.getRingerMode(); int vs =

[android-developers] Re: Free Version of App

2010-02-26 Thread Streets Of Boston
Thanks for the info! Especially the bit about the re-trial is interesting. But i have one question: You use the IMEI number. What if the user gets a new phone? Aren't app downloads tied to a user's Google Checkout account. If the user gets a new phone, uses the same Google Checkout account,

Re: [android-developers] Re: Android, send me logs! - code library for detecting force-close and sending logs

2010-02-26 Thread mike
On 02/25/2010 11:57 PM, focuser wrote: Mike - I think Apple's approach may be good for Apple, and probably not that compatible with the openness of Android? Also, what's better of Apple's approach other than that users don't have to give their identity (email addresses etc) to individual

[android-developers] Watching Activities - Updating their UI OR notify

2010-02-26 Thread sperfect
I'm just joinning the community, so Hello, Android I thought it could be useful when browsing an Application (e.g. one just installed) to be able to have information about the presence of OptionsMenu and ContextMenu. So that the user can know visually if Menu Button pressing button or long

[android-developers] How to get rid of WebHistoryItem instances to avoid memory leak?

2010-02-26 Thread kknight
My application often experienced OutOfMemory exception. To trace memory leak, I got memory dump from my application process and examined it in Eclipse Memory Analysis. The tool gave me a report of potential memory leak. The report is listed below. The report said there are many

[android-developers] Unsubscribe

2010-02-26 Thread conor hogan
Unsubscribe -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more

[android-developers] AutoCompleteTextView and show suggestions

2010-02-26 Thread Steven
Hello, If I have an EditText, it shows suggestions of words automatically when typing. For example, when I start typing Tra, it suggests words above the keyboard such as travel, training, etc. However, if I make the field an AutoCompleteTextView, I can get it to drop down suggestions of

[android-developers] Multiple Icon on Android App

2010-02-26 Thread Simone Francesca
I am trying to build an app that would have multiple icons with multiple captions based on the area. HOw can i do that in Android because right now there is no way to change the icon dynamically. It is tied to teh AndroidManifest file? Can I override it ? I was directed here by Android Market

[android-developers] Notepad tutorial questions about calling super

2010-02-26 Thread Hunk of Hulk
Hi there, I find the Notepad tutorial to be anything but simple for me. Could someone tell me in the code below why you call super immediately in method 1 and then last in method 2? I had thought that if you're going to call super,you had to do it immediately (or is that only with a

[android-developers] Bluetooth A2DP/AVRCP profiles on Android

2010-02-26 Thread Loco Moco
Hello, I would like to develop a software using Bluetooth A2DP/AVRCP profiles on Android. I could not find the related API on the developer's website at this moment. But, I found a product by Sybase below. http://www.sybase.com/detail?id=1064424 Do we have any other option? Thank you very much in

Re: [android-developers] Watching Activities - Updating their UI OR notify

2010-02-26 Thread Mark Murphy
sperfect wrote: I'm just joinning the community, so Hello, Android I thought it could be useful when browsing an Application (e.g. one just installed) to be able to have information about the presence of OptionsMenu and ContextMenu. So that the user can know visually if Menu Button pressing

[android-developers] Developer Phone Number Listing

2010-02-26 Thread polyclefsoftware
When I first started publishing Android apps as an indie developer, I posted my phone number on the app's submission page, thinking it would not be listed publicly. When I found out that it was, I removed the number from the app listing. I don't have the resources to handle phone support, and much

Re: [android-developers] Developer Phone Number Listing

2010-02-26 Thread TreKing
On Fri, Feb 26, 2010 at 9:35 AM, polyclefsoftware dja...@gmail.com wrote: So where are users still getting my phone number, and how can I make sure it's not listed? Have you tried asking the people that call you where they got your number ... ?

[android-developers] Re: where to store files?

2010-02-26 Thread Christine
I put them on the sdcard so my app doesn't use more memory than necessary and the user can see the files and they can delete them if they don't like them. On Feb 26, 9:47 am, kavitha kavith...@gmail.com wrote: Hi All, I am in confusion,where to store my data files. Which is convenient?

[android-developers] can't compile opencore

2010-02-26 Thread genxsol
Hi Dear, i am trying to compile opencore module separatley at cygwin. downloaded the source code followed steps in startup file --- cd opencore/build_config/opencore_dynamic source setup.sh opencore make -j -- error:

[android-developers] Re: Push Notification API

2010-02-26 Thread Mark Wyszomierski
I wonder if this is 'real' push, or are they just waking a process every N seconds to poll their server to simulate push. They say they're not using sms or email to provide push support. On Feb 17, 12:58 am, roland roland...@gmail.com wrote: Just saw this one,http://www.xtify.com/, i didn't test

[android-developers] Google Maps

2010-02-26 Thread Julian
Does each Android phone have a GPS installed inside it or does it use the location by accessing the cells where your phone is located? -- 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] Intercepting incoming/outgoing email messages

2010-02-26 Thread Anonymous Guy
I'm going to guess this: http://groups.google.com/group/android-developers/browse_thread/thread/27f46bcbbaa51163# still hasn't been addressed since almost a year ago. I just went through the API and found nothing to intercept incoming and outgoing email messages. Please, correct me if I'm

Re: [android-developers] Intercepting incoming/outgoing email messages

2010-02-26 Thread Mark Murphy
Anonymous Guy wrote: I'm going to guess this: http://groups.google.com/group/android-developers/browse_thread/thread/27f46bcbbaa51163# still hasn't been addressed since almost a year ago. I just went through the API and found nothing to intercept incoming and outgoing email messages.

[android-developers] Re: Android, send me logs! - code library for detecting force-close and sending logs

2010-02-26 Thread dadical
For those of you that are comfortable using Flurry, a similar approach works nicely. Flurry already collects uncaught exceptions, but for some reason doesn't actually log the stack trace. To get around this, I add an exceptionHandler that logs a Flurry event with the stack trace as a parameter,

[android-developers] what is the CRITICAL POINT of view layout to get hit by StackOverflowError exception

2010-02-26 Thread HeHe
it is frustrating to get StackOverflowError exception when i just call LinearLayout.setBackgroundResource(wallpaper) trying to to beautify background of an activity. after i comment out the setBackgroundResource() call, the exception has gone. it makes me wonder if my view layout has (easily)

[android-developers] help on graphics from newbie

2010-02-26 Thread social hub
Guys, I almost there of what i want to do but i am stuck at a point where I need some expert pointers this is what i do so far I have rectangle white box on cliking the rectangle I will draw a toolbar beneath the box and also call relayout to accomodate the toolbar ( size+100) ( i used

Re: [android-developers] what is the CRITICAL POINT of view layout to get hit by StackOverflowError exception

2010-02-26 Thread Mark Murphy
HeHe wrote: it makes me wonder if my view layout has (easily) reached a critical point of stack size limit. Use hierarchyviewer both to determine your View hierarchy depth and determine where you may be able to consolidate some containers, to reduce the hierarchy depth and in turn eliminate

[android-developers] MD5 Fingerprint

2010-02-26 Thread Julian
I am trying to get the MD5 Fingerprint to sign my applications. In the command prompt I inserted the following: $ keytool -list -alias androiddebugkey \ -keystore path_to_debug_keystore.keystore \ -storepass android -keypass android but I got the following error: '$' is not recognized as an

Re: [android-developers] MD5 Fingerprint

2010-02-26 Thread Mark Murphy
Julian wrote: I am trying to get the MD5 Fingerprint to sign my applications. In the command prompt I inserted the following: $ keytool -list -alias androiddebugkey \ -keystore path_to_debug_keystore.keystore \ -storepass android -keypass android but I got the following error: '$' is

Re: [android-developers] Re: Piracy sucks, or does it?

2010-02-26 Thread Angel Cruz
Nothing if fool proof for sure, but security and piracy is like a cat and mouse game. The hacker and developer actually form a symbiotic relationship, both making each other stronger. Just another thought: What about setting the time bomb based on the Yahoo server api call?

[android-developers] How to handle a cloned service from paid and free app?

2010-02-26 Thread Moto
I would like to make my life easier by having one common code base for my service for both paid and free apps. I want to eliminate the complex merging I find my self doing every time I need to release! As of now I had to change the service file name along with the Remote service aidl calls.

Re: [android-developers] Re: Android, send me logs! - code library for detecting force-close and sending logs

2010-02-26 Thread Dan Sherman
Just pointing out an alternative as well (I've used it in a few apps): http://code.google.com/p/android-remote-stacktrace/ - Dan On Fri, Feb 26, 2010 at 11:58 AM, dadical keyes...@gmail.com wrote: For those of you that are comfortable using Flurry, a similar approach works nicely. Flurry

[android-developers] Any built-in intent for viewing a single image?

2010-02-26 Thread Mark Wyszomierski
Hi, Is there a built-in intent which will let you pass it the path of an image (png or jpg) and show it full-screen with panning / zooming controls? Basically the same controls WebView has, but only for a single image. I saw that iPhone has something like this, just wondering if there's already

[android-developers] Re: Bluetooth A2DP/AVRCP profiles on Android

2010-02-26 Thread Matt
Did you look at this http://developer.android.com/intl/de/guide/topics/wireless/bluetooth.html On Feb 25, 1:53 pm, Loco Moco fujimo...@us.panasonic.com wrote: Hello, I would like to develop a software using Bluetooth A2DP/AVRCP profiles on Android. I could not find the related API on the

Re: [android-developers] Any built-in intent for viewing a single image?

2010-02-26 Thread Mark Murphy
Mark Wyszomierski wrote: Is there a built-in intent which will let you pass it the path of an image (png or jpg) and show it full-screen with panning / zooming controls? Basically the same controls WebView has, but only for a single image. I saw that iPhone has something like this, just

Re: [android-developers] How to handle a cloned service from paid and free app?

2010-02-26 Thread Frank Weiss
This is a recurring question. I think it should be added to the Android dev docs. On Feb 26, 2010 9:39 AM, Moto medicalsou...@gmail.com wrote: I would like to make my life easier by having one common code base for my service for both paid and free apps. I want to eliminate the complex merging I

[android-developers] Re: Obtain unicode string for Roslien Language

2010-02-26 Thread Bob Kerns
The Unicode Consortium has not addressed non-human languages. Not even Klingon, whose script has been around for 30 years, even longer than Unicode! But if you Google unicode klingon, you can find how people have addressed this for Klingon, e.g. using the Private Use area. I'd also look around

Re: FW: [android-developers] Re: FormatDateTime

2010-02-26 Thread Bob Kerns
Reflection is an old computer language term. Think of it as referring to the ability of a language to see itself, as in a mirror. Languages such as C and C++ don't have it. Java, Lisp, and many scripting languages do. On Feb 25, 8:46 pm, Nick Owens nicow...@gmail.com wrote: All: So I realized

[android-developers] Re: How to handle a cloned service from paid and free app?

2010-02-26 Thread Moto
Ok, any recurring answers? On Feb 26, 1:24 pm, Frank Weiss fewe...@gmail.com wrote: This is a recurring question. I think it should be added to the Android dev docs. On Feb 26, 2010 9:39 AM, Moto medicalsou...@gmail.com wrote: I would like to make my life easier by having one common code

[android-developers] Re: Android, send me logs! - code library for detecting force-close and sending logs

2010-02-26 Thread Bob Kerns
I take it a step further, and send one event for each exception cause (up to three). I also process the stacktrace to make it more compact (taking out filenames, removing package prefixes that I expect, etc.) so that more trace fits within Flurry's limits. I find it useful already, even though my

[android-developers] Re: Bluetooth connect not working

2010-02-26 Thread DonFrench
Did you try using the Bluetooth Chat example without modification except for changing the UUID? That is what I did and it worked for me. On Feb 26, 1:53 am, Jamie jamie.higg...@gmail.com wrote: I am trying to establish a connection to another Bluetooth device on my Nexus One (2.1) with the

[android-developers] Re: MD5 Fingerprint

2010-02-26 Thread AndroidDev
On Feb 26, 11:22 am, Mark Murphy mmur...@commonsware.com wrote: Julian wrote: I am trying to get the MD5 Fingerprint to sign my applications. In the command prompt I inserted the following:  $ keytool -list -alias androiddebugkey \ -keystore path_to_debug_keystore.keystore \

[android-developers] Re: Free Version of App

2010-02-26 Thread Bob Kerns
I think in this situation, the IMEI is a better choice for identifying when a trial has expired. You'd like to let them try your app on their new fancy faster phone with the bigger screen! The ANDROID_ID is a better choice (if it really is tied to the account and not the phone?) if you're

[android-developers] Re: what is the CRITICAL POINT of view layout to get hit by StackOverflowError exception

2010-02-26 Thread HeHe
Mark, thank you so much for the pointer and information!! you are right on the tabs and activity. the view hierarchy depth of my activity is only 6 but, because the activity is 'hosted' by another TabActivity, the total depth on StackOverflowError exception is 13 (6+7). what i don't understand

Re: [android-developers] Re: what is the CRITICAL POINT of view layout to get hit by StackOverflowError exception

2010-02-26 Thread Mark Murphy
HeHe wrote: 1). is the critical point measured by the depth of hierarchy or by the total memory size used by all the views on the hierarchy? For StackOverflowException, the depth is more critical than the total, AFAIK. 2). how does setBackgroundResource() increase the depth or memory usage

[android-developers] Re: Intercepting incoming/outgoing email messages

2010-02-26 Thread Anonymous Guy
While I can understand your opinion, I'll have to disagree. See these below links: http://www.blackberry.com/developers/docs/4.5.0api/net/rim/blackberry/api/mail/SendListener.html http://www.blackberry.com/developers/docs/4.5.0api/net/rim/blackberry/api/mail/event/ViewListener.html Maybe the

[android-developers] Re: MD5 Fingerprint

2010-02-26 Thread AndroidDev
On Feb 26, 12:55 pm, AndroidDev julianvillalt...@gmail.com wrote: On Feb 26, 11:22 am, Mark Murphy mmur...@commonsware.com wrote: Julian wrote: I am trying to get the MD5 Fingerprint to sign my applications. In the command prompt I inserted the following:  $ keytool -list

[android-developers] Re: Dialog goes away on click of search button

2010-02-26 Thread A R
Hey Bolha, Yes, I implemented the similar thing by overriding onKeyDown and checking keycode Will be working on the incoming call case tomorrow :) On Feb 26, 6:29 pm, Bolha lucasros...@gmail.com wrote: Hey, Amit! Specifically to the search button problem, I've found the following

[android-developers] Re: what is the CRITICAL POINT of view layout to get hit by StackOverflowError exception

2010-02-26 Thread HeHe
thanks for the answers~_~ On Feb 26, 11:07 am, Mark Murphy mmur...@commonsware.com wrote: HeHe wrote: 1). is the critical point measured by the depth of hierarchy or by the total memory size used by all the views on the hierarchy? For StackOverflowException, the depth is more critical than

Re: [android-developers] Re: Intercepting incoming/outgoing email messages

2010-02-26 Thread Mark Murphy
Anonymous Guy wrote: While I can understand your opinion, I'll have to disagree. You are welcome to do so. Maybe the insecurity you refer to comes from the core values of the OS? Android is pro-consumer and, therefore, anti-malware. This has side effects. I don't know enough of Android to

[android-developers] Re: MD5 Fingerprint

2010-02-26 Thread AndroidDev
Nevermind I figured it out, Thanks anyway On Feb 26, 1:18 pm, AndroidDev julianvillalt...@gmail.com wrote: On Feb 26, 12:55 pm, AndroidDev julianvillalt...@gmail.com wrote: On Feb 26, 11:22 am, Mark Murphy mmur...@commonsware.com wrote: Julian wrote: I am trying to get the MD5

[android-developers] Re: Intercepting incoming/outgoing email messages

2010-02-26 Thread Anonymous Guy
We're never going to agree, that much I can see. My opinion is that the user should be able to install anything they want (it's their device) and if they end up installing something that was malware, it's their own fault. Do you gladly sit and click on the EXE files you have coming to you?

Re: [android-developers] Re: Intercepting incoming/outgoing email messages

2010-02-26 Thread Greg Donald
On Fri, Feb 26, 2010 at 2:06 PM, Anonymous Guy anonymousguygen...@gmail.com wrote: You want to protect users by not giving developers APIs.  I want to give developers APIs and have the users protect themselves. Exactly. Android is as only as open as Google allows it to be. -- Greg Donald

[android-developers] Re: Free Version of App

2010-02-26 Thread Streets Of Boston
I get your point! Thanks! You're checking a trial/free license and not a paid license. And when they change phones, you don't lock them out of your app if they don't buy it again. Instead, you give them again another trial- period. Let me get this straight :) - Users download your free app.

[android-developers] Re: Crash in glDrawElements() using VBOs just after glBufferData()

2010-02-26 Thread Viktor Linder
Sure! It doesn't really do very much, just a wrapper around a buffer. frame_reset() is called once each frame. public class DynamicBuffer { private static final int BUFFER_SIZE = 32*1024; private static final int SCRATCH_SIZE = 32*1024; private static int _p = 0;

[android-developers] Re: Task activity stack always reset when launched from Home

2010-02-26 Thread jotobjects
There was another thread about this recently. This message summarizes the behavior with singleTask http://groups.google.com/group/android-developers/msg/471bef9e235f6c65 In short, with launchMode=singleTask the behavior after re-visiting Home is different depending on whether the activity at

[android-developers] Re: How to handle a cloned service from paid and free app?

2010-02-26 Thread Streets Of Boston
This is not optimal, but this is what i did. Implement your service, aidl and related java classes in one of your apps (either the free or the paid one) in your Android project. Make sure that your service is up to snuff at some point and all runs well. Be sure to put the aid and all related java

[android-developers] Re: Developer Phone Number Listing

2010-02-26 Thread Streets Of Boston
You are required to hava a phone-number for your own checkout account. But you are not required to put your phone-number on the Android Market. Go to your developer console, select your app and on the bottom, in the 'Contact Information' remove your phone-number. Hit Save. If customers still

[android-developers] Re: How to handle a cloned service from paid and free app?

2010-02-26 Thread Moto
Hi St. of Boston! That's great feedback! It's really nice to know what other developers are doing! I'll look into that... -Moto! On Feb 26, 3:39 pm, Streets Of Boston flyingdutc...@gmail.com wrote: This is not optimal, but this is what i did. Implement your service, aidl and related java

  1   2   >