[android-developers] My app gets killed because of android.process.media getting killed by OS

2010-09-06 Thread tony obrien
Hi, I have seen one reference to this sort of problem where a MAIN app dies because ::: "because provider com.android.providers.media.MediaProvider is in dying process android.process.media" In that reference the implication was that if you held a CURSOR "too long" this could happen. I am not

[android-developers] Developing Android REST Client Applications

2010-09-01 Thread Tony
I'm a new guy to Android development. I've read through the note of the topic "Developing Android REST Client Applications" from Google IO 2010, but I still have no idea on how to start. Can anyone show me a code example? Either the code for "Option A: Use a Service API" or "Option B: Use the Cont

[android-developers] Re: App inconsistencies

2010-08-30 Thread tony obrien
yev wrote: >   30.08.2010 16:48, tony obrien пишет:> I am loathe to start adding all kinds > of "log output" turning this > > into a bloatware science experiment (but will if forced.) > > Before you start doing that, I'd ask the user to download and install > one

[android-developers] Re: App inconsistencies

2010-08-30 Thread tony obrien
app) ? On Aug 30, 9:33 am, Kostya Vasilyev wrote: >   30.08.2010 16:48, tony obrien пишет:> I am loathe to start adding all kinds > of "log output" turning this > > into a bloatware science experiment (but will if forced.) > > Before you start doing that, I&

[android-developers] App inconsistencies

2010-08-30 Thread tony obrien
Hi, I have an app that uses Runnables, GPS, Sensors, the AudioManager, MapView, Shared Preference storage; in effect ---all manner of the phone's capabilities. When I run this app on my Motorola DROID, it functions consistently --- all activities operate as expected -- all dialog popups POPUP w

[android-developers] Re: MapActivity (MapView) Problem

2010-08-26 Thread tony obrien
ted to get a "blank" display -- not a crash. Thanks, again. On Aug 25, 5:16 pm, TreKing wrote: > On Wed, Aug 25, 2010 at 3:52 PM, tony obrien > wrote: > > > I have all the appropriate Manifest entries, the simplest OnCreate --- > > > all it does is setConte

[android-developers] MapActivity (MapView) Problem

2010-08-25 Thread tony obrien
I have a DROID using Android 2.2 I am attempting to get the simplest MapActivity to run on the device. (NetBeans latest and greatest using a Google Api build target.) I have all the appropriate Manifest entries, the simplest OnCreate --- > all it does is setContextView() to the xml with a mapview

Re: [android-developers] source code

2010-08-13 Thread Tony Gonzalez
x.org > > Might also subscribe to this Google group: > > http://groups.google.com/group/android-porting > > -- Kosyta > > 13.08.2010 19:59, Tony Gonzalez пишет: > > I thought about step 1 :-) but I'll continue with my research and if I have > to get a mac/linux

Re: [android-developers] source code

2010-08-13 Thread Tony Gonzalez
I thought about step 1 :-) but I'll continue with my research and if I have to get a mac/linux box that's what I'll have to do. Thanks On Fri, Aug 13, 2010 at 9:54 AM, TreKing wrote: > On Fri, Aug 13, 2010 at 10:48 AM, Tony Gonzalez > wrote: > >> Looks like a l

Re: [android-developers] source code

2010-08-13 Thread Tony Gonzalez
mend me do? On Fri, Aug 13, 2010 at 9:40 AM, TreKing wrote: > On Fri, Aug 13, 2010 at 10:31 AM, Tony Gonzalez > wrote: > >> On the android source website is says you need to download git and repo, >> in addition it states that windows is not supported. I'll be using w

Re: [android-developers] source code

2010-08-13 Thread Tony Gonzalez
Sounds like great advise, but their is a lot of information. As I just mention it to TreKing I'm doing that right now, trying to get the source code but have to figure out how to install and use git and repo. thanks Tony On Fri, Aug 13, 2010 at 9:27 AM, Chris Stewart wrote: > O

Re: [android-developers] source code

