[android-developers] How to broadcast a block of data by intent?

2008-12-22 Thread Nick
Hi,all I'm implementing a service. And I want to broadcast a block of data by intent when my service received a block of data by WAP push message. How can I get this down? Does anyone have sample code? --~--~-~--~~~---~--~~ You received this message because

[android-developers] Orientation sensor: why does roll change with pitch?

2008-12-26 Thread Nick
Hello, If I have a pitch of 0 or 180 I can roll between -90 and 90 as expected. However as the pitch approaches 90 and -90 the roll range decreases proportionally. Should roll be independent of pitch? Also, I expected roll to have a range of -180 to 180. Any help is appreciated. Nick

[android-developers] Clearing the WebView cache

2008-12-28 Thread Nick
Hello, In onCreate() I instantiate a new WebView. In onStop() I call clearCache(true) and destroy() on the WebView. This does not seem to be enough to clear the cache since I see files piling up in /data/data/ MYAPP/cache/webviewCache. What is the proper way to remove this data? Thank you, Nick

[android-developers] Re: Clearing the WebView cache

2008-12-29 Thread Nick
I guess onStop() is the wrong place to do this. Moving the call to WebViewClient.onPageFinished fixed it. On Dec 28, 10:34 pm, Nick nicholasdo...@gmail.com wrote: Hello, In onCreate() I instantiate a new WebView. In onStop() I call clearCache(true) and destroy() on the WebView. This does

[android-developers] How to develop a 'android clock' like application?

2009-01-12 Thread nick
Hi, In the emulator, it has a 'clock' application in the start screen'. How can I develop an application like that? * it starts as part of the emulator/phone initialization (not when user clicks an icons in the application menu) * it draws/updates itself on the start screen periodically (i.e. it

[android-developers] Re: Clearing the WebView cache

2009-01-17 Thread Nick
I have something like webView.setWebViewClient(new WebViewClient() { @Override public void onPageFinished(WebView view, String url) { webView.clearCache(true); } } On Jan 14, 4:06 pm, Beshoy odsl...@gmail.com wrote: Nick, I'm not quite understanding how you got

[android-developers] How to draw a piece of Bitmap

2009-03-09 Thread Nick
Hello! I'm creating a simple game for Android and faced with a problem: Idea is to have a huge map image file and re-draw only small part of it (320*480) depending on user actions. I didn't find a better solution than using public static Bitmap createBitmap (Bitmap source, int x, int y, int

[android-developers] Persistent setRepeating

2009-09-12 Thread Nick
I have a basic setRepeating alarm to update my widget. Currently the repeat is set when the user makes the widget and when the user boots the device. It seems that during the course of the day the AlarmManager will just decide to stop updating. Also, what is the best way to re-set an alarm after

[android-developers] Re: How do I implement onClick for a DialogPreference?

2009-09-16 Thread Nick
Any suggestions? On Sep 1, 10:31 am, Nick nick.vers...@gmail.com wrote: I have a DialogPreference in my Preference Activity and would like to know which button was pressed. I have implemented the OnSharedPreferenceChangeListener which does not seem to get triggered when the  DialogPreference

[android-developers] How do you change the default language

2009-11-02 Thread Nick
How to change the default language from english to chinese for HTC Hero. Is there any other ways except reinstall a new ROM -- 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] Repo Init for Eclair

2009-12-01 Thread Nick
to eclair. Would I need to do any thing else as far as syncing and building the eclair branch? Currently I am using Ubuntu 9.04 (Jaunty Jackalope) and java version 1.6.0_16. Thanks, Nick -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] Bay Area Android Developer-User Group

2010-01-20 Thread nick
useful apps! -Nick -- 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] bricked

2010-02-15 Thread Nick
Hi, i have a bricked Htc magic and i have tried all possible ways on the internet to unbrick by phone(sadly ther are none) .i am preety sure some one here is smart enough to come up with a sloution and really need one...this is one of the most expensive phones i have bought out of my budget and i

[android-developers] Calling all Sydney/Australia Android Developers

2009-07-29 Thread Nick
Register with the Sydney Android Developers User Group. THE place to meet, network, discuss, share. Just join the Sydney Android Developers User Group in Google Groups and we will set up meetings etc.. --~--~-~--~~~---~--~~ You received this message because you

