Re: [android-developers] Re: why is my app asking to access phone calls and storage?

2009-11-28 Thread Mark Murphy
nd-line builds, try modifying the target= value in default.properties. I do not know the equivalent in Eclipse. -- 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 y

Re: [android-developers] Re: Anyone get Camera#takePicture() to work on DROID?

2009-11-28 Thread Mark Murphy
view() from a callback, AFAICT. Or am I missing something? Thanks! -- 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" gr

Re: [android-developers] Problem with Timer and ImageView (with setImageResource)

2009-11-30 Thread Mark Murphy
message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to android-developers@googlegroups.com > To unsubscribe from this group, send email to > android-developers+unsubscr...@googlegroups.com > For more opti

Re: [android-developers] Re: Adding button to default keyboard

2009-11-30 Thread Mark Murphy
hat does, and offer that to your users. A physical button is a button on a physical keyboard, such as the keyboards on the T-Mobile G1 and Motorola DROID. You cannot add buttons to those keyboards, either. -- Mark Murphy (a Commons Guy) http://commonsware.com Android App Developer Books: h

Re: [android-developers] Video Player Sample pls

2009-11-30 Thread Mark Murphy
> CAn someone give me sample video player prgramme to play the file from > a URL > > Its urgent pls http://github.com/commonsguy/vidtry -- Mark Murphy (a Commons Guy) http://commonsware.com Android App Developer Books: http://commonsware.com/books.html -- You received this mes

Re: [android-developers] Video Player Sample pls

2009-11-30 Thread Mark Murphy
> btw does is it work in emulator? Not usually, no. The emulator is not very good at playing back video in general, unless you have an extremely fast PC. -- Mark Murphy (a Commons Guy) http://commonsware.com Android App Developer Books: http://commonsware.com/books.html -- You received t

Re: [android-developers] Video Player Sample pls

2009-11-30 Thread Mark Murphy
ing video, may or may not work. IMHO, you definitely need to test video playback on hardware. -- 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 "And

Re: [android-developers] Where to start for home screen replacement app?

2009-12-01 Thread Mark Murphy
one have any recommendations or links that might help out? There's the Home sample app in the samples that ship with the SDK. I have no idea if it is being kept up to date, but last I knew it still worked. -- Mark Murphy (a Commons Guy) http://commonsware.com Android App Developer Books:

Re: [android-developers] SlidingDrawer Widget

2009-12-01 Thread Mark Murphy
ts that direction. -- 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" group. To post to this group, send email to android-dev

Re: [android-developers] Video playing error : video from a URL

2009-12-01 Thread Mark Murphy
oid-Media-Framework http://groups.google.com/group/android-developers/browse_thread/thread/b695e4c0e90de7ac -- 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 Gro

Re: [android-developers] How to draw a border like each row in a list view

2009-12-01 Thread Mark Murphy
n the LinearLayout. -- 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" group. To post to this group, send email to android-de

Re: [android-developers] Capture key events while in background

2009-12-02 Thread Mark Murphy
and > I could only find broadcast actions for Camera, Media and Call > buttons. What about the other buttons? The only *broadcast* Intents based on a button are ACTION_MEDIA_BUTTON and ACTION_CAMERA_BUTTON. No other keys have broadcast Intents AFAIK. The call button Intent is an activity action, not

Re: [android-developers] emulator sleep?

2009-12-02 Thread Mark Murphy
am i missing something? I suspect the emulator does not go into a deep sleep state. Try it on an Android device. -- 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

Re: [android-developers] emulator sleep?

2009-12-02 Thread Mark Murphy
eep. If your code is running, you're not asleep. Beyond that, I have no advice -- sorry! -- 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 "And

Re: [android-developers] Questin about gmail intents

2009-12-02 Thread Mark Murphy
> Is it possible to get an intent when the user recieves a mail and to > cancel the gmail notification? No. -- 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

Re: [android-developers] How to layout 3 ImageButton evenly distributed on a row

2009-12-02 Thread Mark Murphy
is left over after your four buttons. I think View "widgets" are naturally transparent, though you could always set android:visibility="false". There may be other solutions as well -- these are what come to mind. -- Mark Murphy (a Commons Guy) http://commonsware.com Android

