[android-developers] Re: Does Android 1.0 support progressive download of music and video files?

2008-10-29 Thread AndroidKid
Hi, What is MP4Box ? Can you please post sample code here ? I've executed the application for displaying static video file .mp4. Now I would like to display the dynamic video file based on user chooses. ie, 1. User selects the language of video file. 2. Then they will pick the video Ba

[android-developers] Re: How to put apk to G1 Phone

2008-10-29 Thread yasmin afrose
Hi armandalea, Thanks for your detailes guidance. But I'm unable to follow it :( . Since In my HTC p3400, Menu > Settings > Personal tab, System Tab and Connection Tab is there. Each tab has no of operation except Development(What you mentioned). My Mobile OS is "Windows Mobile 5.0 Packet PC Ph

[android-developers] Help me.... To play dynamic media(.mp4) file based on user input

2008-10-29 Thread AndroidKid
Hi All, I've executed one android application to display the static video(.mp4) file. That was working fine. Now, I would like to play the media (video) based on the language that the user chooses. Meaning, this software will send the user preferences to a server. Server will stream the conten

[android-developers] Re: About WebView setOnClickListener

2008-10-29 Thread Dikers
WidgetAbsoluteLayout contentView = null; WebView mWebView = null; contentView = new AbsoluteLayout (this); setContentView(contentView); mWebView = new WebView(this); mWebView.setWebViewClient(new SingleWebViewClient()); WebSettings

[android-developers] Re: Standard styles

2008-10-29 Thread Emery
That's a little better. Thanks =) On Oct 29, 9:18 pm, "Jeff Hamilton" <[EMAIL PROTECTED]> wrote: > You can use the them properties textAppearance[Large|Medium|Small] for > that. For example, > >     android:layout_width="wrap_content" >     android:layout_height="wrap_content" >     android:text

[android-developers] Re: Android game dev?....

2008-10-29 Thread [EMAIL PROTECTED]
bring it on :) On Oct 30, 12:48 am, "Lauren Milan" <[EMAIL PROTECTED]> wrote: > I know, I know. Likely not, but any chance someone's in the mood to > produce a few games for EXCELLENT pay on the Android framework? If > so I'd love to hear from you. > >

[android-developers] Re: Problems playing back Video

2008-10-29 Thread [EMAIL PROTECTED]
I didn't setup the audio stream at the beginning, just tried it to see if it has any effect, it didn't have any how do I use a uri to refer to a local resource in the res folder? what does error code -4 mean ? is there a list of supported video formats or something ? i know for sure now its not

[android-developers] Re: OS Details

