[android-developers] Re: Synchronizing Maps and Map Overlays - ConcurrentModificationException

2008-12-29 Thread Peter Stevenson
Peter Wrote: com.google.android.maps.MyLocationOverlay Please note if MyLocationOverlay is a Class in Android Peter DMT wrote: > Let me guess... r u invoking your code from *within* your custom > MyLocationOverlay code ? > > I had the same Java exception as you until I moved my overlay

[android-developers] Re: Problem while creating a new file

2008-12-29 Thread Ashok Kumar
hi,Thanks for your quick responses Now iam trying to create new file in the below ways: Still Iam not able to create the file 1) File testFile = new File(this.getCacheDir(),"aaa.txt"); if (!testFile.exists()) { System.out.println("--File does not exist: "); } 2) String filePath1

[android-developers] Re: Why the webkit just send to plugin 20 bytes through NPP_Write

2008-12-29 Thread Tang Sam
1.0 no plugin support. 1.1 has. So you must start from 1.1. 2008/12/29 qvark > > Hi Slacker, > > I'm very interested in developing a plugin for the Android browser, > but I have no clue about where to start. Would you be so kind to give > me some tips or point out some documentation to me? > >

[android-developers] Re: Capture and Playback

2008-12-29 Thread Lei
Thank you On Dec 30, 12:54 am, Dave Sparks wrote: > There is no support for javax.sound in Android and there are no plans > to support it. We will have support for streaming audio in a future > release. > > On Dec 29, 1:11 am, Lei wrote: > > > I'm stuck on this. > > Help me please. > > > On Dec

[android-developers] Re: OpenGL texture is upside down

2008-12-29 Thread Tom H
I just checked TriangleRenderer.java in the API demos (API Demos / Graphics / OpenGL ES / Textured Triangle). It's upside down too. On Dec 29, 5:38 pm, Tomei Ningen wrote: > I think Android wants texture to use upper-left as the origin. Have you > checked API demo? > > --- On Sun, 12/28/08, To

[android-developers] Re: OpenGL texture is upside down

2008-12-29 Thread Tom H
I just checked TriangleRenderer.java in the API demos (API Demos / Graphics / OpenGL ES / Textured Triangle). It's upside down too. On Dec 29, 5:38 pm, Tomei Ningen wrote: > I think Android wants texture to use upper-left as the origin. Have you > checked API demo? > > --- On Sun, 12/28/08, To

[android-developers] Re: Debugging on actual G1

2008-12-29 Thread ramsingh. tanwar28
On 12/30/08, chrispix wrote: > > > Yes, It shows up in in DDMS, I can browse the file system, upload new > applications, etc. > When I go to debug mode the phone is just waiting on Debugger. > > Application myTest (process com.froogloid.android.myTest) is waiting > for the debugger to attach. > >

[android-developers] Re: Debugging on actual G1

2008-12-29 Thread chrispix
Yes, It shows up in in DDMS, I can browse the file system, upload new applications, etc. When I go to debug mode the phone is just waiting on Debugger. Application myTest (process com.froogloid.android.myTest) is waiting for the debugger to attach. Here is output : 12-29 23:11:08.692: DEBUG/Andr

[android-developers] Re: TextView Under Growing ListView

2008-12-29 Thread Moto
Thanks for your help! It solved my issue and also helped me understand a lot better how Layouts work... Moto --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send emai

[android-developers] Re: Emulator is not able to connect to network

2008-12-29 Thread yukinoba
to dear David, You're right. It's actually a proxy problem at all. In the cupcake version, you need to set proxy through the following steps: 1) adb shell 2) cd /data/data/com.android.providers.settings/databases 3) sqlite3 settings.db 4) INSERT INTO secure VALUES(99,'http_proxy',':'); I have no

[android-developers] Re: Where could I get an ADT 0.9.0?

2008-12-29 Thread yukinoba
to dear Kenny, I have solved this problem by taking a build sequence to the ADT source code under the newly released cupcake device code, and thanks for your concern ;-) The new ADT (version 0.9.0) is under the //devlopment/tools/eclipse/plugins/ com.android.ide.eclipse.adt , and build the plugin

[android-developers] Re: Synchronizing Maps and Map Overlays - ConcurrentModificationException