Re: [android-developers] JNI Programming in Android Environment

2009-12-03 Thread Mark Murphy
he Android NDK: http://developer.android.com/sdk/ndk/1.6_r1/index.html -- 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" gro

Re: [android-developers] files and updating

2009-12-03 Thread Mark Murphy
? Maintained. They will be deleted if the user uninstalls the app. -- 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&q

Re: [android-developers] Load Android App on HTC Smartphone?

2009-12-03 Thread Mark Murphy
d.com/guide/developing/eclipse-adt.html Or, you can do it outside of Eclipse: http://developer.android.com/guide/developing/other-ide.html#Running -- Mark Murphy (a Commons Guy) http://commonsware.com Android App Developer Books: http://commonsware.com/books.html -- You received this message beca

Re: [android-developers] ListActivity mandatory for listView ?

2009-12-03 Thread Mark Murphy
youts or activities ? That is difficult to answer without a lot more detail. -- 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 Develop

Re: [android-developers] How to call onDraw() in Timer?..

2009-12-03 Thread Mark Murphy
Timer uses a background thread. You cannot modify the UI from a background thread. -- 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 Dev

Re: [android-developers] Re: How to install my app and keep an icon from showing up in the application tray

2009-12-03 Thread Mark Murphy
nd the first launch has to be by the user. -- 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" group. To post to this

Re: [android-developers] Re: How to install my app and keep an icon from showing up in the application tray

2009-12-03 Thread Mark Murphy
eManager. I would think that a disabled activity would vanish from the launcher, though I have not tried that personally. -- Mark Murphy (a Commons Guy) http://commonsware.com Android App Developer Books: http://commonsware.com/books.html -- You received this message because you are subscri

Re: [android-developers] Re: Load Android App on HTC Smartphone?

2009-12-03 Thread Mark Murphy
ll-server, and try again. If you had an old adb daemon running, it might not recognize the device even after the driver is set up. Beyond that, I'm not sure. -- Mark Murphy (a Commons Guy) http://commonsware.com Android App Developer Books: http://commonsware.com/books.html -- You received

Re: [android-developers] Re: getLastKnownLocation *again*

2009-12-03 Thread Mark Murphy
ten a production-grade location-aware app, so I haven't worked through all of the ramifications yet. -- 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 Gr

Re: [android-developers] Can i create file dir when apk installing on device

2009-12-03 Thread Mark Murphy
> Hello,everyone: > I want to create file dir when apk installing ondevice. > does it possible?and how? No. You have to do that on the first run of your application. -- Mark Murphy (a Commons Guy) http://commonsware.com Android App Developer Books: http://commonsware.com/b

Re: [android-developers] Re: How to extract the .properties files in a third party jar file to apk file

2009-12-03 Thread Mark Murphy
droid.mk. Your question probably belongs on [android-porting]. -- 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" group. To

Re: [android-developers] Do I need to notify users that I'm using analytics in my Android app? (like Flurry, Admob analytics or even logging tool like DriodDrop)

2009-12-03 Thread Mark Murphy
rse. -- 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" group. To post to this group, send email to android-developers@google

Re: [android-developers] layout and activity doubt

2009-12-03 Thread Mark Murphy
a set of tutorials to provide you with step-by-step instructions for creating your first Android applications. -- 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

Re: [android-developers] Re: Updates to the Android SDK

2009-12-03 Thread Mark Murphy
oot, and try again. You probably have an adb daemon process in memory that is tying up adb.exe. -- 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 &

Re: [android-developers] alarm manager counts

2009-12-04 Thread Mark Murphy
ms going off, the device will never stay asleep for long, and battery life will suffer greatly. I recommend watching Jeff Sharkey's 2009 Google I/O presentation: http://code.google.com/events/io/sessions/CodingLifeBatteryLife.html -- Mark Murphy (a Commons Guy) http://commonsware.com Andr

Re: [android-developers] Re: Updates to the Android SDK

2009-12-04 Thread Mark Murphy
7;re reporting, so I'm not sure if this will actually help you, but I just like writing "snicklefritz". ;-) -- 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 t

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

