Re: [android-developers] Using ACTION_OPEN_DOCUMENT for editing files

2014-01-30 Thread Jeff Sharkey
ns, visit this group at > http://groups.google.com/group/android-developers?hl=en > --- > You received this message because you are subscribed to the Google Groups > "Android Developers" group. > To unsubscribe from this group and stop receiving emails from it, send an >

Re: [android-developers] Re: MediaPlayer suddenly stopped working in Android 4.2

2013-02-20 Thread Jeff Sharkey
velopers" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to android-developers+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/groups/opt_out. > > -- Jeff Sharkey jshar...@android.com -- -- You re

Re: [android-developers] AIDL, Binder, ResultReceiver, and Performance

2010-06-26 Thread Jeff Sharkey
y background sync, and use an optional ResultReceiver to pass back success/failure along with any Exception text for Toast'ing to the user. > Not my team's app...  I've not looked at the code, either. :} The app was written by two engineers on the Android team, but not anyone specifi

Re: [android-developers] How to work with ContactsContract.Contacts.CONTENT_VCARD_URI

2009-12-11 Thread Jeff Sharkey
glegroups.com > To unsubscribe from this group, send email to > android-developers+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- Jeff Sharkey jshar...@android.com -- You received this message b

Re: [android-developers] Android 2.0 Bugs in ContactsContract.Intents.Insert

2009-12-08 Thread Jeff Sharkey
eff > > -- > 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

Re: [android-developers] android Contacts application theme/style

2009-12-08 Thread Jeff Sharkey
droid-developers@googlegroups.com > To unsubscribe from this group, send email to > android-developers+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- Jeff Sharkey jshar...@android.com -- You received

Re: [android-developers] Re: Safe way to get the My Contacts Group?

2009-12-08 Thread Jeff Sharkey
ps.com > To unsubscribe from this group, send email to > android-developers+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- Jeff Sharkey jshar...@android.com -- You received this message b

Re: [android-developers] Re: appwidget Image on Orientation Change Issue

2009-12-08 Thread Jeff Sharkey
>> - Ryan > > -- > 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-deve

Re: [android-developers] ACTION_APPWIDGET_PICK , filtering the list

2009-12-08 Thread Jeff Sharkey
pers@googlegroups.com > To unsubscribe from this group, send email to > android-developers+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- Jeff Sharkey jshar...@android.com -- You received this messa

Re: [android-developers] Difference between ImageView.setImageBitmap() and RemoteView.setImageViewBitmap() ????

2009-12-08 Thread Jeff Sharkey
mail to > android-developers+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- Jeff Sharkey jshar...@android.com -- You received this message because you are subscribed to the Google Groups "Android D

Re: [android-developers] Re: [Android 2.0] Contacts FAQ?

2009-11-18 Thread Jeff Sharkey
oogle.com/p/android-business-card/ -- Jeff Sharkey jshar...@android.com -- 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,

Re: [android-developers] Re: [Android 2.0] Contacts FAQ?

2009-11-17 Thread Jeff Sharkey
the original Contacts API, RawContacts can contain Data rows that indicate GroupMembership. -- Jeff Sharkey jshar...@android.com -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-develop

Re: [android-developers] How to get all contact's name phone number, email for 2.0

2009-11-13 Thread Jeff Sharkey
t 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 options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- Jeff Sharkey

Re: [android-developers] Read Phone Contact in Vcard Format in Android 2.0

2009-11-13 Thread Jeff Sharkey
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 options, visit this group at > ht

Re: [android-developers] Re: Widget Path

2009-11-13 Thread Jeff Sharkey
group, send email to android-developers@googlegroups.com > To unsubscribe from this group, send email to > android-developers+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- Jeff Sharkey jshar...@android.com -- Y

Re: [android-developers] Potential bug in the implementation of AppWidgets

2009-11-13 Thread Jeff Sharkey
e 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 options, visit this group at &

Re: [android-developers] Re: My appwidget broken Donut when keyboard slide out/in