2010-08-13 Thread Tony Gonzalez
evelopment computer. I've downloaded the SDK and Eclipse and have already practice with the "hello world" script, and others' question for you. Do you use windows to develop ? thanks Tony Sent from my Android phone On Aug 13, 2010 9:22 AM, "TreKing" wrote:

Re: [android-developers] source code

2010-08-12 Thread Tony Gonzalez
I hope that's sarcasm, because it would be a low blow just trying to learn man. Sent from my Android phone On Aug 12, 2010 5:03 PM, "TreKing" wrote: > Tony, for future reference, there's this amazing new technology that will > allow you to find these kinds of a

Re: [android-developers] source code

2010-08-12 Thread Tony Gonzalez
Thanks Frank Tony Sent from my Android phone On Aug 12, 2010 4:28 PM, "Frank Weiss" wrote: > http://source.android.com/ > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this g

[android-developers] OpenCORE on Linux x86 PC

2010-08-12 Thread Tony
linux x86 pc? 2. How to resolve the link issues? Thank you! error details: Building /home/Tony/3rdParty/opencore/build_config/opencore_dynamic/ build/installed_lib/linux/libopencore_common_debug.so... /home/Tony/3rdParty/opencore/build_config/opencore_dynamic/build/pvmi/ pvmf/build/make/linux/

[android-developers] how to take snapshot in videoview ?

2010-08-03 Thread tony ziggle
hi all, I am trying to take a snapshot while playback a mp4 file. I uses videoview to playback the file. Anybody any suggestion will be greatly appreciated. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send ema

[android-developers] Native encryption for Android

2010-07-16 Thread Tony Doubtfire
in native support for encryption so we can continue to connect to our NHS mail. Cheers Tony -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe

[android-developers] I got "Problem loading widget" after updated the app from Market.

2010-06-23 Thread Tony Wu
Hi, I encounter the "Problem loading widget" if the APPs are pre-installed in the system and I updated it from Market, the widget I put on HOME screen will show "Problem loading widget". After rebooting or changing language, it will resume. If I update the APPs by "adb install -r", it will be norm

[android-developers] SoundPool.Load from a resource

2010-05-27 Thread tony obrien
The code: //this is all contained in my MainActivity. private SoundPool soundPool; private HashMap soundPoolMap; public static final int SOUND_CANNON = 1; private void initSounds() { soundPool = new SoundPool(5, AudioManager.STREAM_MUSIC, 100); soundPoolMap = new HashMap()

[android-developers] entity.getContent() returning unexpected results

2010-05-27 Thread Tony DAlessio
I have a simple application where I want to open a URL, submit the form with username and password fields and parse the response all in the background. For some reason every time I look at the response it's the original page, not the response page. I have been searching for a few days and tried m

[android-developers] SoundPool and LOADing from a resource

2010-05-27 Thread tony obrien
The code: //this is all contained in my MainActivity. private SoundPool soundPool; private HashMap soundPoolMap; public static final int SOUND_CANNON = 1; public static final int SOUND_HIT = 2; public static final int SOUND_MISS = 3; public static final int SOUND_WOUND = 4;

[android-developers] how to avoid data damage after power down

2010-05-27 Thread tony ziggle
hi, I am porting android to my device(arm 926ejs). I use ubifs as my filesystem , android works fine. But there is no battery in the device. So I power down the device when it still working. (Just power down the power supply) I found the data in the flash was damaged. Can I avoid data dama

[android-developers] ScrollView & TableLayout row focusable

2010-05-04 Thread Tony
Hi, I want a scrollable tablelayout working. Every row of tableLayout is eight TextView. At first I should extend TextView to make it focusable? right? But how to make focus switch between the table rows instead of eight textview When scrolling up and down? should I extend TableRow too? Where can

[android-developers] Re: Prevent Orientation change at runtime

2010-04-15 Thread tony obrien
Since you call the "other" overlay when the orientation changes, a cheap hack would be to have the BUTTON Click listener set a global variable that the ORIENTATION listener can see and decide whether or not to allow the orientation change. On Apr 15, 3:44 am, Kumar Bibek wrote: > Hi, > Well, pre

[android-developers] Re: How to change the normal behaviour of a listview