2008-10-29 Thread parani kumar
Dear Ludwig, Thanks for your help, I will try this out. you are the one who light me as a ice breaker. -- Thanks, parani On Wed, Oct 29, 2008 at 9:36 PM, Ludwig <[EMAIL PROTECTED]> wrote: > Something like this will give you the available space on the SD card: > > StatFs stats = new StatFs("/s

[android-developers] yasmin afrose wants to chat

2008-10-29 Thread yasmin afrose
--- yasmin afrose wants to stay in better touch using some of Google's coolest new products. If you already have Gmail or Google Talk, visit: http://mail.google.com/mail/b-5a1e5eae68-b0e17c2e94-46fa9480b7437993 You'll need to cl

[android-developers] Anybody is there to help me to develop Media Player Software like Google Maps in Android..........

2008-10-29 Thread yasmin afrose
Hi All, I've executed one android application to display the static video(.mp4) file. That was working fine. Now, I would like to play the media (video) based on the language that the user chooses. Meaning, this software will send the user preferences to a server. Server will stream the content

[android-developers] Re: TabHost - Multiple Files?

2008-10-29 Thread cyntacks
Hi Mark, As I was working through this I also found a sample that does just this in the API. Posting for anyone who may come across this thread: public class Tabs3 extends TabActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceS

[android-developers] Re: Webview Zoom Picker

2008-10-29 Thread Tuan Tuong
You can try this View zc = browser.getZoomControls(); browser.addView(zc); On Oct 17, 1:17 am, RLo <[EMAIL PROTECTED]> wrote: > Hi all, > > I'm using thewebviewand would like to add functionality tozoomin > and out.  The zoompicker (used in the browser) is most natural, but > when I try to call i

[android-developers] Manual Verify of jar files?

2008-10-29 Thread jv
Hi, I was wondering if a tool exists to manually verify whether or not a certain library, possibly in the jar format is compatible with Android. I always end up getting Verify Errors in the middle of development while using certain libraries and quite unsure which portions of the libraries are cau

[android-developers] How to debug G1 on Vista 64

2008-10-29 Thread Robert Green
I'm running Vista 64 and not looking to start a holy OS war here. It's what I run and I can't change it, so "just run XP 32-bit" is not a good answer. The Windows USB driver is listed as only 32 bit and doesn't work for my OS. I tried. I'm at the tail end of developing a game and just need to w

[android-developers] how to receive binary SMS to a specific port

2008-10-29 Thread anywhere
hi all i have wrote some application to send some binary sms message to an aplicaiton with a specific port. However, the message didnot be received. smsManager.sendDataMessage("5556",null, "5", "Hello".getBytes(), pendingIntent, null); 1. the port is a random number. Is it ok, or must

[android-developers] Re: Standard styles

2008-10-29 Thread Jeff Hamilton
You can use the them properties textAppearance[Large|Medium|Small] for that. For example, -Jeff On Wed, Oct 29, 2008 at 9:15 PM, Emery <[EMAIL PROTECTED]> wrote: > > I am reading up on styling and I can't seem to find anything to define > abstract descriptive styling, rather than actual appear

[android-developers] Standard styles

2008-10-29 Thread Emery
I am reading up on styling and I can't seem to find anything to define abstract descriptive styling, rather than actual appearance. For instance in web development you typically use standard (X)HTML elements that describe the content, i.e, is the first headline, then custom styles are an aftertho

[android-developers] using OAuth in an Android application

2008-10-29 Thread Sean Sullivan
I built an Android application that uses OAuth to connect to Yahoo Fire Eagle: http://code.google.com/p/jfireeagle/wiki/Android The source code is available in the Subversion repository: http://code.google.com/p/jfireeagle/source/checkout Cheers, Sean --~--~-~--~~-

[android-developers] Re: Users reporting crashes after upgrade on Android Market

2008-10-29 Thread Kipling Inscore
You can ask your users to 0.1) Download and install Android SDK 1.0 if not already installed 0.2) Set up device for use with adb (install driver or set up udev rule). 1) Reboot the phone. 2) Run your app immediately (or after as few other apps as needed to reproduce the crash). 3) run "adb -d bugr

[android-developers] Re: Need Help..... To install android package (.apk) on HTC Touch Mobile

2008-10-29 Thread yasmin afrose
Hi, Thanks for your kind reply. So, what I'll do? Can you tell the way? Shall upgrade my OS or What I need to done to view android output in my mobile? Please reply. Thanks, Yasmin On Wed, Oct 29, 2008 at 9:53 PM, Azatoth <[EMAIL PROTECTED]> wrote: > > ...mmm... > The only missing thing is t

[android-developers] Re: Network Monitoring

2008-10-29 Thread brs
No special permissions needed as far as I know - just read them like a regular file. For example, I was using code like this for a prototype network monitoring app (I am no java expert - this is mostly cut & paste): FileReader fstream; try { fstream = new FileReader("/proc/self/net/dev"); } catc

[android-developers] The same activity run in different process?

2008-10-29 Thread Dikers
I am trying to run a activity in different process. Use the tag "Specify whether a component is allowed to have multiple instances of itself running in different processes." But it doesn't work , How can I control it? Thanks! --~--~-~--~~~---~--~~ You received

[android-developers] Notification manager problem

2008-10-29 Thread akurni
Hi, I'm trying to set a notification from my application and when a user click the notification it will open my application with the data. the notification works fine, but the my application also get launch when the notification being set. I thought the intent that I set up in pending intent will

[android-developers] G1 camera capture crashage

2008-10-29 Thread Jason Proctor
hi, i have an application which opens a Camera and then installs itself as a preview frame handler. it then logs frames to the disk, gzipping them on the way so as to keep the file size manageable. this application works like a charm under the emulator. however on the G1, all shit breaks loos

[android-developers] Apidemo MapView getting "IOException in HttpClient: host is unresolved www.google.com:80"

2008-10-29 Thread Dikers
When I run Mapview that in android ApiDemo, Some warn messages was given in Log .--- "IOException in HttpClient: host is unresolved www.google.com:80". Does anyone know what's wrong with this app, Thanks in advance! --~--~-~--~~~---~--~~ You received this message be

[android-developers] Re: going to the metal