[android-developers] Australian Android Developers - Drop me a line

2009-07-29 Thread Nick
Hi, Who am I? After nearly 15 years of software design, development, deployment, support and deconstruction for some of the worlds largest corporations, Minno's founder and CEO, Nick Mayall, decided that the time was right to head out into the wild blue yonder and turn his hand to what he

[android-developers] Access Google Account Credentials?

2009-07-29 Thread Nick
Is it currently possible for developers to access account credentials, for specific services, namely Google Reader? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] Re: Australian Android Developers - Drop me a line

2009-07-30 Thread Nick
Hey there Nicholas. Just head over to http://groups.google.com/group/sydney-android-developers-user-group Its pretty quiet at the moment, but early days.. On Jul 30, 8:59 pm, Nicholas Albion nalb...@gmail.com wrote: I googled for Sydney Android Developers User Group and it came up with

[android-developers] Re: Australian Android Developers - Drop me a line

2009-07-30 Thread Nick
I figure there's only one way to find out Eric! On Jul 30, 9:39 pm, Eric Wong (hdmp4.com) ericwon...@gmail.com wrote: I wonder if there are enough Australian (or Sydney) Android developers aroundto warrant such a group. Eric --~--~-~--~~~---~--~~ You

[android-developers] Re: Australian Android Developers - Drop me a line

2009-07-30 Thread Nick
But, if you are just trans-tasman, feel free to join in! On Jul 30, 9:53 pm, Nick nick.may...@gmail.com wrote: I figure there's only one way to find out Eric! On Jul 30, 9:39 pm, Eric Wong (hdmp4.com) ericwon...@gmail.com wrote: I wonder if there are enough Australian (or Sydney

[android-developers] How do I implement onClick for a DialogPreference?

2009-09-01 Thread Nick
I have a DialogPreference in my Preference Activity and would like to know which button was pressed. I have implemented the OnSharedPreferenceChangeListener which does not seem to get triggered when the DialogPreference is selected. I have also tried OnPreferenceClickListener but this gets

[android-developers] Re: Saving service killing without startForeground

2009-12-04 Thread Nick
in that instance? I tried catching the PACKAGE_INSTALL, PACKAGE_ADDED and PACKAGE_CHANGED but I dont think these are broadcasted to the newly installed packages. One alternative would be to force a reboot (programmatic) of the device (which i dont know how do either)? Any help will be appreciated Nick

[android-developers] Re: Saving service killing without startForeground

2009-12-04 Thread Nick
if he wants to continue or not) but I don't know how to force that either. Any ideas how to achieve that? Thanks for the help in advance Nick On Nov 23, 11:11 pm, Ash ashutoshkagra...@gmail.com wrote: At last I could find and fix the problem. The problem was after installing my package

[android-developers] Re: Saving service killing without startForeground

2009-12-04 Thread Nick
if he wants to continue or not) but I dont know how to force that either. Any ideas how to achieve that? Thanks for the help in advance Nick On Nov 23, 11:11 pm, Ash ashutoshkagra...@gmail.com wrote: At last I could find and fix the problem. The problem was after installing my package through

[android-developers] can't select using touch after changing tabs on Froyo

2010-08-31 Thread nick
Hi, I have an activity with three tabs, the content is all in the same activity. Here's how I setup the tabs: tabHost.addTab(tabHost.newTabSpec(tab1).setIndicator( getResources().getText(R.string.tab1), getResources().getDrawable(R.drawable.ic_tab1))

[android-developers] Re: can't select using touch after changing tabs on Froyo

2010-09-03 Thread nick
Having a separate activity for each tab fixes this. My main activity was getting pretty big and I split it into multiple activities, so I'm not running into this any more, but I'd still like to know what caused it. -- You received this message because you are subscribed to the Google Groups

[android-developers] Redraw ListActivity with invalidate or postinvalidate onActivityResult not working

2010-05-03 Thread Nick
I am trying to redraw a custom listActivity row when returning from a sub activity in which i call startActivityForResult. I get the callback to onActivityResult, however nothing i've tried results in calling the custom ArrayAdatper which has the getView function i need called to refresh the

[android-developers] about library projects

