[android-developers] Re: Help me to test APK file on your real device

2008-11-22 Thread Peter
Hi Ulziisaikhan, There's a (fairly) new service that enables developers to test their mobile application on a real device by a variety of different testers: http://www.testarmy.com/ If you can't obtain (or afford) a real Android device then this could be a cheap option. Regards, Peter On Oct

[android-developers] How, when do I join Android Developer Challenge II?

2008-11-22 Thread don rhummy
How do I join the second Android developer challenge? When is the deadline? --~--~-~--~~~---~--~~ 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] Fwd: Emulator crash

2008-11-22 Thread Ben Safta
Forwarding this to android-developers as I didn't get a response on android-beginners. Any suggestions appreciated. -- Forwarded message -- Hi all, I'm having a problem with the emulator on windows. Everything was running fine until about a week ago. Every time I try to run

[android-developers] Re: G1 linux

2008-11-22 Thread clark
True, but if his phone has upgraded to RC30 yet, then he could get root access and install debian alongside android which is detailed here http://www.saurik.com/id/10. Another possibility would be to hope that Android is upgraded to allow access to the bluetooth hardware through the SDK. Then

[android-developers] Re: Android and bluetooth

2008-11-22 Thread Shaopeng Chen
On Sat, Nov 22, 2008 at 2:03 AM, Mark Murphy [EMAIL PROTECTED]wrote: developer wrote: Its really surprising me that android has no support for bluetooth Android has support for Bluetooth. Android does not have APIs for developers to use Bluetooth at this time.

[android-developers] Avoiding onItemSelected calls during initialization

2008-11-22 Thread Dave Orme
I have code like: void init() { spinner.setOnItemSelectedListener(null); spinner.setAdapter(prioritiesAdapter); spinner.setSelection(task.getPriority() - 1); spinner.setOnItemSelectedListener(this); } @Override public void onItemSelected(AdapterView? parent, View v, int position, long

[android-developers] Initiating CSD connections?

2008-11-22 Thread Duval
Does anyone have information about initiating Circuit Switched Data connections from Android? I don't see any part of the API that provides this functionality, but maybe there's a character device that I can access directly on the G1? Thanks, - D

[android-developers] Anyway we can get a maps binary that works with the open source code?

2008-11-22 Thread Keith
Hi,I am running Android on my HTC Vogue/Sprint Touch to great success! A kind fellow in New Zealand named Martin has written drivers for the main hardware and is currently working on camera support. See: http://forum.xda-developers.com/showthread.php?p=2918032

[android-developers] Re: Follow this procedure to get the Map as earlier

2008-11-22 Thread Aniphex
I have created my fingerprint, got my Google Maps API and have tried to paste the code in and still have the same issue with not being able to see the map. My APIDemos MapView doesn't work either. I see the grid layer and google logo, but no map. Any suggestions? I have scoured the blog and

[android-developers] Use traceview to trace UI unrelated APIs

2008-11-22 Thread gan
Hi: I think traceview is a useful tool, when i use it to trace openVideo in VideoViewDemo on Android RI. And the video path is set to a valid one which make Video can be played successfully. I get following log(traceview -r dmtrace.trace): 3 4866 4777 5272 +

[android-developers] How, when do I join Android Developer Challenge II?

2008-11-22 Thread don rhummy
How do I join the second Android Developer Challenge? When is the deadline? --~--~-~--~~~---~--~~ 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] Binding a GridView to a provider?

2008-11-22 Thread Benny
i'm trying to bind a GridView to a collection of image thumbnails from the MediaStore provider. my impression is that i need to create a cursor via a managed query, then create an adapter from that, and assign that adapter to the GridView. can anyone show me how to do this? the documentation is

[android-developers] Re: Avoiding onItemSelected calls during initialization

2008-11-22 Thread Romain Guy
void init() { spinner.setOnItemSelectedListener(null); spinner.setAdapter(prioritiesAdapter); spinner.setSelection(task.getPriority() - 1); spinner.setOnItemSelectedListener(this); } setAdapter() is not a blocking call. The items and the selection are set in the spinner on the first

[android-developers] Eclipse repo is down?

2008-11-22 Thread Bogomil Shopov
Hi all, There is no Eclipse repo available here: https://dl-ssl.google.com/android/eclipse/ Bogo --~--~-~--~~~---~--~~ 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: missing javax audio?

2008-11-22 Thread blindfold
Thank you Dianne. The media player application source is available; I was not aware of that as I (and I guess some others too) could not find it while browsing and searching through http://android.git.kernel.org/ . Where exactly can we find it? Thanks. this discussion seems to be rooted on