2008-10-29 Thread Vinegar Tasters
So now that the open source is released, has anyone checked whether the firmware is also released? As you mentioned below, the open source firmware would allow one to put in the ability to load up programs compiled in C. So has this been done? If this is not done, how can the gphone compete wit

[android-developers] Re: Getting user's phone number

2008-10-29 Thread SR
I'd have to be pretty dumb to confuse my phone with the emulator, wouldn't I? I'm also using a SIM card that I've had in other phones for a long while. It might have even belonged to a different phone with a different number, before I associated my current phone number with my phone account. Co

[android-developers] Mail app from open source fails to build with SDK 1.0

2008-10-29 Thread mowgli
The mail application which gets successfully built and run in the open source emulator build fails to compile with the SDK 1.0 in eclipse. Why is that? Shouldnt they comply with SDK 1.0? Thanks, M --~--~-~--~~~---~--~~ You received this message because you are sub

[android-developers] Re: install test app on g1

2008-10-29 Thread mahadevan v
You need to sign your app. Please see: http://code.google.com/android/devel/sign-publish.html On Oct 29, 6:33 pm, mitush <[EMAIL PROTECTED]> wrote: > I went through creating the "Hello, Android" application using Eclipse > Ganymede/ADT (on Ubuntu 8.04) as described > inhttp://code.google.com/an

[android-developers] Users reporting crashes after upgrade on Android Market

2008-10-29 Thread InC
I just upgraded our app after testing it on my phone. However, all the users are reporting crashes after upgrading to newer versions. I can't seem to reproduce any crashes. Is there a way to detect what's happening and a way to debug it. Any help / pointers appreciated --~--~-~--~~---

[android-developers] Re: Anyone looking at Cell Broadcast on the G1?

2008-10-29 Thread Rob Franz
Cell Broadcast is enabled/disabled by the network operator - T-Mobile here in US doesn't enable it. I don't believe ATT Mobility does either... On Wed, Oct 29, 2008 at 8:28 PM, Selmi <[EMAIL PROTECTED]> wrote: > > can anyone who owns g1 confirm it works? > because it doesn't work on treo, as far

[android-developers] Re: Installing the SDK

2008-10-29 Thread marstein
Try oeig a commad romt i the tools directory, the start the emulator from there. The error message should hel. On Oct 28, 7:15 pm, Logical <[EMAIL PROTECTED]> wrote: > I'm having a problem installing the SDK. > > I installed the SDK, Eclipse and the ADT for eclipse. > > The first thing I tried to

[android-developers] Re: Android game dev?....

2008-10-29 Thread Claudio Veas
Would we be part of a team or just on our own? On Oct 29, 8:48 pm, "Lauren Milan" <[EMAIL PROTECTED]> wrote: > I know, I know. Likely not, but any chance someone's in the mood to > produce a few games for EXCELLENT pay on the Android framework? If > so I'd love to hear from you. > > -

[android-developers] Re: Anyone looking at Cell Broadcast on the G1?

2008-10-29 Thread Selmi
can anyone who owns g1 confirm it works? because it doesn't work on treo, as far as i know it doesnt work on iphone, so i am a bit afraid in fact no usa-made phone i had experience with supports it :( and if its not supported i will rather keep my old phone and forget about upgrading On 30.

[android-developers] Anyone looking at Cell Broadcast on the G1?

2008-10-29 Thread CyberchuckTX
Hello: Is anyone looking at the Cell Broadcast capability (if any) of the G1? Mandatory Wikipedia entry on Cell Broadcast http://en.wikipedia.org/wiki/Cell_Broadcast Cell Broadcast Forum Note: cell broadcast is NOT SMS (text messaging). It is a location- aware/specific broadcast mechanism buil

[android-developers] install test app on g1

2008-10-29 Thread mitush
I went through creating the "Hello, Android" application using Eclipse Ganymede/ADT (on Ubuntu 8.04) as described in http://code.google.com/android/intro/hello-android.html. It works both in emulator, if my production G1 is not connected, and on the G1 itself, if it is connected (thanks to http://

[android-developers] Sockets and bluetooth

2008-10-29 Thread adev
Hello Eveyone. I have a bit of a problem. It seems my code which opens a socket and connects to a website causes other bluetooth devices to fail to connect. Anyone have any ideas why this would be. Am I missing something in the sockets? Here is a snippet of code. socket=new Socket(); socket.

[android-developers] Android game dev?....

2008-10-29 Thread Lauren Milan
I know, I know. Likely not, but any chance someone's in the mood to produce a few games for EXCELLENT pay on the Android framework? If so I'd love to hear from you. LAUREN MILAN TALENT MANAG

