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

2008-10-29 Thread blues
There is a free lib can be downloaded from Android Market on the G1 phone. It's developed by a google developer. Does anyone know how to use it? Any document about it? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[android-developers] Network Monitoring

2008-10-29 Thread blues
Is there a way to monitor the IP traffic? For example throughput? If not in java, can it be done through native code? I have seen some IP sniffer source code for linux. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[android-developers] Android embedded hardware

2008-10-29 Thread whitehexagon
I'm looking for some resouces/links for embedded hardware that runs Android. I've found a couple of hardware development boards such as the dotphone offering and some custom projects across the web. But these are more directed towards phone development. I'm looking for something

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

2008-10-29 Thread SR
I second this. On the G1, it returns a bogus phone number (somewhat similar to that on the emulator). Here's the code: TelephonyManager tm = (TelephonyManager) activity.getSystemService(Context.TELEPHONY_SERVICE); String phoneId = tm.getLine1Number(); I've got the following in the manifest

[android-developers] Re: ArrayAdapter

2008-10-29 Thread tauntz
Try notifyDataSetChanged() - it has no documentation but it seems to do what you want. Tauno On Tue, Oct 28, 2008 at 9:21 PM, Emery [EMAIL PROTECTED] wrote: How does the ArrayAdapter know when the array has been modified? I am using my own adapter, and I want to add items as they come in

[android-developers] Re: Issue accessing DB from SDCARD

2008-10-29 Thread Thao
Hi, Sorry for the mistake, I check again my launching option : -sdcard E: \_sources\android\filesystem\mySDCARD.ima I created my image with winImage tool, and it was formatted to FAT32. I have also tried to create some text files on the sdcard, then read it. One thing is weird : When I create

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

2008-10-29 Thread legerb
You can use a BroadcastReceiver to catch the Intent, and terminate it with abortBroadcast(). On Oct 27, 8:50 pm, dreamerBoy [EMAIL PROTECTED] wrote: Hi - I am looking for a way to terminate a call in an automated fashion. (I realize it can be done manually - the application requires that it

[android-developers] Re: Android Source Code Now Available

2008-10-29 Thread Zhihong GUO
some questions about the email application in the source package. 1 Why there is no email providers like contacts and calendar applications. The email application has to do everything, and make it very huge and complicate. 2 The email application will start a email service that will synchronize

[android-developers] Re: Join via ContentProvider

2008-10-29 Thread for android
How can i create a customised Expandable list where the group identifer image is different than the already given ones in the apis.. On Mon, Oct 27, 2008 at 6:46 PM, jtaylor [EMAIL PROTECTED] wrote: I'm just supposing that each class is a table. I don't know how android.provider is set up,

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

2008-10-29 Thread Stoyan Damov
Thanks again, yes, something like that - I realize the question was more for a game development forum, not here, sorry. Basically I'd like the game loop to call updatePhysics, say, exactly 30 times/sec but render only when there's anything to render, sleep to preserve battery otherwise. Cheers

[android-developers] Re: Issue accessing DB from SDCARD

2008-10-29 Thread Ludwig
I have no idea about the winimage tool, but Android provides the mksdcard command in the tools directory of your SDK installation. Make an SD card with that command, run your program and if that works, there is some difference in the sd card image generated by winimage that Android does not like

[android-developers] Re: Issue accessing DB from SDCARD

2008-10-29 Thread Thao
Hey Guy, good new for me! I have resolved my problem. All that think come from the sdcard image that was not well formatted... I don't use winimage anymore. I should have used mksdcard tool since the beginning. I wouldn't have all these issue! Thank all for helping me :- ) Bye. Next time on

[android-developers] Re: Issue accessing DB from SDCARD

2008-10-29 Thread Ludwig
Good luck. 2008/10/29 Thao [EMAIL PROTECTED] Hey Guy, good new for me! I have resolved my problem. All that think come from the sdcard image that was not well formatted... I don't use winimage anymore. I should have used mksdcard tool since the beginning. I wouldn't have all these issue!