2008-12-29 Thread DMT
Let me guess... r u invoking your code from *within* your custom MyLocationOverlay code ? I had the same Java exception as you until I moved my overlay updating code OUT of my custom MyLocationOverlay class. It seems that MyLocationOverlay also maintains a handle on the overlays list, so that app

[android-developers] deviceFunctions read by javascript

2008-12-29 Thread Fred Grott(shareme)
Hello everyone, I made some changes to PhoneGap and got it working on Android, see the video of the device UUID being read via javascript: http://www.youtube.com/watch?v=3SkwQ3P4D1A Once I fully commit changes up to github it should be about 10 days after that changes show up in the main PhoneG

[android-developers] Re: No Internet Connection Sharing?

2008-12-29 Thread DSmith
No such solution exists because no such API yet exists in Android. Use tetherbot. --~--~-~--~~~---~--~~ 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@goog

[android-developers] Re: Process has died during onDestroy() of my Activity. Why?

2008-12-29 Thread Mark Murphy
j wrote: > My app calls setWallpaper inside onDestroy() of my Activity. The > method succeed with no issue about 95% of the time. However, in about > 5% of the time, the process crashed: > > I/ActivityManager( 2591): Process com.jack.moment (pid 5053) has died. > > I notice my onDestroy implem

[android-developers] Process has died during onDestroy() of my Activity. Why?

2008-12-29 Thread j
My app calls setWallpaper inside onDestroy() of my Activity. The method succeed with no issue about 95% of the time. However, in about 5% of the time, the process crashed: I/ActivityManager( 2591): Process com.jack.moment (pid 5053) has died. I notice my onDestroy implementation takes up to 7

[android-developers] No Internet Connection Sharing?

2008-12-29 Thread kristianlm
Hi! I have been in possession of a G1 for a month now and have, of course, much enjoyed it. But as we are heading off to an off-line cabin I wanted to prepare my Android to share its internet connection to my laptop: using the phone's EDGE/3G from my laptop. After a some googeling, I cannot se

[android-developers] Re: restricting EditText to certain number of characters

2008-12-29 Thread Mark Murphy
Sarath Kamisetty wrote: > I would like display EditText box but restrict the input to ten > characters/digits. If user continues typing more than 10 digits I > don't want them to be echoed at all. Any idea how to achieve this ? I > see that the width can be specified in terms of pixels and other s

[android-developers] Re: Save data between onDestory/onCreate cycles

2008-12-29 Thread Mark Murphy
Al wrote: > My app uses colour on some of the strings it writes to the TextView. > The problem I'm having is when I open/close the keyboard, I'm forced > to save the coloured data as Strings, which means it loses formatting. > The Bundle class doesn't support saving Objects so I've tried writing >

[android-developers] Re: service with a UI

2008-12-29 Thread Mark Murphy
Sarath Kamisetty wrote: > My application has two halves - one that interacts with the user and > gathers some data and stores it, the other half of it is like service > that constantly monitors and processes this data and carries out the > user specified actions in the background. How do I develop

[android-developers] restricting EditText to certain number of characters

2008-12-29 Thread Sarath Kamisetty
Hi, I would like display EditText box but restrict the input to ten characters/digits. If user continues typing more than 10 digits I don't want them to be echoed at all. Any idea how to achieve this ? I see that the width can be specified in terms of pixels and other stuff but not in terms of ch

[android-developers] service with a UI

2008-12-29 Thread Sarath Kamisetty
Hi, My application has two halves - one that interacts with the user and gathers some data and stores it, the other half of it is like service that constantly monitors and processes this data and carries out the user specified actions in the background. How do I develop this ? One approach is to

[android-developers] Re: How to use ScaleDrawable?

2008-12-29 Thread androidian
Anybody? On Dec 28, 11:57 pm, androidian wrote: > Hi, > > Can someone tell me how to use the ScaleDrawable class? In particular, > instantiating it. There is only one constructor: > > public ScaleDrawable(Drawable drawable, int gravity, float scaleWidth, > float scaleHeight) > > ...but it has

[android-developers] Save data between onDestory/onCreate cycles

2008-12-29 Thread Al
My app uses colour on some of the strings it writes to the TextView. The problem I'm having is when I open/close the keyboard, I'm forced to save the coloured data as Strings, which means it loses formatting. The Bundle class doesn't support saving Objects so I've tried writing it to a Parcel and

[android-developers] Re: DatePicker and TimePicker widgets

