[android-developers] Re: Advice on Beta Release

2009-10-15 Thread Al Sutton
At AndAppStore You can mark a release as being Alpha, Beta, or Release Candidate quality and it'll get listed in the Pre-release section. That way you can do some ramp up publicity pointing at the download as opposed to risking getting bug reports in your comments if people think its' a full relea

[android-developers] Re: Google wave invitations...?

2009-10-15 Thread westmeadboy
me too :) On Oct 16, 11:41 am, Kenneth Adam Miller wrote: > Who wants to be in Google wave? > I have 16 invitations --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, s

[android-developers] Re: Google wave invitations...?

2009-10-15 Thread Desu Vinod Kumar
HI me also One ...please... On Fri, Oct 16, 2009 at 12:08 PM, ani rudh wrote: > one for me please :) , thanks > > On Fri, Oct 16, 2009 at 12:06 PM, Evgeny V wrote: > >> Yes, please. >> Thanks, >> Evgeny >> >> On Fri, Oct 16, 2009 at 5:41 AM, Kenneth Adam Miller < >> kennethadammil...@gmail.com>

[android-developers] Re: Google wave invitations...?

2009-10-15 Thread ani rudh
one for me please :) , thanks On Fri, Oct 16, 2009 at 12:06 PM, Evgeny V wrote: > Yes, please. > Thanks, > Evgeny > > On Fri, Oct 16, 2009 at 5:41 AM, Kenneth Adam Miller < > kennethadammil...@gmail.com> wrote: > >> Who wants to be in Google wave? >> I have 16 invitations >> >> >> > > > > --

[android-developers] Re: Google wave invitations...?

2009-10-15 Thread Evgeny V
Yes, please. Thanks, Evgeny On Fri, Oct 16, 2009 at 5:41 AM, Kenneth Adam Miller < kennethadammil...@gmail.com> wrote: > Who wants to be in Google wave? > I have 16 invitations > > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to t

[android-developers] Re: Confusion about necessity to override onConfigurationChanged()

2009-10-15 Thread westmeadboy
OK thanks for explaining. So, overriding onConfigurationChanged() is for handling resource differences resulting from the configuration change rather than just redrawing the screen (using the existing resources). On Oct 16, 12:58 am, Dianne Hackborn wrote: > You are using layout managers that k

[android-developers] ADC2 Tea-Party2

2009-10-15 Thread Mobidev
Any news from your sources regarding progress/start of ADC2 Round2 Tea- Party? I’m looking forward to taste at least 50 cups of tea out of 200 that will be offered. Isn’t it taking a bit longer to review Round-1 scores? Though we are not in position to judge how complex it might get beind the sce

[android-developers] How to find out if a device has flash player

2009-10-15 Thread tomei.ninge...@gmail.com
Is there a programmatic way on Android (inside Java code, or in JavaScript code in a WebView) to determine if the device has flash player? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To

[android-developers] Re: Google wave invitations...?

2009-10-15 Thread Beowolve
I take one too, if you have some left. Thx a lot On 16 Okt., 05:41, Kenneth Adam Miller wrote: > Who wants to be in Google wave? > I have 16 invitations --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Develo

[android-developers] Re: Idle time in android?

2009-10-15 Thread pk
Also i want to add that i need to do this in the SDK build.I saw how this works in the framework code but there seems to be no way to find if the device has been idle from the released sdk apis. On Oct 15, 1:32 pm, pk wrote: > Hi, > > I have an application(service) that needs to display an activ

[android-developers] Re: SD card's write authority in Android 1.6

2009-10-15 Thread chen ji
I have tried the below skill and it works. The problem is closed. On 10月16日, 下午1时42分, chen ji wrote: > Hi, > > Current I just use Android 1.6 emulator. I am writing a simple code > which needs write one result file to SD card. But It is failed to > open one file to write (Reading is ok). I

[android-developers] Re: SD card's write authority in Android 1.6

2009-10-15 Thread Romain Guy
You need to use the permission android.permission.WRITE_EXTERNAL_STORAGE. On Thu, Oct 15, 2009 at 10:42 PM, chen ji wrote: > > Hi, > > Current I just use Android 1.6 emulator. I am writing a simple code > which needs write one result file to SD card.  But It is failed to > open one file to write

[android-developers] Re: Google wave invitations...?