2010-07-07 Thread nick
Hi, I've split my application into a library project and app project, it mostly works but there are some annoying issues. Hopefully someone has an idea how to avoid them. Here goes. This is really basic, and maybe I am missing something, but why isn't the app project automatically rebuilt after

[android-developers] Re: about library projects

2010-07-08 Thread nick
On Jul 9, 12:03 am, joebowbeer joe.bowb...@gmail.com wrote: A refresh of your dependent project should suffice, rather than a full clean, but it's still a pain.  AFAIK this is one of the problems with linked src in Eclipse, and that's what the library projects essentially are. Thanks,

[android-developers] Re: about library projects

2010-07-08 Thread nick
On Jul 9, 12:23 am, nick nikolay.elen...@gmail.com wrote: I have, but I still get all the files as 'Deleted' in the commit dialog. Something like: Missed the bin:    | Resource                     | Content ---+--+- [x]|app/bin/org/package/Class1

[android-developers] Re: about library projects

2010-07-08 Thread nick
On Jul 9, 3:27 am, Xavier Ducrohet x...@android.com wrote: When you edit one, the other version is considered to be modified outside of Eclipse, so you need to refresh the project for Eclipse to keep it in sync. Your best bet is to set the workspace to automatically refresh when a file is

[android-developers] Re: about library projects

2010-07-08 Thread nick
On Jul 9, 11:06 am, nick nikolay.elen...@gmail.com wrote: Is there a way to set it manually? I tried setting derived to the linked folder in my app project, but this seems to have no effect. Of course that made the folder disappear on rebuild. Bad idea. -- You received this message

[android-developers] Emulator WVGA

2010-07-09 Thread Nick
is zoomed. Any thoughts on what the issue is? Thank you, Nick -- 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] android application error reports

2010-07-21 Thread nick
Are there any details on this? There is an 'official' blog post, but that tells us very little. Is this a Froyo only feature? Or does it work for certain devices only? I've being getting reports from Motorola Droid for some time, and that are supposedly running Eclair only (at the time). I

[android-developers] Re: Will my app receive a Broadcast if it is not running?

2010-10-04 Thread Nick
Refer to http://developer.android.com/reference/android/R.styleable.html#AndroidManifestReceiver: The receiver tag declares an BroadcastReceiver class that is available as part of the package's application components, allowing the application to receive actions or data broadcast by other

[android-developers] Re: How to draw a piece of Bitmap

2009-04-27 Thread Nick
ayanafr...@gmail.com wrote: Nick, Did you figure this one out? I want to do the same. On Mar 9, 12:50 pm, Nick nkulik...@gmail.com wrote: Hello! I'm creating a simple game for Android and faced with a problem: Idea is to have a huge map image file and re-drawonly small part of it (320*480

[android-developers] Re: Encryption on Android devices

2010-12-06 Thread nick
On Dec 4, 10:10 pm, stefan.at.android stefan.at@googlemail.com wrote: Hello, 1) I am wondering if the Android SDK has already predefined encryption functions or if one would have to write this all from scratch? Andoird comes with OpenSSL and Bouncy Castle. That should be all you need.

[android-developers] LVL and 2.3 Emulator

2010-12-08 Thread Nick
have read the 2.3 release docs and haven't found any documented changes to LVL? Obviously I don't have a real phone with 2.3 to test on :) Does 2.3 w/ Google API SDK support LVL? Any ideas? Thanks, Nick -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: 2.3 LVL in Google API Package?

2010-12-08 Thread Nick
Hunter, I'm having the same problems: http://groups.google.com/group/android-developers/browse_thread/thread/4e6343e742f22f55# Nobody has responded and I haven't found a solution yet. Let us know if you figure anything out... Nick On Dec 7, 5:58 pm, HunterO hunterol...@gmail.com wrote: When

[android-developers] Re: LVL and 2.3 Emulator

2010-12-17 Thread Nick
again so I could run the build.  That's a very unproductive workflow. On Dec 15, 12:07 pm, mp6800 mport...@gmail.com wrote: Ditto for me as well.  What's up, Android team? On Dec 7, 9:58 pm, Nick nick1...@gmail.com wrote: I haveLVLworking with my app and am able to test

[android-developers] about the market 15 minutes refund window

2010-12-19 Thread nick
It seems that the new 15 minute refund windows is live, but is it so in every country with paid apps? And if so, how does it look from Google Checkout? I would expect that order state will change to Charged/Shipped within more or less 15 minutes. This is not the case in Japan though. It still