[android-developers] Re: How, when do I join Android Developer Challenge II?

2008-11-22 Thread szeldon
http://code.google.com/android/adc.html At the moment that's the only thing that's known about ADC II. I think. On Nov 22, 5:57 am, don rhummy [EMAIL PROTECTED] wrote: How do I join the second Android developer challenge? When is the deadline?

[android-developers] Re: Use traceview to trace UI unrelated APIs

2008-11-22 Thread gan
Guy: Thanks for the information. About 1) I found my confusion is caused by MediaPlayer java API is invoked outside Debug.startMethodTracingstopMethodTracing. About 2) It is just what I wanted. About 3) I still have question. there are many files created by press F9. qtrace.bb qtrace.exc

[android-developers] Re: How to insure the singed file is correct?

2008-11-22 Thread Christine
adb uninstall yourapp.apk adb install yourapp.apk On Nov 22, 2:40 am, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: can we test this process on emulator ? if can do, how do it, thanks On Nov 22, 5:03 am, atrus123 [EMAIL PROTECTED] wrote: Hello, If you try and install a signed package on

[android-developers] Re: Extract some information from an APK file

2008-11-22 Thread Android Freeware
thank you for the tip Dianne! On Nov 21, 2:52 am, hackbod [EMAIL PROTECTED] wrote: Have a look at the aapt command -- it has a variety of dump sub- commands for printing individual information from the .apk. Not all of this information may currently be (easily) available through the

[android-developers] Re: missing javax audio?

2008-11-22 Thread blindfold
The media player application source is available; After wading through plenty of audio glue and interfacing code in various code branches, I think that what we meant by MediaPlayer in the discussions is mostly situated in AudioFlinger, AudioHardwareGeneric, AudioTrack and AudioRecord? I.e.,

[android-developers] Help!!the fonts width and height???Thanks!

2008-11-22 Thread SinFrancis
I have a TextView, if i want calculate how many characters in a line, must be get the textview width and the char width, then calculate the result ! Now i how the width, don't know a char width! Some one can help me??? --~--~-~--~~~---~--~~ You received this

[android-developers] Re: Java IO is super-slow in Android -- why?

2008-11-22 Thread Sunit Katkar
Phones in general do not have super fast CPUs like laptop and desktops. Android runs on a phone CPU which is not very fast. Overall you will see that programs dont necessarily run at the same speed as on a laptop. - Sunit Katkar http://sunitkatkar.blogspot.com/ - Android OS Tutorials On Fri,

[android-developers] Do you know the Android Developers

2008-11-22 Thread Noelle
Android Developers. Discuss developing Android applications using the Android framework. Get help with troubleshooting apps, advice on implementation, ...

[android-developers] commons logging - android logging

2008-11-22 Thread Jakob Sachse
I am trying to make commons-logging call the android.util.Log, therefor I have written a simple wrapper that implements the commons Log Interface. My problem is, that I allready have lots and lots of calls to org.apache.commons.logging.LogFacotry.getLog(). That method is static and I can

[android-developers] StartSubActivity in view

2008-11-22 Thread Jose Alonso
Hi all! I have a Activity with a view that it activates with the function setContentView(), i.e. the view class handles methods like onTouchEvent(), onKeyDown()... etc, and the necesary methods for move a objetct on the screen. Well, actually when the object arrives at determinate points on

[android-developers] Re: Help me to test APK file on your real device

2008-11-22 Thread Dorn Hetzel
I suppose you could also upload it to the marketplace under maybe the Demo category and name it TestMePlease :) On Sat, Nov 22, 2008 at 1:22 AM, Peter [EMAIL PROTECTED] wrote: Hi Ulziisaikhan, There's a (fairly) new service that enables developers to test their mobile application on a real

[android-developers] Re: how to inject a KeyEvent

2008-11-22 Thread Dorn Hetzel
Is that a permanent, security related, state if the droid, or is it thought that someday, with the right permissions, or between consenting applications, this would be allowed? :) On Fri, Nov 21, 2008 at 7:23 PM, Dianne Hackborn [EMAIL PROTECTED] wrote: Correct, one application can not inject

[android-developers] Re: get position of cursor in EditText

2008-11-22 Thread Alex B
Thank you so much! That is indeed the way to do it! --~--~-~--~~~---~--~~ 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] Re: StartSubActivity in view

2008-11-22 Thread Sunit Katkar
have look here, maybe this is what you are looking for http://www.anddev.org/subactivites_with_return_value_-_the_inputbox-t99.html - Sunit Katkar http://sunitkatkar.blogspot.com/ - Android OS Tutorials On Sat, Nov 22, 2008 at 7:34 AM, Jose Alonso [EMAIL PROTECTED]wrote: Hi all! I have a