2010-04-15 Thread tony obrien
By extending the LISTVIEW and overriding the GetView() you can do whatever you want. On Apr 15, 5:35 am, androidDeveloper wrote: > Hello Android Developers, > > does anyone know how to imitate the behaviour of the iPhone list used > in the cineplexx iPhone app shown on this page: > > http://itun

[android-developers] Re: Http proxy settings not working in Android Emulator 2.1

2010-03-30 Thread Tony
't reproduce this on Linux and OS X, I guess you're > > all > > > on Windows, right ? > > > > On Wed, Mar 17, 2010 at 11:50 PM, Tony wrote: > > > > Any idea for this problem? > > > > > On Mar 17, 8:42 pm, ademiguelglez wrote: > >

[android-developers] Re: Http proxy settings not working in Android Emulator 2.1

2010-03-17 Thread Tony
Any idea for this problem? On Mar 17, 8:42 pm, ademiguelglez wrote: > I'm stuck with the same problem. > Any help? > > Regards, > Alejandro. > > On 22 feb, 10:19, Vibhor Mahajan wrote: > > > I am not able to access Internet from Android web browser but Internet > > is accessible from Developmen

[android-developers] Re: Hey Mr or Ms Moderator...

2010-02-13 Thread tony obrien
So , Yes, This One did appear in the group! Has anyone gotten a feel for when/how-many/etc posts before you no longer go thru the moderator? thanks, tob On Feb 12, 9:26 am, tony obrien wrote: > Hi, > > I have been attempting to operate within the android-developers and > andro

[android-developers] Hey Mr or Ms Moderator...

2010-02-12 Thread tony obrien
participate in) and would *really* like to get active. Anything you can do to hasten my acceptance would be greatly appreciated. thanks, tony obrien -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, sen

[android-developers] Re: Really simple android question

2010-02-12 Thread tony obrien
Hi, You're likely not waiting LONG ENOUGH it takes quite sometime for the emulator to wake up and your app to get transferred ... The process goes something liek this... A. Start Emulator B. See 'text-oriented' "A N D R O I D" with blinking cursor C. text turns to ANDROID Graphic with slide

[android-developers] How to force EditText to invoke the full-screen IME in portrait configuration

2010-02-11 Thread Tony Lin
I am implementing an application dialog for a QVGA device. In the landscape mode, the EditText will invoke full-screen IME, which is good. However, when it goes to the portrait mode and the soft keyboard comes out, the soft keyboard will overlap on the input dialog. If I set the android:windowSoftI

[android-developers] Development on sip

2010-01-31 Thread Tony
Is there anyone developing sip (libosip2) related Apps on android platform,I have tried my best to test my sip App , but finally failed as i didn't know how to spell the sip URIs, I tested the app on two emulators, one of them was used to be a server.and the other was used as a client. both of

[android-developers] Re: android sip development

2010-01-28 Thread Tony
2010/1/29 Tony > Hello ,all > > I am developing a sip-based application, I test it on two emulators > located the same host machine, how can I spell the sipURIs??? > > > "sip:andr...@10.0.02:5061" ??? > > is it right??? but it doesn't work! can an

[android-developers] android sip development

2010-01-28 Thread Tony
Hello ,all I am developing a sip-based application, I test it on two emulators located the same host machine, how can I spell the sipURIs??? "sip:andr...@10.0.02:5061" ??? is it right??? but it doesn't work! can anyone help me?? -- You received this message because you are subscribed to t

Re: [android-developers] Re: IP Adress of android device

2010-01-28 Thread Tony
ly thing I can say for sure is -- you're going to need to > > know more about networking than you do today. It's learnable, and > > there are resources out there to help. Most of what you need to know > > is information that is not specific to the Android platform,

[android-developers] IP Adress of android device

2010-01-28 Thread Tony
Hello ,all! If I connect two android pwer real-devices to a LAN through wifi, then what are their IP adress??? How can then find each other by IP address??? are their IP address 192.168.0.* ?? -- You received this message because you are subscribed to the Google Groups "Android Deve

Re: [android-developers] Re: SIP development on Android