[android-developers] Re: about the market 15 minutes refund window

2010-12-20 Thread nick
of the Market are mysterious. On Dec 20, 11:22 pm, TreKing treking...@gmail.com wrote: On Mon, Dec 20, 2010 at 1:56 AM, nick nikolay.elen...@gmail.com wrote: So the question is: is the new refund window not active everywhere or is it just orders update only once a day? I believe

[android-developers] Re: about the market 15 minutes refund window

2010-12-20 Thread nick
On Dec 21, 11:09 am, Jiang webs...@yahoo.cn wrote: I have 2 packages a.apk and b.apk, is it possible to embed b.apk into a.apk, that when I install a.apk, b.apk is installed automatically, and when a.apk is uninstalled, b.apk is uninstalled as well? Please don't hijack threads. Start a

[android-developers] Re: Hudson and application signing

2010-12-21 Thread nick
On Dec 22, 1:58 am, ezamur eza...@gmail.com wrote: Hello, everybody I am trying to setup a CI environment for my android application. Just when I thought I am doing good, a problem came up. Although my project builds from the command line, it doesn't when the build is triggered by Hudson.

[android-developers] Re: AES in Gingerbread

2010-12-26 Thread nick
On Saturday, December 11, 2010 4:30:01 AM UTC+9, Steve Hugg wrote: More debugging on this issue... I am using this method to generate keys from a passphrase: KeyGenerator kgen = KeyGenerator.getInstance(AES, BC); SecureRandom sr = SecureRandom.getInstance(SHA1PRNG, Crypto);

[android-developers] jar.libs.dir is the new external.libs.dir?

2010-12-26 Thread nick
I upgraded to ADT 8 and my projects wouldn't build with Ant any more , failing with a lot of class not found errors. I have a build.properties file with the following contents: external.libs.dir=../somedir/lib A quick grep for the rules files shows that 'external.libs.dir' is not used any

[android-developers] Bad sound quality when recording/playing sounds...

2010-10-21 Thread Nick
that makes it bad and that it would work on a real phone. I would love some help with this. /Nick -- 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

[android-developers] Issues with httppost: Authentication challenge is empty

2010-11-03 Thread Nick
Hey everyone, I'm developing an Android app which needs to perform an HTTPPost to get a token back. Then use that token for subsequent calls. When I perform the initial call to get the token, it throws an exception: org.apache.http.auth.MalformedChallengeException: Authentication challenge

[android-developers] Re: How to count the number of launches of my app?

2010-11-29 Thread Nick
Hi, use onStart() or onResume() instead of onCreate() depending on what event you actually want to count. http://developer.android.com/guide/topics/fundamentals.html#actlife On 29 ноя, 04:58, Kang fst...@gmail.com wrote: Hi all, What I want to do is to log whenever user launches my app. So, I

[android-developers] App crashing only on second run...

2010-06-01 Thread Nick
(), and then crashes. I'm very puzzled as to why it acts differently...seems like if it goes though onDestroy next time it loads is like the first time. I think it is related to a large number of bitmaps I'm creating. Thanks, Nick -- You received this message because you are subscribed to the Google Groups

[android-developers] Re: LVL and 2.3 Emulator

2011-01-26 Thread Nick
/android/issues/detail?id=14252 On Jan 14, 12:35 am, CedarF cedric.dar...@gmail.com wrote: Still not works and no answer from Google? On 8 déc 2010, 03:58, Nick nick1...@gmail.com wrote: I haveLVLworking with my app and am able to test it with the 2.2 Google API emulator. I

[android-developers] Android.... using CheckBox with CustomCursorAdpater in ListView

2011-01-28 Thread Nick
Hi! I'm trying to do something like task manager for android. Every task has it's own params (like time, action, and so on). For now the most important param is a task state: disable/enable. I use usual checkbox as a state representation. All the tasks are stored in SQLite database, so I wrote my

[android-developers] SimlpleCursorAdapter and ListView with custom row and a checkbox

2011-01-29 Thread Nick
Hi! I have ONE annoying problem with SimpleCursorAdapter. My programm has list view and ListActivity. Each row has it's own layout: TableLayout xmlns:android=http://schemas.android.com/apk/res/ android android:layout_height=wrap_content android:layout_width=fill_parent