2009-12-04 Thread Mark Murphy
obviously after > giving the choice to the user if he wants to continue or not) but I > dont know how to force that either. Any ideas how to achieve that? You can't reboot the phone programmatically, unless you are part of the firmware, AFAIK. -- Mark Murphy (a Commons Guy) http://com

Re: [android-developers] External peripherals emulating keyboard input

2009-12-04 Thread Mark Murphy
ne had any luck developing similar peripherals? > > http://wiki.droid-devs.com/images/7/7b/Otg.png You're not going to be able to do this at the SDK level. The folks over at [android-porting] may be able to help you at the firmware level. -- Mark Murphy (a Commons Guy) http://commonsware

Re: [android-developers] calling finish() on a subactivity

2009-12-04 Thread Mark Murphy
h() on B. If anybody could help me out that would > be great. Why have Activity B? Why not keep it all in Activity A? For example, if you are trying to do a progress indicator, use a ProgressDialog, or ProgressBar, or a progress indicator in the title bar, or an animated ImageView, in Activity

Re: [android-developers] Modify voice data before it's sent

2009-12-04 Thread Mark Murphy
> Is it possible to modify the voice data before it's sent to the radio? Not from the SDK. Perhaps if you hack the firmware there is a way. -- Mark Murphy (a Commons Guy) http://commonsware.com Android App Developer Books: http://commonsware.com/books.html -- You received this

Re: [android-developers] Re: Capture key events while in background

2009-12-04 Thread Mark Murphy
> Is there a list of these buttons somewhere? The "media button" (on headsets) and the camera button are the only two that send a broadcast Intent, according to the documentation on the Intent class. -- Mark Murphy (a Commons Guy) http://commonsware.com Android App Develope

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

2009-12-04 Thread Mark Murphy
to the boot process is bad for Android, even if you think it may be good for your app. Bear in mind that BOOT_COMPLETED is a slight misnomer, and there is a bunch of other stuff going on then (e.g., home screen launching, radios turning on), that your initialization logic will be impeding. -- Mark

Re: [android-developers] Re: Who do you consider as the Android mobile Apps developers Guru ?

2009-12-04 Thread Mark Murphy
> Go to http://groups.google.com/group/android-developers/about, it's > the top 2 most frequent poster Dianne Hackborn and Mark Murphy. Great googly moogly! I've never actually gone to that page before. This is my 3,236th post? > and the > other gets payed by us when you b

Re: [android-developers] Re: Who do you consider as the Android mobile Apps developers Guru ?

2009-12-04 Thread Mark Murphy
;ve read your posts many times and find them > useful even when I don't respond, thanks a lot! You're very welcome! -- Mark Murphy (a Commons Guy) http://commonsware.com Android App Developer Books: http://commonsware.com/books.html -- You received this message because you are sub

Re: [android-developers] Re: Updates to the Android SDK

2009-12-05 Thread Mark Murphy
s locking the tools dir, so by running a separate copy, tools was able to then be updated. I then repointed my PATH and stuff back to the regular tools\ dir and nuked my spare copy. -- Mark Murphy (a Commons Guy) http://commonsware.com Android App Developer Books: http://commonsware.com/books.html

Re: [android-developers] How to disable autocomplete on AutoCompleteTextView

2009-12-05 Thread Mark Murphy
ore attaching the ListAdapter to the AutoCompleteTextView? -- 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" group

Re: [android-developers] Using external source inside my program (Eliminating Swing components)

2009-12-05 Thread Mark Murphy
erences as well. And so on. Sometimes, you get lucky, and there are few references, and they are fairly isolated. For example, I got Rhino (Javascript interpreter in Java) working in Android 1.1 after fixing up references to some java.beans.* interfaces and classes. Fortunately, these were isolat

Re: [android-developers] Re: Advanced Camera Settings

2009-12-05 Thread Mark Murphy
ernative firmware on your phone. All of the new stuff related to those sorts of things you would find in the Camera.Parameters class. -- Mark Murphy (a Commons Guy) http://commonsware.com Android App Developer Books: http://commonsware.com/books.html -- You received this message because you are su

Re: [android-developers] Re: Using external source inside my program (Eliminating Swing components)