[android-developers] Re: Anyone able to get streetview working?

2008-11-22 Thread JP
On Sep 30, 10:01 am, zl25drexel [EMAIL PROTECTED] wrote: Is anyone able to get streetview working? Yes, it took a little experimenting with the parameters. Here's a snippet, hope it helps - snip --- Intent myIntent = new

[android-developers] Re: missing javax audio?

2008-11-22 Thread [EMAIL PROTECTED]
The media framework code can be found in frameworks/base/media. The Packet Video OpenCore and Sonivox MIDI player are separate projects in external/opencoreand external/sonivox respectively. On Nov 22, 12:57 am, blindfold [EMAIL PROTECTED] wrote: Thank you Dianne. The media player

[android-developers] Re: Eclipse repo is down?

2008-11-22 Thread David Orriss Jr
Same thing.. which kind of figures when you note that the beginning of that URL address is *dl-SSL*.. ;) And in all seriousness.. this isn't good considering this is the home of the Android SDK plugin for eclipse.. :| On Sat, Nov 22, 2008 at 8:19 AM, Dorn Hetzel [EMAIL PROTECTED] wrote: Try

[android-developers] HttpClient and POST requests

2008-11-22 Thread fala70
Hi, I've a problem to translate follow code to org.apache.http.*; OutputStream pos = new OutputStream(); pos.writeShort(Const.INVOCATION_CODE); pos.writeInt(requestId); pos.writeString(nickname); pos.writeString(password);

[android-developers] Re: map view problem

2008-11-22 Thread Mark Dodgson
It is normally something to do with permissions especially INTERNET position and COARSE_LOCATION. They also have to be in the correct location above application statemeny I believe On 21 Nov 2008, 5:41 PM, Boris Malenšek [EMAIL PROTECTED] wrote: I have the same problem but can not solve

[android-developers] What part do I have to focus when I develope?

2008-11-22 Thread Idea and Implementation
Hi. I'm developing an android application which uses character recognition techonology. I'm currently eager to join to the android 2nd competition with my colleagues, and we have worked at 3 months on it. The application we making includeds a fucntion of character recognition but the recognition

[android-developers] Re: Help me to test APK file on your real device

2008-11-22 Thread Evgeny V
Hi! I have a similar question. f it's possible to upload apk directly from comp to device? Thanks On Sat, Nov 22, 2008 at 6:23 PM, Dorn Hetzel [EMAIL PROTECTED] wrote: I suppose you could also upload it to the marketplace under maybe the Demo category and name it TestMePlease :) On Sat, Nov

[android-developers] about open source project

2008-11-22 Thread [EMAIL PROTECTED]
Hello guys: I have used Android in Ubuntu 8.04 recently and it can work now. Besides, I also make the source code in here http://source.android.com/projects and instruction of repo sync and make have cost me lots of time. And now my question is, how should I use these source code? Run

[android-developers] Re: Help me to test APK file on your real device

2008-11-22 Thread EvgenyV
Hi! I have a similar question. f it's possible to upload apk directly from comp to device? Thanks On Nov 22, 6:23 pm, Dorn Hetzel [EMAIL PROTECTED] wrote: I suppose you could also upload it to the marketplace under maybe the Demo category and name it TestMePlease :) On Sat, Nov 22, 2008

[android-developers] Re: G1 linux

2008-11-22 Thread Aurelio Lopez
Hi Jim: Is it possible to run Openmoko SO on other hardware than Freerunner? (thinking on iPaq hx 4700). Same question would apply to Android. I think it's time to re-use old machines: better for Nature and our poor economy (i do no not care about big companies: they do care about themselves).

[android-developers] Re: Help me to test APK file on your real device

2008-11-22 Thread Mark Murphy
EvgenyV wrote: Hi! I have a similar question. f it's possible to upload apk directly from comp to device? With the SDK, you install an APK on the device the same way you install the APK on the emulator, so long as the device is plugged into the PC via the USB cable:

[android-developers] Re: Multipart Messages - Is there an example how to get them work now. (Uploading to a web API)

2008-11-22 Thread Tom
@Joe LaPenna I am trying to send multipart to google appengine as well and struggling. Do you have any specific instructions that might help? On Oct 12, 12:56 am, Joe LaPenna [EMAIL PROTECTED] wrote: By chance is the web server google app engine? Even if it isn't there is a chance your

[android-developers] Camera Question: Off on Pause?