[android-developers] Re: SimlpleCursorAdapter and ListView with custom row and a checkbox

2011-01-29 Thread Nick
(playlist_new.this,android.R.layout.simple_list_item_mu ltiple_choice,song_name);         lv.setAdapter(adapter);          lv.setChoiceMode(ListView.CHOICE_MODE_MULTIPLE); On Sat, Jan 29, 2011 at 10:51 PM, Nick ympe...@gmail.com wrote: Hi! I have ONE annoying problem with SimpleCursorAdapter. My

[android-developers] Re: SimlpleCursorAdapter and ListView with custom row and a checkbox

2011-01-29 Thread Nick
(playlist_new.this,android.R.layout.simple_list_item_mu ltiple_choice,song_name);         lv.setAdapter(adapter);          lv.setChoiceMode(ListView.CHOICE_MODE_MULTIPLE); On Sat, Jan 29, 2011 at 10:51 PM, Nick ympe...@gmail.com wrote: Hi! I have ONE annoying problem with SimpleCursorAdapter. My

[android-developers] Re: SimlpleCursorAdapter and ListView with custom row and a checkbox

2011-01-29 Thread Nick
to reopen cursor? As I see itdatabase is a store for checked values. Like boolean array for ArrayAdapter. On 30 янв, 00:13, Kostya Vasilyev kmans...@gmail.com wrote: Nick, - Since list item views get recycled, you've got to have something that maintains item state (checked / unchecked

[android-developers] Managing the On Screen Keyboard

2009-06-29 Thread Nick
I have a dialog that opens up for text input. When the On Screen Keyboard is enabled the keyboard actually covers the textview. What I would like to do is have it bring up the full text box effect, where, like the browser, it isolates the text view and all that is visible is the text view and on

[android-developers] Problems with saveInstanceState and TextView with LinkMovementMethod in a List View

2009-07-01 Thread Nick
My first question is, when exactly is saveInstanceState called? I can't seem to emulate the action, as pressing the home button doesn't call it. What function will be fired when I press the Home button? Secondly, I have a Text View with Links in a list view. If I set the text view to the

[android-developers] Saving Scroll Position When Activity Returns

2009-07-08 Thread Nick
How can I save and load the scroll position of a listview that is destroyed/hidden/paused. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

[android-developers] Re: Saving Scroll Position When Activity Returns

2009-07-09 Thread Nick
into the activity when it's next started On Jul 9, 12:36 am, Nick psnim2...@gmail.com wrote: How can I save and load the scroll position of a listview that is destroyed/hidden/paused. --~--~-~--~~~---~--~~ You received this message because you are subscribed

[android-developers] Support for German / Polish Characters

2009-07-27 Thread Nick
I have an RSS Reader widget and I cannot seem to figure out how to set the encoding of the RemoteViews text view to unicode so that it can support German / Pol Characters pulled from the web. How should I implement this? --~--~-~--~~~---~--~~ You received this

[android-developers] Re: Refresh previous activity on Back Button Press

2011-03-19 Thread Nick
Hi, I'm not sure I understood your problem completely right but I guess every time you send a new intent to start List Item Body Activity System adds it to a history stack. Try to set intent flags like FLAG_ACTIVITY_SINGLE_TOP or FLAG_ACTIVITY_NO_HISTORY On Mar 19, 10:37 am, Laxmi Verma

[android-developers] Re: Refresh previous activity on Back Button Press

2011-03-20 Thread Nick
this issue. Please help!! On Sun, Mar 20, 2011 at 1:23 AM, Nick nkulik...@gmail.com wrote: Hi, I'm not sure I understood your problem completely right but I guess every time you send a new intent to start List Item Body Activity System adds it to a history stack. Try to set intent flags

[android-developers] AlarmManager pitfalls

2011-05-16 Thread Nick
n my alarm clock I use the following code to enable signals: Intent i = new Intent(AlarmReciever.ACTION_WAKEUP); i.putExtra(AlarmDao.ID_COLUMN, a.getId()); PendingIntent pendingIntent = PendingIntent.getBroadcast( context, a.getId(), i, PendingIntent.FLAG_CANCEL_CURRENT); Calendar cal =