2009-12-05 Thread Mark Murphy
uot;copy the necessary files into my android project" approach. You might consider setting it up as as separate project building an ordinary Java JAR, containing only the subset you need, but without knowing the source or your intentions, I can't say whether that will be worthwhile. --

Re: [android-developers] Re: Using external source inside my program (Eliminating Swing components)

2009-12-05 Thread Mark Murphy
nce regarding separating the Swing stuff from what you need. -- 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" group. To p

Re: [android-developers] Re: Using external source inside my program (Eliminating Swing components)

2009-12-05 Thread Mark Murphy
erences to the deleted package from the other packages, and you'll need to comment those out as well. -- 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 Goo

Re: [android-developers] How to disable autocomplete on AutoCompleteTextView

2009-12-05 Thread Mark Murphy
> Yes and it works, but I need be able to call setText() at any time, eg > when > the user presses a button. On the button click, try setting the adapter to null, set the text, then set the adapter back to its original value. -- Mark Murphy (a Commons Guy) http://commonsware.com An

Re: [android-developers] Re: Using external source inside my program (Eliminating Swing components)

2009-12-05 Thread Mark Murphy
ge from the CSV > project and continued to receive updates. would that have been a > better option? IMHO, that question is best asked of the author of the JAR you are reusing. -- Mark Murphy (a Commons Guy) http://commonsware.com Android App Developer Books: http://commonsware.com/books.html

Re: [android-developers] Emulator on Linux 10 times slower than on Windows

2009-12-05 Thread Mark Murphy
of the emulator, the usage of > my real CPU never went above 30%. > > Is there any explanation for this slowness on Ubuntu? Or even a way to > further investigate where the bottleneck might be? How much RAM do you have? What is the output of running 'free' in Ubuntu from a she

Re: [android-developers] Opening Mediaplayer = PVPlayer stacktrace !

2009-12-05 Thread Mark Murphy
ject supporting HTTP-based video streams played by MediaPlayer on a SurfaceView: http://github.com/commonsguy/vidtry -- 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

Re: [android-developers] ProgressDialog from within ContentProvider class!

2009-12-05 Thread Mark Murphy
. Have the activity that told the ContentProvider to "upgrading / creating a content provider or database" display its own dialog. -- Mark Murphy (a Commons Guy) http://commonsware.com Android App Developer Books: http://commonsware.com/books.html -- You received this message because

Re: [android-developers] Re: Opening Mediaplayer = PVPlayer stacktrace !

2009-12-05 Thread Mark Murphy
rfaceView until the surfaceCreated() callback occurs in the SurfaceHolder.Callback. Now, in the vidtry sample I listed, I don't do that, because I don't attempt to load an MP4 file automatically. By the time the user enters a URL and clicks Go, the surface has been ready for quite a while

Re: [android-developers] ProgressDialog from within ContentProvider class!

2009-12-05 Thread Mark Murphy
inate any significant time required for the "task for upgrading/creating", or -- Consider not using a ContentProvider, switching instead to a Service, which gives you more API flexibility -- Mark Murphy (a Commons Guy) http://commonsware.com Android App Developer Books: http://commo

Re: [android-developers] Re: Opening Mediaplayer = PVPlayer stacktrace !

2009-12-05 Thread Mark Murphy
> NB : you're book is available in France sinc Dec-4, its name "L'art du > développement Android" ! C'est magnifique! (as I plumb the depths of my dozen or so memorized French expressions) -- Mark Murphy (a Commons Guy) http://commonsware.com Android App Develope

Re: [android-developers] ProgressDialog from within ContentProvider class!

2009-12-05 Thread Mark Murphy
> The problem is, activity starts its onCreate after completing the > ContentProvider operations Ah. Can your ContentProvider do its setup work in a background thread, so it does not tie up the main application thread? -- Mark Murphy (a Commons Guy) http://commonsware.com Android App Dev

Re: [android-developers] ProgressDialog from within ContentProvider class!

2009-12-05 Thread Mark Murphy
ning code execute off the main application thread. -- 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" group. To post to thi

Re: [android-developers] Re: Opening Mediaplayer = PVPlayer stacktrace !