[android-developers] Re: how to listen callee hangup call event?

2008-10-29 Thread Justin (Google Employee)
There's no way to do this. It seems like something others would be interested in, so I've passed this feedback on. Cheers, Justin Android Team @ Google On Oct 25, 11:14 pm, hex <[EMAIL PROTECTED]> wrote: > Hi: > Now ,I can use PhoneStateListener to listen some incoming call state > event. > here

[android-developers] Re: How to put apk to G1 Phone

2008-10-29 Thread [EMAIL PROTECTED]
They forget to mention that the "Applications" menu is actually under settings--then you will be able to find the development and usb debugging. As for #3, you have to download the usb-android file to your computer & unzip it. When you plug your phone to computer via usb, you should be able to r

[android-developers] Re: ArrayAdapter

2008-10-29 Thread Emery
I implemented the async incoming data on a separate thread which adds the items to a Vector that is connected to the view through my custom adapter (inherits BaseAdapter). When new items come in the list does not update, unless I scroll it with my finger to signal a redraw. I tried lots of things.

[android-developers] Re: Taking Camera Pictures in app

2008-10-29 Thread Christine
On Oct 29, 9:22 pm, Alvin Yates <[EMAIL PROTECTED]> wrote: > I suppose if there was a way to fake a key press inside the app for > the shutter I could test it and see if it works (Like, 4 translating > into the camera button). I don't know how you can fake a key press, I use the space bar as t

[android-developers] differences between emulator (1.0rc1) and actual device (g1)

2008-10-29 Thread Selmi
did anyone noticed any differences? in my case i have application which on emulator works perfectly, it has list of checkboxes and when i check any of them it stay checked etc, on real device sometimes when i check one of them other one gets checked too. similar things also happen when list is

[android-developers] Re: Enabling audio in emulator

2008-10-29 Thread Selmi
i had same problem, but when i used lsof to find out what is accessing /dev/snd i found that nothing does..so i don't know what could block soundcard emulator -audio oss fixed problem for me also i found that if i have rhytmbox playing and i close emulator it kills sound and make rhytmbox freeze

[android-developers] What requires android.permission.SET_WALLPAPER_HINTS ?

2008-10-29 Thread j
What API requires android.permission.SET_WALLPAPER_HINTS ? Also, is there a way to detect when a wallpaper has been changed by user? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post

[android-developers] Re: VerifyError with javac but not with JDT?

2008-10-29 Thread fadden
On Oct 29, 12:36 am, Jason Proctor <[EMAIL PROTECTED]> wrote: > i ran into something similar compiling the > as-yet-unreleased-for-some-reason version 1.4 of the apache commons > codec stuff. i wanted it to get the streaming versions of the Base64 > codec, but it was not to be. compiled and worked

[android-developers] Re: Problems playing back Video

2008-10-29 Thread Justin (Google Employee)
> mp.setAudioStreamType(2); You should be using a constant here from http://code.google.com/android/reference/android/media/AudioManager.html , I'm guessing AudioManager.STREAM_MUSIC Additionally, do you even need to set this? Finally, try using http://code.google.com/android/reference/android/

[android-developers] popup menus woes

2008-10-29 Thread skink
hi, i registred [registerForContextMenu()] a child of some Dialog. i perform long click, onCreateContextMenu is called and populated with some MenuItems. then populated popup menu is shown, and then i press some item but onContextItemSelected is NOT called. when i registered some other View (n

[android-developers] Re: listview scrollbar fade out

2008-10-29 Thread Romain Guy
It is a change in SDK 0.9 and 1.0 indeed. There is no support for fading scrollbars currently and there's no plan for supporting this in the foreseeable future. I recommend you stick with the current scrollbar model as it is consistent with the rest of the Android UI. On Wed, Oct 29, 2008 at 2:2

[android-developers] listview scrollbar fade out

2008-10-29 Thread sori
Listview shows a vertical scrollbar by default when the screen overflows. I'd like to have the scrollbar hidden and appears only when I scroll the table. How can I control it? In the old SDK(m5), if I remeber correctly, the scrollbar fades in and out by default when I touch the screen. Is this a

[android-developers] Re: Gesture detection

2008-10-29 Thread zl25drexel
Erik, I tried your codes, the onScroll and onFling method are still not being called. On Oct 11, 7:10 pm, Erik Calissendorff <[EMAIL PROTECTED]> wrote: > Hi Kingtut, > > I believe that this code should work for you, I use this solution in > my Activity: > > @Override > public boolean dispatchTou

[android-developers] Re: Text to Speech lib from Android Market

2008-10-29 Thread blindfold
Don't know either, maybe it is linked to tomorrow's UK launch, see the apps list at http://www.marketwatch.com/news/story/first-android-market-applications-revealed/story.aspx?guid={74E138FF-B2A8-4A6F-B17C-0F3FD0CAF588}&dist=hppr On Oct 29, 8:13 pm, plusminus <[EMAIL PROTECTED]> wrote: > Yes, th

[android-developers] Re: hanging up/terminating a call in an automated fashion

2008-10-29 Thread dreamerBoy
...Interesting Thanks so much for the reply. Perhaps I have misunderstood but I have some questions about this approach. i) A Broadcast receiver is a passive entity. What would be the active entity that will be generating the Intent? Remember, my code is supposed to be the one to initia

