[android-developers] Re: IllegalThreadStateException when program is restored

2009-02-22 Thread Mark Murphy
Lander, LunarView is a SurfaceView, which has getContext() to return the Context for the view. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 2.0 Published! --~--~-~--~~~---~--~~ You received this message

[android-developers] Re: Think twice before turning on the "Copy Protection" option! -- there's a serious bug in Market

2009-02-22 Thread Mark Murphy
Carter wrote: > a call to SQLiteOpenHelper.getWritableDatabase() fails What is the exception that is raised? Or does it just quietly return null? -- Mark Murphy (a Commons Guy) http://commonsware.com Android Training on the Ranch! -- Mar 16-20, 2009 http://www.bignerdranch.com/schedule.sh

[android-developers] Re: How to have different types of view in ListActivity/BaseAdapter

2009-02-22 Thread Mark Murphy
t the notion of row positions changing type. If you make your Next/Previous button a row, that row will need to keep the same position, otherwise the row caching may break. I would recommend putting the next/previous button outside the list. -- Mark Murphy (a Commons Guy) http://commonsware.com

[android-developers] Re: Think twice before turning on the "Copy Protection" option! -- there's a serious bug in Market

2009-02-22 Thread Mark Murphy
ViewCore$WebCoreThread.run(WebViewCore.java:468) > 02-22 09:57:00.272: ERROR/AndroidRuntime(25948): at > java.lang.Thread.run(Thread.java:935) Ick. That's not even your app's database, if I'm reading this stack trace correctly -- it's one used by WebVie

[android-developers] Re: Think twice before turning on the "Copy Protection" option! -- there's a serious bug in Market

2009-02-22 Thread Mark Murphy
considered wrong with it? -- Mark Murphy (a Commons Guy) http://commonsware.com Android Training in Sweden -- http://www.sotrium.com/training.php --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Deve

[android-developers] Re: Think twice before turning on the "Copy Protection" option! -- there's a serious bug in Market

2009-02-22 Thread Mark Murphy
ach a ZIP of the test project. Post the issue link here, so folk like me know which issue it is and can take a look at your project. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_

[android-developers] Re: Nice Settings Management?

2009-02-22 Thread Mark Murphy
, > too. Where can I find the code needed to do that? Look for PreferenceScreen. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 2.0 Available! --~--~-~--~~~---~--~~ You received this message bec

[android-developers] Re: Amazon Web Services (AWS) from Android

2009-02-22 Thread Mark Murphy
e, you might try recompiling the source locally. I have had some problems like this clear up when I used a consistent compiler, rather than relying upon a pre-compiled JAR that may have used some other edition of the compiler. -- Mark Murphy (a Commons Guy) http://commonsware.com Andro

[android-developers] Re: Amazon Web Services (AWS) from Android

2009-02-22 Thread Mark Murphy
hell.org) does not work on Android, because (I think) it was compiled with Java 1.4.2, and we need Java 1.5+. However, recompiling Beanshell to create a fresh JAR, with a current Java compiler, worked just fine. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to

[android-developers] Re: Think twice before turning on the "Copy Protection" option! -- there's a serious bug in Market

2009-02-22 Thread Mark Murphy
first and last -- I don't have anything to chime in with on the middle one at the moment. Thanks for posting the test cases! -- Mark Murphy (a Commons Guy) http://commonsware.com Android Training in Sweden -- http://www.sotrium.com/training.php --~--~-~--~~~---~-

[android-developers] Re: Layout question

2009-02-23 Thread Mark Murphy
e, but they're not. Any ideas? This is tailor-made for a RelativeLayout. Anchor the four smaller images to their respective corners, and set the larger image to be centered. -- Mark Murphy (a Commons Guy) http://commonsware.com Android Training in Sweden --

[android-developers] Re: ListView issue- getchildat()