2008-12-29 Thread Sarath Kamisetty
but that takes up whole screen ... I am now leaning towards DatePickerDialog and TimePickerDialog widgets and provide buttons to open these dialogs. Ideally, it would be nice to have a way to shrink the TimePicker and DatePicker widgets easily. On Mon, Dec 29, 2008 at 7:15 AM, anand wrote: > > I

[android-developers] Re: Service will not stay running

2008-12-29 Thread Tomei Ningen
You can run logcat in a DOS window. That way it will keep as much log as you have disk space DOS> adb logcat > file From: bparker To: Android Developers Sent: Sunday, December 28, 2008 5:21:20 PM Subject: [android-developers] Re: Service will not stay runnin

[android-developers] Re: How to place a call from an application

2008-12-29 Thread Wah
You are right. It seems ACTION_CALL worked. Thanks! Wah On Dec 29, 11:37 am, Mark Murphy wrote: > Mobi wrote: > > Hi: > > > I tried to place a call from my application, but it always crashes > > after the following section of code: > > >     Intent intent = new Intent(Intent.ACTION_CALL_PRIVIL

[android-developers] Re: Android google groups web page -- is it broken?

2008-12-29 Thread Tomei Ningen
All my postings that I sent within the last 0.5 hour through e-mail all showed up in my in-box, as well as on the web site. I made 1 post through the web site about 0.5 hours ago. It still didn't show up. It's to this thread "OpenGL on T-Mobile G1: How to turn OpenGL on and off with SurfaceHold

[android-developers] Re: Android google groups web page -- is it broken?

2008-12-29 Thread Mark Murphy
Tomei Ningen wrote: > I am sorry if this is SPAM. I tried posting to android-developers using > the web interface. Some of my posts aren't delivered until 2 days later. > Some other posts are completely lost. > > Has anyone else seem the same problem? > > Is the answer -- "don't use google group

[android-developers] Android google groups web page -- is it broken?

2008-12-29 Thread Tomei Ningen
I am sorry if this is SPAM. I tried posting to android-developers using the web interface. Some of my posts aren't delivered until 2 days later. Some other posts are completely lost. Has anyone else seem the same problem? Is the answer -- "don't use google groups web page"? That would be kind o

[android-developers] Re: Transparent textures in OpenGL

2008-12-29 Thread Tomei Ningen
Did you use  GL10.GL_MODULATE?     gl.glTexEnvf(GL10.GL_TEXTURE_ENV, GL10.GL_TEXTURE_ENV_MODE, //GL10.GL_REPLACE GL10.GL_MODULATE ); I had the same problem before and it's fixed after making the above change. --- On Mon, 12/29/0

[android-developers] Re: OpenGL texture is upside down

2008-12-29 Thread Tomei Ningen
I think Android wants texture to use upper-left as the origin. Have you checked API demo? --- On Sun, 12/28/08, Tom H wrote: From: Tom H Subject: [android-developers] OpenGL texture is upside down To: "Android Developers" Date: Sunday, December 28, 2008, 4:33 PM Hello. I'm trying to map a te

[android-developers] Re: Strange Toast error

2008-12-29 Thread Mark Murphy
Alvin Yates wrote: > I'm using a bunch of Toast messages in my application in order for > certain services to communicate to the user. The problem seems to be, > however, that if I navigate certain parts of the app too quickly, one > of the toast messages never actually disappears, which I think

[android-developers] Re: Stack overflow - 32 deep class hierarchy

2008-12-29 Thread thesquib
Thanks for your reply Mark. I realise that the best solution is to collapse the hierarchy, however I am still interested to know the cause. On Dec 30, 9:04 am, Mark Murphy wrote: > thesquib wrote: > > I just wanted to add that I am interested in finding a way around > > this, or just to find out

[android-developers] Strange Toast error

2008-12-29 Thread Alvin Yates
I'm using a bunch of Toast messages in my application in order for certain services to communicate to the user. The problem seems to be, however, that if I navigate certain parts of the app too quickly, one of the toast messages never actually disappears, which I think may have to do with the ins

[android-developers] Re: Any updates on paid apps timeline?

2008-12-29 Thread Sven Boden
I think the answer is guessable (and no I don't work for Google)... when the android OS settles down more or less. I expect it a little while after the "cupcake" release. Currently some things are still going to break and if they would allow you to buy applications from the market, you would need t

[android-developers] Re: future app distribution on android

2008-12-29 Thread Sven Boden
I wasn't actually thinking of hardware requirements. As hypothetical example, the G1 in Germany is tweaked to the local market at version x. Android evelopment continues and version x+1 is out which is already quickly adopted in the US. Some interfaces in x+1 break the x version of apps, so you ne

[android-developers] How to download Android source code distribution in sync with Android SDK?

2008-12-29 Thread Wah
I followed the instruction here to download Android SDK android-sdk- linux_x86-1.0_r2 http://code.google.com/android/download.html I also followed the instruction here to download the latest source code release: http://source.android.com/download However, I found the two versions to be somewhat

[android-developers] Re: Stack overflow - 32 deep class hierarchy

2008-12-29 Thread Mark Murphy
thesquib wrote: > I just wanted to add that I am interested in finding a way around > this, or just to find out if it is a limitation which will not go > away. I'd focus instead on getting rid of 20+ classes in the hierarchy. -- Mark Murphy (a Commons Guy) http://commonsware.com Android Traini

[android-developers] Re: Stack overflow - 32 deep class hierarchy

2008-12-29 Thread thesquib
I posted this at the worst time of the year :) I just wanted to add that I am interested in finding a way around this, or just to find out if it is a limitation which will not go away. On Dec 24, 1:44 pm, thesquib wrote: > I have come across an interesting problem. If I have a class hierarchy >

[android-developers] Re: dealing with multiple activities

2008-12-29 Thread Andrew Stadler
This suggestion is correct- use the intent "extras" to send your own data back-and-forth to the sub-launched activity. Here are a couple of things to consider: (1) If at all possible, the sub activity should not crash if expected extras data is not found in the launching intent. (Null pointer

[android-developers] Re: When will we get root back?

2008-12-29 Thread nkijak
I tried calling T-Moblie and asked for a dev image, a unlocked image, a unlocked boot loader, root access, and/or the ability to write to the data directory/partition (I used a different term each time I got no where with customer support). It seems their standard answer is that Google writes the

[android-developers] Re: New SDK release

2008-12-29 Thread Mark Murphy
cheefrocke...@googlemail.com wrote: > Hi guys, > > when does the many bugfixes were fixed? What are the plans for the > next 2-6 Month? The only official information is: http://source.android.com/roadmap -- Mark Murphy (a Commons Guy) http://commonsware.com Android Training on the Ranch! --

[android-developers] Re: How to place a call from an application

2008-12-29 Thread Mark Murphy
Mobi wrote: > Hi: > > I tried to place a call from my application, but it always crashes > after the following section of code: > > Intent intent = new Intent(Intent.ACTION_CALL_PRIVILEGED, > Uri.fromParts( > "tel", number, null)); > intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK)

[android-developers] OpenGL texture is upside down

2008-12-29 Thread Tom H
Hello. I'm trying to map a texture on a surface, but it's showing up inverted (upside down). It works correctly in Windows OpenGL. Here are the relevant code pieces: Bitmap b = BitmapFactory.decodeResource(getResources(), R.drawable.myBitmap); ... android.opengl.GLUtils.texImage2D(GL10.GL_TEXT

[android-developers] Re: Debugging on actual G1

2008-12-29 Thread stijn.mal...@gmail.com
Have you enabled the USB debugging flag? (Settings -> Applications -> Development) On 29 dec, 06:59, chrispix wrote: > I am not sure what is wrong, but I can't seem to debug on the G1, I > can debug fine on the emulator, it runs fine on emulator with an iso > sd card loaded. It runs fine on the

[android-developers] Re: Android Dev Phone Battery life

2008-12-29 Thread victorcab
I've had a similar experience. 8 hours is normal with light use. On Dec 25, 9:51 am, albemuth wrote: > I don't know if I screwed mine up (was using it during the first > charge), these last 2 days that I've been using it a lot I get 6 hours > at best :/ > > On Dec 22, 9:50 am, Michael wrote: >

[android-developers] New to java, help needed - Distance Application

2008-12-29 Thread Stephen
Hi guys, I am new to java and am trying to learn... as a mechanical engineer i am stoked on tweaking with the accelerometer and other neat aspects to the G1/ Android. I want to make an application which, at the push of a button, record your "position" and then you move it a foot hit the button ag

[android-developers] Re: Synchronizing Maps and Map Overlays - ConcurrentModificationException

2008-12-29 Thread Tim H.
Check out this tutorial, it may help with your problem: http://blogoscoped.com/archive/2008-12-15-n14.html Tim --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send

[android-developers] jdb attach error

2008-12-29 Thread firstbread
Hi all I got a problem when I try to debug Android with jdb. The following is my steps 1、use "am -e debug true ",to start a activity 2、use"adb forward tcp:8000 jdwp:472",to bind jdwp to tcp:8000 3、use " jdb -attach localhost:8000 ",to attach jdb to tcp:8000 Then I got error messages: java.io

[android-developers] Re: future app distribution on android

2008-12-29 Thread Stephen
This is a good question, but I think that is the point of android. Software allows the same applications to be run on each phone. The front end development of android will be the same for each phone... applications will just check to verify you satisfy the requirements. For example, if a phone c

[android-developers] jdb attach error

2008-12-29 Thread 薛坤
Hi all I got a problem when I try to debug Android with jdb. The following is my steps 1、use "am -e debug true ",to start a activity 2、use"adb forward tcp:8000 jdwp:472",to bind jdwp to tcp:8000 3、use " jdb -attach localhost:8000 ",to attach jdb to tcp:8000 Then I got error messages: java.i

[android-developers] Re: how to enable internet access in emulator v1.0

2008-12-29 Thread Evil Mushroom Lord
Odd--- I didn't configure or change anything and my emulator works with the internet just fine. I can surf the web on its mini chrome browser. :) Are you sure your internet isn't working? Try opening the browser and doing a google search or something. --Evil Mushroom Lord www.evilmushroomem

[android-developers] Re: Google Dev Phone

2008-12-29 Thread Oriol Carcelle Bayona
I have the same question, can anybody tell us how to upgrade the android version of a Dev Phone 1 edition ? Thanks in advance Dev_Phone_NewB ha escrit: > I just got my google dev phone in a couple of weeks ago. I really > like the phone. But I have a couple of questions. > > 1) Is there any w

[android-developers] Re: Thought's On Android CupCake?

2008-12-29 Thread Harold
I've been searching all over for some better details on cupcake, and though i'm not a developer, i'm excited to see what it will do. I think the G1 and android is amazing, and i can only hope that one of the many feature fixes includes more consistent and secure connections to GPS satellites...ri

[android-developers] When will the Media classes be able to connect to telephone 'conversation' audio channels ?

2008-12-29 Thread StevenS
If I'm reading the API documentation correctly, neither the MediaRecorder.AudioSource nor the MediaPlayer.AudioSource can connect to the telephone conversation audio channels - eg. the TELEPHONE CONVERSATION microphone & speaker 'lines'. Both of these would be required to support advanced call h

[android-developers] Couple of questions if i may

2008-12-29 Thread MaTriXy
Hi, i have a couple of questions i can't seem to find an answer to: i. how can i get my application to be the default home handler when i install it and not needing to choose it afterwards when the home button is pressed? my idea is just to give the user a message and then release it to the real h

[android-developers] API for querying, enabling, disabling GPS service?

2008-12-29 Thread Abraham Lincoln
Does anyone know how to query status of, enable, and disable the GPS service? Thanks in advance. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to androi

[android-developers] New SDK release

2008-12-29 Thread cheefrocke...@googlemail.com
Hi guys, when does the many bugfixes were fixed? What are the plans for the next 2-6 Month? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-dev

[android-developers] Re: Android Dev Phone 1 DOA, or more correctly, DSAA

2008-12-29 Thread dbkin...@gmail.com
I got another quasi-DOA just before Christmas. The phone will run for about 1 min and then lock up. The screen usually keeps displaying the last image, but the phone will update or not respond to any input. After a lockup, holding power+home does not turn off the phone, I need to remove the batter

[android-developers] Embedding a Scrollable List in the Same Screen with other components

2008-12-29 Thread Skooter Columbo
I am pretty new to Android, and I am not really sure about the best way to implement an embedded scrollable list component on the same screen with other components, or if their is an existing component to do this with already. I have a screen which has three buttons on the left side. I would like

[android-developers] SAX parser problem: crashes on sp ecial chars like umlauts (ö, ü, ä) or ñ

2008-12-29 Thread Yannick
I am parsing xhtml sites with my SAX parser (set up similarly to here: http://www.anddev.org/parsing_xml_from_the_net_-_using_the_saxparser-t353.html): However, the whole thing crashes on special characters like ö ä or ü... How do I handle that? Do I have to tell it anything special about charac

[android-developers] Re: Japanese Providers

2008-12-29 Thread Nock
I'm using Dev phone with Softbank SIM (picked from iPhone) and it's works fine. Others reported docomo SIM also works fine. Both, you need to find out APN settings of your service contract. Au using different system, so it's won't work. On Dec 23, 12:40 pm, srwadleigh wrote: > Has anyone gotte

[android-developers] Re: Press and hold Dpad direction doesn't generate continuous events

2008-12-29 Thread andyclap...@googlemail.com
Couple of points: You shouldn't really be relying on the keyboard repeat in a game. Set a flag on the keydown, and clear it on the keyup. Check the flag periodically (in the main game loop or via a timer) to see what keys are currently held down and act accordingly. No devices have dpads yet. The

[android-developers] Re: How to view other apps

2008-12-29 Thread Evil Mushroom Lord
Well-- there may be other sites, but I ran across this one: http://www.cyrket.com/ There may be better ones out there --Evil Mushroom Lord www.evilmushroomempire.com Mushroom Wars: Wrath of the Fungi on Android now! On Dec 26, 5:43 pm, flashpro wrote: > I am just starting out in the androi

[android-developers] Re: Problem while creating a new file

2008-12-29 Thread sarwees
Ashok, you will not be able to create files to the /data directory since that is a system level directory. You can, however, create files within your application's data directory. Get a reference to the Context and use the cache directory (getCacheDir()) or the files directory (getFilesDir()). O

[android-developers] How to place a call from an application

2008-12-29 Thread Mobi
Hi: I tried to place a call from my application, but it always crashes after the following section of code: Intent intent = new Intent(Intent.ACTION_CALL_PRIVILEGED, Uri.fromParts( "tel", number, null)); intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); startActivity(intent);

[android-developers] Re: Any updates on paid apps timeline?

2008-12-29 Thread NitroDesk
True, but the most distressing part is the inability to distribute paid apps on the market, even with the possibility of charging for them offsite. I bet this keeps lots of good apps from showing up on the market, and worse still, from being developed. -Nitro On Dec 28, 12:48 pm, "Sven Boden" wr

[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 pre-relea

[android-developers] why not ship android dev phone to china mainland?

2008-12-29 Thread mawei1981
Hi,all why not ship android dev phone to china mainland? I have already paid $25 become a developer, I can pay $399 to buy it, but brightstar could not ship it to china mainland? how can I do? who can help me? --~--~-~--~~~---~--~~ You received this message bec

[android-developers] Re: Just got a G1 HELP

2008-12-29 Thread Evil Mushroom Lord
Hmmm-- this isn't really the group for this kind of question, imo. I would try: https://support.t-mobile.com/ As they would know about their sim card issues tmobile also has a support forum that you might try http://forums.t-mobile.com/tmbl/?category.id=Android Good luck! --Evil Mushroom Lord

[android-developers] No Future Support for JNI

2008-12-29 Thread Harish Pandey
JNI is working fine in the first release of Android SDK & we tested. If JNI is not supported in future releases then the Android phones will not be able to RUN lot of Application written in JSR. Currently there are so many free java apps written in JSR(e.g by using JSR135, JSR180 etc) which rely

[android-developers] phone feature abstractions to PC

2008-12-29 Thread styxGH
Hi.. I am interested in developing apps on pc's that would synchronize with the phone.. is android therefore capable of allowing me to for example abstract the calendar feature on the phone onto a widget I for example build on a PC? so I can use that feature on the PC when my phone is connected?

[android-developers] Re: DatePicker and TimePicker widgets

2008-12-29 Thread anand
Instead of horizontal orientation, try LinearLayout android:orientation="vertical" both the widgets will be displayed one above the other. hope this helps... On Dec 28, 4:53 pm, "Sarath Kamisetty" wrote: > Hi, > > I want to display DatePicker and TimePicker widgets side by side on > the screen

[android-developers] Re: How to access internet in emulator v1.0

2008-12-29 Thread anand
When I tried the emulator, it automatically picked up the internet connection that the PC has. I clicked on the browser icon in home screen, google's home page gets loaded. And I was able to search for directions and other stuff using the emulator. On Dec 28, 9:03 am, sheik wrote: > Thanks Tez..

[android-developers] Re: Clearing the WebView cache

2008-12-29 Thread Nick
I guess onStop() is the wrong place to do this. Moving the call to WebViewClient.onPageFinished fixed it. On Dec 28, 10:34 pm, Nick wrote: > Hello, > > In onCreate() I instantiate a new WebView. In onStop() I call > clearCache(true) and destroy() on the WebView. This does not seem to > be enough

[android-developers] Re: What's the usage of the card when register android market account

2008-12-29 Thread Moto
Dude Your way off topic here... And yes that card number is for your registration fee... On Dec 22, 10:08 pm, "He Yunlong" wrote: > Hi, Guys, > >         I am registering account in android market, it need a card > number, I wonder whether it's only used for pay the register fee ($25), > or it's

[android-developers] Re: GMail Client Source

2008-12-29 Thread Romain Guy
This application is not open source. On Mon, Dec 29, 2008 at 6:05 PM, Nathan Ekstrom wrote: > I'm looking for the source of the GMail Client that comes on the G1. Is it > available anywhere? > > > > > -- Romain Guy Android framework engineer romain...@android.com Note: please don't send pr

[android-developers] Re: Debugging on actual G1

2008-12-29 Thread Steve
So on Windows, be sure you've installed the driver (I had already done that). Then be sure to add "debuggable" to your manifest, or just set it to true in Eclipse's application tab for the manifest (I needed to do that). After I updated the manifest, it's working. See this -- http://code.googl

[android-developers] GMail Client Source

2008-12-29 Thread Nathan Ekstrom
I'm looking for the source of the GMail Client that comes on the G1. Is it available anywhere? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-d

[android-developers] Re: FireWall Packets in Jitter Buffer

2008-12-29 Thread Dave Sparks
This forum is for application development. Try asking your questions in android-framework. On Dec 25, 3:28 am, "m.developer.software" wrote: > Hi, > > What does "DecodeFireWallPackets( )" do in pvmf_jitter_buffer_node.cpp > and why is this requried? What is the concept behind using this? > > Ple

[android-developers] Re: Debugging on actual G1

2008-12-29 Thread Al Sutton
When you run "adb devices" on the PC does your G1 show up? Reason I ask; I still can't debug on my Vista box because although the G1 connects and the correct drivers are loaded the device is always shown as offline and so I can't do anything with it :(. Al. Steve wrote: > I am getting the sam

[android-developers] Re: Recording audio stream

2008-12-29 Thread Dave Sparks
Audio streaming will be supported in a future release. On Dec 24, 4:27 pm, "vitalii.mi...@gmail.com" wrote: > Is there any way to record audio stream and send streaming audio to > network ?? Instead of recording to file. --~--~-~--~~~---~--~~ You received this

[android-developers] Re: Capture and Playback

2008-12-29 Thread Dave Sparks
There is no support for javax.sound in Android and there are no plans to support it. We will have support for streaming audio in a future release. On Dec 29, 1:11 am, Lei wrote: > I'm stuck on this. > Help me please. > > On Dec 26, 2:23 pm, Lei wrote: > > > Hi, all > > I want to capture the aud

[android-developers] Re: Debugging on actual G1

2008-12-29 Thread Steve
I am getting the same problem On Dec 28, 9:59 pm, chrispix wrote: > I am not sure what is wrong, but I can't seem to debug on the G1, I > can debug fine on the emulator, it runs fine on emulator with an iso > sd card loaded. It runs fine on the G1, but when I go to debug it says > that it is

[android-developers] Re: What is a good way to download a webpage for offline reading?

2008-12-29 Thread Mariano Kamp
My understanding is that I can store stuff locally with gears. But this part is possible with Android in a nicer way. I was looking for the actual "download a webpage" mechanism. Cheers, Mariano On Dec 29, 2008, at 1:02 AM, Eric wrote: > > Have u hear of google gear? which is already integrat

[android-developers] Re: Turning off SetColorFilter()

2008-12-29 Thread Tom Gibara
Call ImageView.clearColorFilter() or ImageView.setColorFilter(null). Tom. 2008/12/29 Sundog > > I am terribly afraid this is a dumb question but the things I've tried > to solve it don't work. I am able to successfully apply a filter in > the PorterDuff mode I want with ImageView.SetColorFilter

[android-developers] Re: Tab Issue:

2008-12-29 Thread Mark Murphy
diya blore wrote: > Can u give more information on this tab issue.. Only if you ask specific questions. :-) Seriously, there are a number of demonstrations of tabs, in the Android SDK, on blogs, in (*cough*) books, etc. Most will use Views instead of Intents. If you have questions that are not

[android-developers] Re: Text-to-Speech for Android: Eyes-Free

2008-12-29 Thread blindfold
[Reposted because of a corrupted v0.46 APK file earlier today] The vOICe "augmented reality for the blind" app (version 0.47 beta) now includes TTS 1.2 support, and is available from http://www.seeingwithsound.com/android.htm or from the Market (multimedia section). The vOICe silently detec

[android-developers] Re: what is the widget platform Android supportted?

2008-12-29 Thread DSmith
Widget APIs are not yet available to developers. Look for it in a future Android release. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-develo

[android-developers] Re: Compass for android (orientation in 3D space)

2008-12-29 Thread DSmith
The easiest way is to use SENSOR_ORIENTATION (http://code.google.com/ android/reference/android/hardware/ SensorManager.html#SENSOR_ORIENTATION). It does all the necessary calculations on the magnetometer and accelerometer values, throws in some low-pass filtering, and spits out azimuth, pitch, a

[android-developers] Turning off SetColorFilter()

2008-12-29 Thread Sundog
I am terribly afraid this is a dumb question but the things I've tried to solve it don't work. I am able to successfully apply a filter in the PorterDuff mode I want with ImageView.SetColorFilter(), but how do I turn it back off? --~--~-~--~~~---~--~~ You received t

[android-developers] Transparent textures in OpenGL

2008-12-29 Thread Chris McCurdy
I'm currently attempting to make a game using OpenGL and all is well in the emulator. I'm using PNGs with transparencies to create the textures, and in the emulator, they show up as expected. But when I run it on the G1, all transparent areas show up as black. I've seen some reports that I need t

[android-developers] Re: Android Dev Phone Battery life

2008-12-29 Thread Steve
I keep the WiFi on in my office since the cell phone connection is terrible, and the battery lasts only 2 or 3 hours. The WiFi is a great feature but really drains the battery. So now I keep the phone plugged in at my desk. On Dec 29, 3:18 am, joshv wrote: > Yeah, I am lucky to go a full day o

[android-developers] Re: Usability question: How is user supposed to discover the menu shortcut keys?

2008-12-29 Thread loty
The real question here is do you (or your users) really need more than 6 commands? If you are struggling with the concept so will your users. Perhaps a little rethink of UI is in order. On Dec 26, 6:52 pm, j wrote: > If there are more than 6 commands, there is a "More" menu item added. > Once op

[android-developers] Re: Table implementation

2008-12-29 Thread loty
I don't know about the best way but you can easily implement it with a ListView holding a horizontal LinearLayout for example. On Dec 26, 9:48 am, "omar.salama" wrote: > Hello all, > I was asking what is the best way to implement the following UI view: > A table. Each row contains the following

[android-developers] Re: Android Dev Phone Battery life

2008-12-29 Thread Sven Boden
We need to find someone with both a regular G1 and a G1 dev phone... maybe they tweaked something to make it a real developer's phone and make it last less than a regular G1: some debug switch, or a service which is always one. But probably not ;) 2008/12/29 Shane Isbell > Less than 24 hours f

[android-developers] Re: Android Dev Phone Battery life

2008-12-29 Thread Shane Isbell
Less than 24 hours for me. On Mon, Dec 29, 2008 at 3:18 AM, joshv wrote: > > Yeah, I am lucky to go a full day on one charge. 90 minutes of web > surfing (on the bus to and from work) will easily kill an entire > charge. If I just leave the thing in standby, with wi-fi off, it > might last 2 d

[android-developers] Re: Dynamic Map Overlays

2008-12-29 Thread mscwd01
I have been able to find a hack of sorts to get this to work... somewhat. In the draw method of the overlay I do this: items.set(0, new OverlayItem(newGeoPoint, overlay.getTitle(), overlay.getSnippet())); This seems to work, however 9 times out of 10 when you tap the overlay it doesn't receive

[android-developers] Re: Problem while creating a new file

2008-12-29 Thread roland
Hi, you can only create new files on your package. That means "data/ data/your package name/tests.txt". File file = new File("data/data/com.android.createFileTest/test.txt"); if (!file.exists()) { try { file.createNewFile(); } catch (IOException e) {

  1   2   >