2008-11-22 Thread joshbeck
Here is what my app does: It opens the camera. It draws a preview to a surface. Now, if the user pauses the app, is the camera still siphoning the battery? How can I make sure it is off? Thanks Josh Beck http://globedroid.com --~--~-~--~~~---~--~~ You received

[android-developers] Re: Camera Question: Off on Pause?

2008-11-22 Thread Dave Sparks
Call the release() method on the Camera object and set it to null. In onResume, create a new Camera object. On Nov 22, 1:23 pm, joshbeck [EMAIL PROTECTED] wrote: Here is what my app does: It opens the camera. It draws a preview to a surface. Now, if the user pauses the app, is the camera

[android-developers] How to Display Captured Camera Frame

2008-11-22 Thread dmanpearl
I am trying to capture a picture from the Android camera - preferrably raw, but jpg ok - and then display it on the G1 screen. My problem is that only black frames are displayed. The preview does work. This code works on the emulator, but displays a black frame on the G1 device. The emulator

[android-developers] TabHost and New Activities

2008-11-22 Thread g1bb
Hello, I've been trying to start new activities based on a TabHost using the following code: setContentView(R.layout.main); TabHost tabs = (TabHost)this.findViewById(R.id.th_set_menu_tabhost); tabs.setup();

[android-developers] Re: Eclipse repo is down?

2008-11-22 Thread David Orriss Jr
I wonder if Bogomil tried this in Eclipse or just in a browser? While you get a 404 from the browser the link works without a hitch in Eclipse... On Sat, Nov 22, 2008 at 1:31 PM, Dorn Hetzel [EMAIL PROTECTED] wrote: Well, I can tell you that a few days ago, https didn't work for me, and http

[android-developers] Re: TabHost and New Activities

2008-11-22 Thread Mark Murphy
g1bb wrote: I've been trying to start new activities based on a TabHost using the following code: setContentView(R.layout.main); TabHost tabs = (TabHost)this.findViewById(R.id.th_set_menu_tabhost); tabs.setup();

[android-developers] Re: missing javax audio?

2008-11-22 Thread E
Alright, well the gist of this is pretty clear. I'm no champion of the javax.sound API in particular, but I was happy to move my project from a MIDP target to Android, especially since the emulation and on-loading tools were much more sophisticated and open. I moved *because* the functionality I

[android-developers] Re: Camera Question: Off on Pause?

2008-11-22 Thread joshbeck
Question: By calling Camera.stopPreview(); It should also free up the Camera device, right. It's the preview that's drawing power I think. (Anyway, when I handle things that way, I am able to use other Camera apps while mine is pausede, which leads me to believe stopping the preview will

[android-developers] Re: Java IO is super-slow in Android -- why?

2008-11-22 Thread ______
Unfortunately that doesn't explain the speed problem. The processor is almost 600MHz, that means it's taking 2400 CPU cycles *per byte* on the read operation. An unbelievable overhead. Also I get 5MB/s both up and down when connecting over USB, so the O/S (which is admittedly running native

[android-developers] Re: Import Typeface from another apk?

2008-11-22 Thread Peli
Wow! Great! It works :-) Follow-up questions: 1) Is it possible to restrict other applications to access one's assets files? 2) getAssets().list() seems to list three directories by default: images, sounds, and webkit. Is there some reason behind this, or did some assets leak here that should

[android-developers] Re: Java IO is super-slow in Android -- why?

2008-11-22 Thread Tom Gibara
Your code is extremely inefficient; stick to the stream read/write methods that use byte buffers: they are much faster because they avoid the cost of a method call for each byte. And if you use those methods exclusively, dropping the BufferedInput/OutputStream is almost certain to give better

[android-developers] Re: TabHost and New Activities

2008-11-22 Thread g1bb
Gotcha, but how do I define activityGroup as a LocalActivityManager? (I assume that's what it's wanting) Sorry, I can't find much documentation on this. Thanks again. On Nov 22, 3:20 pm, Mark Murphy [EMAIL PROTECTED] wrote: g1bb wrote: I've been trying to start new activities based on a

[android-developers] Re: Help!!the fonts width and height???Thanks!

2008-11-22 Thread SinFrancis
Somebody know On Nov 22, 10:44 pm, SinFrancis [EMAIL PROTECTED] wrote: I have a TextView, if i want calculate how many characters in a line, must be get the textview width and the char width, then calculate the result !  Now i how the width,  don't know a char width! Some one can

[android-developers] Re: TabHost and New Activities

2008-11-22 Thread Mark Murphy
g1bb wrote: Gotcha, but how do I define activityGroup as a LocalActivityManager? (I assume that's what it's wanting) If you're not subclassing TabActivity, can you? If the docs are right, that should clear up your problem. Since TabActivity inherits from ActivityGroup, my guess is that the

