[android-developers] Re: When do I need a new Activity?

2009-02-26 Thread Mark Murphy
eventually leave the activity. If you are simply bouncing between a few screens, consider using a TabView or ViewFlipper. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 2.0 Available! --~--~-~--~~~---~--~~ You

[android-developers] Re: Dev Phone and RC33 update

2009-02-27 Thread Mark Murphy
of the intended uses for ADP1 should have been more loudly proclaimed at the time of its release. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 2.0 Available! --~--~-~--~~~---~--~~ You received this message

[android-developers] Re: Dev Phone and RC33 update

2009-02-27 Thread Mark Murphy
Jean-Baptiste Queru wrote: ADP1 is explicitly supposed to serve both purposes. Glad to hear it! -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 2.0 Available! --~--~-~--~~~---~--~~ You received

[android-developers] Re: WebKit version in Donut

2009-02-27 Thread Mark Murphy
://source.android.com/discuss -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 2.0 Available! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group

[android-developers] Re: Bitmap Memory

2009-02-27 Thread Mark Murphy
the issue number here once it's posted. That way, we can take a look at what you are doing and see if we can replicate the problem, if there are other ways of potentially mitigating it, etc. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 2.0

[android-developers] Re: Getting build number/version programatically

2009-02-27 Thread Mark Murphy
Mark K wrote: Does anyone know of a way to get the version/build number programatically? Check out android.os.Build and android.os.Build.VERSION. Note that some of these values may be unusual in the emulator (e.g., null brand). -- Mark Murphy (a Commons Guy) http://commonsware.com _The

[android-developers] Re: CheckBoxPreference onClick Problems (Really Easy)

2009-02-28 Thread Mark Murphy
on the user's selections In that case, you would not invoke someMethod() when the user clicks the checkbox, but rather after the user is completed. -- Mark Murphy (a Commons Guy) http://commonsware.com Android Training in Sweden -- http://www.sotrium.com/training.php

[android-developers] Re: Can any one please help me regarding streaming mp4 files?

2009-02-28 Thread Mark Murphy
happened. Double-check to make sure the MP4 file is following the rules spelled out here: http://groups.google.com/group/android-developers/browse_thread/thread/f7f1600cc7e85f2c and here: http://groups.google.com/group/android-developers/msg/2175bba33a09b262 -- Mark Murphy (a Commons Guy) http

[android-developers] Re: Application running permanently

2009-02-28 Thread Mark Murphy
Myaz wrote: I was wondering if its possible to have an application run on startup of the phone and then run permanently in the background. Nothing can be guaranteed to be permanent, but it is possible to run an application at startup via the BOOT_COMPLETED broadcast Intent. -- Mark Murphy

[android-developers] Re: Multi Instances of Emulator

2009-02-28 Thread Mark Murphy
ANDREA P wrote: How to i do to launch 2 instances of the Emulator at the same time?? http://developer.android.com/guide/developing/tools/emulator.html#multipleinstances -- Mark Murphy (a Commons Guy) http://commonsware.com Android Training on the Ranch! -- Mar 16-20, 2009 http

[android-developers] Re: FileChooser on Android

2009-02-28 Thread Mark Murphy
ANDREA P wrote: Is there a FileChooser for Android ??? As a widget, no. Because I want to select a file from File System and after send it. Consider using OI File Manager from OpenIntents.org: http://www.openintents.org/en/node/159 -- Mark Murphy (a Commons Guy) http://commonsware.com

[android-developers] Re: FileChooser on Android

2009-02-28 Thread Mark Murphy
to display Open and Save dialogs. http://www.openintents.org/en/node/159 -- Mark Murphy (a Commons Guy) http://commonsware.com Android Training on the Ranch! -- Mar 16-20, 2009 http://www.bignerdranch.com/schedule.shtml --~--~-~--~~~---~--~~ You received this message

[android-developers] Re: CheckBoxPreference onClick Problems (Really Easy)

2009-02-28 Thread Mark Murphy
Noam wrote: What should I insert there in the nameOfPreference in order for it to find the value that the user saved? Use PreferenceManager.getDefaultSharedPreferences() instead. It will return the correct SharedPreferences instance for you to use. -- Mark Murphy (a Commons Guy) http