2009-02-23 Thread Mark Murphy
Anonymous Anonymous wrote: > Thanks Romain,But is there anyway i can set for those items which are > outside the screen? > or while scrolling down or something? Override getView() in your adapter and do whatever you want to the row Views as they are created. -- Mark Murphy (a Commons

[android-developers] Re: Playing Hide and seek with menu items

2009-02-23 Thread Mark Murphy
mean that literally: MenuItem is an interface, not a subclass of View. Hence, to find a MenuItem, you don't call findViewById(). Instead, you need to hold onto the Menu you populated in onCreateOptionsMenu() and call findItem() on it. -- Mark Murphy (a Commons Guy) http://commonsware.c

[android-developers] Re: google gadgets in Android application

2009-02-23 Thread Mark Murphy
d > show the google gadgets in a custom application. No, there is no such facility, beyond the basic WebView browser widget. -- Mark Murphy (a Commons Guy) http://commonsware.com Android Training in Sweden -- http://www.sotrium.com/training.php --~--~-~--~~~-

[android-developers] Re: using intents/intent filters and mime types

2009-02-23 Thread Mark Murphy
otePad tutorial is installed with your SDK, is often mentioned in these lists, and is documented on the Web site: http://developer.android.com/guide/tutorials/notepad/index.html It uses intent filters to handle alternative MIME types. Using it as a basis, you might try the fol

[android-developers] Re: [android-developers]JNI run time error even I use same code and lib as Android source code.

2009-02-23 Thread Mark Murphy
clipse -- 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" g

[android-developers] Re: it seems nobody here answer questions regarding mms

2009-02-23 Thread Mark Murphy
many mms related questions unanswerd [sic] on this forum" suggests there are a shortage of experts working in this area. So, the choice is yours: follow Ms. Hackborn's advice, or ask a focused question and hope for the best. -- Mark Murphy (a Commons Guy) http://commonsware.com _The

[android-developers] Re: Is animated gif (agif) supported in Android Image View

2009-02-24 Thread Mark Murphy
ayed, just not with animation. -- 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 "A

[android-developers] Re: How to launch a native c process from android java program

2009-02-24 Thread Mark Murphy
of a scriptable shell on the device. -- 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] Re: nested scopes

2009-02-24 Thread Mark Murphy
> I am developing a wrapper API on top of JavaScriptCore for integration > with > my application. Questions related to the firmware are best asked on one of the mailing lists related to firmware development: http://source.android.com/discuss -- Mark Murphy (a Commons

[android-developers] Re: it seems nobody here answer questions regarding mms

2009-02-24 Thread Mark Murphy
are, you may have better luck getting the answers you seek from one of the firmware forums: http://source.android.com/discuss You might also consider examining the source code to the provider you are attempting to access (com.android.providers.telephony.MmsProvider). -- Mark Murphy (a Commons G

[android-developers] Re: The Source Code of Location Platform

2009-02-24 Thread Mark Murphy
rce? Use Google Code Search: http://www.google.com/codesearch Search on whatever class you want, and add package:android to the search string to restrict the search to the Android source code: http://www.google.com/codesearch?q=LocationManager+package%3Aandroid -- Mark Murphy (a Commons Guy) h

[android-developers] Re: google gadgets in Android application

