[android-developers] Using Instrumentation during ActivityInstrumentationTestCase

2008-12-29 Thread James
I didn't get any responses from the Android Beginners group, so after a few days wait I'm trying this group. I'm trying to use the provided methods on the Instrumentation instance given to ActivityInstrumentationTestCase classes. I could not find a book listed on Amazon (available or

[android-developers] Re: com.google.wireless.gdata

2009-01-13 Thread James
I've been able to use the 1.0 version of the java gdata api successfully from Android. I created custom implementations of GoogleAuthTokenFactory and GoogleGDataRequest.Factory. The second one meant I had to create a custom GDataRequest and AbstractHttpEntity. The code needed utilizes the same

[android-developers] Re: com.google.wireless.gdata

2009-01-14 Thread James
FYI: the wireless gdata code is here: http://android.git.kernel.org/?p=platform/external/gdata.git;a=summary --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

[android-developers] android.app.ListActivity Documentation has Mistakes

2009-01-21 Thread James
at least this discussion calling it out will save others noobs from the frustration. Terribly sorry if this has been pointed out many times already. I didn't find anything when I searched. -James --~--~-~--~~~---~--~~ You received this message because you are subscribed

[android-developers] Re: Ultra-Competitive FireWallet supporters

2009-04-12 Thread James
Hi John, This is James Gramata the creator of FireWallet. I really do apologize for users of my product behaving in this way. I definitely do not condone these actions but people are just expressing the way they feel and that is understandable. I have also had a number of comments/ratings

[android-developers] Start an activity and return back to original activity

2009-01-26 Thread james
, besides calling finish() or startActivity for main activity, what is other way to move main activity to front? Thanks, James, --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group

[android-developers] Re: Need help in writing unit test for parcelable object

2009-02-08 Thread James
OK. I found it faster than I thought or I would have waited to make that last reply. You have two options: 1.) put the parcelable in an intent, then get it back out. -- this would be instead of calling the Creator yourself. This is actually where I saw the call to setDataPosition(0), in the