2010-01-28 Thread Tony
the server could work smoothly ,keeping listening on port 5060. but the client didn't seem going well. it could init an invitition , but I got no answer from the server??? still puzzled . thanks . 2010/1/28 Upendra Chintala > Hi Tony, > > The problem is that your em

Re: [android-developers] Re: SIP development on Android

2010-01-27 Thread Tony
{ ire = 10222; __android_log_print(ANDROID_LOG_INFO, UA_TAG,"No response or the time is over!\n"); break; } ... ... } the je alway

[android-developers] SIP development on Android

2010-01-27 Thread Tony
Hello ,All! I'd like to share my sip development experience with you as well giving you my problems.I hope anyone can help me! I compiled osipperser2 ,osip2 and exosip2 on NDK platform, Base on the three static libraries osipperser.a ,osip2.a ,exosip2.a , I wrote a sample base on sip

[android-developers] Why does media scanner not list the audio file suffixed with ".aac".

2009-09-17 Thread Tony Yang
I push a audio file named "music.aac" into SD card, and then execute "Media Scanner" application or re-start the device. I found that media scanner didn't process ".aac" file, so the "music.aac" file doesn't exist in music player. But Android supports AAC/AAC+/eAAC format. So who know the reason

[android-developers] About intercept api calls

2009-09-09 Thread tony
Hi all there, I want to write an app to do the api calls interception just like what "Detour" does under windows. Once the app is running it can hijack all the api calls other app made to the system. Anybody can give me any idea about achieving that?

[android-developers] How to detect/query the screen off event?

2009-09-03 Thread Tony Zhou
Hi, Is there any API I can detect the event that the screen is off after time out? Or is there any API I can query the backlight status? Thanks, --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers"

[android-developers] Re: buttons on mapview overlay

2009-08-28 Thread Tony Wong
> MapDetailsButton" android:layout_weight="1.0" android:text="b"> Button> android:layout_width="wrap_content" android:drawableRight="@drawable/ > ic_menu_forward" android:layout_height="wrap_content"> > > > > > After

[android-developers] buttons on mapview overlay

2009-08-27 Thread Tony Wong
In Google Maps, when you complete a search and go to map mode browsing, you see two types of overlay objects. One of the overlays contain a title, description, and left and right buttons. The buttons have different states (normal, disabled, pressed down) so the overlay must be more complex than th

[android-developers] fix for ArrayIndexOutOfBoundsException while dynamically updating ItemizedOverlay

2009-08-17 Thread Tony Wong
My application dynamically inserts OverlayItem objects throughout its lifetime, without ever throwing a loading dialog to block user input. If you're doing the same and you've been getting an ArrayIndexOutOfBoundsException in getIndexToDraw of ItemizedOverlay, here's what I did to fix the problem.

[android-developers] Heap size overflow after I loaded audio file in SoundPool!!