2009-02-24 Thread Mark Murphy
Aninda wrote: > Can Widget API be extended along with Google gadget API to do the > same, I mean can a player be written which will be extended from the > widget API and which can render any google gadgets... Given a lot of time and effort, presumably yes. -- Mark Murphy (a Commons

[android-developers] Re: Simplifying the downloading XML or .txt files

2009-02-24 Thread Mark Murphy
vailable, such as those at: http://www.exampledepot.com/egs/javax.xml.parsers/pkg.html XmlPullParser is described at: http://xmlpull.org/ -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 2.0 Published! --~--~-~--~~~

[android-developers] Re: Solved: WebView: Passing JSON from Java to JavaScript

2009-02-25 Thread Mark Murphy
gs from C libraries accessed from Visual Basic, for example. -- 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 th

[android-developers] Re: How can I frequently get the onLocationChanged()?

2009-02-25 Thread Mark Murphy
", 0, 0, ll); > > The two zeros determine how often to get onlocationchanged. The first > one is how often in seconds to call it, the second is how far you must > travel in meters before it gets called. To clarify: the first zero is how often in milliseconds to call it (minimum), n

[android-developers] Re: Embedding Android project/library in another

2009-02-25 Thread Mark Murphy
> > Are there ways to utilize or chain Android projects together? With respect to resources, structure your base API to accept resource IDs as API parameters. -- Mark Murphy (a Commons Guy) http://commonsware.com Android Training on the Ranch! -- Mar 16-20, 2009 ht

[android-developers] Re: Embedding Android project/library in another

2009-02-25 Thread Mark Murphy
rather in the APK that is using the base JAR. Hence, the base JAR not only does not have R.java, but it cannot even rely upon resources having certain numerical values. Instead, the APK has the resources and passes in the resource ID: doSomething(R.raw.this_is_something_in_the_apk); -- Mark M

[android-developers] Re: Host is unresolved error

2009-02-25 Thread Mark Murphy
em from your network setup: firewalls, etc. Please review: http://developer.android.com/guide/developing/tools/emulator.html#emulatornetworking -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 2.0 Available! --~--~-~--~~-

[android-developers] Re: Embedding Android project/library in another

2009-02-25 Thread Mark Murphy
feeling > the resource architecture of Android doesn't lend itself to library > sharing. It works perfectly fine. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 2.0 Available! --~--~-~--~~~

[android-developers] Re: Embedding Android project/library in another

2009-02-25 Thread Mark Murphy
ur API calls". Admittedly, this is somewhat annoying -- it'd be nice if we could use files stored in the JAR itself -- but it's not the end of the world, either. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 2.0 Availa

[android-developers] Re: When the update RC31 come

2009-02-25 Thread Mark Murphy
qie0559 wrote: > My phone is Android Dev Phone 1. When the update come? how can I get > the update? It is being worked on now. It is not yet available. Stay tuned for further developments. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android D

[android-developers] Re: How can I create a custom composite widget in android

2009-02-25 Thread Mark Murphy
g the activity's content view (e.g., custom rows in a ListView), you can use LayoutInflater. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 2.0 Published! --~--~-~--~~~---~--~~ You rec

[android-developers] Re: debugging java and c/c++

2009-02-25 Thread Mark Murphy
rukiman wrote: > More specifically how can I debug the file android_view_Display.cpp ? Questions regarding Android firmware development are best asked on a list dedicated to Android firmware development: http://source.android.com/discuss -- Mark Murphy (a Commons Guy) http://commonsware.

[android-developers] Re: Question about using LayoutInflater

2009-02-25 Thread Mark Murphy
returns a View, the result of the inflation. -- 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] Re: can't find vibrator device

2009-02-25 Thread Mark Murphy
issing . Questions regarding Android firmware development are best asked on a list dedicated to Android firmware 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! --~--~-

[android-developers] Re: Loading a URL without initializing webview

2009-02-25 Thread Mark Murphy
ave a php file on my > server that my application is supposed to load to submit the hi score. URLConnection and Apache HttpClient are both available in Android as HTTP client libraries. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Developme

[android-developers] Re: Developing an app using a retail phone

2009-02-26 Thread Mark Murphy
warwickhunter wrote: > Can anyone confirm for me that if I purchase a retail Android phone, > such as the HTC Dream (G1) that I can use it to develop applications? I own a G1, and I use it to develop applications. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder'

[android-developers] Re: Invalidates the TabView

2009-02-26 Thread Mark Murphy
ou could also try calling ArrayAdapter#notifyDataSetChanged() or notifyDataSetInvalidated(), to see if either one of those causes the ArrayAdapter to refresh from the updated ArrayList. I have not tried either of those, and they are undocumented, but they sound promising... -- Mark Murphy (a Commons Guy) http:/

[android-developers] Re: Where to put xml file????