[android-developers] Re: CheckBoxPreference onClick Problems (Really Easy)

2009-02-28 Thread Mark Murphy
Noam wrote: If I have a checkBoxPreference, how can I enable/disable it? setEnabled() in Java, or android:enabled in the preference XML. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 2.0 Available

[android-developers] Re: Problem with back button not stopping activity

2009-02-28 Thread Mark Murphy
with the back button. Are you shutting down your background threads in onDestroy() (or onPause() or onStop())? I do not believe that background threads automatically terminate on a back-button press -- you need to handle that yourself. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy

[android-developers] Re: Best option to create alarm

2009-02-28 Thread Mark Murphy
and how would I get this to work in the background? I'm thinking something similar to the built in alarm. Take a look at AlarmService. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 2.0 Available

[android-developers] Re: Just learning to write apps

2009-02-28 Thread Mark Murphy
will be...frustrating. Once you have picked up Java, then the tutorials on http://developer.android.com, the tutorials scattered about the Internet on blog posts, etc. should help. I have some links to various Android development resources at: http://knol.google.com/k/mark-murphy/android-programming

[android-developers] Re: setImageResource causes NullPointerException, so does setVisibility(View.GONE)

2009-03-01 Thread Mark Murphy
R.drawable values where R.id values are needed. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 2.0 Published! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[android-developers] Re: Check EditText for email?

2009-03-01 Thread Mark Murphy
Noam wrote: Hello everyone, Is there a way to verify that the text that the user entered into the EditText widget is actually an email? http://www.google.com/search?q=email+address+validation+java -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android

[android-developers] Re: adb push (Read only file system)

2009-03-02 Thread Mark Murphy
zeeshan wrote: i need to push some images in sdcard for testing. when i use this command adb push abc.jpg sdcard.iso it says read only file system. The second parameter needs to be a path on the device/emulator, such as: adb push abc.jpg /sdcard -- Mark Murphy (a Commons Guy) http

[android-developers] Re: Any Listener for shake movement ?

2009-03-02 Thread Mark Murphy
, and I may still figure it out, but the raw data is somewhat mystifying. If anyone knows of open source projects that have done a nice job with their accelerometer use, chime in! -- Mark Murphy (a Commons Guy) http://commonsware.com Android Training in Sweden -- http://www.sotrium.com/training.php

[android-developers] Re: Any Listener for shake movement ?

2009-03-02 Thread Mark Murphy
. Excellent! I was probably aiming too complex, trying to determine the direction of a shake. Many thanks! -- Mark Murphy (a Commons Guy) http://commonsware.com Android Training in Sweden -- http://www.sotrium.com/training.php --~--~-~--~~~---~--~~ You received

[android-developers] Re: how to set ttf font of a WebView?

2009-03-02 Thread Mark Murphy
phil wrote: How can I set the font of a WebView to this font? I do not believe you can. AFAIK, WebView does its own thing with respect to fonts. -- Mark Murphy (a Commons Guy) http://commonsware.com Android Training on the Ranch! -- Mar 16-20, 2009 http://www.bignerdranch.com/schedule.shtml

[android-developers] Re: Add MapActivity to ActivityGroup

2009-03-03 Thread Mark Murphy
as well be a part of an ActivityGroup. please provide help. Somebody achieved this late in 2008. Please search this list, and you should find the solution. You might also consider searching on TabActivity, since that is the typical concrete implementation of ActivityGroup. -- Mark Murphy (a Commons

[android-developers] Re: what is difference between startActivity and startSubActivity()

2009-03-03 Thread Mark Murphy
., ACTION_PICK) and you want to have the calling activity be notified when that result is ready. -- Mark Murphy (a Commons Guy) http://commonsware.com Android Training on the Ranch! -- Mar 16-20, 2009 http://www.bignerdranch.com/schedule.shtml

[android-developers] Re: Rotate PNG (Bitmap) around a set pivot

2009-03-04 Thread Mark Murphy
point? Try a RotateAnimation. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 2.0 Available! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: Proximity Alert and Battery life

2009-03-04 Thread Mark Murphy
assume Locale does. Have you tried these applications to see their effects on battery life? -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 2.0 Available! --~--~-~--~~~---~--~~ You received this message