2009-11-13 Thread Jeff Sharkey
write the state of someone else widget. When restoring the state, that ClassCastException is triggered if it tries restoring the incorrect type of state. (For example, the state from a ImageView applied to a TextView.) -- Jeff Sharkey jshar...@android.com On Fri, Nov 6, 2009 at 10:55 PM,

Re: [android-developers] Re: Regarding the database schema of Android native database

2009-11-04 Thread Jeff Sharkey
To unsubscribe from this group, send email to > android-developers+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- Jeff Sharkey jshar...@android.com -- You received this message because you are subscribe

Re: [android-developers] Trap in TabHost when AsyncTask delays setContentView at activity startup

2009-11-04 Thread Jeff Sharkey
-- > 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...@goo

Re: [android-developers] skype ,gtalk intent

2009-11-02 Thread Jeff Sharkey
min. > > -- > 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

Re: [android-developers] Re: My appwidget broken Donut when keyboard slide out/in

2009-11-02 Thread Jeff Sharkey
       android:paddingLeft="8dp" >                android:layout_width="wrap_content" android:textColor="#00" >                android:layout_height="16sp" android:id="@+id/TVWeight"> >         > >                android:layout_width="65sp" >    

[android-developers] Re: [Android 2.0] Accessing contact's phone numbers

2009-10-30 Thread Jeff Sharkey
> SDK is deprecated? Whatever happened to "stick to the SDK because > those are stable apis that won't break in future versions"? Very > disappointing... > > On Oct 30, 11:12 am, Jeff Sharkey wrote: >> Could you post the exact Uri you're passing t

[android-developers] Re: My appwidget broken Donut when keyboard slide out/in

2009-10-30 Thread Jeff Sharkey
ews object every time, or you probably would have had trouble > before now. But you might check those things. :^) > > String > > > -- Jeff Sharkey jshar...@android.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Goo

[android-developers] Re: setResult() for AppWidget

2009-10-30 Thread Jeff Sharkey
     intent.putExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, appWidgetId); >        setResult(RESULT_OK, intent); >    } > >  } else { >    //  deal android.appwidget.action.APPWIDGET_CONFIGURE here >    onSearchRequested(); >  } > } > > > TIA, > Ollie > > > &

[android-developers] Re: [Android 2.0] Accessing contact's phone numbers

2009-10-30 Thread Jeff Sharkey
ta (i.e. contacts) is loaded (of > course I have sample contacts in the emulator). > > - Do you have any suggestion to solve this problem? > - Or is there another approach I can use to get the name of a contact > based on one of his/her numbers? (This must work on all versions of > Andro

[android-developers] Re: Quick Contacts popup

2009-10-30 Thread Jeff Sharkey
samples. > > Thanks! > > > > -- Jeff Sharkey jshar...@android.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-devel

[android-developers] Re: Extending contacts

2009-10-27 Thread Jeff Sharkey
to start custom > activity for voip)? What are Contacts.ExtensionsColumns for? > > Thanks > Nikola > > > > -- Jeff Sharkey jshar...@android.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups &q

[android-developers] Re: Need a Prescription for adding a couple attributes to the Contact

2009-10-27 Thread Jeff Sharkey
> custom apps?  I'm not looking for anyone to supply code; just a design > pattern and any caveats I need to be aware of.  I am writing an > application that requires a couple new properties on the contact. > > Peace, > Scott > > > -- Jeff Sharkey jshar...@and

[android-developers] Re: Contacts extension - Further developments ?

2009-10-27 Thread Jeff Sharkey
g contact > fields but not much information is available online. > > 3. If the above classes serves the purpose of extending the contacts > database (i.e. add field columns) , then Do i need to modify standard > contacts content provider for retrieving my custom field's data? &g

[android-developers] Re: updatePeriodMillis not working for widget on 1.6

2009-10-23 Thread Jeff Sharkey
droid:resource="@xml/mywidget" /> >       >         android:name="android.appwidget.action.APPWIDGET_UPDATE" /> >       >     > > It's working fine on 1.5 (and has been for months), both on emulator > and handset. > > Thanks, > > String > > >

[android-developers] Re: Hi

2009-10-23 Thread Jeff Sharkey
t; I mean I wanna make a visual AppWidget list. > > Actualy I made it, but i couldn't start AppWidget some like Music > widget. > > I think it does not contain a intent. How can I get the AppWidgets > intent ? > > > > > -- Jeff Sharkey jshar...@android.com

[android-developers] Re: AppWidgetProvider.onUpdate() -- setOnClickPendingIntent

2009-10-23 Thread Jeff Sharkey
oken if that is still valid, and can thus call > cancel() to remove it." > > So then the question is, how do I communicate which button was > pressed? > > tia. > > > -- Jeff Sharkey jshar...@android.com --~--~-~--~~~---~--~~ You rec

[android-developers] Re: CompareEverywhere

2009-09-08 Thread Jeff Sharkey
enSource one? >    If it is the OpenSource one, where can download it? > > > -- Jeff Sharkey jshar...@android.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group

[android-developers] Re: android widgets on WVGA

2009-08-24 Thread Jeff Sharkey
m > platform point of view. > > -- > with regards vishal > > > > -- Jeff Sharkey jshar...@android.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To

[android-developers] Re: AppWidgetHost - what is the hostId for?

2009-08-18 Thread Jeff Sharkey
xt context, int hostId) > > The docs don't say anything about it.  Can anyone tell me what its > used for, and what values are legal? > > > Thanks for the help, > Steve > > P.s. Sorry if this is a duplicate post -- I posted this question > ear