[android-developers] howto debug apps with more than one process

2008-10-29 Thread Jakob Sachse
Hallo, I am trying to write a Service thats runs in a seperate process. I am willing to use the Service through IPC from an Activity. thats how my section of the AndroidManifest looks like: ### service android:name=MyService android:process=:remote intent-filter

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

2008-10-29 Thread yasmin afrose
Hi, I'm using HTC touch phone with Windows mobile 5.0 OS. I've connected my mobile with Computer with USB. 1. I've included debuggable = true within Manifest.xml file. 2. How can I turn on USB Debugging on HTC touch phone. 3. where is Device Chooser dialog box...when it will appears..

[android-developers] Re: howto debug apps with more than one process

2008-10-29 Thread wescorp
Hi, Try putting some code like this String LOG_TAG = my service process =; Log.d(LOG_TAG, myserviceprocess); in your code to monitor whats happening. The results are displayed in Debug LogCat. Cheers, Wes On Oct 29, 4:00 am, Jakob Sachse [EMAIL PROTECTED] wrote: Hallo, I am trying to

[android-developers] How long does it take for ratings/reviews to return?

2008-10-29 Thread atrus123
So I've updated my app, and as warned, all my ratings and reviews are gone. How long does it take for those to return? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

[android-developers] Re: Network Monitoring

2008-10-29 Thread brs
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 guarantee that these formats won't change, but for now at least this information might be what you are looking for. Bernhard

[android-developers] Re: Available space in device?

2008-10-29 Thread Iroid
Thanks a lot for response!!! On Oct 28, 11:29 pm, Peli [EMAIL PROTECTED] wrote: Did anyone mention android.os.StatFs already? :-) Peli On Oct 28, 5:27 pm, Iroid [EMAIL PROTECTED] wrote: Hello Everyone, How can I find the available space in the device? I could not find any API for

[android-developers] The UK Release and Internationalization

2008-10-29 Thread cyntacks
Hi, Last I read here on the board Android did not yet fully support internationalization (even though we have the directories for different languages, etc). 1) Is this true? 2) Will the normal Java syntax involving Locales be a valid work around? I ask because our application needs to know

[android-developers] Re: howto debug apps with more than one process

2008-10-29 Thread Jakob Sachse
Hi, thanks for the answer. Though I didn't get your point. myserviceprocess is expected to be some string, concluding the content is the name of the process: What would be the adavantage over the DDMS Device view, that lists all the running processes? I do see the process that i want to debug,

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