[android-developers] Re: OnApplicationStart ?

2008-10-29 Thread hackbod
DON'T disable this. Certainly not for this case, there is just absolutely no need -- look at the docs, onCreate() is called with the savedState null the first time, and non-null when the activity is being re-created from a previous instance (as happens after an orientation change). On Oct 29, 1:

[android-developers] Re: Taking Camera Pictures in app

2008-10-29 Thread Alvin Yates
Certainly do. I'm using the G1 skin, so some of the buttons seem to be disabled, like the trackball button. I suppose if there was a way to fake a key press inside the app for the shutter I could test it and see if it works (Like, 4 translating into the camera button). On Oct 28, 3:50 pm, Chris

[android-developers] Re: How firmware update thro OTA works?

2008-10-29 Thread hackbod
Hi, this newgroup is for discussion of programming apps with the SDK. On Oct 29, 10:41 am, mahadevan v <[EMAIL PROTECTED]> wrote: > Has anyone figured out how the firmware update thro OTA works? > > 1) A pending intent is triggered in android_root/packages/apps/ > Updater/ > src/com/android/updat

[android-developers] Re: Problem with the onUpdate method of an SQLiteOpenHelper

2008-10-29 Thread Frew
So I presume that no one else has seen this error? -fREW On Oct 27, 8:30 pm, Frew <[EMAIL PROTECTED]> wrote: > Ok, so everything that I've been doing with my db has been fine until > I changed it.  I made sure that the onUpgrade was right and I get > errors nonetheless.  Here is my method: > >  

[android-developers] Re: The UK Release and Internationalization

2008-10-29 Thread cyntacks
Hi Everyone, I just wanted to give this a bump. Has anyone successfully "internationalized" their application? For example, I want to determine what region the user is in (UK or US) so I can provide English or Metric units on the backend for calculations. Is this as simple as using Java's "local

[android-developers] Re: USB socket

2008-10-29 Thread j
I would also like to know if there is such API (public or private). On Oct 28, 1:13 pm, Emery <[EMAIL PROTECTED]> wrote: > Can I open a TCP connection across a USB connection with the G1? My > guess is no, since someone could use that totether. I just want the > option to use a laptop as an input

[android-developers] Re: OnApplicationStart ?

2008-10-29 Thread Michael
> Right now I am using onCreate() to create a boolean variable which > make the notification appear only when onCreate() sets the boolean > flag. That is fine mostly, my only problem with it is that onCreate() > is called when the orientation changes, which is kind of annoying. You *can* disable

[android-developers] Re: jchat4android 1.2 released!

2008-10-29 Thread alberto
Hi. I'm having problems with the visibility in jChat by using the android emulator. I can connect 2 instances of android through the jChat application to the JADE platform, but I can not be able to see that those instances are online in the jChat. They always appear as offline. I don't know if the

[android-developers] Simple game menu implementation help

2008-10-29 Thread AaronBC
I'm writing a simple game so I can learn more about android development. I need a little help designing the menu system. When you start the application you will see a simple menu: Start New Game Resume Game (Dynamically shown after a game has been started) Scoreboard Instructions About When yo

[android-developers] Re: Text to Speech lib from Android Market

2008-10-29 Thread plusminus
Yes, there had been one up, while the market was 'private'. It could be seen in some screenshots. But now I cannot find it. On Oct 29, 3:00 pm, blues <[EMAIL PROTECTED]> wrote: > I don't have the G1 yet. > But from many sources, the T2S lib is on the market. If I am not > wrong, your website andd