[android-developers] Re: How put "bold" to "android:textStyle" of a TextView from RemoteViews ?

2009-08-18 Thread Jeff Sharkey
n change text and color of this > TextView like this : > > remoteViews.setTextViewText(R.id.txt, "Sample"); > remoteViews.setTextColor(R.id.txt, Color.RED); > > But I need to put this TextView "bold" conditionnaly... How can I do > that ? > >

[android-developers] Re: Master Clear From Code does not work

2009-08-16 Thread Jeff Sharkey
lication Settings==>Manage > Applications ==> ==> permissions, I dont see any permissions > assigned to my app which means the app does not have the permissions. > But I have set the permission for master clear ( android:name="android.permission.MASTER_CLEAR" /&g

[android-developers] Re: Adding a new xml attribute in framewrok

2009-08-15 Thread Jeff Sharkey
public.xml, it's an incompatible change. Use > com.android.internal.R instead. > > On Aug 15, 2009 1:51 PM, "Jeff Sharkey" wrote: > > > You also need to assign it a specific value in public.xml, otherwise > it remains internal. > > j > > On Sat, A

[android-developers] Re: Limit EditText to alpha-numeric characters

2009-08-15 Thread Jeff Sharkey
earching the internet, it does not seem like anyone else is trying to > do this so maybe I am not even going about this the correct way. > > Any help would be appreciated. > > > -- Jeff Sharkey jshar...@android.com --~--~-~--~~~---~--~~ You rece

[android-developers] Re: Struggling -- SearchSuggestionSampleProvider issues

2009-08-15 Thread Jeff Sharkey
Manifest.xml, application is > lannching fine. > > an.droid:authorities="com.example.android.apis.SuggestionProvider" /> > > Can someone please help me how to resolve this issue? > Thanks in advance. > > Thanks & Regards > Venkat > > > -- Jeff

[android-developers] Re: Adding a new xml attribute in framewrok

2009-08-15 Thread Jeff Sharkey
res/value/attr.xml under >  "" > > but its not reflecting in R.java after building. > > > > > > -- Jeff Sharkey jshar...@android.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups &qu

[android-developers] Re: Text and delay

2009-08-13 Thread Jeff Sharkey
t; > But when I run the program, it delays for 2 seconds, then text1 and > text2 appear together. I wonder what's wrong. Can someone help? > > > > -- Jeff Sharkey jshar...@android.com --~--~-~--~~~---~--~~ You received this message because you ar

[android-developers] Re: canvas.save() / restore() , what is this?

2009-08-13 Thread Jeff Sharkey
estore(). I come from > a flash background, and this is a new concept for me. Reading the > documentation is not helpfull. > > Jiri > > > > -- Jeff Sharkey jshar...@android.com --~--~-~--~~~---~--~~ You received this message because you

[android-developers] Re: Crashes with no usefull stacktrace

2009-08-13 Thread Jeff Sharkey
for your answer! > > Is there anything I can do to prevent this error? I certainly not want my > app to crash when I release it :) > One more question: How did you get the decoded stack trace? > > Cheers! > > > On Thu, Aug 13, 2009 at 9:00 AM, Jeff Sharkey wrote: >&g

