[android-developers] Android Auto API on phone side only

2016-06-27 Thread Randy Ribarchak
I was looking into writing an app that performs some actions entirely on the phone side when connected to or disconnected form the car. But I know that there is a whole lot that needs to go on to get an app approved for Android Auto, which is probably beyond my means for what I'm looking to

[android-developers] Re: using custom views in xml layouts

2012-03-08 Thread Randy
maybe you try this , in you custonm view xml : net.pocketmagic.customangletext.CustomTextView.view android:id=@+id/yourID android:layout_width=wrap_content android:layout_height=wrap_content android:layout_margin=10dp / 在

[android-developers] Question about integrating Facebook/Twitter

2011-09-20 Thread Randy
to a Facebook Group and follow Tweets in a similar fashion? 2) Provide buttons that are direct links to the Facebook Group and Twitter Page. - Randy -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android

[android-developers] Re: Upload Audio File over Server

2011-08-06 Thread Randy
dear Raghav Sood : i've tried the link. but why is the result is always false? i have no idea about it. thanks before... On Jul 21, 6:29 pm, Raghav Sood raghavs...@gmail.com wrote: Maybe you should visithttp://www.google.comand type your query once in a while:

[android-developers] Re: Text view over image gallery

2011-06-22 Thread Randy
have to merge your two layouts, the image view being first in your xml, and then the textview so it goes on top. Hope this helps, Fred On 19/06/2011, Randy rendy.hadin...@gmail.com wrote: Textview and imageview are static. But in this case, i want to put the text on the top of every

[android-developers] Re: Text view over image gallery

2011-06-19 Thread Randy
for more details. http://developer.android.com/reference/android/widget/FrameLayout.html On May 23, 10:16 pm, Randy rendy.hadin...@gmail.com wrote: How can i make Text view over image gallery like pulse news reader's UI? Anyone can help me? -- You received this message because

[android-developers] Re: Text view over image gallery

2011-06-19 Thread Randy
u can use frame layout. On Fri, Jun 17, 2011 at 12:42 PM, Randy rendy.hadin...@gmail.com wrote: Anyone help me please... On May 24, 9:16 am, Randy rendy.hadin...@gmail.com wrote: How can i makeTextviewoverimagegallery like pulse news reader's UI? Anyone can help me

[android-developers] Re: Text view over image gallery

2011-06-17 Thread Randy
Anyone help me please... On May 24, 9:16 am, Randy rendy.hadin...@gmail.com wrote: How can i makeTextviewoverimagegallery like pulse news reader's UI? Anyone can help me? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] Text view over image gallery

2011-05-25 Thread Randy
How can i make Text view over image gallery like pulse news reader's UI? Anyone can help me? -- 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

[android-developers] Re: AutoCompleteTextView

2010-08-16 Thread Randy McEoin
I have this same problem and would also be interested in the solution. On Jun 24, 4:38 am, praveena ankitha ensisinf...@gmail.com wrote: hi all, I have One AutocompleTextView and I want to make the virtual keyboard disappear when he hits DONE at the AutocompleTextView. So far, the buttons

[android-developers] Posting lost

2009-10-15 Thread Randy Heiden
I posted a question about installation abort when trying to reinstall the radio part of an android update. I can't find it. I spent a lot of time trying to craft it. Thanks, Ryck --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[android-developers] Re: Null pointer exception while receiving at Broadcast receiver

2009-09-06 Thread Randy McEoin
It would be best to check for null before attempting to use. Perhaps whatever is issuing the broadcast is not adding the string extra. String msg_receive = intent.getStringExtra(message1); if (msg_receive != null) { AssetTest.hh_text.append(\n\n+msg_receive); } Randy On Sep 3, 10:49 pm

[android-developers] Re: how can I catch SCREEN_ON/SCREEN_OFF broadcasts?

2009-08-13 Thread Randy McEoin
Thanks for this post. I'm using this to clean up auto lock in OI Safe. Randy On Jul 20, 9:36 am, Peli peli0...@googlemail.com wrote: In your main activity, you have to write something like    BroadcastReceivermReceiver = newBroadcastReceiver() {             @Override             public

[android-developers] Re: URGENT!!!!! Can't update apps in android market!!!

2009-04-25 Thread Randy McEoin
The market doesn't seem to accept minSdkVersion=2. You must use 1. On Apr 25, 10:42 am, aleung leoli...@gmail.com wrote: When I didn't add the minSdkVersion, I got the error message: Market requires theminSdkVersionto be set in AndroidManifest.xml. But even after I added it, there was

[android-developers] Re: AutoCompleteTextView and SimpleCursorAdapter

2009-04-24 Thread Randy McEoin
aColumnString = theCursor.getString(1); return aColumnString; } } Randy On Apr 14, 6:07 am, ppmoore polom...@gmail.com wrote: Hello, I am trying to connect a AutoCompleteTextView with aSimpleCursorAdapter, which narrows down the selection of a list of words, when

[android-developers] Re: 1.5 SDK: android list target failed

2009-04-17 Thread Randy McEoin
Your next step is to create an avd: android create avd --name my_avd_name --target 1 Eclipse should automatically see it. Be sure to read all of http://developer.android.com/sdk/preview as there are other steps you may need to take. Randy On Apr 17, 4:45 pm, j jac...@gmail.com wrote: I

[android-developers] Re: How can I encrypt and decrypt the data

2009-03-26 Thread Randy McEoin
Take a look at the source for OI Safe. http://code.google.com/p/openintents/source/browse/trunk/Safe/src/org/openintents/safe/CryptoHelper.java Randy On Mar 24, 11:22 pm, manoj manojkumar.m...@gmail.com wrote: Hi, I want to write an app which encrypts the data and decrypts it into original

[android-developers] Re: what is absolute path name of file on SDCard

2009-01-15 Thread Randy McEoin
See post http://groups.google.com/group/android-developers/browse_thread/thread/8240dc2d14848a85/d7994d8ed5b53645 Essentially: File sdpath = Environment.getExternalStorageDirectory(); Log.d(sdpath = , sdpath.toString()); On Jan 14, 10:16 pm, jalandar jagtap...@gmail.com wrote: Hello , every

[android-developers] Re: how to detect the Orientation of G1 Screen ?

2008-11-04 Thread Randy McEoin
Create a Broadcast Receiver to listen for ACTION_CONFIGURATION_CHANGED. On Nov 4, 8:17 am, Hw3699 [EMAIL PROTECTED] wrote: how to detect the Orientation of G1 Screen ? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[android-developers] Detecting SCREEN_OFF

2008-10-26 Thread Randy McEoin
I'm trying to detect when the screen times out and puts the phone to sleep. There is a Broadcast Action called ACTION_SCREEN_OFF that appears to be just what I need. However I can't seem to get it to catch. Here's what I have in the Manifest: receiver class=.ScreenOffReceiver

[android-developers] Re: Detecting SCREEN_OFF

2008-10-26 Thread Randy McEoin
Figured it out. After grep'ing through the Android source code, found and successfully implemented the following within my ListActivity. BroadcastReceiver mIntentReceiver = new BroadcastReceiver() { public void onReceive(Context context, Intent intent) { if

[android-developers] Re: showAlert in latest SDK

2008-08-22 Thread Randy McEoin
What follows is how I did it. The part that was not obvious from the sample code was the need for show(). Note that you can skip the setIcon() and it'll use a default one. And you can skip the setPositiveButton(), but then the user needs to hit the back button to clear the dialog.