[android-developers] Re: Text to Speech lib from Android Market

2008-10-29 Thread blues
I don't have the G1 yet. But from many sources, the T2S lib is on the market. If I am not wrong, your website anddev.com is one of the source. Blues On Oct 29, 10:01 am, plusminus <[EMAIL PROTECTED]> wrote: > I cannot see the T2S-library on the market... am I blind? > > On Oct 29, 4:11 am, blind

[android-developers] contacts.extensions

2008-10-29 Thread Tughi
Hi guys, I'm trying to extend the contacts by adding additional fields to contacts.people using contacts.extensions. My only problem is that have no idea how to query the contacts.people using a join with contacts.extensions. I'm not trying to modify/extend the contacts provider. One very very ug

[android-developers] Re: Network Monitoring

2008-10-29 Thread blues
Can we read from Java? Any permission is required? Blues On Oct 29, 4:34 am, brs <[EMAIL PROTECTED]> wrote: > You could try to read > > /proc/self/net/dev > /proc/self/net/snmp > > to get interface and protocol level stats. I guess since this is not > part of the public API, there is not guarant

[android-developers] Re: Getting user's phone number

2008-10-29 Thread Hong
i got my real number, u sure u running it in your real G1, not the emulator? with "android.permission.READ_PHONE_STATE" permission of course. On Wed, Oct 29, 2008 at 3:16 AM, SR <[EMAIL PROTECTED]> wrote: > > I second this. On the G1, it returns a bogus phone number (somewhat > similar to that o

[android-developers] Re: Android Emulator

2008-10-29 Thread Douglas Oviche
Hi David, thanks a lot for your answer but the solution was differen, in fact I am thinking to put an issue about this, here is the solution to my problem. Because I am running Android on Linux Ubuntu, for us to be able to redirect traffic from one port to another you cannot use the redir within t

[android-developers] Re: chmod unexpected permission error when logged into an actual device

2008-10-29 Thread Mark Murphy
surferdude wrote: > I want to take the source code from > source.android.com, build it and flash it on to my device, so I can > have superuser privileges instead of being restricted by Google/T- > Mobile. Whether the G1 accepts replacement firmware, and the process for doing them, is a hardware

[android-developers] Spinner setSelection(int) problem

2008-10-29 Thread bryan
Hi all, I have a spinner in a dialog. Calling spinner.setSelection(int) correctly sets the spinner just after opening the app. If I reopen the dialog after making another spinner.setSelection(int) call, the spinner shows the first item regardless of the selection being set, BUT... clicking on the

[android-developers] Re: Implementing a custom Suggestions Provider

2008-10-29 Thread shotwave
Thank you! I will totally try it On Oct 28, 6:29 am, skink <[EMAIL PROTECTED]> wrote: > On 28 Paź, 11:15, skink <[EMAIL PROTECTED]> wrote: > > > > > On 26 Paź, 23:41, shotwave <[EMAIL PROTECTED]> wrote: > > > > Hi, I am trying to implemente a customsuggestionproviderwhich will > > > allow to prom

[android-developers] Re: chmod unexpected permission error when logged into an actual device

2008-10-29 Thread surferdude
You misunderstood me. I want to take the source code from source.android.com, build it and flash it on to my device, so I can have superuser privileges instead of being restricted by Google/T- Mobile. Telling your developers that root access is disabled and still calling the platform open is unacc

[android-developers] Re: OpenGL light strange behaviour

2008-10-29 Thread David Given
Steff wrote: [...] > I am playing with OpenGL and especially light in OpenGL. I have tried > to set light in the GLSurfaceView application in ApiDemos (Under > Graphics / OpenGL ES). [...] > gl.glEnableClientState(GL10.GL_VERTEX_ARRAY); > gl.glEnableClientState(GL10.GL_COLOR_ARRAY)

[android-developers] OpenGL light strange behaviour

2008-10-29 Thread Steff
Hi I am playing with OpenGL and especially light in OpenGL. I have tried to set light in the GLSurfaceView application in ApiDemos (Under Graphics / OpenGL ES). I just try to set the light as simple as I can. Therefore I just add a few lines to CubeRenderer.drawFrase so that it looks as shown be

[android-developers] Re: Text to Speech lib from Android Market

2008-10-29 Thread blindfold
I don't have G1 to check, but reports mention something called "Text- To-Speech Translator". On Oct 29, 6:01 pm, plusminus <[EMAIL PROTECTED]> wrote: > I cannot see the T2S-library on the market... am I blind? --~--~-~--~~~---~--~~ You received this message becaus

[android-developers] How firmware update thro OTA works?

2008-10-29 Thread mahadevan v
Has anyone figured out how the firmware update thro OTA works? 1) A pending intent is triggered in android_root/packages/apps/ Updater/ src/com/android/updater/PesterActivity.java where there is an overdue OTA update pending. 2) android_root/recovery/recovery.c (resides as /system/bin/recovery)