[android-developers] Re: default measuring units px or dp

2009-08-13 Thread Jeff Sharkey
nt" value. What > is the default unit for this int?  px(pixels) or dp(density indipendent > pixels) ? > > > -- > Best Regards, > Atif Gulzar > > I Unicode, ɹɐzlnƃ ɟıʇɐ > > > > > -- Jeff Sharkey jshar...@android.com --~--~-~--~~---

[android-developers] Re: ambiguous column name: _id when querying the contacts list

2009-08-13 Thread Jeff Sharkey
).RELEASE); >        if(version < 2.0f) >        { >                WHERE += "people._id"; >        } >        else >        { >                WHERE += Contacts.People._ID; >        } > > > -- Jeff Sharkey jshar...@android.com --~--~-~--~~-

[android-developers] Re: YAFFS2 filesystem in Android linux?

2009-08-13 Thread Jeff Sharkey
> alternative other than EXT3? > > Any hint is very appreciated. > > Best > > Hugo > > > -- Jeff Sharkey jshar...@android.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Androi

[android-developers] Re: ambiguous column name: _id when querying the contacts list

2009-08-13 Thread Jeff Sharkey
._id LEFT > OUTER JOIN presence ON (presence.person=people._id) WHERE (_id  IN > (20)) ORDER BY name ASC > > I can get rid of the error if I change the WHERE clause to start  like > this instead: > String WHERE = new String(); > WHERE += "people._id"; > > But this

[android-developers] Re: Crashes with no usefull stacktrace

2009-08-13 Thread Jeff Sharkey
; 08-12 23:07:41.981: INFO/DEBUG(32):     100ffcb4  0024de08  [heap] > 08-12 23:07:41.981: INFO/DEBUG(32):     100ffcb8  4100afb8 > 08-12 23:07:42.002: INFO/DEBUG(32):     100ffcbc  ad53eacb >  /system/lib/libicuuc.so > 08-12 23:07:42.002: INFO/DEBUG(32): #01 100ffcc0  0024de0

[android-developers] Re: Updating Views in a ListView when they may have been recycled

2009-08-12 Thread Jeff Sharkey
27;t work due to me recycling the > Views via convertView - I found that when more than one download is > active the two bars can swap values back and forth. > > Any help would be appreciated. > > Thanks, > > Neil > > > > -- Jeff Sharkey jshar...@android.com

[android-developers] Re: How to make chat window for IM?

2009-08-12 Thread Jeff Sharkey
tText filed and appending it to > TextView its looking good but there are some problems, and i don't > know its right approach or not ? Any one can refer me any tutorial or > any useful link regarding this or any other help ?. > > Thanks  in advance. > > Gul

[android-developers] Re: receiver enabled=false , problems after instantiation to set to listen

2009-08-12 Thread Jeff Sharkey
ger(); > pm.setComponentEnabledSetting(cName , > PackageManager.COMPONENT_ENABLED_STATE_ENABLED , > PackageManager.DONT_KILL_APP); > > Is there a workable easy way to do this? > > Thank you, > > Jiri > > > > > > -- Jeff Sharkey jshar...@android.com -