[android-developers] Re: AlarmManager pitfalls

2011-05-16 Thread Nick
: https://github.com/commonsguy/cwac-wakeful On Mon, May 16, 2011 at 4:17 PM, Nick ympe...@gmail.com wrote: n my alarm clock I use the following code to enable signals: Intent i = new Intent(AlarmReciever.ACTION_WAKEUP); i.putExtra(AlarmDao.ID_COLUMN, a.getId()); PendingIntent

[android-developers] Media Player Issues

2011-06-01 Thread nick
I'm using a stream proxy (similar to the NPR method) to stream music to my device. When using this method certain songs will download approximately 64k worth of data, then the socket will report a 'Connection reset by peer' error. I believe the socket is being killed on the media player side for

[android-developers] Create custom bar

2011-04-12 Thread Nick
I saw this bar (http://i133.photobucket.com/albums/q43/ chiliberto_photos/TitleBar-sidebyside.png) in iphone GUI PSD collection and want to add it in my android application. I created transparent png image (for shadow) and use this png like a tiled background for my layout: bitmap

[android-developers] Re: Create custom bar

2011-04-12 Thread Nick
Thanks! On 12 апр, 10:59, Marcin Orlowski webnet.andr...@gmail.com wrote: Of course it works... but the question is how to make it resizable? All I want is to draw different labels using this layouts (with different text size)...so it has to have wrap_cotent height. Is it possible?

[android-developers] Is that possible to change default keyboard from Android keyboard to others?

2011-04-20 Thread Nick
? Is there any interface or method that controls the setting ? Any suggetions is appreciated. Thanks in advanced. Sincerely Nick -- 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

[android-developers] Re: Flaky Touch Screen on Nexus One

2011-05-02 Thread Nick
That fixes it sometimes. Another way I figured out is if I just smudge the corners of the N1 it goes away sometimes. -- 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

[android-developers] Re: Need help with include

2011-05-03 Thread Nick
can't you do a findbyid? -- 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

[android-developers] Re: Settings.Secure.ANDROID_ID not unique on DROID2?

2011-10-19 Thread Nick
Bringing this back from the dead (sorry)... Has this been fixed? What's the current status on this? -- 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] Bluetooth Sniff idle timeout in Bluez stack.

2011-11-03 Thread Nick
Folks, With Bluez stack running on my phone, and a PC dongle (supporting HFP/ A2DP), i am seeing a problem. Bluetooth SOC on the phone is not going in Sniff mode, as a result the power drained is very high. This is only when a PC dongle is bonded to the phone. If a A2DP headset is bonded, it

[android-developers] Re: Can someone recommend several image recognition Android applications to me ?

2012-03-14 Thread Nick
What do you mean by image recognition? Do you need to look for specific shapes on the image? Then google for OpenCV. If you need to extract text from the image, you have several options: 1. Open source. As far as i know there are no native opensource Java OCR SDKs. There are Java APIs which wrap

[android-developers] Adding custom enum states to an ImageButton

2012-01-20 Thread Nick
I have searched around and I found good examples on adding custom boolean states to a drawable but I am having issues adding a state that is a list of enums. I am sure most of my problems lie within the onCreateDrawableState call so I have a few questions. 1) Is the extraSpace param to

[android-developers] Re: Adding custom enum states to an ImageButton

2012-02-01 Thread Nick
Bump On Jan 20, 1:40 pm, Nick nick.vers...@gmail.com wrote: I have searched around and I found good examples on adding custom boolean states to a drawable but I am having issues adding a state that is a list of enums.  I am sure most of my problems lie within the onCreateDrawableState call so

[android-developers] How to load/use data from an SQLite db

2012-06-12 Thread Nick
Hi devs, This is my first android application, and am confused about how to proceed with using data from an SQLite database. The database itself will contain around 20,000 - 25,000 records, across three or four tables. The information inside the database will not need to be changed, only read

[android-developers] SurfaceTexture issues on Android 4.3/4.4 vs 4.1?

2013-12-31 Thread Nick
to look at the code it's at https://github.com/nickw1/Freemap/tree/master/java/texturetest/src/freemap/texturetest; I don't really want anyone to spend any time on this, I'm just mailing on the offchance that it's a problem which sounds familiar to someone. Thanks, Nick -- You received