2009-12-05 Thread Mark Murphy
7;t have any sample RTSP links. You are welcome to try this URL: http://commonsware.com/misc/test.mp4 It's a Google I/O conference video with the appropriate MP4 file hinting to make it safe for streaming. It worked with vidtry the last time I tested it. -- Mark Murphy (a Commons G

Re: [android-developers] Getting a File object from android

2009-12-05 Thread Mark Murphy
ert FileOutputStream to File. Or is there another way of doing > this? Instead of openFileOutput(), use getFilesDir() to get a File pointing to the directory where openFileOutput() files go. Then, use normal File constructors to create a File object pointing to the file you want to create

Re: [android-developers] Re: Opening Mediaplayer = PVPlayer stacktrace !

2009-12-05 Thread Mark Murphy
t I linked to, I ran MP4Box -hint on it to achieve this effect. A good source of information on all of this Dave Sparks' Google I/O presentation: http://code.google.com/events/io/2009/sessions/MasteringAndroidMediaFramework.html -- Mark Murphy (a Commons Guy) http://commonsware

Re: [android-developers] apps with the same user id

2009-12-05 Thread Mark Murphy
;implicit intents" capability. Two apps with a sharedUserId and signed with the same key will run as the same Linux user and, therefore, will be able to access each other's local files, databases, and the like. There may be more than that, but file access is the piece I am aware of. -- Mark

Re: [android-developers] Re: Context for layout view

2009-12-06 Thread Mark Murphy
> There doesn't seem to be an "ant clean". I've taken to adding the following Ant task to my build.xml files: Crude, but effective. -- Mark Murphy (a Commons Guy) http://commonsware.com Android App Developer Books: http://com

Re: [android-developers] Re: Failed to resolve class help (custom java library)

2009-12-06 Thread Mark Murphy
ferences in the source code you are trying to use and have it reference the jax.beans classes instead of java.beans This, for example, is how I got Rhino to work back in Android 1.1, when no java.beans.* classes were included in Android. -- Mark Murphy (a Commons Guy) http://commonsware.co

Re: [android-developers] Encoding for MP4 progressive download

2009-12-06 Thread Mark Murphy
.blogspot.com/2009/10/video-streaming-with-android-phone.html Here's some more links that may help: https://help.ubuntu.com/community/AndroidVideoEncoding http://android-unleashed.com/tag/convert-video-to-android-g1 http://www.harelmalka.com/?p=120 http://www.apple.com/quicktime/tutorials/

Re: [android-developers] can't access AlertDialog list items

2009-12-06 Thread Mark Murphy
ot think setEnabled() will do what you expect. Instead, use your own ListAdapter that implements areAllItemsEnabled() and isEnabled(). -- Mark Murphy (a Commons Guy) http://commonsware.com Android App Developer Books: http://commonsware.com/books.html -- You received this message because yo

Re: [android-developers] Undocumented Permission changes in 2.0.1 on MovieView?

2009-12-06 Thread Mark Murphy
oked by Android SDK applications, right? Dump the component name, add the appropriate MIME type to your Intent (e.g., video/mp4), and try that. -- Mark Murphy (a Commons Guy) http://commonsware.com Android App Developer Books: http://commonsware.com/books.html -- You received this message because yo

Re: [android-developers] Re: Undocumented Permission changes in 2.0.1 on MovieView?

2009-12-06 Thread Mark Murphy
ls based on touch events, a custom timeline with play/pause control, and so on: http://github.com/commonsguy/vidtry Note, though, that I haven't tried this on 2.0.1 yet. The core Android team *yet again* released an update when I'm on the road... -- Mark Murphy (a Commons Guy) http://

Re: [android-developers] Re: Undocumented Permission changes in 2.0.1 on MovieView?

2009-12-06 Thread Mark Murphy
i.setType("video/mp4"); > i.setData(uri); > startActivity(i); > > Does the above code look right to you? I am parsing a http URL from > my strings.xml file. Yeah, that should be OK. I guess either: -- Google Code Search has the wrong stuff,

Re: [android-developers] Re: Undocumented Permission changes in 2.0.1 on MovieView?

2009-12-06 Thread Mark Murphy
html#declaring > Do you know where these permissions are located in source? Beats me -- sorry. -- 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 "Andro

Re: [android-developers] View.setEnabled() Deprecated?