[android-developers] Re: Equi Size button in linearLayout

2009-08-12 Thread Jeff Sharkey
ssible? > > -- > Best Regards, > Atif Gulzar > > I Unicode, ɹɐzlnƃ ɟıʇɐ > > > > -- Jeff Sharkey jshar...@android.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android De

[android-developers] Re: "Share" menu

2009-08-12 Thread Jeff Sharkey
om/android/camera/ViewImage.java;hb=cupcake#l1467 j On Tue, Aug 11, 2009 at 5:11 PM, m wrote: > > How do you call the "share" menu to share some item (for example a > URL) via email, SMS, twidroid, etc?  Any examples of doing this? > > > >

[android-developers] Re: Spinner that looks like an EditText - Head is bloody and bruised

2009-08-12 Thread Jeff Sharkey
this in styles?  or themes?  or something? > > Thanks! > > > > -- Jeff Sharkey jshar...@android.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this

[android-developers] Re: Intent to pick appwidget?

2009-08-12 Thread Jeff Sharkey
ACTION_APPWIDGET_PICK intent, but that always > seems to NPE. I suspect > I don't have the extras right, but OTOH, reading the docs it doesn't > sound like exactly what I want anyway. > > Thanks, > > String > > > > -- Jeff Sharkey jshar...@androi

[android-developers] Re: how to create a appwidget with a listview

2009-08-12 Thread Jeff Sharkey
gt; > hi all : >   I want to create an appwidget with a listview, but it seems that > remotview do not support thsi element(there is some error) >   so is there any way to resolve it or some other view to replace > listview. >   thank you! > > > >

[android-developers] Re: How can I update values in contacts.db in a transaction.

2009-08-12 Thread Jeff Sharkey
> } > > It's very slow. I think it can be fast if there is a transaction. But > I don't know how. > > > > -- Jeff Sharkey jshar...@android.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Go

[android-developers] Re: The Map keys of the Google APIs Add-on

2009-08-12 Thread Jeff Sharkey
f the MD5 is changed, there will > have the problems of the martch. > > 3. what should I do? > > > > -- Jeff Sharkey jshar...@android.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups &quo

[android-developers] Re: AppWigets into Applications

2009-08-12 Thread Jeff Sharkey
user to interactively pick from the list. Binding to a specific widget is protected by a permission that can only be granted to platform apps for the security reasons mentioned earlier. -- Jeff Sharkey jshar...@android.com --~--~-~--~~~---~--~~ You received t

[android-developers] Re: Android on the iPhone

2009-08-07 Thread Jeff Sharkey
he Android SDK. j On Fri, Aug 7, 2009 at 3:58 PM, MikeA wrote: > > I wasn'ta  fan of the G1 because it seemed so small. The myTouch seems > much better but I've since gotten an iPhone. Is there anyway to run > Android on the iPhone? I Googled it but a lot of the data I foun

[android-developers] Re: ProgressBar doesn't allow control of visibility in AppWidgetProvider App Widget?

2009-08-07 Thread Jeff Sharkey
vityThread.main(ActivityThread.java:3948) > 08-07 17:42:42.633: WARN/AppWidgetHostView(102):     at > java.lang.reflect.Method.invokeNative(Native Method) > 08-07 17:42:42.633: WARN/AppWidgetHostView(102):     at > java.lang.reflect.Method.invoke(Method.java:521) > 08-07 17:42:42.633: WARN/App

[android-developers] Re: Multiple line Notification

2009-08-07 Thread Jeff Sharkey
, Peacemoon wrote: > > I use NotificationManager to write a Notification. I want now a > multiple-line text for my notification. Is it possible? > > > -- Jeff Sharkey jshar...@android.com --~--~-~--~~~---~--~~ You received this message because you

[android-developers] Re: In call dialpad/menu confusion - am I the only one?