2009-02-26 Thread Mark Murphy
Alam wrote: > I want to put one xml file in my project. Please tell me where to put > this file and how to access this file? Put it in the res/xml/ directory in your project. Get it via getResources().getXml(R.xml.whatever_you_called_it), which returns an XmlResourceParser. -- Mark Mur

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

2009-02-26 Thread Mark Murphy
eep calling setContentView(), you may continue to pile up garbage until you 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://commonswar

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

2009-02-27 Thread Mark Murphy
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

[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

[android-developers] Re: WebKit version in Donut

2009-02-27 Thread Mark Murphy
ware: 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 Groups "Andr

[android-developers] Re: Bitmap Memory

2009-02-27 Thread Mark Murphy
trates the phenomenon. Post an issue to http://b.android.com with the sample project, and mention 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

[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.co

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

2009-02-28 Thread Mark Murphy
-- You take steps based 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.s

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

2009-02-28 Thread Mark Murphy
t; and played for 10 seconds, and nothing has 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/2175bba33a0

[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 I

[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 h

[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://commonswa

[android-developers] Re: FileChooser on Android

2009-02-28 Thread Mark Murphy
other applications 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 --~--~-~--~~---

[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 C

[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 A

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

2009-02-28 Thread Mark Murphy
if it's quit 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://

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

2009-02-28 Thread Mark Murphy
is there some sort of timer > event 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-developers] Re: Just learning to write apps

2009-02-28 Thread Mark Murphy
Java and Android at one time 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/mar

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

2009-03-01 Thread Mark Murphy
being int values is that you can pass 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

[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 Gu

[android-developers] Re: How to avoid my background thread been killed ??

2009-03-02 Thread Mark Murphy
n and log re-throwing it or logging it). -- 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 Groups &q

[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 Co

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

2009-03-02 Thread Mark Murphy
was hoping to write some of these myself, 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 i

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

2009-03-02 Thread Mark Murphy
er to to require a harder shak, and make the value lower to allow > for a softer shake. Excellent! I was probably aiming too complex, trying to determine the direction of a shake. Many thanks! -- Mark Murphy (a Commons Guy) http://commonsware.c

[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.sh

[android-developers] Re: Add MapActivity to ActivityGroup

2009-03-03 Thread Mark Murphy
nt an activity to extend MapActivty 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 Acti

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

2009-03-03 Thread Mark Murphy
to return a result (e.g., 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

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

2009-03-04 Thread Mark Murphy
around a specific 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

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

2009-03-04 Thread Mark Murphy
ty alerts -- for example, I would 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! --~--~-~--~~~--

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

2009-03-04 Thread Mark Murphy
t support 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 "Androi

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

2009-03-04 Thread Mark Murphy
I could add 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://commonsw

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

2009-03-05 Thread Mark Murphy
ations. Does it work 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

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

2009-03-05 Thread Mark Murphy
the > USB mass 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

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

2009-03-05 Thread Mark Murphy
aimed at firmware-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 sub

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

2009-03-05 Thread Mark Murphy
estion to a discussion list related 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 b

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

2009-03-06 Thread Mark Murphy
o use Google's search, 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 receiv

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

2009-03-06 Thread Mark Murphy
PIs, explore the issues of forward of backward 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-develo

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

2009-03-06 Thread Mark Murphy
API differences, etc. > 3, 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 alre

[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

[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 P

[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://commons

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

2009-03-07 Thread Mark Murphy
with Android porting 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! --~--~-~--~~

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

2009-03-07 Thread Mark Murphy
there have been 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 rec

[android-developers] Re: Launching a dialog from preferences?

2009-03-07 Thread Mark Murphy
class called DialogPreference, but this doesn't seem to be > what I want. If you just need it from the preferences activity, you could always put it as an option menu choice. -- Mark Murphy (a Commons Guy) http://commonsware.com Android Training on the Ranch! -- Mar 16-20, 2009 http:

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

2009-03-09 Thread Mark Murphy
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 Develop

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

2009-03-09 Thread Mark Murphy
that program. 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 rec

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

2009-03-09 Thread Mark Murphy
t visible. > > And then I try change the id to android:id="@+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 getTabWid

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

2009-03-09 Thread Mark Murphy
Noam wrote: > Could I import the JAR of JavaMail into my Application also? You can try. I had problems the last time I tried, but I didn't try very hard, and presumably the project you cited has it working. You might wish to contact them for advice. -- Mark Murphy (a Commons G

[android-developers] Re: toolchain to build kernel

2009-03-10 Thread Mark Murphy
; download) and it has 2 toolchains arm-eabi-4.3.1 and arm-eabi-4.2.1. > Which one should be used to build the kernel? > > Thanks for your replies, Questions regarding the Android source code are best asked on a mailing list dedicated to the Android source code: http://source.android.com/di

[android-developers] Re: Using ZoomControls with ImageView in Android

2009-03-10 Thread Mark Murphy
ZoomControls() is not implemented on View. Hence, that method is not available on all subclasses of View. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 2.0 Published! --~--~-~--~~~---~--~~ You

[android-developers] Re: Saving animations in gif format

2009-03-10 Thread Mark Murphy
rames and put them in an animated GIF, but that will require some development effort to create the tool. I'll see about adding it to DroidEx itself at some time in the future, though I'm not sure when that would be... -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder

[android-developers] Re: Screen Orientation change performance Question

2009-03-10 Thread Mark Murphy
.com/?p=2891 -- 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&q

[android-developers] Re: query regarding the API for device (phone) specific data

2009-03-10 Thread Mark Murphy
tation. -- 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: How to use fprintf() for stdout/stderr on Android v1.1 SDK Release 1?

2009-03-10 Thread Mark Murphy
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 Groups "An

[android-developers] Re: HttpClient4 execute(HttpPostMethod) failed

2009-03-10 Thread Mark Murphy
everfriend wrote: > the error in log is: E/OSNetworkSystem(300): unknown socket error -1. Try adding the INTERNET permission to your AndroidManifest.xml file. -- Mark Murphy (a Commons Guy) http://commonsware.com Android Training on the Ranch! -- Mar 16-20, 2009 http://www.bignerdranch.

[android-developers] Re: Does android support Google Gear?

2009-03-10 Thread Mark Murphy
by "dumb the content". Moreover, if Gears does have a SQLite database, it will be owned by the Browser process, meaning it would not be available to you on a production Android device, for security reasons. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide

[android-developers] Re: Does android support Google Gear?

2009-03-10 Thread Mark Murphy
it and ".dump" to dump a database's contents. Please refer to the SQLite documentation for details on sqlite3: http://sqlite.org -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 2.0 Published! --~--~-~--~--

[android-developers] Re: Unified Database Populating Solution

2009-03-10 Thread Mark Murphy
SQLite backend would seem likely to have poor performance. Of course, then again, it's been about two decades since I wrote my last spell-checker... -- Mark Murphy (a Commons Guy) http://commonsware.com Android Training in Sweden -- http://www.sotrium.com/training.php --~--~-~--~~--

[android-developers] Re: Unified Database Populating Solution

2009-03-11 Thread Mark Murphy
ng you should avoid Mr. Jaynes' technique, just that you should use it with full knowledge that the SQLite file format might change and it might cause problems. -- Mark Murphy (a Commons Guy) http://commonsware.com Android Training in Sweden --

[android-developers] Re: Conditionally process AndroidManifest.xml?

2009-03-11 Thread Mark Murphy
way to automate this processing of the xml file please? Augment the Ant script with a new target that removes the offending line from your manifest. -- Mark Murphy (a Commons Guy) http://commonsware.com Android Training in Sweden -- http://www.sotrium.com/training.php --~--~-~--~---

[android-developers] Re: Video Capturing

2009-03-11 Thread Mark Murphy
mobilek...@googlemail.com wrote: > Is video capturing currently supported in the latest SDK? Not yet. An upcoming Android release and SDK (code named "cupcake") should have video recording, as I understand it. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Cod

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