[android-developers] Re: How to debug unexpected exceptions (source not found)

2010-02-11 Thread Bob Kerns
All supposedly true. I was catching all caught and uncaught RuntimeExceptions. ArithmeticException is a subclass of RuntimeException, so it SHOULD have stopped at the point of the throw. It did not. It stopped later, when a RuntimeException was thrown with the original ArithmeticException as its

[android-developers] Re: Network Unreachable (Socket.net Exception)

2010-02-11 Thread himanshu jain
@andrew Tell me one thing some people has wifi on most of them depend upon 2g and 3g because of battery issue. So if wifi is not there i should still expect this kind of error or issue???. I mean i can not consistently poll to any website for news , if yes how even when most does not have wifi ?

[android-developers] Re: android and proguard...

2010-02-11 Thread Bob Kerns
While Fadden addresses what you did to annoy the verifier, let's consider what you can do to get past it. I'd start with asking yourself WHY are you using Proguard? What are you prioritizing -- size reduction, speed, or obscurity? Proguard has a number of options to control just what it does to

[android-developers] Re: Network Unreachable (Socket.net Exception)

2010-02-11 Thread himanshu jain
@andrew Tell me one thing some people have wifi on most of them depend upon 2g and 3g because of battery issue. So if wifi is not there i should still expect this kind of error or issue???. I mean i can not consistently poll to any website for news , if yes how even when most does not have wifi ?

[android-developers] Re: Network Unreachable (Socket.net Exception)

2010-02-11 Thread himanshu jain
@andrew Tell me one thing some people have wifi ON whereas most of them depend upon 2g and 3g because of battery issue. So if wifi is not there i should still expect this kind of error or issue???. I mean i can not consistently poll to any website for news , if yes how, even when most does not

[android-developers] Re: Drawing to MapView Incredibly Slow

2010-02-11 Thread aspekt9
If I'm both drawing lines and utilizing items, would it be wise to implement both a MapOverlay and a MapItemizedOverlay? Or do I just need one? On Feb 10, 4:55 pm, TreKing treking...@gmail.com wrote: On Wed, Feb 10, 2010 at 3:43 PM, aspekt9 aspe...@gmail.com wrote: What exactly is the span

[android-developers] Re: Drawing to MapView Incredibly Slow

2010-02-11 Thread aspekt9
I think I know why, in order for this to work, I'd have to add the items to an overlay everytime draw() is called, or else I can't draw them, and this is going to interrupt the addition of the stations because draw() is called numerous times in a short span of time. Here's my method to add the new

[android-developers] Failed to find provider info for com.google.settings

2010-02-11 Thread Sasikumar.S
Hi, what's the below error? 02-11 14:33:51.035: ERROR/ActivityThread(1414): Failed to find provider info for com.google.settings 02-11 14:33:51.056: ERROR/ActivityThread(1414): Failed to find provider info for com.google.settings 02-11 14:33:51.124: ERROR/ActivityThread(1414): Failed to find

[android-developers] Images are unsharp/blurry

2010-02-11 Thread MobDev
Hi, I have been developing on a ADP2 (Google Ion) with a standard screen size (with a resolution of 320x480)... Our designer made some pretty neat Images with which to create the GUI, and when placing everything within the layout XML files it looks pretty good... That is, on the Eclipse renderer,

[android-developers] Re: saving shortcuts etc to the desktop?

2010-02-11 Thread Ken
but how to remove these shortcut programmatically ? seems no action to do this. On Feb 11, 4:13 am, Temitope Akinwande takinwa...@gmail.com wrote: I believe that you can do something like this.  Intent i = new Intent();  i.putExtra(Intent.EXTRA_SHORTCUT_INTENT, intent_to_execute_when_clicked);

[android-developers] Re: Google Map Error

2010-02-11 Thread Vaikunth
Use onCreate() method. Like public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.map_test); map=(MapView)findViewById(R.id.map); ::: } I have no issue by calling

Re: [android-developers] Re: Google Map Error

2010-02-11 Thread Sasikumar.S
Thank U. I did the same and i got the answer Pls see the below link tell the answer http://groups.google.com/group/android-developers/browse_thread/thread/9f10a3c2511b4b6d http://groups.google.com/group/android-developers/browse_thread/thread/9f10a3c2511b4b6d On Thu, Feb 11, 2010 at