[android-developers] Re: SurfaceTexture issues on Android 4.3/4.4 vs 4.1?

2013-12-31 Thread Nick
BTW just to clarify: forgot to say that the SurfaceTexture is streamed to a GLSurfaceView and then I draw two triangles covering the screen using the texture. Sorry for omitting this. -- You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] Interept all the requests from the webview

2014-02-25 Thread Nick
I'm writing an android web application using built in webkit engine. I have html files in the application local dir (wanted to put them in assets but we have a requirement to update them over http so I need to replace assets in runtime what is impossible). The application should work over SSL

Re: Fw: [android-developers] Re: Android and bluetooth

2008-12-03 Thread Nick Pelly
We are likely to prevent Bluetooth data connections (RFCOMM) from apps unless the two phones have been paired. It's really hard to make security work any other way. Nick Android Systems Engineer On Wed, Dec 3, 2008 at 1:37 AM, whitemice [EMAIL PROTECTED] wrote: Hi Nick While we

Re: Fw: [android-developers] Re: Android and bluetooth

2008-12-03 Thread Nick Pelly
on that first :) Nick Android Systems Engineer On Wed, Dec 3, 2008 at 2:02 PM, whitemice [EMAIL PROTECTED] wrote: Hi Nick Thanks for getting back to me. We are likely to prevent Bluetooth data connections (RFCOMM) from apps unless the two phones have been paired. It's really hard to make security work

[android-developers] Re: Programatically Changing Default Name of Bluetooth Device Without Activating the Device Itself

2008-12-10 Thread Nick Pelly
is not available through the sdk, so this discussion should be on android-platform Nick Android Systems Engineer On 12/10/08, Daisuke Miyakawa [EMAIL PROTECTED] wrote: Hi, I'm now investigating how to programatically change the default device name of bluetooth device (dream?) without activating

[android-developers] Re: Android defect

2008-12-12 Thread Nick Pelly
We know about this issue. It is because the lexus does not support 3 way calling notifications, and we are incorrectly sending those notifications anyway. The lexus gets confused and disconnects. We plan on fixing, but if you are in a hurry the file is BluetoothHandsfree.java. Nick On Thu, Dec

[android-developers] Re: Launch Voice Dial From Bluetooth Headset Button

2008-12-12 Thread Nick Pelly
We have fixed this bug - you can now trigger voice dial from bluetooth, it will be pushed to the open source repo soon. Nick On Fri, Dec 12, 2008 at 11:43 AM, Muze muzak...@gmail.com wrote: looking for a way to do that myself, so this reply is a bit late, but... the current android SDK

[android-developers] Re: G1 bluetooth support doubts

2008-12-16 Thread Nick Pelly
. We know there is a lot of demand for an official Bluetooth API, and it is the Bluetooth team's second highest priority right now, behind A2DP which there is also a lot of demand for. Nick Android Systems Team On Mon, Dec 15, 2008 at 8:36 PM, androidu...@gmail.com androidu...@gmail.com wrote

[android-developers] Re: G1 BT headset call button

2008-12-21 Thread Nick Pelly
(LG enV/VX9900). Is this an Android compatibility issue? If so, is this something that's being worked on? Bluetooth voice dialing support was added in the cupcake codebase. It's not in 1.0. Nick Pelly Android Systems Engineer --~--~-~--~~~---~--~~ You received

Re: Fw: [android-developers] Re: Android and bluetooth

2009-01-06 Thread Nick Pelly
developers would be very excited about us holding up a first release while we debate and then implement this. That doesn't mean we can not add it later. Android moves pretty quick. Thanks, Tom. On Dec 22 2008, 1:01 am, Qwavel qwa...@gmail.com wrote: Nick, Thanks for participating

Re: Fw: [android-developers] Re: Android and bluetooth

2009-01-07 Thread Nick Pelly
needs to be taken here, everything thought through before making it available. This sounds like it requires enough thought that it probably doesn't make sense to have in a 1.0 API (though Nick would know better than I). At any rate, just saying that platform X does it so it is okay to do

[android-developers] Re: Bluetooth in Cupcake - please help

2009-01-08 Thread Nick Pelly
Yes, I promise to answer these questions if you move them to the right group (android-platform). Sorry but its important to enforce good list hygiene. On Thu, Jan 8, 2009 at 8:44 AM, Andrew Stadler stad...@gmail.com wrote: Anduzer - Questions about the internals of the platform source code