[android-developers] Re: OpenGL light strange behaviour

2008-10-29 Thread Steff
I also use: gl.glEnable(gl.GL_COLOR_MATERIAL); On Oct 29, 6:31 pm, Steff <[EMAIL PROTECTED]> wrote: > Hi > > I am playing with OpenGL and especially light in OpenGL. I have tried > to set light in the GLSurfaceView application in ApiDemos (Under > Graphics / OpenGL ES). > > I just try to

[android-developers] OpenGL light strange behaviour

2008-10-29 Thread Steff
Hi I am playing with OpenGL and especially light in OpenGL. I have tried to set light in the GLSurfaceView application in ApiDemos (Under Graphics / OpenGL ES). I just try to set the light as simple as I can. Therefore I just add a few lines to CubeRenderer.drawFrase so that it looks as shown be

[android-developers] Re: How to add a ImageButton from layout(xml)

2008-10-29 Thread Arun Mankad
Thank you mark it worked, but those buttons cannot be highlighted with that orange shade as in Normal Button, how can i achive that On Wed, Oct 29, 2008 at 7:19 PM, Mark Murphy <[EMAIL PROTECTED]>wrote: > > Arun Mankad wrote: > > Can anybody tell me How to add a ImageButton from layout(xml), I tr

[android-developers] Re: chmod unexpected permission error when logged into an actual device

2008-10-29 Thread kooscar
Justin, Thanks for your reply, I really appreciate that. However, based on your responses, is it safe to assume that Android does not allow user manipulation of the file system and admin. related behaviors aside from in/through application? Practically speaking, something as simple as chmod 777

[android-developers] Re: How to get image file from Google Chart API

2008-10-29 Thread Ludwig
I am surprised you got that far. I thought that javax.imageio was not part of Android. You should be able to do what you want like this (pseudo code): inputstream = url.openStream() bitmap = BitmapFactory.decodeStream(inputstream) Using the url http://chart.apis.google.com/chart?cht=p&chd=t:37,0,

[android-developers] Re: Need Help..... To install android package (.apk) on HTC Touch Mobile

2008-10-29 Thread gs_cmans
android SDK != J2ME -g On Oct 29, 12:10 pm, AndroidKid <[EMAIL PROTECTED]> wrote: > Hi All, > > I've executed some sample application in android using emulator. > > I bought HTC touch mobile which has Windows Mobile 5.0 OS. > > I try to run my android application within HTC touch phone, But I >

[android-developers] Re: OnApplicationStart ?