2009-08-07 Thread Jeff Sharkey
; DIALPAD to type in DTMF digits, then when the call is established, > press MENU again and deselect speaker. This is too much!! > > A colleague recently got HTC Magic, and faced the same confusion (as I > did when I got the phone). > > Please, Android engineers, fix this 'sp

[android-developers] Re: AppWigets into Applications

2009-08-07 Thread Jeff Sharkey
t.createView(this, >>                                 appWidgetId, appWidgetProviderInfo.get(i)); >> >>                 appWidgetHostView.setAppWidget(appWidgetId, >>                                 (AppWidgetProviderInfo) >> appWidgetProviderInfo.get(i)); >> >>  And then insert the appWidg

[android-developers] Re: Get application version detail

2009-08-05 Thread Jeff Sharkey
; Hi All, > I am trying to get the application version which is mentioned in > AndroidManifest.xml > How can i get this detail? Please suggest me. > > Thanks in Advance, > Muthu Kumar K. > > > -- Jeff Sharkey jshar...@android.com --~--~-~--~~

[android-developers] Re: clipboard copy paste

2009-08-04 Thread Jeff Sharkey
> > Thanks, > Bob > > > -- Jeff Sharkey jshar...@android.com --~--~-~--~~~---~--~~ 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@go

[android-developers] Re: Images not loading on the phone

2009-08-03 Thread Jeff Sharkey
>                        if(photoUrl.contains(" ")) { >                                photoUrl = photoUrl.replaceAll(" ", "%20"); >                        } Just a random side note, but you probably want to use Uri.encode() to properly escape all characte

[android-developers] Re: appwidget onReceive() appwidgetIds null

2009-08-03 Thread Jeff Sharkey
             if (appWidgetIds != null && appWidgetIds.length > 0) { >                        Log.i(TAG, "onReceive3"); >                        this.onDeleted(context, appWidgetIds); >                    } >                } >            } > >        }

[android-developers] Re: SQLiteDatabase table

2009-08-03 Thread Jeff Sharkey
#x27;table1' exists or not at the beginning of my > pgm. > >    Do i have any methods for checking that without the "create table > if not exists" query? > > > Any suggestions.... > > > > Regards.. > Jayaram > > > > -- Jeff Sh

[android-developers] Re: ImageButton press feedback

2009-08-03 Thread Jeff Sharkey
t; loaded onKeyDown and onKeyUp callbacks, simply to avoid the size of > the APK. > > Is there any default property provided by the framework which just > takes care of Image Button press and release events with some kind of > feedback to the user o

[android-developers] Re: Clearing the cache of your app on exit

2009-08-03 Thread Jeff Sharkey
http://commonsware.com | http://twitter.com/commonsguy > > _The Busy Coder's Guide to *Advanced* Android Development_ > Version 1.0 Available! > > > > -- Jeff Sharkey jshar...@android.com --~--~-~--~~~---~--~~ You received this message

[android-developers] Re: Rotate TextView to an angle... What's wrong with this code?