2008-10-29 Thread AndroidKid
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 can't :( I've done the following things, (1) I have installed Microsoft Activesync 4.5. (To

[android-developers] Re: GWT 1.5.2 with Android 1.0

2008-10-29 Thread Charlie Collins
Use GWT 1.5.3, which was released a few weeks ago and specifically fixes RPC issues on Android. http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/048413bdb6e5b292 On Oct 29, 7:00 am, Stefano Cannata [EMAIL PROTECTED] wrote: Hallo everybody, since few months I am

[android-developers] Re: GWT 1.5.1 application on Android 1.0 emulator

2008-10-29 Thread Charlie Collins
See your other thread on this topic: http://groups.google.com/group/android-developers/browse_thread/thread/3992944b54178. GWT 1.5.3 fixes this. On Oct 29, 6:04 am, Stefano Cannata [EMAIL PROTECTED] wrote: On Fri, Oct 24, 2008 at 9:18 AM, Stefano [EMAIL PROTECTED] wrote: Hallo everybody,

[android-developers] Re: howto debug apps with more than one process

2008-10-29 Thread Jakob Sachse
Hi, thanks for the answer. Though I didn't get your point. myserviceprocess is expected to be some string, concluding the content is the name of the process: What would be the adavantage over the DDMS Device view, that lists all the running processes? I do see the process that i want to debug,

[android-developers] User Event trapping for Android Browser

2008-10-29 Thread Piyush
Hi, I am trying to develop an application that would like to receive events like click, URL hit, etc from Android web browser. Would this be possible ? What is the best possible way to get information about these user activities on browser? Thanks in advance ! ~Piyush.

[android-developers] Setting Proxy on a Real Device

2008-10-29 Thread Piyush
Hi, I would like to know if its possible to configure the real device to change the proxy setting so that the browser goes through the enterprise proxy. Will this proxy setting/configuration be independent of service provider? Any help for this is highly appreciated Thanks in advance

[android-developers] map view problem

2008-10-29 Thread sami
Hi , I got mapview 3days before ,but from yesterday i am getting grid instead of mapview.i got solution from our goups also but its still not working .please help me.DATA_Preferences,DATA_Tiles was not created automatically .i pushed those files manually also.please help me .i am struggling ...

[android-developers] contacts.extensions

2008-10-29 Thread Stefan Selariu
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

[android-developers] startService() fails

2008-10-29 Thread donm
Hello, I want to share an example Service in Android. The AIDL-file looks like this: package dom.da; interface RNS { int[] getRandomNumbers(int amount); } I created the RNS Interface and implemented it in RemoteService.java: package dom.da; import android.app.Service; import

[android-developers] Re: Problem with MapView

2008-10-29 Thread sami
hi , MapView was working for me ,After using the geocommand ,i also have the same problem.can u please tell me what is the solution for this.i have uninstalled my eclipse editor also and changed the eclipse location also. On Oct 17, 7:33 pm, Matthias [EMAIL PROTECTED] wrote: oh boy... I have

[android-developers] Re: call a soap web service from an android application

2008-10-29 Thread GasBot
Hey CJ, can you give an example of how to include that into a project and how to call a web service method with it? I'm really struggling with this ksoap stuff. On Oct 17, 12:14 pm, CJ [EMAIL PROTECTED] wrote: go get thishttp://www.tuxpan.com/android-soap/android-ksoap2-build.zip On Oct 17,

[android-developers] Android Emulator

2008-10-29 Thread [EMAIL PROTECTED]
Hi Pals, I have a problem with the Android Emulator. When I trying to redirect the netware traffic as follow adb shell # redir I got a message the following message in the console: redir: not found I need to redirect all the requests that my java client executes through specific port to

[android-developers] OS Details

2008-10-29 Thread parani kumar
Hi Everyone, I am new to android development, Can anyone suggest me, how to display the OS details in Emulator? This would help me to get a great step in android development. -- Thanks, parani --~--~-~--~~~---~--~~ You received this message because you are

[android-developers] Re: MapActivity - Couldn't get connection factory client

2008-10-29 Thread Prakash
Hi , I am getting the same exception. Were you able to solve it? Pls let me know if there is a solution. Thanks Prakash On Oct 7, 5:48 am, Ricardo [EMAIL PROTECTED] wrote: Hi all, I´m trying to create a application using MapView with GPS... but the following error appears in LogCat:

[android-developers] Monitoring Browser activities

2008-10-29 Thread Piyush
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 on-device-proxy. What is the best way to get this done ? Thanks in advance ! ~Piyush.

[android-developers] Animation Between Tabs

2008-10-29 Thread Chatur
Hi All, I wish to add make-in/make/out animation from AnimationUtils between tabs as i scroll(left/right) through them.Each of the tabs represent an activity having different layout files as their content view.The tab that i scroll to should slide into the screen through makein and the previous

[android-developers] Re: Updating Imageviews During functions

2008-10-29 Thread Mark Hansen
I've been doing some more research and it seems like what I'm doing is working in the UI thread for example this project had a similar issue: http://blogs.webtide.com/dyu/entry/android_chat_using_jetty_cometd Is there something I'm missing as far as the update in the UI thread? On Oct 28,

[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
Actually the correct way is not to lock in the number of updates to physics at a constant rate but instead to have the physics themselves be defined as a rate. For example, if you want to have a player moving at a rate of 1 virtual foot per second (let's say that's 5 pixels on screen for a 2d

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

2008-10-29 Thread Arun Mankad
Can anybody tell me How to add a ImageButton from layout(xml), I tried ImageButton ImageButton android:id=@+id/continue_button android:src=@drawable/sms / but a white background is there, how can I remove that. Plz help Thanks in advance -- Arun Mankad

[android-developers] Re: Audio recorder format

2008-10-29 Thread Guillaume Perrot
This is the audio codec for catpured sounds. Default is the same as AMR_NB, this is the audio codec generally used in 3gp videos. On Oct 29, 4:47 am, april [EMAIL PROTECTED] wrote: So there is no body doing Audio related coding on Android? On Oct 28, 10:41 am, april [EMAIL PROTECTED] wrote:

[android-developers] Re: OS Details

2008-10-29 Thread Ludwig
There is a package android.os (RTFM), but generally speaking Android is not a general purpose hand-held computer, but a quite shielded application environment that happens to sit on a Linux OS. You might get more help if you ask a more specific question. Ludwig 2008/10/29 parani kumar [EMAIL

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

2008-10-29 Thread Mark Murphy
Arun Mankad wrote: Can anybody tell me How to add a ImageButton from layout(xml), I tried ImageButton ImageButton android:id=@+id/continue_button android:src=@drawable/sms / android:background -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android

[android-developers] G1 still image capture question

2008-10-29 Thread blindfold
Do the hard-coded SDK 1.0 r1 kCannedJpegWidth (=213) and kCannedJpegHeight (=350) restrictions at http://android.git.kernel.org/?p=platform/frameworks/base.git;a=blob;f=camera/libcameraservice/CannedJpeg.h

[android-developers] Re: howto debug apps with more than one process

2008-10-29 Thread wescorp
For myself, I will put a series of these debug statements in code as it executes, reporting in near real time what is happening as the code executes. If the code crashes, Android displays its error messages in the LogCat also so I can watch what is happening at the point I'm interested in. Wes

[android-developers] Re: User Event trapping for Android Browser

2008-10-29 Thread Ludwig
I think you can only get events for your own activities. (Just imagine that any application could just listen in while you do some on-line banking...) Ludwig 2008/10/29 Piyush [EMAIL PROTECTED] Hi, I am trying to develop an application that would like to receive events like click, URL hit,

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

2008-10-29 Thread Stoyan Damov
Let me try to explain again - I don't want the # of updates to be == the # of redraws, and I'm fine with a variable # of game updates/sec, provided that this number is greater than the fastest movement of a sprite (e.g. 100 updates/sec for a sprite which moves at 100 px/sec). updatePhysics will

[android-developers] Re: first Map app getting stopped unexpectedly error - how to get more info? - resolved

2008-10-29 Thread Brian
Thanks for your reply. I was able to view the log and see 'Error inflating class com.google.android.view.MapView'. Did a little more searching and realized I had the wrong package for MapView in my layout sml. IMmst have copied it wrong or from an outdated source. Once I used the right package

[android-developers] Re: ThumbKeyboard.com / Alternative Input for Android

2008-10-29 Thread Nico Aguilar
Congrats wich method Android support ? On Sep 26, 4:29 pm, James Burrell [EMAIL PROTECTED] wrote: Google, I have invented the fastest methods of text messaging in the history of world.A few of them are demonstrated onwww.phonekeyboard.com.ThePhoneKeyboard.com invention is faster than

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

2008-10-29 Thread AlBasha
I'm trying to get image file from Google Chart API. Image link (strURL) = http://chart.apis.google.com/chart?cht=pchd=t:37,0,50,12,1,0,0chs=300x200chl=Agriculture||Shrub/Grass|Trees|Built|Bare/Ice|Waterchco=66,ff,99FF66,006600,cc,66,76A4FBchf=bg,s,d3d3d3chdl=Agriculture||Shrubs

[android-developers] Re: OS Details

2008-10-29 Thread parani kumar
Dear Ludwig, Thanks for the quick response and reply. I will direct you what i need, I am trying with windows android emulator to display the OS version,memory space available, memory usage like some of basic system properties of the mobile phone. When i use *android.provider.Settings* I am

[android-developers] No resource identifier found for attribute 'versionCode' in package 'android'

2008-10-29 Thread Christine
Does anyone know what this error means? I have these lines in my manifest file manifest ... android:versionCode=3 android:versionName=1.01 and the error I get is ERROR No resource identifier found for attribute 'versionCode' in package 'android' and same for

[android-developers] Re: howto debug apps with more than one process

2008-10-29 Thread Andrew Stadler
Jakob- It may be possible to do this with the SDK, but I am not enough of an SDK expert to know for sure. However, you might find it easier to simply develop/debug your Service in the same process. Once it's running and is fairly stable, you can try making it remote. The calling conventions

[android-developers] Re: Join via ContentProvider

2008-10-29 Thread jtaylor
I looked at the Hierarchy Viewer and it just shows two id/tex1 views below the ExpandableListView. So it must be interior to Android. - Juan On Oct 29, 5:00 am, for android [EMAIL PROTECTED] wrote: How can i create a customised Expandable list where the group identifer image is different

[android-developers] Re: G1 still image capture question

2008-10-29 Thread blindfold
Guess what is really needed is documentation of whatever the G1 has under $(BOARD_CAMERA_LIBRARIES) in http://android.git.kernel.org/?p=platform/frameworks/base.git;a=blob;f=camera/libcameraservice/Android.mk in order to know what replaces the (emulator's) camera hardware stubs on G1. Some help

[android-developers] Re: Attaching the Eclipse debugger to actual device

2008-10-29 Thread shyamal
On Oct 28, 11:03 pm, craig3353 [EMAIL PROTECTED] wrote: I have been unable to connect to a device on Gentoo, and none of the advice above helped. Here's what worked for me: 1. Get rid of the udev rules. They cause the device node to be created as a block device for USB storage, and this is

[android-developers] OnApplicationStart ?

2008-10-29 Thread zl25drexel
Hi all My app has some logics to check the gps status and shows an message when its disabled. Currently i put those logics in the onCreate() method of my apps's main activity. However, it turns out that this onCreate() method is called very frequently rather than once per application startup.

[android-developers] Re: Join via ContentProvider

2008-10-29 Thread jtaylor
I should have said I looked at the Hierarchy Viewer for ExpandableList2 demo. http://code.google.com/android/samples/ApiDemos/src/com/example/android/apis/view/ExpandableList2.html - Juan On Oct 29, 11:18 am, jtaylor [EMAIL PROTECTED] wrote: I looked at the Hierarchy Viewer and it just shows

[android-developers] new version of 1.0?

2008-10-29 Thread Christine
Are there two versons of sdk 1.0? I had 1.0, I've never had an older version, but I still had to replace my sdk with a new version in order to allow for versionCode and versionName. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[android-developers] Re: OnApplicationStart ?

2008-10-29 Thread Ludwig
Classes derived from Application have an onCreate() method that gets called when the application (as opposed to any individual activity) gets started. You will need to create a derived class and declare it in the manifest, e.g.: application android:name=MyApplication

[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, send

[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() {

[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,

[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

[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: 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

[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] 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) {

[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] 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: 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

[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

[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 there. It

[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: 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 development

[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

[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 can't :(

[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

[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

[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 tried

[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

[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 set the

[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: 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 because

[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

[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

[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 promt user in

[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

[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] 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

[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 on the

[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 guarantee that

[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

[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, blindfold

[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

[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

[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

[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: 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: 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 locale,

  1   2   >