2009-12-06 Thread Mark Murphy
t state_enabled in the xml layout, but how to do it > programatically? Can it be done? setEnabled() is not deprecated, on View or Button, according to the API documentation. -- Mark Murphy (a Commons Guy) http://commonsware.com Android App Developer Books: http://commonsware.com/books.html -- Y

Re: [android-developers] Apps silently close due to low memory (in remote Content Providers)

2009-12-06 Thread Mark Murphy
ut leaves the Cursor data intact? Thanks! -- 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" group. To post to th

Re: [android-developers] Which book to use.

2009-12-06 Thread Mark Murphy
e to buy. I like the last one, particularly buying the digital editions off the CommonsWare Web site, since you get three books for what you might pay for just one of the others. Then again, I wrote those books, so I am a little bit biased. :-) More seriously, any of the ones you have listed ther

Re: [android-developers] Ebook reader

2009-12-06 Thread Mark Murphy
> I need to build an ebook/reference reader type of an application. Is > there any engines which gives support for formatting html or anyother > types of content? Look at android.webkit.WebView. -- Mark Murphy (a Commons Guy) http://commonsware.com Android App Developer Bo

Re: [android-developers] How can I call service methods from broadcastReceiver?

2009-12-06 Thread Mark Murphy
e other solution (e.g., put extras on the Intent you use with startService(), so your service learns what to do from those extras alone). You can see an example of a BroadcastReceiver using startService() to start up a service here: http://github.com/commonsguy/cw-advandroid/tree/master/SystemS

Re: [android-developers] Re: ListActivity mandatory for listView ?

2009-12-07 Thread Mark Murphy
with its own layout. -- 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" group. To post to this group, send email

Re: [android-developers] Large SQLite3 DB handling

2009-12-07 Thread Mark Murphy
that allows the user to navigate into a smaller scope (e.g., browse categories, then query on a category). -- 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 Goog

Re: [android-developers] TabActivity with scroll

2009-12-07 Thread Mark Murphy
b system does not support this concept. I recommend using fewer tabs, dividing your functionality into multiple activities. -- Mark Murphy (a Commons Guy) http://commonsware.com Android App Developer Books: http://commonsware.com/books.html -- You received this message because you are subscri

Re: [android-developers] WebView not working

2009-12-07 Thread Mark Murphy
or both width and height. If that does not help, here are some ideas for investigation: -- Does the Browser application work on your device? -- Have you tried another URL? I can state positively that http://commonsware.com works fine with WebView. -- Mark Murphy (a Commons Guy) http://commonswar

[android-developers] Re: Out of memory exception on setting wallpaper

2009-03-12 Thread Mark Murphy
tOfMemoryError: bitmap size exceeds VM budget Sounds like a memory leak. Are you sure getWallpaper() isn't doing something that would hold references to past bitmaps, causing them not to get garbage collected? -- Mark Murphy (a Commons Guy) http://commonsware.com Android Trainin

[android-developers] Re: How can I install my GPS app to my device?

2009-03-12 Thread Mark Murphy
n install APK files, then copy your APK file to the SD card and use the file manager to install it. Of course, you can always publish your APK via a market, but I am guessing you are not ready for that step just yet. -- Mark Murphy (a Commons Guy) http://commonsware.com Android Trainin

[android-developers] Re: Out of memory exception on setting wallpaper

2009-03-12 Thread Mark Murphy
ursnavin wrote: > Hey, > Thanks for the reply, > The getWallpaper() is the android frameworks getWallpaper() function. Oh. I don't know what to tell you, then. -- Mark Murphy (a Commons Guy) http://commonsware.com Android Training in Sweden -- http://www.sotrium.co

[android-developers] Re: Unified Database Populating Solution

2009-03-12 Thread Mark Murphy
or are they companions? I'd like to > buy both but I'm on a tight budget. Thanks for the interest! I'll reply to you off-list shortly, so this doesn't turn into a commercial... -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to An

[android-developers] Re: Unified Database Populating Solution

2009-03-13 Thread Mark Murphy
home page: http://commonsware.com There, you can learn more about the three (yes, three!) Android books CommonsWare has available. Other questions about the books are best sent straight to me, or to the [cw-android] Google Group. Thanks for your interest! -- Mark Murphy (a Commons Guy) http://comm