[android-developers] XPREIA Android Resource

2010-02-11 Thread Bossly
Hi everyone!! I am develop on XPERIA X10 and i need to customize layout for this device. What kind resource parameters i have to use in Android 1.6 trying: - drawable-hdpi - drawable-854x480 - drawable-large nothing work// any ideas? -- You received this message because you are subscribed

[android-developers] Re: Images are unsharp/blurry

2010-02-11 Thread MobDev
oki I soved this myself :P Had to place my images and resources under the drawable-mdpi folder... when I created the project for some reason the IDE itself created and placed nearly everything under the drawable-hdpi folder... On 11 feb, 10:16, MobDev developm...@mobilaria.com wrote: Hi, I have

[android-developers] Re: android and proguard...

2010-02-11 Thread Daniel Drozdzewski
Hey there, I am beginning with Android, but have some proguard experience, so here is what I think: You can use optimisations and shrinking as much as you like, but avoid obfuscation. Just think, how many classes in your code are referenced using their names in AndroidManifest.xml. Proguard will

[android-developers] Android Installation

2010-02-11 Thread adam
Hi All, This is Adam, I am working as Mobile Developer. Actually I am new to Android Development. Recently we are going to start Android Application Development, Can anybody please let me know the procedure to install(steps) the Android SDK and Eclipse and other required softwares for the

Re: [android-developers] Android Installation

2010-02-11 Thread Ricardo A . Sá
So easy.. Follow http://developer.android.com/guide/developing/eclipse-adt.html 2010/2/11 adam adamthu...@gmail.com Hi All, This is Adam, I am working as Mobile Developer. Actually I am new to Android Development. Recently we are going to start Android Application Development, Can anybody

[android-developers] Alert Dialog

2010-02-11 Thread Sasikumar.S
Hi, Pls see the below link tell how to create a dialog box like that? http://img.skitch.com/20090708-t6pc3h3jfhrnxj38sr6wi7i9k3.jpg http://img.skitch.com/20090708-t6pc3h3jfhrnxj38sr6wi7i9k3.jpgThere Dialog Test is Heading. It should be displayed in Bold. You clicked button index 2 is text. It

[android-developers] java.io.Exception in AssetManager.readAsset (Android BUG)

2010-02-11 Thread guich
Hi, This is a new thread about an old bug. There's a bug in the AssetManager that, if you try to read using a byte buffer a raw resource bigger than 512k (in G2), it will throw this exception: java.io.IOException at android.content.res.AssetManager.readAsset(Native Method) at

Re: [android-developers] How can target activity get the request code in startActiivtyForResult()?

2010-02-11 Thread Mark Murphy
I am starting an activity with startActivityForResult(intent,requestcode). And i am receiving result onActivityResult() call back . The target acivity which gets the intent should get the request code And based upon the request it has to do the specified operation. How can target

[android-developers] Re: Loop audio from mic to earpiece?