2009-08-02 Thread Jeff Sharkey
ispatchDraw(canvas); >        } > >       �...@override >        public boolean dispatchTouchEvent(MotionEvent event) { >                final float[] temp = mTemp; >        temp[0] = event.getX(); >        temp[1] = event.getY(); > >  

[android-developers] Re: Widgets ( frequent updates )

2009-07-30 Thread Jeff Sharkey
K, widgets don't update while the device is asleep. Do you have > evidence to the contrary? > > -- > Mark Murphy (a Commons Guy) > http://commonsware.com | http://twitter.com/commonsguy > > Android Development Wiki: http://wiki.andmob.org > > > > -- Jeff S

[android-developers] Re: how to add a seekbar or some other widget to the listview?

2009-07-30 Thread Jeff Sharkey
t;5dip" > android:max="100" > android:progress="30" > android:background="#00FF00" > android:textColor="#00FF00"/> > > Are some way to add the progressbar to some row of the listview? > Or are there

[android-developers] Re: Support for German / Polish Characters

2009-07-30 Thread Jeff Sharkey
: > > 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? > > > -- Jeff Shar

[android-developers] Re: Rotate A View Permanently

2009-07-27 Thread Jeff Sharkey
Ah yes, that's what I was missing. :) j On Mon, Jul 27, 2009 at 8:22 AM, Romain Guy wrote: > > Your solution might not always work because you do not save/restore > the Canvas in dispatchDraw(). > > On Mon, Jul 27, 2009 at 2:46 AM, Jeff Sharkey wrote: >> >> It

[android-developers] Re: Flipping / Rotating TextView (or layout) upside-down

2009-07-27 Thread Jeff Sharkey
elp would be very >> much appreciated! Thank you! >> >> > >> > > > > -- > Romain Guy > Android framework engineer > romain...@android.com > > Note: please don't send private questions to me, as I don't have time > to provide privat

[android-developers] Re: Rotate A View Permanently

2009-07-27 Thread Jeff Sharkey
sure how extensive > the work for this would be. Additionally, I'm not sure where to find > the source for those methods. > > If anyone could recommend a means of accomplishing this task, whether > it be by an override or perhaps something simple

[android-developers] Re: How to show the search bar

2009-07-27 Thread Jeff Sharkey
tain any number of elements, using any > number of keys; >        // For this Api Demo we copy a string from the user input > field, and store >        // it in the bundle as a string with the key "demo_key". >        // For most applications, you can simply pass null to

[android-developers] Re: Problem in running the android sky widget

2009-07-14 Thread Jeff Sharkey
>> >> Then what should I do to next? Both 'Verify on Map' and 'Save' buttons >> are disabled. I am not sure what else do i need to do to run it on >> emulator? >> >> Thank you. > > > -- Jeff Sharkey jshar...@android.com --

[android-developers] Re: TIME_TICK in an AppWidget?

2009-07-13 Thread Jeff Sharkey
l.org/?p=platform/packages/apps/AlarmClock.git;a=blob;f=res/layout/analog_appwidget.xml;hb=cupcake -- Jeff Sharkey jshar...@android.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To

[android-developers] Re: Bug report: widget does not load if the orientation changes during the configuration

2009-07-13 Thread Jeff Sharkey
creen. (Ouch.) > > If this has already been reported, or if there's a better way to > submit a bug report, please let me know! > > Thanks, > > Pablo > > > > -- Jeff Sharkey jshar...@android.com --~--~-~--~~~---~--~~ You receiv

[android-developers] Re: Error on SharedPreferences for AppWidget

2009-07-13 Thread Jeff Sharkey
looses ownership of its sharedpreferences. > > Any idea? > > Thank you. > > Ciao, > Stefano. > > > > -- Jeff Sharkey jshar...@android.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "

[android-developers] Re: Widget not working properly when changing orientation

2009-07-13 Thread Jeff Sharkey
n > landscape mode is not opening in portrait mode and vice-versa. > > Thanks for the answer > > > -- Jeff Sharkey jshar...@android.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Deve

[android-developers] Re: TIME_TICK in an AppWidget?

2009-07-13 Thread Jeff Sharkey
r layout XML file, you can assign the drawables through android:hand_hour and android:hand_minute. When the widget is inflated, it will apply those drawables. -- Jeff Sharkey jshar...@android.com --~--~-~--~~~---~--~~ You received this message because you are su

[android-developers] Re: How do you handle orientation change for a Cupcake widget?

2009-07-06 Thread Jeff Sharkey
That remote state might have some actions pre-applied from a previous RemoteViews object, or it might be applied over a newly-inflated layout, for example if Launcher was forced out of memory. (So it's not just orientation changes.) -- Jeff Shar

[android-developers] Re: ACTION_TIME_TICK for every Second required.

2009-06-28 Thread Jeff Sharkey
to display the 'Seconds' needle > in AppWidget. > > Do help me even if it means modifying the framework source code. > > ACTION_TIME doesn't occurs & it's docs are not clear. > > > -- Jeff Sharkey jshar...@android.com --~--~-~--~~-

[android-developers] Re: AnalogClock AppWidget dial.

2009-06-24 Thread Jeff Sharkey
value using RemoteViews or > AnalogClock api's in Provider.java ? > > For Ex- I need to load two dial png's based on AM or PM. > > Please help me. > > > -- Jeff Sharkey jshar...@android.com --~--~-~--~~~---~--~~ You received

[android-developers] Re: WebView Dialog Activity

2009-06-22 Thread Jeff Sharkey
uld not interfere with the > operation of any specific widget type. > > If you can create a separate test project that demonstrates the error, > post an issue to http://b.android.com, and post the issue URL to this list. > > -- > Mark Murphy (a Commons Guy) > http://commons

[android-developers] Re: How do you handle orientation change for a Cupcake widget?

2009-06-20 Thread Jeff Sharkey
y to re-register the "onClick" listeners. What is the proper > way to do this? The system keeps a cache of the last RemoteViews update you sent, and reapplies it to the newly inflated landscape layout automatically. :) -- Jeff Sharkey jshar...@android.com --~--~-~--~~

[android-developers] Re: override AnalogClock

2009-06-20 Thread Jeff Sharkey
> Is there any way or workaround so that we can add our custom analog > clock at the home screen widget? You can still customize the clock drawables, but would need to use the AnalogClock class as provided by the framework. -- Jeff Sharkey jshar...@andro

[android-developers] Re: Make a application default launcher

2009-06-18 Thread Jeff Sharkey
but it don't give the mime type   ie: type: > >  how to launh my activity as default for these type of xml files > >  need help > >  Thank you. > > > > -- Jeff Sharkey jshar...@android.com --~--~-~--~~~---~--~~ You received th

[android-developers] Re: How to get current time?

2009-06-17 Thread Jeff Sharkey
ainty: 181 j On Tue, Jun 9, 2009 at 5:01 AM, Mark Murphy wrote: > > Jeff Sharkey wrote: >> So just a heads up that Android uses NITZ events provided by a carrier >> to properly set the system date and time.  Android also falls-back to >> network NTP automatically whe

[android-developers] Re: Sortable ListView

2009-06-16 Thread Jeff Sharkey
ere you can > drag items around to change their order)? > > > > -- Jeff Sharkey jshar...@android.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post