2009-07-31 Thread Tony Yang
After the program executed "SoundPool.load( "/sdcard/audio.MP3", 1 )" sentence, the program crashed and threw the log "Heap size overflow! req size: 1073664, max size: 1048576". My source code is listed as blow. What is the root cause for this error?? Thanks!! /*

[android-developers] How to change the "tone color" of an audio file??

2009-07-31 Thread Tony Yang
My application wants to change the tone color of an audio stream (mp3/3gp format) to imitate the voice of several pets(such as dog, cat, ...). But I find that Android doesn't provide any API to adjust the propertities of audio stream. How can I change the tone color?? Thanks!! --~--~-~--

[android-developers] Re: Progress bar like in android market

2009-07-20 Thread Tony
haha On Jul 20, 7:15 pm, sheik wrote: > Kindly look into it ... anyone out their > > On Jul 17, 2:17 pm, sheik wrote: > > > > > Kindly look into it .. i wanna know how to show the last index in the > > list after getting the response... > > > On Jul 16, 10:46 pm, sheik wrote: > > > >

[android-developers] The layout of New Contact or Edit Contact can't be represented correctly when using WVGA-P skin in Cupcake emulator

2009-07-15 Thread Tony Yang
My operation procedure is as below: 1. Execute Cupcake emulator with WVGA-P skin. 2. Activate Contacts application, and select "Contact" tab. 3. Press "Menu" key and select "New contact" option item. 4. Discover that the middle of current layout isn't represented. Do you meet this problem?? --~--

[android-developers] Production Crash Logs

2009-06-26 Thread Tony Hillerson
Hello, Is there any way to get access to production crash logs for your application? Apple has just introduced this, and it's helpful. Is there any way you guys handle this now? Tony --~--~-~--~~~---~--~~ You received this message because you are subscrib

[android-developers] Re: Cupcake Emulator do not mount SD card image

2009-06-16 Thread Tony Yang
Last week, I got the cupcake soruce code by repo sync. Unfortunately, the "main.mk" file was still old. Is there any mistakes in git config?? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group.

[android-developers] Re: Widget "proxy drawable"

2009-05-27 Thread Tony Wu
I had tried it, but when I want to use a "selector" for my button, it seems the dither can't work again. res/drawable/keyboard_speeddial_normal_dithered.xml: http://schemas.android.com/apk/res/android"; android:src="@drawable/keydialer_normal" android:dither="true" /> res/drawable/keyboard_spe

[android-developers] Put WebView and EditText together

2009-05-26 Thread Tony Wu
While I put the WebView and EditText in the same page, I encounter a problem. The EditText will hold the focus and I can't input word into WebView, so that I can't do login or search in the WebView. If I take off EditText, the WebView can be edit again and I can do login and search. Do anyone k

[android-developers] Re: PNG Color Issue

2009-05-21 Thread Tony Wu
any graphics editor that can do that. > > > > On Tue, May 19, 2009 at 2:25 AM, Tony Wu wrote: > > > Once I want to put the pictures in my application, I meet this > > problem. > > The color presented by Android device or emulator was different from > > the ori

[android-developers] PNG Color Issue

2009-05-19 Thread Tony Wu
why it presented in different color?? By the way, the picture was made in 32bit colors png format. Thanks & Regards Tony --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. T

[android-developers] port openRecordStore from J2ME to android

2009-04-27 Thread Tony Chan
which class I should be using to do that? Thanks Tony --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To u

答复: [android-developers] Problems conver ting Base64 byte arrray to String.

2009-02-16 Thread Tony Huang
Yes,I think so. -邮件原件- 发件人: android-developers@googlegroups.com [mailto:android-develop...@googlegroups.com] 代表 sukumar 发送时间: 2009年2月16日 17:16 收件人: Android Developers 主题: [android-developers] Problems converting Base64 byte arrray to String. hi All, Im trying to convert a byte array wh

[android-developers] Re: How to get current page content of WebView

2009-02-11 Thread Tony
Thanks! On Feb 11, 6:47 pm, Mike Hearn wrote: > You could use the CacheManager to do this. But I think there's not a > more direct API currently - it'd be nice if WebView provided direct > access to the DOM but that's quite a complex binding to do. --~--~-~--~~~---~--

[android-developers] Re: How to get current page content of WebView

2009-02-11 Thread Tony
content. I would be confusing if it's impossible? On Feb 11, 8:25 am, Mark Murphy wrote: > Tony wrote: > > Any idea? > > > On Feb 11, 1:01 am, Guolong wrote: > >> hello, > > >> It's easy to get current page's url and title of webkit.WebView

[android-developers] Re: After install ADT0.9,failed to launch APP as no VM compatible with android 1.5

2009-02-10 Thread tony
Anybody can use ADT 0.9 run application now? On 2月7日, 下午6时17分, tony wrote: > The error info is: > [2009-02-07 18:11:06 - CameraTest] -- > [2009-02-07 18:11:06 - CameraTest] Android Launch! > [2009-02-07 18:11:06 - CameraTest] adb is running normally. >

[android-developers] Re: How to get current page content of WebView

2009-02-10 Thread Tony
Any idea? On Feb 11, 1:01 am, Guolong wrote: > hello, > > It's easy to get current page's url and title of webkit.WebView. But I > could not find way to get page content of WebView. Anybody could help > me with this problem? --~--~-~--~~~---~--~~ You received this

[android-developers] After install ADT0.9,failed to launch APP as no VM compatible with android 1.5

2009-02-07 Thread tony
The error info is: [2009-02-07 18:11:06 - CameraTest] -- [2009-02-07 18:11:06 - CameraTest] Android Launch! [2009-02-07 18:11:06 - CameraTest] adb is running normally. [2009-02-07 18:11:06 - CameraTest] Launching: com.CameraTest [2009-02-07 18:11:06 - CameraTest] Failed

[android-developers] Re: How to pass arguments to emulator using ADT 0.9

2009-02-07 Thread tony
t the argument this way,I still can't launch as error "Failed to find a VM compatible with target 'Android 1.5'. Launch aborted" B.R Tony On Jan 30, 9:29 pm, Breno wrote: >           Hi, > >                     After generatingADT0.9, using Cupcake SDk, i > ne

[android-developers] Re: ADT0.9 plugin can't work

2009-02-04 Thread tony
http://www.namipan.com/d/687e0e8f65ee3923060a991ee9bb8864df857c79bbcc2b00 On Feb 5, 9:19 am, 冰咖啡不加糖 wrote: > could you give me your new ADT0.09 ? > my email : xinyu...@gmail.com > thanks. > > On 2月4日, 上午9时25分, tony wrote: > > > I have built a ADT0.9 plugin with the and

[android-developers] ADT0.9 plugin can't work

2009-02-03 Thread tony
I have built a ADT0.9 plugin with the android release of 20090102,but seems it still have error in recognizing resource files. Does anyone have succeeded in using the 0.9 plugin? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Googl

[android-developers] Using android 1.5 emulator, the sdcard can't be mounted

2009-01-22 Thread tony
Command sequence is: 1.make sdk first, and cd /home/tony/android-sdk_eng.tony_linux-x86/tools/ 2../emulator -image ../platforms/android-1.5/images/system.img - kernel ../platforms/android-1.5/images/kernel-qemu -ramdisk ../ platforms/android-1.5/images/ramdisk.img -data ../platforms/ android

[android-developers] Re: After the ADT 0.9 update, Eclipse can not create R.java automatically

2009-01-22 Thread tony
I met same issue. On 1月21日, 下午11时12分, moontain wrote: > Hi, > > I checked out cupcake branch yesterday and made the full build and sdk > successfully, and I also built the ADT 0.9 with the command > cupcake/development/tools/eclipse/scripts/build_server.sh on another Linux > box. Then I update

[android-developers] Roadmap of GPS support in Android

2009-01-15 Thread Tony
Right now, Android GPS library only supports standalone GPS, Does anyone know when Android library will support MS-Based AGPS? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to thi

[android-developers] Contacts query joining People and ContactMethod.

2009-01-13 Thread Tony Hillerson
I've searched and believe I have the answer, but I want to make sure. Can I do a single query retrieving all People, their phone numbers, and their emails? It seems like I can't, and to avoid the dreaded n+1 problem I have to do two queries - one for all people and one for all emails and merge the

[android-developers] Sharing a map api key during development

2009-01-07 Thread Tony Hillerson
development? I suppose we could each have our own non source controlled properties file, but I'm hoping there's a better way. --- Tony Hillerson EffectiveUI --~--~-~--~~~---~--~~ You received this message because you are subscribed to th

[android-developers] Error in AndroidManifest.xml and some other xml files

2008-12-30 Thread Tony Wu
I'm trying to compile the source coded by sdk 1.5, and I had already replaced the android.jar from sdk 1.0 rc2. Some new import have already been with no problem, but the xml file still have error that can't recognize some tag like "android:windowSoftInputMode" or "android:inputType". Do any one h

[android-developers] Re: Where to download icons?

2008-08-29 Thread Tony S.
Try iconlook.com On Aug 30, 2:21 am, april <[EMAIL PROTECTED]> wrote: > I am developing a multimedia application. I found the most difficult > things is to create nice icons for the application. It took me a lot > of time just for an ugly icon:)  I have to give up for create icon by > myself. >

<    1   2