[android-developers] Re: service start and ui hanging

2009-03-13 Thread Mark Murphy
ervice encapsulates the thread -- the client does not need to know or care what the service's threading model is. -- Mark Murphy (a Commons Guy) http://commonsware.com Android Training in Sweden -- http://www.sotrium.com/training.php --~--~-~--~~~---~--~~ You re

[android-developers] Re: Using external packages

2009-03-13 Thread Mark Murphy
t, and store it in > my Android app. http://wiki.modularity.net.au/ical4j/index.php?title=FAQ According to them, it works, if you include the dependencies. -- Mark Murphy (a Commons Guy) http://commonsware.com Android App Developer Training: http://com

[android-developers] Re: MapView Zoomer behavior, how?

2009-03-14 Thread Mark Murphy
something else? -- Mark Murphy (a Commons Guy) http://commonsware.com Warescription: Three Android Books, Plus Updates, $35/Year --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to t

[android-developers] Re: MapView Zoomer behavior, how?

2009-03-15 Thread Mark Murphy
writing a couple > hundred lines of code if someone already had. -T Ah. Sorry, I don't have anything just like that handy. -- Mark Murphy (a Commons Guy) http://commonsware.com Android App Developer Training: http://commonsware.com/training.html --~--~-~--~~~

[android-developers] Re: Some questions about modding stuff in the source code

2009-03-15 Thread Mark Murphy
e.android.com > Is there any documentation/samples to how I do this ? See http://source.android.com -- you might also check out XDA Developers or other sites that have spent time getting Android to run on non-standard hardware. -- Mark Murphy (a Commons Guy) http://commonsware.com Android App

[android-developers] Re: Image manipulation

2009-03-18 Thread Mark Murphy
> I want to convert my image to black and white. As well i want to apply > different image manipulations operations like brightness, contrast > etc.. Can anyone tell me how to achieve this functionality? Which third-party JARs have you tried? -- Mark Murphy (a Commons

[android-developers] Re: Image manipulation

2009-03-18 Thread Mark Murphy
ckage, but I have no idea if any of them fit what you need. -- 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 subscri

[android-developers] Re: read cookie value which is set by website browsed in emulator browser

2009-03-18 Thread Mark Murphy
r open >> mywebsitein android phonebrowser. >> Is it possible toreadvalueofcookiewhich issetbybrowserof my >> android phone?? -- 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 take small picture

2009-03-18 Thread Mark Murphy
> When we use camera, is there any parameters we can config about the > picture resolution? Thanks! The camera parameters are called Camera.Parameters and include setters for preview and picture size. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide

[android-developers] Re: How can i access html code of a web page.

2009-03-19 Thread Mark Murphy
onnection or HttpClient. -- 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: Getting a complete list of android native drawables

2009-03-19 Thread Mark Murphy
s/android_drawables.html -- 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 "And

[android-developers] Re: Getting a complete list of android native drawables

2009-03-19 Thread Mark Murphy
> I've checked that one out, that's for Android 1.0 which is old. Not that old. Are there any you've found that do not work? -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development

[android-developers] Re: Launching adb commands programtically from android application

2009-03-20 Thread Mark Murphy
> Is it possible to launch adb commands programatically from any > android application? No. The adb program runs on your development machine, not a device. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 2.

[android-developers] Re: Please enable SVG Support in the Android Webkit Browser

2009-03-20 Thread Mark Murphy
o long as SVG is described as "experimental", the odds of it being integrated into Android are lower. Anything you can do to help WebKit out with its SVG implementation will eventually help Android adopt it. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide

[android-developers] Re: Launching adb commands programtically from android application

2009-03-20 Thread Mark Murphy
ccessible by applications, particularly on a real device, for security reasons. -- 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: Getting a complete list of android native drawables

2009-03-20 Thread Mark Murphy
implies the existence of some sort of documentation. We do not necessarily need the core Android team to develop the documentation, but we do need the algorithm for deducing if a resource is deemed "in the public SDK" or not. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Co

[android-developers] Re: Android Video Capturing

2009-03-20 Thread Mark Murphy
uch to do with J2ME. -- 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 Devel

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