[android-developers] Re: Does the web browser that came with Android support svg files?

2009-03-04 Thread Mark Murphy
to Android, no. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 2.0 Available! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group

[android-developers] Re: adding Textviews and radio button in code

2009-03-04 Thread Mark Murphy
the textview in correctly? Could you provide us with the error details from the log? Use adb logcat, Eclipse, or DDMS. In particular, it would be useful to know what exception occurred and what line of your source it occurred on. -- Mark Murphy (a Commons Guy) http://commonsware.com Android Training

[android-developers] Re: how to preload an application

2009-03-05 Thread Mark Murphy
that we just placed an app under / system/app/? You would need to make your application be part of the firmware for whatever phone you are building. Details on that are best found at: http://source.android.com -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android

[android-developers] Re: How to mount the microSD disk programmatically?

2009-03-05 Thread Mark Murphy
storage upon receiving UMS_CONNECTED. Based on your other posts, I suspect what you want to do is not possible without modifications to the firmware. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 2.0 Available

[android-developers] Re: how to preload an application

2009-03-05 Thread Mark Murphy
-related development: http://source.android.com/discuss -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 2.0 Available! --~--~-~--~~~---~--~~ You received this message because you are subscribed

[android-developers] Re: Help! Problem with DDMS Location Controls !!

2009-03-05 Thread Mark Murphy
to the source code: http://source.android.com/discuss -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 2.0 Available! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[android-developers] Re: How to do a google search?

2009-03-06 Thread Mark Murphy
, use their official APIs for search: http://code.google.com/apis/ajaxsearch/ -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 2.0 Available! --~--~-~--~~~---~--~~ You received this message because you

[android-developers] Re: Help! Problem with DDMS Location Controls !!

2009-03-06 Thread Mark Murphy
compatibility, learn how to keep the APIs consistent, scalable, and maintainable. If you're not going to be actively contributing changes, this is not your list. Discussions about how to use the existing APIs should be using android-developers instead. -- Mark Murphy (a Commons Guy) http

[android-developers] Re: HttpGet problem with Chunked encoding

2009-03-06 Thread Mark Murphy
, If I have to wait for the libraries to be upgraded, is there a release schedule I can track anywhere? That I can't help you on... Please file your problem, and the suggestion of the HttpClient 4.0 upgrade, in http://b.android.com, if you haven't already. -- Mark Murphy (a Commons Guy) http

[android-developers] Re: Reg: Browser application on android

2009-03-07 Thread Mark Murphy
alok Yadav wrote: I have ported android on i.MX31 processor.I am suffering with a browser issue with android porting. Questions related to Android porting are best asked on a list dedicated to Android porting: http://source.android.com/discuss -- Mark Murphy (a Commons Guy) http

[android-developers] Re: Android Development