[android-developers] Re: Android SDK �绦� Emulator 有���e�`��息

2009-10-15 Thread James
你用1.5的SDK试试看,感觉是你的AVD create 出现异常,也有可能是你的SDK有问题, PS:一定要找google官方release的正式版SDK,不要自己build山寨SDK :-) On Oct 15, 9:29 am, 楊健 y...@cycomtech.co.jp wrote: 在我的pc上,虚拟镜像在C:\Documents and Settings\current user\.android\avd\device.avd目录下。 如果说提示emulator: could not find virtual device named 'gphone'的话,是否之

[android-developers] Protected Broadcasts and undocumented limitiations?

2009-10-21 Thread James
I am attempting to receive PACKAGE broadcasts and as far as I can tell I have all the permissions required, and all the filters needed. I have registered a broadcast listener through the manifest file and I know my package is being deployed to the emulator. However, I cannot receive any of

[android-developers] Re: How to share preferences between apps ?

2009-10-26 Thread James
The shared preferences is for all components associated with the same package (and possibly task/affinity). The key you give it is just a key for a map lookup. The permissions have to do with if the information can be shared or changed with other components in the package. Also, I think you

[android-developers] Anyone get succeed with new DatagramSocket() on 1.0-r1

2008-09-28 Thread James
I have following code with m5-rc15, it worked well. try { socket_snd = new DatagramSocket(); } catch (SocketException e) { return; } After I upgraded my sdk to 1.0-r1, new DatagramSocket() always fail, it tells me unknow error. I have tried to telnet to my emulator, the

[android-developers] Anybody get succeed with DatagramSocket on 1.0-r1

2008-09-28 Thread James
I have following code: socket_snd = new DatagramSocket(); It works well with m5-r15. But it always fail on 1.0-r1. I telneted to emulator, the network of emulator works well. Any advice is appreciated. --~--~-~--~~~---~--~~ You received this message because you

[android-developers] Re: Anybody get succeed with DatagramSocket on 1.0-r1

2008-09-30 Thread James
Oh, many thanks, this is exactly what I missed. On Sep 28, 8:24 pm, Mark Murphy [EMAIL PROTECTED] wrote: I have following code: socket_snd = newDatagramSocket(); It works well with m5-r15. But it always fail on 1.0-r1. I  telneted to emulator, the network of emulator works well. Any

[android-developers] the highlight of items in ListView

2008-10-24 Thread James
Hi, I have a set of items in a ListView . I'm changing the background of items when user select or click on the them. The background image changes correctly, but there always has an colored(Orange/Yellow) rectangle covers on the background image when I press up/down arrow or click on items. This

[android-developers] Re: the highlight of items in ListView

2008-10-25 Thread James
. On Oct 24, 2008 2:45 AM, James [EMAIL PROTECTED] wrote: Hi, I have a set of items in a ListView . I'm changing the background of items when user select or click on the them. The background image changes correctly, but there always has an colored(Orange/Yellow) rectangle covers

[android-developers] Requesting invitation to Google Wave - please, pretty please?

2009-11-03 Thread James
I've had my application in for a Wave membership for months it would be great if any of you could help me accelerate the process! And of course, if I get in and have some invitations to pass out, I'll be happy to return the favor! Jim tc4...@gmail.com -- You received this message because

[android-developers] Re: Advice Needed on Application Approach

2009-11-04 Thread James
It seems like a shame if you need to code around this, but you could do it a little cleaner, as you suggested. I would suggest you simply keep your own preference variable that records the 'last' state it knew about defaulting it to idle when your application first initializes. Then on the state

[android-developers] Re: Low level audio really needed - too much latency in SoundPool, AudioTrack for more real time stuff

2009-11-04 Thread James
You're going to get lag simply from touching the screen and waiting for the message go to the registered handler. So, first of all, I would make sure any user activity actions be bound to direct hardware interactions such as sensors and hardware key presses vs. UI screen button presses. However

[android-developers] Re: Got 12 Google Wave invitations to use, let me know if you need

2009-11-09 Thread James
Please? Thanks! Jim On Nov 9, 8:12 am, dave dayong...@gmail.com wrote: Hi all, I just got 12 Google Wave invitations to use, please let me know if you need one. Cheers. Dave -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] Empty contact list after adding contacts via insert query

2010-02-01 Thread James
I added some contacts via content resolver queries, but they are not showing up in the phone's Contact application. However, when I go over the database with a cursor, they show up. Could this be an issue with the emulator? I don't have a device to test on at the moment. Also, the contact was

[android-developers] Re: create service only

2009-08-17 Thread James
Sorry,You can't. On Aug 17, 3:40 pm, Honest honestsucc...@gmail.com wrote: Hello, I read all the materials but in all that we are creating service from the class which extends activity. Can i make project in which only service is exists and the entry point of the application is even

[android-developers] Re: Does Android support detection of clicking on right/left button of a mouse

2009-08-17 Thread James
We play our phones with our fingers only,So how do you perform both right and left click ?? If so,will you please tell me the difference between the two?? On Aug 17, 4:13 pm, dinh minh nguyen nguyendinhm...@gmail.com wrote: Hi guys, I want to write an Android application using a mouse (like

[android-developers] Re: How to get other applications touch screen x,y values when application running in the background?

2009-08-17 Thread James
HOOK to other APPs ?? I don't think you can do this in an regular APP for security reason. On Aug 17, 2:09 pm, Kaj Bjurman kaj.bjur...@gmail.com wrote: What's an AP? Access Point does not sound correct in this context, did you mean app? Have you written both apps, or are you saying that

[android-developers] Re: Android service always alive..

2009-08-20 Thread James
I'm using a WakeLock to keep the CPU alive for a few minutes while my timer runs. However, the CPU still seems to go to sleep after 5 minutes if I use PARTIAL_WAKE_LOCK. If I use SCREEN_DIM_WAKE_LOCK, it works as expected. In fact, I can't tell if PARTIAL_WAKE_LOCK does anything at all; the CPU

[android-developers] Quattrowireless - monetizing your app

2009-08-29 Thread James
I recently posted a free app and subsequently received an email about monetizing your app from quattrowireless. It sounds enticing but am wondering if anyone has taken advantage of this offer and how they may feel about it? Thanks for any responses!

[android-developers] Re: Web Browser as Mobile Platform?

2008-06-11 Thread james
Obviously there are some applications that can be built easily for a mobile web browser. When starting a new mobile project, I guess it's worth doing some initial analysis to determine if your application stands to benefit from being a web-based app. Many main stream mobile gurus make claims

[android-developers] Re: Google PLEASE don't let Android to dye

2008-06-11 Thread james
I'm sorry to hear that Google I/O for Android was not that great. I really wanted to go to that and thought it might keep momentum going. My fear is that if there are no retail devices running Android by 3rd, possibly 4th Q this year, then Google will have a really hard time getting Android

[android-developers] Contacts: annot find symbol for getContentResolver().query ???

2010-01-04 Thread James
OK, I know this must be really simple but I must be continually overlooking the obvious. I'm trying to compile the code below and javac keeps saying: [javac] Compiling 3 source files to /usr/home/jim/src/2android/ ExcuseMe/bin/classes [javac]

[android-developers] Eclipse problems

2010-08-09 Thread James
Hi Everybody, I tried to run android application with eclipse but it always appear ''your project contains error(s), please fix them before running your application android'' ! I can't open it ! i don't find the solution ! -- You received this message because you are subscribed to the Google

[android-developers] Cannot access android.provider.Calendar

2010-08-14 Thread James
clarify (with examples if applicable) I would really appreciate it. Thank you. James -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send

[android-developers] Re: advice + onclick help

2010-04-08 Thread James
Hello again, I've made a bit of progress with this onclick madness: This time when I click on an item the app force closes: ListView lv = getListView(); lv.setTextFilterEnabled(true); lv.setOnItemClickListener(new OnItemClickListener() { public void

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-04-12 Thread James
The waiting is half the fun of getting a new gadget, and I'm quite enjoying coming on here and watching the progress reports each day, and wondering when it will be time to start getting excited because the European deliveries are starting to arrive. And also hoping that I'll get home from work

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-04-29 Thread James
I just got a call from my wife - my phone just got delivered! That's in Coventry, UK. Hooray! James Ots -- 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] Help with user notification/dialog

2010-07-16 Thread James
I'm trying to replicate some functionality that I've seen, but can't seem to figure it out. Specifically, the Timer application included in HTC Sense generates a dialog message with a Dismiss button. This dialog appears regardless of what Activity is running and can also appear when on the home

[android-developers] Please help with user notification/dialog

2010-07-16 Thread James
Hi all, I'm trying to replicate some functionality that I've seen, but I can't seem to figure out how. Specifically, I'm looking at the Timer application (part of the clock) that is included with HTC Sense. When the countdown for the timer expires, a small dialog box pops up regardless of what

[android-developers] Re: InstrumentationTestCase.sendKeys() fails on headless emulators

2010-07-27 Thread james
Bump I've got the same exact problem. We're running an Android Development course. Currently we grade submissions automatically using a test suite. We'd like to move the grading scripts to a headless server, but some test cases fail in headless mode. On Jul 12, 12:17 am, Matthias

[android-developers] Re: 安卓联航公司招聘And roid人才

2010-12-09 Thread James
招聘帖子居然没有被和谐掉。。probably the group administrators just have no idea what you are talking about 哈哈 On Dec 6, 9:13 pm, 何斌斌 hbbs...@gmail.com wrote: 一、企业介绍: 安卓联航软件科技(北京)有限公司:http://www.andlisoft.com 二、职位描述: 从事Android相关软件的开发 三、职位要求: 1. Java技术扎实,同时有C++与Java开发经验优先; 2.

[android-developers] Re: Android bluetooth api connect to multiple devices at the same time

2010-12-19 Thread James
of course you can, On Dec 18, 9:25 am, 苗鹏 mp870...@gmail.com wrote: It is possible to connect simultaneously to multiple bluetooth devices? -- 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] Some coding errors from a novice

2010-11-16 Thread James
is derived, I can't edit it. It just reverts back to before my edits. I'm really confused about this and I figured this was the place to go for help. Thanks for reading this, and if you have any suggestions, please email me or respond! Thanks, James -- You received this message because you

[android-developers] Getting widget size

2010-05-10 Thread James
, but now I have a Nexus One, the image gets stretched to fill the cell, and looks blurry. What is the correct, device independent way, to work out how big the bitmap should be? James Ots -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] Phones.CONTENT_URI Depreciated

2010-05-12 Thread James
Phones.CONTENT_URI is depreciated so what can i use? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to

[android-developers] Android Emulator extremely slow

2010-05-24 Thread James
: permission denied uid:1000 name:user.region The whole output is at http://pastebin.com/3z8nnMAA . Looking at Ubuntu's system monitor, the emulator takes about 60MB of RAM and most of the processor. --James. -- You received this message because you are subscribed to the Google Groups Android

[android-developers] GLES20 on Android 2.2 (Froyo)

2010-05-29 Thread James
I notice there's now a android.opengl.GLES20 class. Can anyone give me some pointers on how to use this class? Is it possible to use it with GLSurfaceView? James -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] Getting location data via wifi.

2010-06-15 Thread James
So I have just recently started programming for the Android. I am currently trying to get location data from a gpa and a network. I've noticed it's easy to use the DDMS emulator to send fake GPS data but I cannot figure out how to do so with the wifi of the device. -- You received this message

[android-developers] Android logo copyright/trademark

2010-06-18 Thread James
! James -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options

[android-developers] Sending AVRCP play command, getting spammed with broadcast

2011-01-18 Thread James
Hello. I have some hardware that sends the AVRCP play command to the phone upon bluetooth connection. What I am seeing is the MEDIA_BUTTON action intent spammed over and over in the debugger. This is causing problems with a few apps but mainly Pandora. Pandora will constantly play/pause over and

[android-developers] Sending AVRCP play command, getting spammed with broadcast

2011-01-26 Thread James
Hello. I have some hardware that sends the AVRCP play command to the phone upon bluetooth connection. What I am seeing is the MEDIA_BUTTON action intent spammed over and over in the debugger. This is causing problems with a few apps but mainly Pandora. Pandora will constantly play/pause over and

[android-developers] Re: Sending AVRCP play command, getting spammed with broadcast

2011-01-26 Thread James
Anyone have any insight into this? I have not found anything on Stack Overflow or Google searches about this. On Jan 17, 12:36 pm, James jrs8...@gmail.com wrote: Hello. I have some hardware that sends theAVRCPplay command to the phone upon bluetooth connection. What I am seeing

[android-developers] Multiple SPP / RFCOMM Connections Cause Phone To Lock Up

2011-02-02 Thread James
I have an app that uses bluetooth SPP (RFCOMM) to communicate with a piece of hardware. The app and the bluetooth connection work great. The problem is when another app is started that also uses SPP and then one of the apps is stopped. Once either of the apps is stopped, either by quitting the app

[android-developers] Can adb shell trigger onLowMemory

2009-07-10 Thread James
Does the adb shell or another development utility support sending or triggering the onLowMemory call back to the active Activity Context? I would like to trigger it to make sure my implementation frees memory. I find the idea of actually making the device or emulator run out of memory is a bit

[android-developers] Re: How to write async socket with Android?

2009-07-14 Thread James
Hi Victor Lin: I don't know why could your problem happen,As One socket have both inputstream and outputstreams,They are responsible for read and write; And as far as i call tell,Socket is not android-specified,Hope this helps! Bgs! James On Jul 14, 12:57 pm, Victor Lin borns...@gmail.com wrote

[android-developers] Re: How to kill background applications?

2009-07-14 Thread James
Hi! Generally speaking,We'd say that you can not kill other processes in you application,because you no dot hold the target permission; And one thing more the kill you refered above can not really kill the process,For in android OS,Killing a process just pop up it's stack to the previous

[android-developers] How to remap the android coordinate system ??

2009-07-22 Thread James
Dears: I means when you rotate the screen show to 90 degree,Then the coordinate system should also make an corresponding rotate[ (x,y) should change to (y,x)],To make touch event works correctly. But i wonder how to do so,Please help,Thanks! Best regards! James

[android-developers] Eclipse: Your project contains errors, please fix them: - How to find ??

2009-07-23 Thread James
I'm not much a fan of GUI IDE's like Eclipse, but it's harder to debug without it. :-( I have a project that compiles and loads fine using ant (via make); no compile errors. The trouble is that it doesn't quite work correctly, and it'd be nice to get some runtime debug info like you can get

[android-developers] Eclipse: Your project contains errors, please fix them: - How to find ??

2009-07-23 Thread James
I'm not much a fan of GUI IDE's like Eclipse, but it's harder to debug without it. :-( I have a project that compiles and loads fine using ant (via make); no compile errors. The trouble is that it doesn't quite work correctly, and it'd be nice to get some runtime debug info like you can get

[android-developers] Re: How to remap the android coordinate system ??

2009-07-23 Thread James
I used the fuction Surface.setOrientation(Display.DEFAULT_DISPLAY,1) to rotate the screen ,And what i refered above happened; On Jul 23, 10:22 am, Rud k5...@arrl.net wrote: That happens automatically unless you have locked your application into portrait or landscape mode. When you are

[android-developers] Why the method IWindowManager.setRotation can't do the right thing ?

2009-07-23 Thread James
Dears: My android device doesn't do anything after I called this method,And the log tells me nothing more. If you know anything about this,Tell me,please,Thanks! Best regards! James --~--~-~--~~~---~--~~ You received this message because you are subscribed

[android-developers] Re: Why the method IWindowManager.setRotation can't do the right thing ?

2009-07-24 Thread James
PM, James 030440...@163.com wrote: Dears:     My android device doesn't do anything after I called this method,And the log tells me nothing more. If you know anything about this,Tell me,please,Thanks! Best regards! James -- Dianne Hackborn Android framework engineer hack

[android-developers] Re: Why the method IWindowManager.setRotation can't do the right thing ?

2009-07-24 Thread James
BTW,I'm using the following code: IWindowManager.Stub.asInterface(ServiceManager.getService (window)).setRotation(int xx,boolean xxx,int ); On Jul 24, 3:49 pm, James 030440...@163.com wrote: Hi,But I'm not developing a normal APP using SDK. And can you answer my question directly ? Tks

[android-developers] Re: Is there a way to control the Android phone or do a automated test using a remote PC?

2009-07-26 Thread James
For a emulator,you can telnet localhost 5554 to send instructions.As to a real device,I'm afraid you cann't do it this way; Probably you'd have to run an agent written by yourself to acchive this goal;Hope this helps! BTW,I'm also working on android software testing. On Jul 26, 11:25 am,

[android-developers] How to use jdb? Deferring breakpoint ... It will be set after the class is loaded.

2009-07-27 Thread James
I prefer to not use Eclipse, but I do like its ability to set breakpoints, query values, and step through programs. I believe that this is possible using a combination of ddms and jdb, but I have not been able to set a breakpoint. Here's what I do: 1. I start the emulator: emulator -avd

[android-developers] Re: How to use jdb? Deferring breakpoint ... It will be set after the class is loaded.

2009-07-27 Thread James
Thanks for your reply, you were absolutely right that the class rather than the filename was required. I was mislead by the fact that C-x space in emacs, which is normally used to set breakpoints, was getting the same error. So, as convenient as that feature is in gdb, if it doesn't work it's

[android-developers] Custom Dialog help!!!

2010-03-28 Thread James
Hey i'm in need of some help. I want my menu item info to create a custom dialog. Yet i appear to to be having trouble: this is in my main java file @Override public boolean onCreateOptionsMenu(Menu menu) { MenuInflater inflater = getMenuInflater();

[android-developers] Re: Custom Dialog help!!!

2010-03-29 Thread James
When I hit on the info on my menu nothing happens. On Mar 29, 9:56 pm, ~ TreKing treking...@gmail.com wrote: On Sun, Mar 28, 2010 at 6:00 PM, James jkavana...@gmail.com wrote: Hey i'm in need of some help. I want my menu item info to create a custom dialog. Yet i appear to to be having

[android-developers] Re: Custom Dialog help!!!

2010-03-29 Thread James
Hmmmh, now how do i do that :) On Mar 29, 11:29 pm, ~ TreKing treking...@gmail.com wrote: On Mon, Mar 29, 2010 at 5:13 PM, James jkavana...@gmail.com wrote: When I hit on the info on my menu nothing happens. Are you actually handling this case in onOptionsItemSelected() (that may

[android-developers] Re: Custom Dialog help!!!

2010-03-30 Thread James
Yeah i did that before i started this thread. But then i saw other threads saying that the example given was wrong On Mar 30, 1:43 pm, ~ TreKing treking...@gmail.com wrote: On Mon, Mar 29, 2010 at 6:05 PM, James jkavana...@gmail.com wrote: Hmmmh, now how do i do that :) How about reading

[android-developers] Re: Custom Dialog help!!!

2010-03-30 Thread James
I don't have any getApplicationContext() in my code On Mar 30, 7:32 pm, ~ TreKing treking...@gmail.com wrote: On Tue, Mar 30, 2010 at 1:28 PM, James jkavana...@gmail.com wrote: Yeah i did that before i started this thread. But then i saw other threads saying that the example given was wrong

[android-developers] Re: Custom Dialog help!!!

2010-03-30 Thread James
I sorted it out in the end. Thanks for your help :) On Mar 30, 7:48 pm, James jkavana...@gmail.com wrote: I don't have any getApplicationContext() in my code On Mar 30, 7:32 pm, ~ TreKing treking...@gmail.com wrote: On Tue, Mar 30, 2010 at 1:28 PM, James jkavana...@gmail.com wrote

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-04-02 Thread James
expecting it to take longer anyway!) James On Mar 31, 1:52 pm, David Scott dar...@googlemail.com wrote: It seems no one has got anything outside of the US / Canada, so it's not a problem with just a few people, it's everyone. I'm in the UK and 2-4 weeks would be Saturday for me. If they are being

[android-developers] Honeycomb keyboard responding to touch events on status bar

2011-06-07 Thread James
With the standard keyboard on my Xoom, if I touch the status bar just below the spacebar on the keyboard, the spacebar receives the touch event. How do I write code to accept touch events from the status bar like this? James -- You received this message because you are subscribed

Re: [android-developers] Honeycomb keyboard responding to touch events on status bar

2011-06-07 Thread James
it is by design, in order to increase the target area of the space bar, and it's a very nice feature. I'd just like to be able to make use of it in my own keyboard too. James -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group

Re: [android-developers] Honeycomb keyboard responding to touch events on status bar

2011-06-08 Thread James
I'm guessing that, by 'the IME', you mean the one supplied with Android is a special case, and that any third party IMEs don't get to do this? If so, please consider changing this to make it a general feature available to all IMEs. Thanks James Ots On Wednesday, 8 June 2011 00:44:25 UTC+1

[android-developers] Re: NDK Development with Objective-C 2.0

2012-09-14 Thread James
Philippe, Thank you for creating this post. If I wanted to write an app for android in entirely objective-c, could I? On Thursday, January 21, 2010 9:12:53 PM UTC-5, Philippe Hausler wrote: I had started a thread over at the android-porting group, and figured it might be a better venue

[android-developers] Re: how can i pass the complicated data from java to the native code (the c language)?

2011-10-10 Thread James
what do you mean by all the data? In android, JNI is nothing special at all. use GetFieldID to access java class members. Hope this helps! On Oct 10, 4:07 pm, 杨辉 yanghui1986...@gmail.com wrote: hi,everybody,          i have a question about jni.          it is an android project. i want to

[android-developers] How to set a socks5 proxy for the android SDK manager?

2011-10-21 Thread James
Hello everyone, I've got problem updating my android SDK, Since I need to gain access throw a socks5 proxy. But It seemed that only http proxies could be applied throw the options menu. Is there any workaround for me? Thank you! -- You received this message because you are subscribed to the

[android-developers] Is it possible to extend the Eclipse Plugin?

2011-06-29 Thread James
Hi all, can anyone tell me if it's possible to extend the Eclipse Plugin by hooking into the editing events? E.g. if I wanted to hook into the editing of nodes in the resource xml files in much the same way as the completion suggestion works? thanks, James -- You received this message because

[android-developers] Style resource parent can be specified with or without @ symbol. Bug or documentation error?

2011-07-15 Thread James
, James -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options

[android-developers] Re: about keyEvent

2012-01-18 Thread James
You've got the android sdk on hand? Look at the source code of the sample game called LunarLander would help. On Jan 18, 3:42 pm, 涛 涂 ttgdztu...@gmail.com wrote:   I am a new one to android,and I am trying to do a small game such as Tetris,I use android graphics 2d api,I have a problem,I want

[android-developers] Re: Need some help troubleshooting my app

2012-01-20 Thread James
Does the PHP page work when you use it from the web browser on your phone? On Jan 16, 5:53 pm, jp bears0...@gmail.com wrote: Can anyone help me get my app connected to my database. I want a user to enter information in the registration page and have that data update and store in mysql database.

[android-developers] How to check if wallpaper is actually visible?

2012-03-08 Thread James
I know there is the onVisibilityChanged() method in WallpaperService, however this does not get triggered when, for example, the applications menu is opened and the wallpaper is hidden behind the list of installed applications. My wallpaper responds to touch and move events, and these are getting

[android-developers] Re: Which Android Device should I buy for Testing Apps...???

2012-03-08 Thread James
If you look at this link, it shows you the most common type of device. http://developer.android.com/resources/dashboard/screens.html I can only suggest that if you want to develop for phones that having a 'normal-hdpi' device might be slightly beneficial. On Mar 6, 7:40 am, RR

[android-developers] Re: adb push error- failed to copy : OUT OF MEMORY

2011-08-18 Thread James
If it's nothing to do with file size, please change the file name: 1, ASCII characters only; 2, No space; Hope this helps! On Aug 18, 2:11 pm, yrehani yatreh...@gmail.com wrote: Hi all, I want to push a file using adb push at path /system/usr/keychars on the android emulator but I get an error

[android-developers] Re: What is Android Middleware?

2011-08-18 Thread James
I'd say, middleware is the libraries, including dalvik, bluez, opencore, etc, On Aug 18, 7:58 pm, ananya ananya.sun...@gmail.com wrote: Hi, Is Android middleware made of the libraries,runtime ? Application Middleware Kernal Is the concept I knew, Kindly clarify my doubt if Android

[android-developers] Re: 如何將寫好的檔案轉成.jar檔

2011-08-18 Thread James
put them into android source code and compile. See he SimpleJNI demo. On Aug 18, 1:29 pm, Moodkiller apcs0...@gmail.com wrote: 我想請問一下,我寫了一個類別 在類別之中用JNI調用到一些C的程式碼 當我完成後要如何把檔案打包成.jar檔呢? 那些調用的C程式碼也要打包嗎? -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: Unable to add window error in Android

2011-08-18 Thread James
public class Main extends Activity implements Runnable ??? Never do things like this please! Activity instances should *only* forked by the system, But not you. On Aug 17, 9:06 pm, Johan johan.heidbu...@gmail.com wrote: I've tried different things, but I still keep the same error:

[android-developers] Re: Android Debug Bridge hack

2011-08-18 Thread James
I think you can't. And if you finally get this, then there must be some security hole and google would fix it immediately they know it. And your app would broken by then, On Aug 17, 8:38 pm, Carl Lee ljbha...@gmail.com wrote:

[android-developers] Re: Large File Transfers from Phone to remote server

2011-08-22 Thread James
Obviously your network would not be reliable enough, So FTP is preferred, File transfer should be able to resume when you gain your connection again. One thing more, file up to 400M would cost fairly a long period of time to transfer. So pay attention to your battery. On Aug 23, 7:21 am, grndvl1

[android-developers] Re: Determining audio decoders available

2011-08-23 Thread James
Of course there is: - Intent intent = new Intent(android.content.Intent.ACTION_VIEW); Uri data = Uri.fromFile(new File(/sdcard/test.wma)); intent.setDataAndType(data, audio/wma); ListResolveInfo

[android-developers] Re: Large File Transfers from Phone to remote server

2011-08-23 Thread James
I think there's an easy way to get it work. Since both server and client side are under your control. You may mark the file transfer progress in both/either client/server side each time a package is uploaded. Say, if file transfer get interrupted after transferring total size of 5M data packages.

[android-developers] Re: Determining audio decoders available

2011-08-24 Thread James
not mean that the player is correct, nor does it mean that anything other than the player can play WMA files (e.g., via MediaPlayer) On Tue, Aug 23, 2011 at 9:10 PM, James 030440...@163.com wrote: Of course

[android-developers] Re: Determining audio decoders available

2011-08-24 Thread James
. On Aug 24, 3:34 pm, b0b pujos.mich...@gmail.com wrote: In fact want to determine if MediaPlayer supports playback of WMA. Now that I think of it, the Android background music scanner must have that info somewhere, to index files it can manage. On Aug 24, 8:38 am, James 030440...@163.com

[android-developers] Re: How to exit application

2011-08-24 Thread James
Very simple. If you are sure you are done, You could just kill yourself using android.os.process.killProcess(android.os.Process.myPid()); It's the same as linux shell command kill. On Aug 24, 3:19 pm, GopalaKrishnan D gopall...@gmail.com wrote: i tried finish(); and System.exit(0); if i use

[android-developers] Error while compiling Android 2.3

2011-08-24 Thread James
OS:Ubuntu 11.04 64bit State: While I finally reached the last step of compiling android 2.3, cd ~/mydroid/android make Following is the popping up message: PLATFORM_VERSION_CODENAME=REL PLATFORM_VERSION=2.3.3

[android-developers] Overlay text and live video in Android

2011-08-24 Thread James
I need to develop an application that overlays text on the live video using Android phone camera. Who may help, information or directions? -- 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] Re: Determining audio decoders available

2011-08-24 Thread James
aha, GG! :-) On Aug 24, 11:03 pm, b0b pujos.mich...@gmail.com wrote: As it is a hack using private API it might break, sure. But I don't expect it to break before 2038 :). If it breaks it's not fatal for the app (crash). Btw above code snippet should catch Throwable to catch potential

[android-developers] Re: Application force close after change it from /system/app to /data/

2011-08-29 Thread James
When removing your application, a full uninstall is required. On Aug 26, 11:09 am, sam hrlixi...@gmail.com wrote: HI guys, I have a question: my application is installed in /system/app at first, and I run the app for a while. then I remove it from /system/app and install it via adb to

[android-developers] Re: application should not exists

2011-08-30 Thread James
It's just paused, not closed. When the call finishes and you come back. Camera would resume. This is the android way of multi-task. On Aug 29, 9:15 pm, mohanapriya mohanapr...@gloriatech.com wrote: Am in a camera and if any interruption occurs or if i need to attend the calls the application

[android-developers] Re: connection to bluetooth earpiece

2011-08-30 Thread James
You never need to do this. If you want to transfer music to earpiece, You just need to start a intent to let user enable BT and connect to the earpiece. This is the BT A2DP protocal which android already implemented. BTW, I think a normal server socket could not work for you. On Aug 30, 11:36 pm,

[android-developers] Re: Crash after adding buttons

2011-08-30 Thread James
First, I'd say log would tell everything. One thing more, Check your main.xml file again. On Aug 30, 4:02 pm, Dubler lromanowi...@gmail.com wrote: Hi, always when i add a button, there is crash and no informations why... that is my code: package org.me.nauka3; import android.app.Activity;

[android-developers] Re: Unable to open log device '/dev/log/main': No such file or directory

2011-08-30 Thread James
run the command logcat in the shell, On Aug 4, 8:35 pm, devgeeks to...@devgeeks.org wrote: Hi, I am fairly new to Android development. I was working on a simple app and it was working great in the emulator, so I decided it was time to get a device to test it on. I am just a hobbiest and

  1   2   3   4   5   6   7   8   >