[android-developers] How to develop a 'android clock' application?

2009-01-12 Thread nick fury
Hi, In android emulator, it has a 'clock' application. How can I develop an application which behaves like that? * it starts as the phone starts, users do not need to click an icon for it to launch. * updates itself periodically as part of the main screen. Thank you for any tip.

[android-developers] Re: Cupcake Bluetooth handsfree problem?

2009-03-22 Thread Nick Pelly
/22/09, Long henry.l...@qisda.com.tw wrote: Sorry for typo. 2. Connecting BT headset always fail if the BT headset only suport HFP/HSP profile(NO A2DP). This is very vague. You're going to need to supply a *lot* more detail. Nick --~--~-~--~~~---~--~~ You

[android-developers] Re: Audio record from Bluetooth headset

2009-04-09 Thread Nick Pelly
On Thu, Apr 9, 2009 at 6:08 AM, Dilli dilliraomca...@gmail.com wrote: Hi all I am developing a recorder application It works fine with Microphone. I want to record from Blue tooth headset i set it like my_Aud_Mgr.setMicrophoneMute(true); //AudioManager my_Aud_Mgr;

[android-developers] Re: 1.5 and bluetooth call button

2009-04-24 Thread Nick Pelly
Move to android-discuss please. This list is for people developing applications. On Fri, Apr 24, 2009 at 6:32 AM, bw ben.weisb...@gmail.com wrote: Hi, Does the 1.5 update fix/enable using bluetooth headsets' call button - (eg. hold the button down to start voice dialer, press to pick up a

[android-developers] Re: Android 1.5: How to get the BT state?

2009-04-24 Thread Nick Pelly
On Fri, Apr 24, 2009 at 7:09 AM, code_android_festival_way festival.s...@googlemail.com wrote: At the moment I am trying to update my application to Android 1.5. In Android 1.1 I was able to detect the BT state with catching the following broadcasts: action

[android-developers] Re: Query bluetooth devices. It is possible?

2009-01-27 Thread Nick Pelly
Hi, There is no way to do this through the Java SDK API right now. Sorry. Nick On Tue, Jan 27, 2009 at 9:56 AM, porzino alberto.mig...@gmail.com wrote: Hi, I know there isn't bluetooth API in 1.0 SDK, but I have a doubt. I need to know the visible bluetooth devices. That is, I only need

[android-developers] Re: headset button

2009-02-01 Thread Nick Pelly
pressed event' sent by the headset. We don't know when the button is pressed. Instead the headset maps its buttons presses to commands depending on its state machine. We receive commands, not button presses from the headset. Nick On Sat, Jan 31, 2009 at 2:07 AM, deepdr...@googlemail.com deepdr

[android-developers] Re: Radio Off

2009-02-05 Thread Nick Pelly
there is an SDK API to turn WIFI and Telephony off/on, i'll leave the relevant teams to chip in, although i'm sure its not hard to find in the SDK docs. Nick On Thu, Feb 5, 2009 at 1:24 PM, Mark K mark.ka...@gmail.com wrote: You can use android.provider.Settings, see the SDK docs

[android-developers] Re: Radio Off

2009-02-09 Thread Nick Pelly
to work out by looking at the Settings Application implementation in our codebase. Thanks, Stanley On Feb 9, 2:02 pm, Jin android.quest...@gmail.com wrote: Does anyone know the API in the 1.0 or cupcake SDK that can turn off/ on radio orairplanemode? Thanks. On Feb 6, 1:26 am, Nick

[android-developers] Re: How to detect the state change of Bluetooth?

2009-02-19 Thread Nick Pelly
Hi, You are not actually turning on Bluetooth. You are just sending out an Intent that claims that Bluetooth is on, which the status bar receives and then turns on the Bluetooth icon. Nick On Thu, Feb 19, 2009 at 12:40 AM, Stanley.lei xiaofeng.lei...@gmail.com wrote: Hi Nick, Thanks

[android-developers] GPS Code Sample

2008-10-20 Thread nick fox
Are there any gps code samples? I was looking through the documentation but didn't find anything. thanks Nick --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

  1   2   3   4   >