2009-10-15 Thread Georgios Galyfos
yeah go ahead and send me one! can you also please send one to dimitris.dim...@gmail.com? cheers! On 10/16/09, Chad Fawcett wrote: > Yeah, sure, I'd take one. > > On Thu, Oct 15, 2009 at 11:53 PM, Kenneth Adam Miller < > kennethadammil...@gmail.com> wrote: > >> You got one too. >> >> oh wait.

[android-developers] SD card's write authority in Android 1.6

2009-10-15 Thread chen ji
Hi, Current I just use Android 1.6 emulator. I am writing a simple code which needs write one result file to SD card. But It is failed to open one file to write (Reading is ok). I tried to use C level API and Java level API but both of them are failed. Furthermore, I tried to use chmod comand i

[android-developers] ARCHOS 5: MediaPlayer create method returns null

2009-10-15 Thread n.a
Hi, my app is working perfectly and playing its music in the 1.5 and 1.6 emulators, my ADP1, and for everyone in the Android Market (at least there were no complaints). The problem is that when the app is run on the ARCHOS 5 tabled, the MediaPlayer.create(Context context, int resid) method return

[android-developers] Re: JNI problem : from c Languege call Java method

2009-10-15 Thread zhangho
very thanks. i'm already slove this problem atGetStaticMethodID() CallStaticIntMethod() method. On 10月16日, 午前7:54, Michael MacDonald wrote: > The method you are calling is not static, but you are not calling it > with an instance object.  You are calling it with the class object > instead

[android-developers] How to start a service without using any activity??

2009-10-15 Thread pink 444
Hai, My application has a background process which continuously waits on a socket for receiving messages and it should be started only once and at the time of application starting.Thus i want to do that background job in a service. The service should not be started from the activity ,

[android-developers] Gridview padding? or imageview?

2009-10-15 Thread Ivan
Hi, I'm doing the HelloViews Gridview tutorial and I ran into this problem. http://grab.by/9Vn I have a padding that I can't find where is it coming from. XML is the following: http://schemas.android.com/apk/res/android"; android:id="@+id/gridview" android:layout_width="fill_parent"

[android-developers] Re: Google wave invitations...?

2009-10-15 Thread Chad Fawcett
Yeah, sure, I'd take one. On Thu, Oct 15, 2009 at 11:53 PM, Kenneth Adam Miller < kennethadammil...@gmail.com> wrote: > You got one too. > > oh wait... they're not invitations... > just nominations > anyway, i'm sure you still want one :) > and i'm giving them > > > > On Thu, Oct 15, 2009 at 10:4

[android-developers] Re: Google wave invitations...?

2009-10-15 Thread Kenneth Adam Miller
You got one too. oh wait... they're not invitations... just nominations anyway, i'm sure you still want one :) and i'm giving them On Thu, Oct 15, 2009 at 10:49 PM, Kenneth Adam Miller < kennethadammil...@gmail.com> wrote: > ok you got it > add me to your wave. We'll work together > > > On Thu,

[android-developers] Re: Google wave invitations...?

2009-10-15 Thread Kenneth Adam Miller
ok you got it add me to your wave. We'll work together On Thu, Oct 15, 2009 at 10:44 PM, Guru wrote: > I want it.Thanks very much! > > On Fri, Oct 16, 2009 at 9:11 AM, Kenneth Adam Miller < > kennethadammil...@gmail.com> wrote: > >> Who wants to be in Google wave? >> I have 16 invitations >> >>

[android-developers] Re: Google wave invitations...?

2009-10-15 Thread Guru
I want it.Thanks very much! On Fri, Oct 16, 2009 at 9:11 AM, Kenneth Adam Miller < kennethadammil...@gmail.com> wrote: > Who wants to be in Google wave? > I have 16 invitations > > > > -- Thanks and Regards Gurudutt P.S. --~--~-~--~~~---~--~~ You received this

[android-developers] Google wave invitations...?

2009-10-15 Thread Kenneth Adam Miller
Who wants to be in Google wave? I have 16 invitations --~--~-~--~~~---~--~~ 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: Android Sim Card Needed?

2009-10-15 Thread powerbyte
yes, you can. First, insert SIM with GPRS support. Login to Google account. ( Incase problem connecting to internet, change APN Settings). Second, take out the SIM used to connect internet, use any SIM. Setup Wifi to connect internet On Oct 15, 7:44 pm, pro wrote: > Could you explain a bit mo

[android-developers] Re: How to specify the maxWidth of a TextView as a percentage of screen width?