2008-10-29 Thread zl25drexel
I am in fact using a locationListener, i was overriding the onProviderDisabled method rather than onStatusChange because onStatusChange is not called when my app starts up. On the other hand, onProviderDisabled was being called too frequently (it's called every time the view is brought to foregrou

[android-developers] Re: Text to Speech lib from Android Market

2008-10-29 Thread plusminus
I cannot see the T2S-library on the market... am I blind? On Oct 29, 4:11 am, blindfold <[EMAIL PROTECTED]> wrote: > You give yet another reason why access to the Android Market apps > outside the G1 phone environment is needed. One needs such libraries > on the PC to do Android software developm

[android-developers] Playing Audio in web apps on Android

2008-10-29 Thread BikingBill
Is there a Javascript command to play audio (MP3?) on the Android Browser (T-Mobile G1). I'd like to have some sound effects on our web apps. Thank you, Bill --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android

[android-developers] Re: Any Android Suggestion Page

2008-10-29 Thread Disconnect
http://code.google.com/p/android/issues/list On Wed, Oct 29, 2008 at 11:09 AM, Oberox <[EMAIL PROTECTED]> wrote: > > Hi, > > Can anyone tell me if there is any Android Suggestion Page where I can > post suggestions. > I'm a member of AndroidForums.com and there are many very good ideas > in ther

[android-developers] Re: SDCard and SQLiteOpenHelper problem

2008-10-29 Thread Ludwig
I vaguely recall that the SQLiteOpenHelper is just for DBs that are installed in the default directory for your application. (Remember when you used it in the default location you just say "my.db" to open it not "/data/data/myapp/databases/my.db"). Ludwig 2008/10/29 wescorp <[EMAIL PROTECTED]> >

[android-developers] Re: Android Emulator

2008-10-29 Thread David Turner
you must use the 'redir' command from the emulator console (which is specific to the emulator program), i.e. with "telnet localhost 5554" then "redir " "adb shell " is used to run a command within the emulated system, and this is something very different On Wed, Oct 29, 2008 at 12:28 PM, [EMAIL P

[android-developers] Ad supported applications

2008-10-29 Thread Al Sutton
I've had a quick chat with someone at OpenX and it would appear that if you're willing to use XML-RPC to get your ads you can develop something which can make use OpenX Market to offer ad slots in your app (they have an example of using Java and XML-RPC to get ads at https://developer.openx.or

[android-developers] Re: OnApplicationStart ?

2008-10-29 Thread Ludwig
I agree with hackbod that the Application is probably the wrong place to put a user notification on any sort - I had just picked up on the general issue of doing something at application start. If you are after the status of the location provider you might want to implement the LocationListener onS

[android-developers] Re: Lunar Lander "game loop" (was: Re: [android-developers] Re: How fast is the T-Mobile G1?)

2008-10-29 Thread Robert Green
Why redraw if nothing has changed? Also - how do you know if nothing has changed if you don't check for it? :) These are the reasons the main loop is the way it is. My main loop currently looks like this: private void update() { if (!isPaused) {

[android-developers] Re: Need Help..... To install android package (.apk) on HTC Touch Mobile

2008-10-29 Thread Azatoth
...mmm... The only missing thing is that you don't run Android application in a windows mobile OS-based pda... ... On 29 Ott, 13:10, AndroidKid <[EMAIL PROTECTED]> wrote: > Hi All, > > I've executed some sample application in android using emulator. > > I bought HTC touch mobile which has Windows

[android-developers] SDCard and SQLiteOpenHelper problem

2008-10-29 Thread wescorp
Hello, I need to be able to work with databases on the sdcard. I've been using the following code snippet from the NotePad application and works perfectly on the emulator without using the sdcard. private static class DatabaseHelper extends SQLiteOpenHelper { DatabaseHelper(Context context) { s

[android-developers] Re: OnApplicationStart ?

2008-10-29 Thread zl25drexel
how do i make the custom application avaiable in the manifest? Do you have any examples? On Oct 29, 11:55 am, Ludwig <[EMAIL PROTECTED]> wrote: > Classes derived from Application have an onCreate() method that gets called > when the application (as opposed to any individual activity) gets started

[android-developers] Re: startService() fails

2008-10-29 Thread hackbod
Whatever is going on has nothing to do with AIDL, since apparently you aren't even connecting to the service. There are two service examples in API demos that you can look at for help. You should always look in the log when getting errors to see if there are more details printed about what happe

[android-developers] Any Android Suggestion Page

2008-10-29 Thread Oberox
Hi, Can anyone tell me if there is any Android Suggestion Page where I can post suggestions. I'm a member of AndroidForums.com and there are many very good ideas in there. It would be sad if the Android Developers don't get to know them. Thanks to all that helped make Android be like it is now!

[android-developers] Re: Monitoring Browser activities

2008-10-29 Thread hackbod
Sorry, this is not possible with the SDK. On Oct 29, 2:39 am, Piyush <[EMAIL PROTECTED]> wrote: > Hi, > > I would like to know if its possible to sit between Android browser > and the network layer so that I can monitor the activities of user > through browser.  It could be something similar to o

[android-developers] Re: OnApplicationStart ?

2008-10-29 Thread hackbod
You really shouldn't do this kind of thing in Application.onCreate(). This is called the first time your process is created... so after the first time your activity is run, there is really no defined time it will be called again. It may be called a lot (if there is lots going on in the device, e

[android-developers] Re: OS Details

2008-10-29 Thread Ludwig
Something like this will give you the available space on the SD card: StatFs stats = new StatFs("/sdcard"); int space = stats.getAvailableBlocks() * stats.getBlockSize(); Looking at the Build class will give you some information on the Android build and device, e.g.: String buildInfo() { StringB

[android-developers] Re: new version of 1.0?

2008-10-29 Thread Nanard
When is planned a new SDK ? (or at least a SDK 1.xxx with bug fixes, and a few more features, TTS for instance :-) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, sen

  1   2   >