[android-developers] Unique identifier of an instance (port number)

2008-11-22 Thread Rande Arievilo Moreira
Hi all, I'm trying to get network information using some piece of code like this: ConnectivityManager cm = ConnectivityManager)mActivity.getSystemService (mActivity.CONNECTIVITY_SERVICE); NetworkInfo netinfo = cm.getActiveNetworkInfo(); But, as reported here,

[android-developers] Problem doing the programming tutorial

2008-11-22 Thread automerc
Hello, I downloaded and set up the sdk and I was working on the Hello, Android! part of the tutorial, but I am having issues. When I ran the code nothing happens expect that a android simulator pops up in my screen. The doesn't seem to do anything and it doesn't look anything like what it should

[android-developers] Drawing lines in the whole EditText view

2008-11-22 Thread hanged_man
hi, i was reviewing the notepad application available bundled as a sample application in the sdk and in the customized EditText i was trying to achieve drawing lines on the whole screen by replacing the following code snippet: @Override protected void onDraw(Canvas canvas) {

[android-developers] Server and ServerSockets

2008-11-22 Thread Gonzalo
Hi, I'm would like to connect to android phones with raw sockets but i can't get it to work. I use the following simple code... [android activity server] package org.androidapp.threadserver; import java.io.IOException; import java.net.*; import android.app.Activity; import android.os.Bundle;

[android-developers] Drawing lines in the whole EditText view

2008-11-22 Thread hanged_man
hi, i was reviewing the notepad application available bundled as a sample application in the sdk and in the customized EditText i was trying to achieve drawing lines on the whole screen by replacing the following code snippet: @Override protected void onDraw(Canvas canvas) {

[android-developers] Re: Testing on Android device - question.

2008-11-22 Thread Josh Guilfoyle
Do you mean to load your own programs onto your phone for testing? Use the android SDK (the adb tool in particular) to do that. On Nov 22, 9:49 am, EvgenyV [EMAIL PROTECTED] wrote: All, If it's possible to downolad the application to G-1 for tests even if it still not released and not

[android-developers] Re: Problem doing the programming tutorial

2008-11-22 Thread Dorn Hetzel
When the android emulator pops up it takes a good while to boot b4 it runs your code On Nov 22, 2008 8:13 PM, automerc [EMAIL PROTECTED] wrote: Hello, I downloaded and set up the sdk and I was working on the Hello, Android! part of the tutorial, but I am having issues. When I ran the code

[android-developers] how can i reboot the device or lock the device using sdk?

2008-11-22 Thread forrestxu
Hi Guys, Please help me to solve the problem listed as below: how can i reboot the device or lock the device using sdk? Many thanks, Forrest --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group.

[android-developers] Re: how can i reboot the device or lock the device using sdk?

2008-11-22 Thread forrestxu
I used Runtime run = Runtime.getRuntime(); run.exec(reboot); to reboot the device. but i am failed. On 11月22日, 下午11时03分, forrestxu [EMAIL PROTECTED] wrote: Hi Guys, Please help me to solve the problem listed as below: how can i reboot the device or lock the device using sdk? Many

[android-developers] Re: Problem doing the programming tutorial

2008-11-22 Thread Sunit Katkar
android emulator can take upto 5 minutes or more on certain machines.. - Sunit Katkar http://sunitkatkar.blogspot.com/ - Android OS Tutorials On Sat, Nov 22, 2008 at 1:17 PM, automerc [EMAIL PROTECTED] wrote: Hello, I downloaded and set up the sdk and I was working on the Hello, Android!

[android-developers] Re: Custom background for selected Listview Items

2008-11-22 Thread for android
U need to extend the BaseAdapter...in the getView of the Adapter.. u need to set a diff backgrnd ..as per ur requirement.. On Sat, Nov 22, 2008 at 11:09 AM, AusSeattle [EMAIL PROTECTED] wrote: Hi, I am having a problem I just could not figure out how to solve. I am showing a list of items

[android-developers] Re: another new return of findViewById???

2008-11-22 Thread for android
the activity gets destroyed and again gets restarted..thats the reason.. On Wed, Nov 19, 2008 at 2:18 PM, Gameboy [EMAIL PROTECTED] wrote: I want to change content of edit text after changing orientaton, but seems I get strange problem: I use mEditor = (EditText) findViewById(R.id.editor);

[android-developers] How do i detect the click of home button?

2008-11-22 Thread for android
I want to know how do i detect the click of home button.. --~--~-~--~~~---~--~~ 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