2009-10-15 Thread westmeadboy
Thanks but (though maybe I've misunderstood) isn't that for specifying the width as a percentage? I want to specify the maxWidth as a percentage. The width just needs to wrap the content (but no more than the maxWidth). On Oct 15, 10:51 pm, RichardC wrote: > Took me a while to find it, original

[android-developers] Re: ListView problem

2009-10-15 Thread Farproc
Maybe some bugs in your code or in Android framework. Post your code, let's examine. On 10月16日, 上午10时47分, 楊健 wrote: > Dears, > When I try to show a list with items and labels,I create item and > labels with different layout by inflater. > The problem is when i scroll the list ,part of the items

[android-developers] ListView problem

2009-10-15 Thread 楊健
Dears, When I try to show a list with items and labels,I create item and labels with different layout by inflater. The problem is when i scroll the list ,part of the items use the wrong layout. Why the layout changes when i scroll the list. Any hint? Best regards! --~--~-~--~~-

[android-developers] Listen from google labs

2009-10-15 Thread Andrei
How does Google do it in Listen app? Do they open local rtsp server? --~--~-~--~~~---~--~~ 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

[android-developers] sending an SMS and an e-mail.

2009-10-15 Thread sdphil
I would like to make my app send an SMS or an e-mail based on a menu item they select. However, I would like to do this in a way that's not totally automated. When the user selects one of these options, it pre-fills a bunch of data, and then allows the user to edit the content and select the des

[android-developers] Re: Test for Android SDK version? Switch code for 1.5 cupcake or 1.6 donut

2009-10-15 Thread EboMike
You can find that out with android.os.Build.VERSION, but depending on what you want to do, that sounds like a hacky way to check for availability of functions. If you're looking for the existence of a certain function, you could check that through reflection instead. On Oct 15, 5:11 pm, Brady wr

[android-developers] Re: Porting Java app to Android--the basics

2009-10-15 Thread Farproc
GUI porting can never be a easy job! Different APIs, you need rewrite almost all the GUI code IMO. Non-GUI part should be much easier, but it depends. You should do a test: 1. Create an android project 2. Reconstruct a small part of your GUI. 3. Copy some .java files related to the small GUI abov

[android-developers] Re: Android SDK 執行 Emulator 有個錯誤訊息

2009-10-15 Thread 狗尾草
eclipse确实很方便,省去很多麻烦。 2009/10/15, lucker <013...@gmail.com>: > 建议安装 Eclipse 来管理创建AVD, > > On Oct 14, 4:43 pm, 吉米栗 wrote: >> 最近嘗試要將Android開發環境裝上,試圖學習手機程式的寫法 >> 但是在裝Android SDK環境的時候卻發生 error 的訊息 >> 對英文雖不是很熟析,我還是很努力的想找到這問題的解決方式 >> 但是始終找不到 >> 希望在這邊能有高手能協助幫忙,給予指點 >> >> 我的環境 >> Windows XP >> Android SDK

[android-developers] Porting Java app to Android--the basics

2009-10-15 Thread ematog
I know Java apps can be run in Android. But what I want to know is this: I have a perfectly normal Java app and I want to port it to an android platform. What changes would I need to do to my app in terms of GUI and other code to make it usable in Android? I know Android uses XML file to control t

[android-developers] Re: Programmatically get maximum heap size?

2009-10-15 Thread fadden
On Oct 15, 7:03 am, String wrote: > Can anyone point me to an SDK call I've missed? java.lang.Runtime.maxMemory() --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, se

[android-developers] Test for Android SDK version? Switch code for 1.5 cupcake or 1.6 donut

2009-10-15 Thread Brady
Hi, is it possible at runtime to determine whether the platform is running cupcake or donut? Due to some variation in my app between the two versions I'd like to run different code based on the SDK version. Thanks! Brady --~--~-~--~~~---~--~~ You received this mes

[android-developers] paid apps

2009-10-15 Thread Andrei
For paid apps on average there is like 15 - 20% declined credit card rate, why is it so high? The message is: "The authorization of the customer's credit card failed" --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "An

[android-developers] Re: DDMS doesn't show process list on device

2009-10-15 Thread Xavier Ducrohet
I agree that it's a big confusing. Building with ant in debug/release mode is only about how the app is signed (or not signed). The manifest entry tells the VM whether the app can be debugged on non debug device builds, which is basically default builds on consumer device. The emulator is running

[android-developers] Re: can I get XML information step by step using SaxParser??

2009-10-15 Thread Stefan
hi, any ideas how i can send back my collected trackpoints if I have read 50 (the SaxParser parse 50 trackpoints in one second in my app) for example? If I use this in the startElement function,: else if (localName.equals("trkpt")) { .. if(counter%50 == 0) { gpxHandler.sendEmpty

[android-developers] downgrade to 1.5

2009-10-15 Thread Larry Chen
Upgrading to 1.6 broke my camera app. Are there any ways of downgrading to 1.5? I tried flashing factory system images on the Dev Phone but that did not work. TIA. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "

[android-developers] Re: Advice on Beta Release

2009-10-15 Thread Andrei
Publish it as beta, tell people email you any bugs, if you see problems you can Unpublish app and fix bugs, publish newer version On Oct 15, 3:57 pm, Smelly Eddie wrote: > SO i have an application that is doing pretty well on my dev. device, > and it is almost ready for prime time. > > Trouble i

[android-developers] Re: DDMS doesn't show process list on device

2009-10-15 Thread Jeremy Slade
> Just enable debugging in your own app and you'll be able to do anything > (with that app) that you'd be able to do on your 1.6-debug build device. Enabling debugging in the app (via the manifest) is evidently different from building it in debug mode? I build w/ "ant debug". I was not aware of

[android-developers] Voice dialer has stopped unexpectedly !

2009-10-15 Thread Arthur Grant
The application voice dialer process com.landroid. voice dialer has stopped unexpectedly please try again ; however when you do the same hit happens over and over again after the recent donut update. I bought a unit running android 5 version and there was an instant update on line to 6 donut v

[android-developers] My Touch Voice Dial Crash

2009-10-15 Thread Arthur
I uninstalled all the wed gets on the desktop , and I believe the problem lies in the amount of contacts the voice dial has to scan when looking up a contact. I purge all of my 1500 contacts and decreased some by a few hundred and for the time being my voice dialer on my touch seems to be working

[android-developers] Re: Help! Trying to get Basic Auth working with WebView. setHttpAuthUsernamePassword?

2009-10-15 Thread Stoffe
Hi Matt! @Override public void onCreate(Bundle savedInstanceState) { WebView webkit = (WebView) findViewById(R.id.web_view); webkit.setHttpAuthUsernamePassword(page.getHost(), realm, username, password); webkit.setWebViewClient( new WebViewClient() { @Override public

[android-developers] Re: Help! Trying to get Basic Auth working with WebView. setHttpAuthUsernamePassword?

2009-10-15 Thread Stoffe
Hi Matt! You need to do something like this: @Override public void onCreate(Bundle savedInstanceState) { WebView webkit = (WebView) findViewById(R.id.web_view); On Oct 13, 12:17 am, Croccy22 wrote: > Hi all, > > I have a WebView in my layout which I want to display a web page in. > However th

[android-developers] Re: Alarm is canceled if app is stopped

2009-10-15 Thread Dianne Hackborn
If you kill the process, it will not impact the alarms, the same as it won't impact notifications etc. What these programs are doing is using the API that is tended to force stop -everything- about the application: stop all services, cancel all alarms, remove all notifications, etc. This is all w

[android-developers] Re: JNI problem : from c Languege call Java method

2009-10-15 Thread Michael MacDonald
The method you are calling is not static, but you are not calling it with an instance object. You are calling it with the class object instead. Probably you want to make the method you are calling static. zhangho wrote: > JNI problem : from c Languege call Java > > i think from c Languege cal

[android-developers] Re: Alarm is canceled if app is stopped

2009-10-15 Thread Jason B.
When I use the method above. Even after I kill my app and service with task manager my alarms still trigger. I believe its because the AlarmManager service has been given a pending intent that will relaunch my service which handles the alarms. Both alarmmanager and the pending intent are allocat

[android-developers] Re: Logging in Android

2009-10-15 Thread jotobjects
This is still a little unclear to me. AFAIK this is a recommendation to strip out debug logging - logging is not automatically stripped? Is there a mechanism for setting the log level as with Log4J and java.util.logging and commons logging? I haven't been able to get the Log.isLoggable() method

[android-developers] Re: G1 phone with no SIM

2009-10-15 Thread pro
Not sure what you mean by Google login!. Does the data plan have to be from another google phone?. What is APN ? IIRC, U tube has some way to activate a google phone using other vendor's SIM. -pro On Oct 15, 2:01 pm, CraigsRace wrote: > You used to be able to get past it in Android 1.1, but no

[android-developers] Re: Rotating Camera Preview

2009-10-15 Thread Streets Of Boston
Thanks! Does this work for every android phone out there? On Oct 8, 6:50 am, Anirudh wrote: > Hi, > > I have figured out a way to do this. You have to set the parameter key > called "orientation" to the value "portrait" using the set() method of > CameraParameters class. > Snippet: > > Paramete

[android-developers] Re: Logging in Android

2009-10-15 Thread Yusuf Saib (T-Mobile USA)
>From >http://developer.android.com/reference/android/util/Log.html#d(java.lang.String,%20java.lang.String): "Verbose should never be compiled into an application except during development. Debug logs are compiled in but stripped at runtime. Error, warning and info logs are always kept." Yusuf

[android-developers] Re: Detect emulator

2009-10-15 Thread Wayne Wenthin
Thanks. I figure that was how I needed to do it. Already using the Android_ID so a quick change should be all I need to do. On Thu, Oct 15, 2009 at 2:43 PM, Dan Sherman wrote: > Grab ANDROID_ID from (i think) System.Settings.Secure, which will come back > with a unique phone identifier, or nu

[android-developers] Re: Detect emulator

2009-10-15 Thread Dan Sherman
Grab ANDROID_ID from (i think) System.Settings.Secure, which will come back with a unique phone identifier, or null on the emulator :) - Dan On Thu, Oct 15, 2009 at 5:38 PM, Wayne Wenthin wrote: > Is there a way to tell if you are running in the emulator? > > -- > Writing code is one of few thi

[android-developers] Re: Screen size

2009-10-15 Thread Dianne Hackborn
Because you are running in density compatibility mode. And for the most part, it is far better to get the screen size by creating your view hierarchy and seeing what size the view(s) get set to. The size you get from Display is the absolute size of the physical screen, which doesn't account for s

[android-developers] Detect emulator

2009-10-15 Thread Wayne Wenthin
Is there a way to tell if you are running in the emulator? -- Writing code is one of few things that teaches me I don't know everything. http://www.fuligin.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Androi

[android-developers] Re: SAR(Specific Absorption Rate) values of Android phones on the market

2009-10-15 Thread dave
Hi Mark, Thank you very for the link, it is very helpful. Dave On Oct 15, 3:46 pm, Mark Murphy wrote: > dave wrote: > > Marco, > > Thanks for your google suggestion. Actually I did search but found > > about 3 or 4 of them. According to the > > sitehttp://www.androphones.com/all-android-phones.

[android-developers] Re: Unable to write text file to sdcard on physical G1 device

2009-10-15 Thread Greivin Lopez
I think you only need to add the permission as suggested by androiduser mobile to be able to write to the SD Card. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group

[android-developers] Re: Programmatically get maximum heap size?

2009-10-15 Thread Azraes
Hi, I don't know if the SDK call exists or not. But maybe a work around also helps.. Here is a function in \frameworks\base\tests\AndroidTests\src\com \android\unit_tests\HeapTest.java public void testOomeLarge() throws Exception { /* Just shy of the typical max heap size so that it

[android-developers] Arabic Support

2009-10-15 Thread Badr Almalki
Is there any way to make Android supporting Arabic language at least reading the emails and the arabic websites! Thank you and best regards --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group.

[android-developers] Re: What is the difference between 'mmm' and 'mm' command

2009-10-15 Thread Yusuf Saib (T-Mobile USA)
http://www.youtube.com/watch?v=JWj1Uu7LutE >From envsetup.sh: -- mm: Builds all of the modules in the current directory. -- mmm: Builds all of the modules in the supplied directories. Yusuf Saib Android ·T· · ·Mobile· stick together The views, opinions and statements in this email are

[android-developers] Re: ListView, how do I change the orange highlight color?

2009-10-15 Thread Yusuf Saib (T-Mobile USA)
You can set it programmatically or in the XML. I generally prefer the latter: http://developer.android.com/reference/android/content/res/ColorStateList.html Yusuf Saib Android ·T· · ·Mobile· stick together The views, opinions and statements in this email are those of the author solely in their

[android-developers] Screen size

2009-10-15 Thread Sikus
Hi, is there any solution how recognize screen size? I'm using Display display = ((WindowManager) getSystemService (Context.WINDOW_SERVICE)).getDefaultDisplay(); int width = display.getWidth(); Log.i("width",""+width); but it doesn't works good. If i use HVGA in emulator it returns

[android-developers] Re: G1 phone with no SIM

2009-10-15 Thread CraigsRace
You used to be able to get past it in Android 1.1, but not so in Android 1.5 (not sure about 1.6). The easy fix is to find someone with a data plan sim and use theirs just to set up the Google login (don't forget to find out their APN details). Then give them their sim back and you're good to go

[android-developers] Re: Exception - can anyone make sense of this?

2009-10-15 Thread Tom Gibara
It's possible that you've run into this issue: http://code.google.com/p/android/issues/detail?id=2733 Tom. 2009/10/14 Neilz > > Yes, well I've worked out the error is occurring when there is no > image. The value being passed to the cursor is an image contentUri > String. Some rows in the table

[android-developers] Invitation to connect on LinkedIn

2009-10-15 Thread Luis Alberto Pérez García
LinkedIn Luis Alberto Pérez García requested to add you as a connection on LinkedIn: -- Michele, I'd like to add you to my professional network on LinkedIn. - Luis Alberto Accept invitation from Luis Alberto Pérez García http://www.linkedin.

[android-developers] Re: DDMS doesn't show process list on device

2009-10-15 Thread Xavier Ducrohet
The difference is in the ", Debug" part in the device line. Your 1.5 based device is not a debug build. This means you'll only see application that explicitly say debuggable=true in their manifest (and none of the bundled apps have it obviously) Just enable debugging in your own app and you'll be

[android-developers] Re: DDMS doesn't show process list on device

2009-10-15 Thread fadden
On Oct 14, 11:14 pm, Jeremy Slade wrote: > What am I missing here? Obviously the 1.5 device has USB debugging > enabled.  Why does it not show 'debug' in DDMS?  I'm using SDK 1.5_r2 > on linux (Ubuntu 9.04), if that makes a difference. What does "adb shell getprop ro.debuggable" show on the two

[android-developers] Re: xmlpullparser does not work

2009-10-15 Thread Stefan
thanks for your answer, i test XMLPullParser and SaxParser and i saw, that xmlpullparser and SaxParser have the same performance (sax is a little bit faster, but i thought, that the xmlpullparser will be faster in future sdks. But now I have a look to your page and this looks good. So thank you

[android-developers] Re: hello-jni example: works on emulator, not on G1

2009-10-15 Thread Mark Murphy
Jeff Schiller wrote: > Learning about the NDK and JNI today. I was able to build, install > and run the Quake demo that was ported to Android via the NDK 1.6. > Worked great. > > I then started looking at the hello-jni example. This example works > for me in the emulator, but does NOT work for

[android-developers] Re: some questions about using gdbserver and JNI libraries

2009-10-15 Thread fadden
On Oct 15, 7:08 am, Michael Richardson wrote: > (gdb) cd /build/m1 > Working directory /build/m1 >  (canonically /build/m2). > (gdb) file out/target/product/generic/symbols/system/bin/app_process > Reading symbols from /build/m2/out/target/product/generic/symbols/ > system/bin/app_process...done.

[android-developers] hello-jni example: works on emulator, not on G1

2009-10-15 Thread Jeff Schiller
Hello all, Learning about the NDK and JNI today. I was able to build, install and run the Quake demo that was ported to Android via the NDK 1.6. Worked great. I then started looking at the hello-jni example. This example works for me in the emulator, but does NOT work for me on the G1: I/Acti

[android-developers] Unable to receive AVRC Bbuetooth buttons presses on HTC Hero devices

2009-10-15 Thread Stefan
Does anyone have an idea why bluetooth AVRC buttons (play/pause FF/RW) are not recognized on HTC Hero devices. The same code works fine on G1 and MyTouch 3G phones. The code actually also correctly recognizes the WIRED headset's button press on the Hero - but the bluetooth button presses go direc

[android-developers] Re: xmlpullparser does not work

2009-10-15 Thread Smelly Eddie
Hmm. I would consider using the SAX parser, and creating a custom handler to handle the xml. I think i made that suggestion in one of your previous posts. SAX is generally acknowledged as the faster option than PULL. Not only is the above code very difficult to decipher, but it will make mainten

[android-developers] Re: Logging in Android

2009-10-15 Thread vj
I understand it is meant for filtering out "logcat" messages, but on what basis would a developer know when to use which type of API ? On Oct 15, 2:50 pm, vj wrote: > What is the significance of having different "priority" levels in the > Log API ? I am referring to .e(), .d() etc. Also, cons

[android-developers] Logging in Android

2009-10-15 Thread vj
What is the significance of having different "priority" levels in the Log API ? I am referring to .e(), .d() etc. Also, considering the fact that all the priorities are going to be logged in any case, on what basis would a developer know when to use which type of API ? --~--~-~--~~---

[android-developers] Re: How to Make SDK addon ?

2009-10-15 Thread Xavier Ducrohet
Look at http://android.git.kernel.org/?p=platform/vendor/sample.git;a=summary Xav On Thu, Oct 15, 2009 at 2:59 AM, seagal wrote: > > i have been searching for how to make Android SDK addon > but could find any resource about it. > is there any document telling how to make an addon? > > > > -

[android-developers] Advice on Beta Release

2009-10-15 Thread Smelly Eddie
SO i have an application that is doing pretty well on my dev. device, and it is almost ready for prime time. Trouble is I am only one man, so I would like to release the application under a beta release to work out any prominent bugs with a more strenuous workout. So I was thinking; * Just rele

[android-developers] Re: A new way to link to apps from the web & twitter - drdmkt.com

2009-10-15 Thread G
That (phones without Google's Market) is an issue I haven't quite worked out. I think you're right that it wouldn't be in the user agent but if theres some way I could detect the resulting error on the web page, then i could handle it differently (although I don't think this is possible due to the

[android-developers] Re: xmlpullparser does not work

2009-10-15 Thread Stefan
I have forgot the gpx/xml-file: http://www.w3.org/2001/XMLSchema-instance"; xmlns="http://www.topografix.com/GPX/1/1"; version="1.1" creator="Stefan Dahmen" xsi:schemaLocation="http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd";> HUHU

[android-developers] Re: Pass object from an activity to another?

2009-10-15 Thread Sponge
i think normaly by small objects to pass between activities ( like a string or an integer) i would also use the putExtras of the intent. But if you want to pass an own object of type ClassX i first tried to use the putExtras(Serializible myObject) and this works if you only want to display it, but

[android-developers] Re: SAR(Specific Absorption Rate) values of Android phones on the market

2009-10-15 Thread Mark Murphy
dave wrote: > Marco, > Thanks for your google suggestion. Actually I did search but found > about 3 or 4 of them. According to the site > http://www.androphones.com/all-android-phones.php, > there are about 20 devices on the market or would be pushed out soon > (supposed they have already passed

[android-developers] android.provider.Settings.System.AUTO_TIME

2009-10-15 Thread Hao
I am trying to use android.provider.Settings.System.getInt and putInt to enable and disable network time as follows: android.provider.Settings.System.putInt(getContentResolver(), android.provider.Settings.System.AUTO_TIME, 1); However this does not seem to be working, does anyone have some advic

[android-developers] Re: A new way to link to apps from the web & twitter - drdmkt.com

2009-10-15 Thread Lance Nanek
Neat idea! What does it do for Android devices that don't have Google's Market app? That information probably isn't in the user agent header... On Oct 15, 2:28 pm, G wrote: > So last week I wanted to send a friend of mine a link to an app. I > quickly realized that while I could create a "market

[android-developers] xmlpullparser does not work

2009-10-15 Thread Stefan
Hello, i have a thread, where i want to parse an gpx (xml) file. But it does not work. My Thread and XmlPullParser looks like: getWpt = new Thread (new Runnable () { @Override public void run() {

[android-developers] Re: SAR(Specific Absorption Rate) values of Android phones on the market

2009-10-15 Thread dave
Marco, Thanks for your google suggestion. Actually I did search but found about 3 or 4 of them. According to the site http://www.androphones.com/all-android-phones.php, there are about 20 devices on the market or would be pushed out soon (supposed they have already passed the FCC test). I think s

[android-developers] Re: Want to use 2 WVGA screens while viewing a html page in web-browser application

2009-10-15 Thread Mark Murphy
nikhil wrote: > Hi , > > We have ported Android on our Devolopment Board and are able to do the > Web Browsing . > We have 2 WVGA screens on our Devolopment Board . We wanted to know > if it possible for us to use the second screen when using the web > browser to display large web pages . > (Us

[android-developers] Re: A new way to link to apps from the web & twitter - drdmkt.com

2009-10-15 Thread String
Nice. I like it, and look forward to adding it to my apps' sites. String On Oct 15, 7:28 pm, G wrote: > So last week I wanted to send a friend of mine a link to an app. I > quickly realized that while I could create a "market://search? > q=pname:" URL and maybe even shrink it with bit.ly so tha

[android-developers] Re: Unable to write text file to sdcard on physical G1 device

2009-10-15 Thread androiduser mobile
Hi Mark, we did try these but no luck. We tried with same SD card what I am using. No formatting issue. Thanks, Android user On Oct 15, 10:49 am, Mark Murphy wrote: > androiduser mobile wrote: > >         File directory = new File > > (Environment.getExternalStorageDirectory().getPath()+"/down

[android-developers] Re: Memory leak or feature

2009-10-15 Thread Romain Guy
You can also use DDMS to trigger a GC manually on any process you want. On Thu, Oct 15, 2009 at 12:04 PM, jotobjects wrote: > > java.lang.System.gc() > > On Oct 15, 11:22 am, RickGillaspy wrote: >> Is there a way to know the process has GCed?  or to force a GC for >> this process? >> >> On Oct

[android-developers] Re: Memory leak or feature

2009-10-15 Thread jotobjects
java.lang.System.gc() On Oct 15, 11:22 am, RickGillaspy wrote: > Is there a way to know the process has GCed?  or to force a GC for > this process? > > On Oct 15, 12:56 pm, Dianne Hackborn wrote: > > > If you press back and let the system finish the activity, all references to > > it will be go

[android-developers] Re: - Feature Requests -

2009-10-15 Thread Disconnect
None of these can be fixed by application developers using the SDK. For 1, you need to ask sprint (its "Sprint Nav" right? So they wrote it..) and for 2, you need to ask on -platform or ask HTC directly. On Thu, Oct 15, 2009 at 11:47 AM, B-ry wrote: > > Request 1: I made this request to HTC but

[android-developers] Re: this.getApplication() returns NULL pointer

2009-10-15 Thread jotobjects
Does "this" refer to the OnClickListener button listener object? Often this is an inner member class of the activity so it would work if you take the "this." off. But you seem to have something a little more complicated going on. Maybe we need to see the OnClickListener code. On Oct 15, 9:59 am

[android-developers] Re: Pass object from an activity to another?

2009-10-15 Thread Yusuf Saib (T-Mobile USA)
Before you call startActivity with an Intent, first put extra into into it with Intent.putExtras: http://developer.android.com/reference/android/content/Intent.html#putExtras(android.os.Bundle) Yusuf Saib Android ·T· · ·Mobile· stick together The views, opinions and statements in this email are

[android-developers] - Feature Requests -

2009-10-15 Thread B-ry
Request 1: I made this request to HTC but they said to try here as well. My Iphone TomTom gps used to fade back to itunes when it was not activly speaking. I use the bluetooth on my mazda 3 for music and routing instead of owning an exspensive NAV system. Please enable the Sprint Nav to do so. Thi

[android-developers] Enabling SVG in Android's Webkit

2009-10-15 Thread Jeff Schiller
Can anyone point me to instructions on how to enable SVG support when building Webkit for Android? I saw an earlier thread from back in March about SVG being slow for the UI of apps, but I'd like to experiment with web content containing SVG, DOM manipulations, etc to see what the speed is like.

[android-developers] Looking to network to find an Android Developer for a project in San Jose, CA

2009-10-15 Thread Aaron Schneickert
Hello, How are you? I was hoping you might be able help me out. Our client has a need for an Android Developer for a contract/contract-to-hire project. They are looking for someone to develop the Android RIL. If you know of someone who might be interested, please let me know. I can forward over ad

[android-developers] Want to use 2 WVGA screens while viewing a html page in web-browser application

2009-10-15 Thread nikhil
Hi , We have ported Android on our Devolopment Board and are able to do the Web Browsing . We have 2 WVGA screens on our Devolopment Board . We wanted to know if it possible for us to use the second screen when using the web browser to display large web pages . (Usually we scroll down , but we

[android-developers] Possible to hide the virtual keyboard if a certain key is pressed? (EditText)

2009-10-15 Thread Tor
Hello, I am wondering if it is possible to hide the virtual keyboard once a specific key has been entered (Enter, say). I thought perhaps I could use an onKeyDown event somehow, but not sure how to bind this to e.g. a listener. Regards, Tor --~--~-~--~~~---~--~~

[android-developers] Re: Memory leak or feature

2009-10-15 Thread RickGillaspy
Is there a way to know the process has GCed? or to force a GC for this process? On Oct 15, 12:56 pm, Dianne Hackborn wrote: > If you press back and let the system finish the activity, all references to > it will be gone, so though your process is there after it GCs the resources > (views etc) a

  1   2   >