[android-developers] Re: which width and height for a 2*1 cell widget? 160*100? Bug in Widget?

2009-06-16 Thread Jeff Sharkey
home screen. Source of equation: http://android-developers.blogspot.com/2009/04/introducing-home-screen-widgets-and.html j On Sat, Jun 13, 2009 at 7:02 PM, Hastala wrote: > > I use 160*100 but it becomes 3*2 cells. Is this a bug? > > > -- Jeff Sharkey jshar

[android-developers] Re: Widget Unresponsive after Opening/Closing

2009-06-16 Thread Jeff Sharkey
first created, but it stops responding after user has > opened and closed the keyboard. How to fix this? > Many thanks. > > > > -- Jeff Sharkey jshar...@android.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[android-developers] Re: How to disable Buttons on a Widget

2009-06-16 Thread Jeff Sharkey
a quick grep across the Cupcake tree: http://pastebin.com/f45b5130a -- Jeff Sharkey jshar...@android.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send

[android-developers] Re: [AppWidget ] How to get widget object from appwidget

2009-06-16 Thread Jeff Sharkey
etOnClickPendingIntent,but what I need is > RemoteView.setOnClickListener(R.id.delete,OnClickListener) You can't setOnClickListener() directly, because the target View lives in another process. If this were allowed, the other process would be executing your code as itself, which is a sec

[android-developers] Re: How to drop the AppWidget to Home Screen?

2009-06-16 Thread Jeff Sharkey
e screen. I added also some logging code in the > "WordWidget::onUpdate()", however, the code seems never to be called. > > Does the emulator delivered in SDK 1.5 support the AppWidgets > Framework? Or I did forget to do some configuration? >

  1   2   3   >