2010-02-11 Thread CDavis8
Could you post a code sample of that, i have been trying for days to get audio from earpiece :( On Jan 26, 2:54 pm, ani anish198519851...@gmail.com wrote: In cupcake setrouting should work but you need to set the mask properly for it to work.I myself have tried and it is working i.e. the sound

[android-developers] Re: Modal Dialogs: the definitive solution

2010-02-11 Thread guich
I also found that calling the alert from the VM works fine. However, calling from the SurfaceView will freeze the application. So, i changed the method to wait a few seconds and then quit if its being called from a View. -- You received this message because you are subscribed to the Google

[android-developers] sending scancode values from linuxapplication (using sendevent)

2010-02-11 Thread yog
Hi all, I want to send scan code values from user space to Android screen. can we send this with the sendevent command? Instead from keypad. when tried sendevent device type code value getevent is able to read these values, but iam unable to see this scancode value on screen. To see the

[android-developers] passing values from Activity to Activity

2010-02-11 Thread MobDev
Hi, I have an app which makes use of several layout-views...Every layout- view also got a class for it, which extend the Activity class... One class for example retrieves some database values whilst offering a search form to the user... Afterwards the user can select one of those values and he

Re: [android-developers] Re: play audio from a stream in android...

2010-02-11 Thread kavitha
Hi Mob Dev Thanks for the reply. yes,i tried storing in files,,but still i get gap between playing 2 files,which i dont want. Is there any other option? If i am able to store in a stream and will be able to play from that ,, it is good. Is there anyway to decode mp3 to PCM ,then store data in

Re: [android-developers] What's this Exception?

2010-02-11 Thread Rogério de Souza Moraes
Hi Sasikumar, appears that you created more intentReceivers than Android can handle. As it is suggesting, you should use unregisterReceiver() whan you don't need more the Receiver. Regards, Rogerio 2010/2/11 Sasikumar.S sasikumar.it1...@gmail.com Hi, What's this Exception? 02-11

Re: [android-developers] What's this Exception?

2010-02-11 Thread Sasikumar.S
Thank U Rogerio. 2010/2/11 Rogério de Souza Moraes rogerio.so...@gmail.com Hi Sasikumar, appears that you created more intentReceivers than Android can handle. As it is suggesting, you should use unregisterReceiver() whan you don't need more the Receiver. Regards, Rogerio 2010/2/11

Re: [android-developers] passing values from Activity to Activity

2010-02-11 Thread Mark Murphy
Anyways, I'd like for the first Activity to be able to send an array with data (Strings for example) to the second one... Right now I show an activity by using : Intent i = new Intent(this, activitysName.class); startActivity(i); I have no idea whilst using this construction how I can

[android-developers] how to store raw file uncompressed

2010-02-11 Thread guich
Hi, I'm trying to store a raw uncompressed file into the apk. I already tried rename it to mp3, png, zip, but all these extensions still compress the file: if i open the apk using winzip, it shows tcfiles.png 4194304 - 4080. I already heard about the aapt -0 to store uncompressed, but no one

[android-developers] Re: passing values from Activity to Activity

2010-02-11 Thread MobDev
Call getStringArrayExtra() on the Intent in the receiving Activity to get it back. I have no Intent in the receiving Activity ? Or is that the Bundle which comes with public void onCreate(Bundle savedInstanceState) ? On 11 feb, 13:46, Mark Murphy mmur...@commonsware.com wrote: Anyways, I'd

Re: [android-developers] Re: passing values from Activity to Activity

2010-02-11 Thread Mark Murphy
Call getStringArrayExtra() on the Intent in the receiving Activity to get it back. I have no Intent in the receiving Activity ? Call getIntent() to get the Intent that launched the Activity. -- Mark Murphy (a Commons Guy) http://commonsware.com Android App Developer Books:

[android-developers] slideshow of images

2010-02-11 Thread Narendra Bagade
Hi all, I have set of images .I want to show it one by one. how we can achieve in android. if someone have block of code plz help me. Thanks. -- Regards, Narendra B 9632382960, Bangalore. -- You received this message because you are subscribed to the Google Groups Android Developers group.

[android-developers] Re: passing values from Activity to Activity

2010-02-11 Thread MobDev
aha ! look at that ! thanks a lot for the answer it helped me out :D I have to say that It's all pretty confusing, you got your Java class, your XML layout, your activity, your Intent, your Context, your bundles etc... Inter-object communication isn't very easy (or at least not as transparant as

[android-developers] After downloading an application with two Launcher components from the Marketplace, clicking Open will cause a crash

2010-02-11 Thread Mobile
Create a sample application with two launcher icons. For example, two components such as: application ... activity ... android:name=TestActivity01 intent-filter action android:name=android.intent.action.MAIN / category android:name=android.intent.category.LAUNCHER /

Re: [android-developers] After downloading an application with two Launcher components from the Marketplace, clicking Open will cause a crash

2010-02-11 Thread Mark Murphy
Bug reports really need to go to http://b.android.com. If you post this there, and if you think of it, write back with a link to the issue, as I'd like to keep an eye on this one. Thanks! Create a sample application with two launcher icons. For example, two components such as: application

[android-developers] Re: After downloading an application with two Launcher components from the Marketplace, clicking Open will cause a crash

2010-02-11 Thread Mobile
Sorry for not including the link earlier. Issue 6579: After downloading an application with two Launcher components from the Marketplace, clicking Open will cause a crash http://code.google.com/p/android/issues/detail?id=6579 Thanks, Par On Feb 11, 9:03 am, Mark Murphy mmur...@commonsware.com

Re: [android-developers] Re: After downloading an application with two Launcher components from the Marketplace, clicking Open will cause a crash

2010-02-11 Thread Mark Murphy
Sorry for not including the link earlier. Issue 6579: After downloading an application with two Launcher components from the Marketplace, clicking Open will cause a crash http://code.google.com/p/android/issues/detail?id=6579 Hey, thanks! -- Mark Murphy (a Commons Guy)

[android-developers] Re: SQLiteDiskIOException happens when querying 4000 rows data with order by japanese kanji

2010-02-11 Thread James Wang
After digging further, I got it. This disk I/O error is caused because the default size(4m) of sqlite_stmt_journals partition is too small for our query. If I changed init.rc to make big size partition(8m), 4000 rows data can be selected without any error. So I wonder what is the best solution

[android-developers] Re: SQLiteDiskIOException happens when querying 4000 rows data with order by japanese kanji

2010-02-11 Thread Maps.Huge.Info (Maps API Guru)
If I were to design such an app, I would only pull the data I needed at that moment. Are you going to use 4000 rows of data in one swoop or are you using a subset of that query? Most likely, your app is going to have a next/previous type setup. Sucking up 4000 rows from the database will not only

[android-developers] Re: how to store raw file uncompressed

2010-02-11 Thread Brion Emde
If you put it under the assets directory, it will stay unmolested. That is also where you put external libraries. On Feb 11, 5:51 am, guich guiha...@gmail.com wrote: Hi, I'm trying to store a raw uncompressed file into the apk. I already tried rename it to mp3, png, zip, but all these

[android-developers] Regarding apn

2010-02-11 Thread manoj
Hi all, I am able to add apn though programming. And my app has the functionality of accessing the net. Now the question is, how to do the program that my app should use this added apn whenever it is trying to access the internet. can any one please help me? Thanks, Manoj. -- You received

[android-developers] Re: how to store raw file uncompressed

2010-02-11 Thread guich
Hi, I put under \android\apps\tcvm\res\raw\tcfiles.zip Is this an asset folder? thanks! guich -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from

[android-developers] Re: HttpPost, ssl and error 'Not trusted server certificate'

2010-02-11 Thread joebowbeer
3) Bob Lee explains how to get certificate from the server and add to keystore. http://crazybob.org/2010/02/android-trusting-ssl-certificates.html Concerning #2 (getResponseCode throws an exception), see workaround in this bug report: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4523989

[android-developers] Singleton Service ???

2010-02-11 Thread MobDev
Hi, I'd like to know if it's possible to create a Singelton Service throughout an application ? Let's say I'd like to cerate a Service to play some mp3... I'd like it to be a Singleton, we don't want two mp3 tracks playing through each other (well maybe some would want that, but in my case I'm

Re: [android-developers] Re: Drawing to MapView Incredibly Slow

2010-02-11 Thread TreKing
On Thu, Feb 11, 2010 at 2:35 AM, aspekt9 aspe...@gmail.com wrote: If I'm both drawing lines and utilizing items, would it be wise to implement both a MapOverlay and a MapItemizedOverlay? Or do I just need one? I haven't done line drawing in the map view, but probably just one. Override

Re: [android-developers] Singleton Service ???

2010-02-11 Thread Mark Murphy
I'd like to know if it's possible to create a Singelton Service throughout an application ? Services are singletons by their very nature. -- Mark Murphy (a Commons Guy) http://commonsware.com Android App Developer Books: http://commonsware.com/books.html -- You received this message

[android-developers] Re: Singleton Service ???

2010-02-11 Thread MobDev
well, thats a good thing especially in my situation :D Now my next most prioritized question, can I communicate with a Service ? Are there some kind of interfaces for that ? Btw, you are a fast responder Mark ;) Thanks for your interest and time :D On 11 feb, 17:11, Mark Murphy

[android-developers] GPS coverage

2010-02-11 Thread ian
Does the GPS getLocation still work if you are outside the range of cellphone coverage? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group,

Re: [android-developers] Re: Singleton Service ???

2010-02-11 Thread Mark Murphy
Now my next most prioritized question, can I communicate with a Service ? Absolutely. Are there some kind of interfaces for that ? The SDK samples will demonstrate the local binding pattern. You can also find an example of that here:

[android-developers] Re: Weird stuff - help!

2010-02-11 Thread nikhil
Okay, after banging my head on the wall I am able to reduce the number of crashes..Still not 100% , when I run car home it still crashes. On Feb 10, 5:36 pm, nikhil nik...@gmail.com wrote: Do we have any one from google on this forum? I connected the mobile phone to the machine remove my app

[android-developers] How to get video frames using camera startPreview callback method in native

2010-02-11 Thread Vishal
Hello, In Java using camera class and setPreviewCallback method we can get the video frames which are being previewed. Now I am trying to get the video frames using the similar approach at the native layer. I tried using libcameraservice.so and various classes available like CameraService,

[android-developers] Re: android and proguard...

2010-02-11 Thread Lance Nanek
Class names referenced in the manifest and other XML files are probably what most of those -keep public class * extends android.app.Activity like configuration lines are for in the various examples of using ProGuard with Android out there:

[android-developers] Activity Spinner Context Menu Focus Events

2010-02-11 Thread extrapedestrian
I want to detect Search Event in my Activity to be able to rearrange my view before Global Search is started. I managed to detect start of Search in two ways: 1. OnKey event, if keyCode == KeyEvent.KEYCODE_SEARCH 2. onSearchRequested() function is being called But, these two events are not

[android-developers] Emulator fails every time at first startup.

2010-02-11 Thread DKIT
Each time I run the emulator for the first time, I fail to connect to it. It 'disappears' from ddms just about when it's about to go from 'offline' to 'online' with the following stacktrace: 32:58 E/DDMS: device (emulator-5554) request rejected: device offline java.io.IOException: device

[android-developers] Re: PVMFFailure when using MediaPlayer for radio streams

2010-02-11 Thread Steve
I can make this work on 1.6 with this link http://www.colorado.edu/AmStudies/lewis/Design/blue.mp3 What is the url you are trying to connect to? On Jan 29, 6:08 am, David trend...@gmail.com wrote: ps-I am using version 1.5 on a HTC phone On Jan 14, 9:48 pm, Tanmay tanm...@gmail.com wrote:

Re: [android-developers] Re: Singleton Service ???

2010-02-11 Thread Dianne Hackborn
Or use startService() to send commands to it. On Thu, Feb 11, 2010 at 8:25 AM, Mark Murphy mmur...@commonsware.comwrote: Now my next most prioritized question, can I communicate with a Service ? Absolutely. Are there some kind of interfaces for that ? The SDK samples will demonstrate

Re: [android-developers] Re: Modal Dialogs: the definitive solution

2010-02-11 Thread Dianne Hackborn
On Thu, Feb 11, 2010 at 3:49 AM, guich guiha...@gmail.com wrote: I also found that calling the alert from the VM works fine. However, calling from the SurfaceView will freeze the application. So, i changed the method to wait a few seconds and then quit if its being called from a View. Um.

[android-developers] alarm being triggered, but app not launched...

2010-02-11 Thread sdphil
I am setting an alarm like thus: AlarmManager mgr = (AlarmManager) activity.getSystemService(Context.ALARM_SERVICE); mgr.setRepeating( AlarmManager.RTC_WAKEUP, msecs, INTERVAL_MSECS, pendingIntent ); to go off at 3am in the morning. the alarm gets caught by a broadcast receiver. in the

Re: [android-developers] Re: Modal Dialogs: the definitive solution

2010-02-11 Thread Dianne Hackborn
On Tue, Feb 9, 2010 at 9:39 AM, Frank Weiss fewe...@gmail.com wrote: The conundrum on Android is that user code can't block in a UI thread and non-UI threads can't manipulate the UI. It is almost trivial to, from another thread, schedule a Runnable on the window's thread to do work on it:

[android-developers] Using own maps in mapview

2010-02-11 Thread makokal
Hi all, I am building an app for some experiment which involves use of specific maps, I have these maps as .png and .svg images. I am however having trouble with using MapView to load these maps and view them. Could I get any help on this. thanks -- You received this message because you are

[android-developers] Instructing ItemizedOverlay when to re-draw

2010-02-11 Thread Kevin
I over boolean draw() and had it return true to have my overlay continually refresh and 'animate' the markers. However, this happens continuously and my backing data only changes periodically. My overlay is already aware of when the data changes. Any idea how I can instruct ItemizedOverlay to

[android-developers] Music playing causes SoundPool Notification Stream to play at half volume

2010-02-11 Thread Guy Hoffman
It seems that a combination of SoundPool and music playing has an unexpected and unwanted behavior: When music is playing (on STREAM_MUSIC), even if its volume is down, the sounds played by SoundPool (on STREAM_NOTIFICATION) are at 50% of the volume than when no music is playing. This is the code

[android-developers] FileNotFoundException on FileOutputStream when writing on sdcard, no idea why

2010-02-11 Thread gallagth
Hi, I'm trying to write a file to a sdcard, I'm using the same writeToFile() function in all my apps, and I dont know why, it wont work for this one, no idea why. It works for all the other apps, but not for this one. I have two classes, GPSTest, and GPSListener. writeToFile() is in GPSListener,

[android-developers] Mapping from J2ME to Android

2010-02-11 Thread praj
Hi, I am currently working on the mapping from J2ME to android. I am stuck at a point where I need to map the concept of double buffering in J2ME to its equivalent in Android. I know that SurfaceView would help me achieve this. My main concern is where I need to map the flushgraphics() method.

[android-developers] Efficiently debugging Mixed Java/C Applications

2010-02-11 Thread MarcS
It seems that the development of mixed Java/C applications is facing some issues with the current NDK. This comes from the fact that as soon as an application moves from the Java world to the C routines, the users looses the debugging visibility. gdb-server seems to be the more prominent approach

[android-developers] Re: Particular Activity Finish

2010-02-11 Thread Nithin
1. use startActivityForResult() and in sample2 call finish() then in sample1-activityForResult() call finish() or 2. use startActivity() and in sample2 intent, assign some boolean value and pass to sample1, get the boolean value and acoording to that call finish() in sample1.. Nithin On Feb 11,

[android-developers] How To Merge jar files with apk files in android.

2010-02-11 Thread Birendrasinh
Hello Friends, Greetings I'm Using external jar files with my android application and i want to install that jar file with apk file in my android emulator. but i'm unable to merge both the files. I'm using Net Beans IDE. Waiting for your reply guys please be quick if any one

[android-developers] Text Box on Camera View

2010-02-11 Thread Fer Muxo
Hi everybody, i´m a begginer in Android Developing, and I need put a TextBox on top of a CameraView. I don´t know if it´s posible or not... I wait for your response... Thanks a lot, and sorry for my english... -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Change Ringtone progrmatically

2010-02-11 Thread RamaMohan
Hi all,I want to set a ringtone which i downloaded from the net.i am saving the downloaded media files into \sdcard\media\audio folder.I am using the following code. --- RingtoneManager.setActualDefaultRingtoneUri(getBaseContext(), RingtoneManager.TYPE_RINGTONE, ringtoneUri);

[android-developers] HTML5

2010-02-11 Thread pal
Does Android browser support HTML5? When I try to play youtube/HTML5 videos I get the following msg.. Your browser does not currently recognize any of the video formats available Click here to visit our frequently asked questions about HTML5 video Any clue what could be missing? -- You

[android-developers] Really simple android question

2010-02-11 Thread Josh
Hello Android Dev's Short FYI: I am new to the Android development, I have the SDK (2.1) and I am running Eclipse. I tried writing the Hello Android basic application. I coped the same code the tutorial has but when I try running the application to see the final result, I am unable to get the

[android-developers] Switching between activities

2010-02-11 Thread uday kiran
Hi All, Im new bee to android development..I have a small issue when switching from one activity to another.. What i want to do is.. in Activity1 which is in Screen1 i have entered some data like Name,Age (all are in textview) and after i moved to Activity2 in Screen2 ..when i clicked Previous

[android-developers] Features supported in Android's Webkit borwser

2010-02-11 Thread Vishwesh
Hello All, Is there a page/blog where all the features of Android's webkit browser are listed ? I am particularly interested in - 1. XMLHttpRequest support (AJAX Support) 2. Plugins (what can and cant I do) 3. HTML5 Support, if so to what level, what is included and not 4. What version of WebKit

[android-developers] power down

2010-02-11 Thread Kabita
hi, in framework.. i am not able to find shutdown() call when phone power off due to low battery.. anybody can help me out.. 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

[android-developers] Switching between activities

2010-02-11 Thread udaykiran pichika
Hi All, Im new bee to android development..I have a small issue when switching from one activity to another.. What i want to do is.. in Activity1 which is in Screen1 i have entered some data like Name,Age (all are in textview) and after i moved to Activity2 in Screen2 ..when i clicked Previous

[android-developers] Reg Monkey and Watchdog issue

2010-02-11 Thread Ubuntu guy
Hi Everyone, I ran Monkey with a throttle of 100 milli-seconds on a particular android version and i see that the watchdog kills the system process (i didn't have a debugger attached). However, the same version works fine with a Monkey run (throttle of 500 milli-seconds). Does this mean,

[android-developers] Problem with install APK's shared library

2010-02-11 Thread oslim
Hello, I have the application which is using local shared library for native method. When I install that application by adb install command, it works properly and the shared library in APK installed APK’s data folder like /data/data/com.android.myApk/ lib/libTestNative.so. But if I put myApk

[android-developers] NullPointerException while building android app using ant.

2010-02-11 Thread manu
Hi All, While building the android app using ant am getting the following exception. Couldn't figure out why these exception are thrown!!! Execute:Java13CommandLauncher: Executing 'D:\Android-2.0\android-sdk- windows\platforms\android-1.5\tools\aapt.exe' with arguments: 'package' '-f' '-M'

[android-developers] need to send audio file during a call

2010-02-11 Thread Tuhin subhra
I have an app through which I can make a call to a number. What I want is to send an prerecorded message or audio file which the receiver will hear once he receive the call. Can any one help me.? here is my code... package com.DialANumber; import android.app.Activity; import

[android-developers] Map API Key

2010-02-11 Thread yassin
Hi, I have a problem. I accidentally posted a sample project that had my Map API Key on the web for a user I was helping. This Key was registered to my company. What should I do. How can I cancel this Key and obtain another one? Please let me know... Thanks Yassin -- You received this

[android-developers] Fileupload to https in Android

2010-02-11 Thread -Dream-
Hi! I am uploading file to web server. HTTP works fine, but HTTPS not. The HTTPS server has a trusted certificate, and i do not get any error on Android or Server, it simply stay sending file (cliente.execute(post)) until timeout expires, if i do no put timemout then it stays sending forever.

[android-developers] Any Android dev living in Bay Ridge Brooklyn?

2010-02-11 Thread JDroid7
Hi Just curious to see how many we are. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to

[android-developers] Intercept calls to library methods

2010-02-11 Thread pieter
Hello everyone, I read somewhere that in Android it's possible to write components that basically sit between applications and the Android library classes. Using some kind of interception framework, it would be possible to intercept calls from applications to the Android libraries. This would be

[android-developers] Re: Alert Dialog

2010-02-11 Thread Nithin
First create a dialog, with no header requestWindowFeature(Window.FEATURE_NO_TITLE) Then create the layout in whichever way you want and add the layout to dialog addContentView() On Feb 11, 4:36 pm, Sasikumar.S sasikumar.it1...@gmail.com wrote: Hi, Pls see the below link tell how to create a

[android-developers] how to store raw file uncompressed

2010-02-11 Thread guich
Hi, I'm trying to store a raw uncompressed file into the apk. I already tried rename it to mp3, png, zip, but all these extensions still compress the file: if i open the apk using winzip, it shows tcfiles.png 4194304 - 4080. I already heard about the aapt -0 to store uncompressed, but no one

[android-developers] Video recording without preview

2010-02-11 Thread yesarang
Hi, I need to capture video without preview. But if I set preview display to null by calling setPreviewDisplay(null) on MediaRecorder instance, it always gives me back an exception prepare failed. The details of logging information is like theses 02-11 23:06:40.921: ERROR/CameraInput(23323):

[android-developers] on dialog close animation

2010-02-11 Thread Houcem Berrayana
Hi guys, I want to play an animation when a dialog is being closed. is that possible? I was trying to implement different callbacks. I have a key event listener that listens to the back button click event. When I get this event I start an animation and when it's stopped i launch dismiss. But I

[android-developers] Trouble: Windows XP detecting Nexus One by USB

2010-02-11 Thread Coltin
'adb devices' returns 'List of devices attached' followed by nothing, and eclipse doesn't pick up my Nexus One. I've installed the drivers for 'Android Composite ADB Interface'. I've set my Nexus One to 'Development: USB debugging'. I've connected the device to my computer. It's listed under the

Re: [android-developers] Problems testing applications on HTC Hero device

2010-02-11 Thread Hamilton Vera
And how does your application behave using the emulator (1.5 framework)? On Thu, Feb 11, 2010 at 5:40 AM, brooke brooke.ma...@gmail.com wrote: Hi, I'm trying to make my application (compiled against 2.1) compatible with the 1.5 platform.  I've handled all of the res/ folder issues, and have

[android-developers] Any way to intercept power button presses when running a service?

2010-02-11 Thread Jamie
I am creating an Android service which constantly runs in the background. I'd like to be able to intercept calls to the power button to: a) prevent the screen coming on and b) handle the power button press in a different manner. This is to enable the user to have a very simple interface to my

Re: [android-developers] alarm being triggered, but app not launched...

2010-02-11 Thread Mark Murphy
I am setting an alarm like thus: AlarmManager mgr = (AlarmManager) activity.getSystemService(Context.ALARM_SERVICE); mgr.setRepeating( AlarmManager.RTC_WAKEUP, msecs, INTERVAL_MSECS, pendingIntent ); to go off at 3am in the morning. the alarm gets caught by a broadcast receiver.

Re: [android-developers] Any way to intercept power button presses when running a service?

2010-02-11 Thread Mark Murphy
I am creating an Android service which constantly runs in the background. I'd like to be able to intercept calls to the power button to: a) prevent the screen coming on and b) handle the power button press in a different manner. Sorry, that is not possible from an SDK application. From

Re: [android-developers] Intercept calls to library methods

2010-02-11 Thread Mark Murphy
I read somewhere that in Android it's possible to write components that basically sit between applications and the Android library classes. Using some kind of interception framework, it would be possible to intercept calls from applications to the Android libraries. This would be perfect for

Re: [android-developers] Map API Key

2010-02-11 Thread Mark Murphy
I have a problem. I accidentally posted a sample project that had my Map API Key on the web for a user I was helping. This Key was registered to my company. What should I do. How can I cancel this Key and obtain another one? The Maps API key is only usable in conjunction with the matching

Re: [android-developers] How To Merge jar files with apk files in android.

2010-02-11 Thread Mark Murphy
I'm Using external jar files with my android application and i want to install that jar file with apk file in my android emulator. but i'm unable to merge both the files. I'm using Net Beans IDE. Put the JAR in your project's libs/ directory, then build the APK as normal. -- Mark Murphy

[android-developers] Re: HTML5

2010-02-11 Thread DKIT Android
http://www.webmonkey.com/blog/Android_Gets_a_Better_Browser__Now_With_More_HTML5 Should support the video tag - but maype not the necessary codecs? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

[android-developers] Re: Really simple android question

2010-02-11 Thread Dan S
Sometimes you have to wait quite a long time for the Android OS inside the VM to boot before your app starts up, depending on how fast your machine is. I sometimes have to wait around a minute. Dan On Feb 10, 6:48 pm, Josh josh...@gmail.com wrote: Hello Android Dev's Short FYI: I am new to

[android-developers] Re: UPnP

2010-02-11 Thread Abhi
How do I download the stuff from the repository? Abhi On Jan 29, 4:11 am, Zhihong GUO gzhh...@gmail.com wrote: Hi skonno, All of the java code is downloaded, but I can't find a Android project to run in emulator or on read device James

[android-developers] Re: Really simple android question

2010-02-11 Thread DonFrench
It has more to do with how much memory you have than the speed of the processor. On my brand new 1G netbook it takes 4-5 hours!!! Check the Task Manager and I think that you will see that the emulator is eating up all the memory and CPU resources as it swaps memory to disk to make space for

Re: [android-developers] Re: Alert Dialog

2010-02-11 Thread TreKing
On Thu, Feb 11, 2010 at 7:24 AM, Nithin nithin.war...@gmail.com wrote: First create a dialog, with no header requestWindowFeature(Window.FEATURE_NO_TITLE) You don't even have to do that. Just don't set a title on your dialog and it won't show up.

  1   2   >