2009-03-07 Thread Mark Murphy
saravanan wrote: What type of Database support provided by Android? Android has SQLite (http://sqlite.org) integrated in. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 2.0 Published

[android-developers] Re: SharedPreferences bug when writing strings with ampersands in them

2009-03-07 Thread Mark Murphy
cmgreen...@googlemail.com wrote: Is this a known issue? Well, you posted an issue, so it's known now! ;-) However, if you could attach some sample code to that issue that demonstrates the bug, that may help get it resolved more quickly. -- Mark Murphy (a Commons Guy) http://commonsware.com

[android-developers] Re: Where and how to load libgps.so in Android?

2009-03-07 Thread Mark Murphy
questions on one of the discussion lists pertaining to Android porting: http://source.android.com/discuss -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 2.0 Published! --~--~-~--~~~---~--~~ You received

[android-developers] Re: Can't get screen capture

2009-03-07 Thread Mark Murphy
reported issues with said drivers, and partly because it's such fun to blame Vista... ;-) -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 2.0 Available! --~--~-~--~~~---~--~~ You received this message because

[android-developers] Re: javax.mail.internet.InternetAddress cannot be found?

2009-03-09 Thread Mark Murphy
will not be available to you. Mr. Sutton's comment regarding the SDK documentation was probably pointing out that the documentation does not say javax.mail.internet.InternetAddress is available in Android. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version

[android-developers] Re: javax.mail.internet.InternetAddress cannot be found?

2009-03-09 Thread Mark Murphy
. Presumably, they are importing the source code or the JAR of JavaMail with their application. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 2.0 Available! --~--~-~--~~~---~--~~ You received this message

[android-developers] Re: How to get a reference to a TabWidget in my java code

2009-03-09 Thread Mark Murphy
=@+id/tabs but I get a run time error saying: Your TabHost must have a TabWidget whose id attribute is 'android.R.id.tabs' Call getTabWidget() in your TabActivity. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 2.0 Available

[android-developers] Re: local service lifecycle...

2009-09-10 Thread Mark Murphy
, or until Android force-closes your process due to lack of memory. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Need Android talent? Ask on HADO! http://wiki.andmob.org/hado --~--~-~--~~~---~--~~ You received this message

[android-developers] Re: Deep sleep behaviour

2009-09-10 Thread Mark Murphy
efficient, or even practical. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Need Android talent? Ask on HADO! http://wiki.andmob.org/hado --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[android-developers] Re: Native code is being called successfully but not executed properly

2009-09-10 Thread Mark Murphy
://developer.android.com/sdk/ndk/1.5_r1/index.html -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Need Android talent? Ask on HADO! http://wiki.andmob.org/hado --~--~-~--~~~---~--~~ You received this message because you are subscribed

[android-developers] Re: Check for internet connection

2009-09-10 Thread Mark Murphy
of data connectivity presently available. What you do with that information is up to you. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Need Android talent? Ask on HADO! http://wiki.andmob.org/hado --~--~-~--~~~---~--~~ You

[android-developers] Re: local service lifecycle...

2009-09-10 Thread Mark Murphy
is effectively terminated. All cleanup (stopping threads, unregistering receivers) should be complete upon returning from onDestroy(). (from http://developer.android.com/reference/android/app/Service.html) -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Need

[android-developers] Re: local service lifecycle...

2009-09-10 Thread Mark Murphy
sdphil wrote: by the way, is there any way to know when Android is about to force- close your process / service? Not really. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Need Android talent? Ask on HADO! http://wiki.andmob.org/hado

[android-developers] Re: Deep sleep behaviour

2009-09-10 Thread Mark Murphy
. However, if that is not the true business goal, then you may be expending a whole lot of effort fighting Android where it is not needed. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Android Development Wiki: http://wiki.andmob.org

[android-developers] Re: Deep sleep behaviour

2009-09-10 Thread Mark Murphy
state all the time, battery life will suffer, but a SIP client is at least a decent justification for it. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Android Development Wiki: http://wiki.andmob.org --~--~-~--~~~---~--~~ You

[android-developers] Re: How to change width of a SeekBar?

2009-09-10 Thread Mark Murphy
. android:layout_width=fill_parent doesn't work? I'm also not quite sure what you're gaining by the single-row, single-column TableLayout -- if that is all that will be in the layout, you are better served using just a horizontal LinearLayout. -- Mark Murphy (a Commons Guy) http

[android-developers] Re: How to change width of a SeekBar?

2009-09-10 Thread Mark Murphy
android:layout_weight=1 in a LinearLayout to take up all space not used by an ImageButton: http://github.com/commonsguy/vidtry/blob/e62625b82227c837a984aedb435545ee1f626486/res/layout/main.xml It is conceivable that SeekBar behaves differently, though. -- Mark Murphy (a Commons Guy) http

[android-developers] Re: About Donut and Eclair

2009-09-10 Thread Mark Murphy
Please tell me it about Donut and Eclair as follows. When are Donut and Eclair released? What is the main features of Donut and Eclair? Nothing has been announced about either update at this time. -- Mark Murphy (a Commons Guy) http://commonsware.com Android App Developer Books: http

[android-developers] Re: Help with Spinner

2009-09-10 Thread Mark Murphy
. Who would have thought. Yeah, it boggled my mind the first time I encountered it, and my case wasn't even as dramatic as your missing Spinner drop-down arrow. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Android Training in Germany, 18-22 January 2010

[android-developers] Re: Changing TabHost font size

2009-09-10 Thread Mark Murphy
labels, and change their font sizes. The following link shows this technique, in this case changing the size of the tabs: http://wiki.andmob.org/faq-tabsize However, this code will likely break in future Android releases, so you will need to be prepared to make changes going forward. -- Mark Murphy

[android-developers] Re: AVD for Motorola Cliq?

2009-09-11 Thread Mark Murphy
://community.developer.motorola.com/mtrl/board/message?board.id=Android_Eventsmessage.id=9jump=true#M9 Keep an eye on that thread -- we're more likely to get answers there than here, as I don't recall seeing a Motorola person comment here. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy

[android-developers] Re: Is there any Android Handset which CDMA based?

2009-09-11 Thread Mark Murphy
javame_android wrote: I would like to know whether Android handsets support CDMA network also. In the US, Sprint reportedly will have the HTC Hero later this year. Sprint is a CDMA network. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Android

[android-developers] Re: for loop gives NullPointer Exception

2009-09-11 Thread Mark Murphy
. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Android Training in Germany, 18-22 January 2010: http://bignerdranch.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: Webview foreground and background colors?

2009-09-11 Thread Mark Murphy
dpackham wrote: I cant find anywhere how to change the Text COLOR in a webview. I can change the background color but not the Text. Modify the HTML you are displaying in the WebView. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy _Beginning Android_

[android-developers] Re: Recommended uses of a class extending android.app.Application

2009-09-11 Thread Mark Murphy
. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Need help for your Android OSS project? http://wiki.andmob.org/hado --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: Battery Status and Signal Strength Acheivement

2009-09-11 Thread Mark Murphy
Alex Tang wrote: SystemProperties.get(status.battery.level_raw) can get battery status instantly! Like typing #getprop status.battery.level_raw in adb shell This is not part of the SDK. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Android Training

[android-developers] Re: How to have a horizontal scroll view with multiple buttons?

2009-09-11 Thread Mark Murphy
android:text=Button5/ /RelativeLayout /ScrollView Thanks in advance. Try HorizontalScrollView. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Android

[android-developers] Re: how to use commons-net-2.0 lib in the emulator

2009-09-11 Thread Mark Murphy
for a Java exception that might have been handled by commons-net? -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Android 1.5 Programming Books: http://commonsware.com/books.html --~--~-~--~~~---~--~~ You received this message

[android-developers] Re: Change Text in Text View

2009-09-11 Thread Mark Murphy
); //String []recipe=getIntent().getExtras().getStringArray (db); Log.i(EasyChef,Info: Ito info); setContentView(R.layout.layout_i); mInfo = ((TextView) findViewById(R.string.infomation)); Widgets are identified as R.id.*, not R.string.*. -- Mark Murphy (a Commons Guy) http

[android-developers] Re: ListView special case

2009-09-11 Thread Mark Murphy
findViewById(R.id.test) because all the items in the listview have the same id. How can I get just the first item? getView() (or bindView()) knows the position. The first item is position 0. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Android 1.5 Programming

[android-developers] Re: AVD for Motorola Cliq?

2009-09-11 Thread Mark Murphy
of the reason why we need to get the word out about what specific things developers need to consider for maximum compatibility. We'll go through the same thing once the first non-HVGA device (or ready-for-prime-time AVD) hits the streets (e.g., HTC Tattoo). Thanks for the info! -- Mark Murphy (a Commons Guy

[android-developers] Re: New Screen

2009-09-11 Thread Mark Murphy
/activity The program just crashes as i select an item in the list. Please can someone tell me what im doing wrong. What is the exception? You can get a stack trace via adb logcat, DDMS, or the DDMS perspective in Eclipse. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com

[android-developers] Re: AVD for Motorola Cliq?

2009-09-11 Thread Mark Murphy
/board?board.id=Studio_Android -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Android Training in Germany, 18-22 January 2010: http://bignerdranch.com --~--~-~--~~~---~--~~ You received this message because you are subscribed

[android-developers] Re: How to Develop a Custom Soft Keyboard

2009-09-11 Thread Mark Murphy
if there is more documentation than what is in there, though. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Android Training in Germany, 18-22 January 2010: http://bignerdranch.com --~--~-~--~~~---~--~~ You received

[android-developers] Re: locked up my Android device...

2009-09-11 Thread Mark Murphy
://groups.google.com/group/cw-android -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Android Development Wiki: http://wiki.andmob.org --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[android-developers] Re: Is there any Android Handset which CDMA based?

2009-09-12 Thread Mark Murphy
to know. You are welcome to putter around the Android open source repository to try to find an answer (http://source.android.com). -- Mark Murphy (a Commons Guy) http://commonsware.com Android App Developer Books: http://commonsware.com/books.html

[android-developers] Re: Android App with Analytics like Flurry

2009-09-12 Thread Mark Murphy
to be an AlertDialog on the first run of the program. If the user declines, the app closes. -- Mark Murphy (a Commons Guy) http://commonsware.com Android App Developer Books: http://commonsware.com/books.html --~--~-~--~~~---~--~~ You received this message because you

[android-developers] Re: Development on the MyTouch 3G

2009-09-12 Thread Mark Murphy
at retail to test and use their apps. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy _Beginning Android_ from Apress Now Available! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[android-developers] Re: HTC Magic as dev phone

2009-09-12 Thread Mark Murphy
for details regarding device updates. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Android App Developer Training: http://commonsware.com/training.html --~--~-~--~~~---~--~~ You received this message because you are subscribed

[android-developers] Re: noob Question button functions

2009-09-12 Thread Mark Murphy
. If you implemented a context menu, override onContextItemSelected() in your activity. If you implemented one or more Button widgets, not a menu, call setOnClickListener() on the widget and supply a listener object to be notified when the button is clicked. -- Mark Murphy (a Commons Guy) http

[android-developers] Re: Context Menu

2009-09-12 Thread Mark Murphy
for that. The user can click the BACK button to exit your activity. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Android Training in Germany, 18-22 January 2010: http://bignerdranch.com --~--~-~--~~~---~--~~ You received

[android-developers] Re: ListView and OnItemSelectedListener and clicking/touching

2009-09-13 Thread Mark Murphy
, I'll write up the selector/StateListDrawable approach as well. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy _Beginning Android_ from Apress Now Available! --~--~-~--~~~---~--~~ You received this message because you

[android-developers] Re: unique phone id....

2009-09-13 Thread Mark Murphy
sdphil wrote: is there a unique phone id (not the phone number -- since that can obviously change). on other phones it's called the PIN code. android.os.TelephonyManager has getDeviceId(), which returns the IMEI for GSM devices, and who knows what right now for CDMA devices. -- Mark

[android-developers] Re: ListView progres

2009-09-13 Thread Mark Murphy
to use it) -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Need help for your Android OSS project? http://wiki.andmob.org/hado --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: WebView Catch 22 - Same Window, Except For New Domain

2009-09-13 Thread Mark Murphy
of Android's WebKit? No. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy _Beginning Android_ from Apress Now Available! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: WebView Catch 22 - Same Window, Except For New Domain

2009-09-14 Thread Mark Murphy
else return true line is telling Android hey, I am going to handle external links (by not doing anything). You may wish to call startActivity() on an ACTION_VIEW Intent on the URL or something. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Warescription: Three

[android-developers] Re: apk installation on mobilefromLinux machine

2009-09-14 Thread Mark Murphy
But no devices is detected by adb. Any help welcome. Galaxy support should be available in a future release: http://code.google.com/p/android/issues/detail?id=3293 If you wish, that thread outlines a change to /etc/udev/rules.d/ contents and a patched adb that may work for you. -- Mark

[android-developers] Re: WebView and javascript problem

2009-09-14 Thread Mark Murphy
could be the difference? Are there any different settings for running javascript? Javascript is disabled by default. Call getSettings().setJavaScriptEnabled(true) on your WebView to enable it. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Need help

[android-developers] Re: data in onPictureTaken always null for raw picture

2009-09-14 Thread Mark Murphy
Timothy F wrote: I'm attempting to obtain raw picture data from the camera. According to the Javadocs it can be obtained via the callback passed to camera.takePicture(null, callback, null). RAW is not available: http://osdir.com/ml/AndroidDevelopers/2009-02/msg01493.html -- Mark Murphy

[android-developers] Re: Saving Intents to use later (WAY LATER!)

2009-09-14 Thread Mark Murphy
. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy _Android Programming Tutorials_ Version 1.0 In Print! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group

[android-developers] Re: apk installation on mobilefromLinux machine

2009-09-14 Thread Mark Murphy
and do not know any by name. Beyond that, I suspect you will have to wait for Android 1.6 and official support for the Galaxy. Fortunately, given the large donut that appeared recently at the Googleplex, I hope you will not have to wait long. -- Mark Murphy (a Commons Guy) http://commonsware.com

[android-developers] Re: Saving Intents to use later (WAY LATER!)

2009-09-14 Thread Mark Murphy
(), and getComponent(). The last one will return a ComponentName(), which in turn has getClassName() and getPackageName() getter methods. Persist all four of those values. Then, when you need the Intent back, use setClassName(), setAction(), and addCategory() to rebuild it from the pieces. -- Mark Murphy

[android-developers] Re: WebView Catch 22 - Same Window, Except For New Domain

2009-09-14 Thread Mark Murphy
Photics wrote: I tried to understand what you and Mark Murphy posted about Intents and Activities, but I wasn't able to get it working. startActivity(new Intent(Intent.ACTION_VIEW, http://thisismydomain.com;)); Replace the hardwired URL in the above snippet with whatever you want to display

[android-developers] Re: Service Binding Problems - ServiceConnection.onServiceConnected not being called

2009-09-14 Thread Mark Murphy
called because of a breakpoint, or logging statements not shown above, perhaps your service is not registered in the manifest or something. You should see warnings or errors in logcat (via adb logcat, DDMS, or the DDMS perspective in Eclipse). -- Mark Murphy (a Commons Guy) http://commonsware.com

[android-developers] Re: How to create a View from an external XML source?

2009-09-14 Thread Mark Murphy
Argy wrote: What if I have this XML layout online (on a website) and I want to create the layout on runtime? Is there any way to do this? No, sorry. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy _Android Programming Tutorials_ Version 1.0 In Print

[android-developers] Re: Managing Large Graphic Set

2009-09-14 Thread Mark Murphy
there. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy _Android Programming Tutorials_ Version 1.0 In Print! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] Re: Android WVGA support

2009-09-15 Thread Mark Murphy
of it. Again, this is an educated guess, based upon what we had been told for the last ~15 months on this issue, and it could be they have a whole 'nuther system in mind now. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy _Android Programming Tutorials_

[android-developers] Re: Android WVGA support

2009-09-15 Thread Mark Murphy
has not been discussed much beyond this thread, and presumably is the meat of Ms. Hackborn's upcoming blog post. Like you, I'm awaiting more details. -- Mark Murphy (a Commons Guy) http://commonsware.com Android App Developer Books: http://commonsware.com/books.html

[android-developers] Re: Make a call without dial in background

2009-09-15 Thread Mark Murphy
Is possible to make a call programaticaly without the dial? I want to make an app that in background make a call, but i need that don't show the Dial app, only my own app. Anyone can help me? Use the ACTION_CALL Intent. You will need the associated permission (CALL_PHONE). -- Mark Murphy

[android-developers] Re: tabs iphone style

2009-09-15 Thread Mark Murphy
would start with a ViewFlipper. -- Mark Murphy (a Commons Guy) http://commonsware.com Android App Developer Books: http://commonsware.com/books.html --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Re: Deep sleep behaviour

2009-09-15 Thread Mark Murphy
to deep sleep? There is no notification when the CPU shuts down. I want to do some task before my application be killed by the system. When the CPU shuts down, your application is not killed. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Android 1.5

[android-developers] Re: HttpURLConnection headers

2009-09-15 Thread Mark Murphy
-the-header-of-a-httpurlconnection -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy _Beginning Android_ from Apress Now Available! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: Is there a way to determine which phone I'm running on?

2009-09-15 Thread Mark Murphy
junker37 wrote: Is there a way to get the phone type? For example, can I determine if the phone is a G1, or myTouch, etc? android.os.Build.MODEL is probably what you want. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy _Beginning Android_ from Apress

<    3   4   5   6   7   8   9   10   11   12   >