[android-developers] progress dialog

2008-11-11 Thread chouman82
I am having a little problem of using progress dialog. Trying to figure out how and the optimal way of using the progress dialog. My application needs to grab information from different servers, so I am trying to show the progress dialog at the appropriate moment. I am trying to use a gallery to

[android-developers] Re: Comment spam in android market :(

2008-11-11 Thread Andrew Burgess
I think the market comments are completely different from those on youtube. I've used the market comments to see what the general opinion was about a few apps that had similar purposes. Apps with comments like fails miserably when you press the 'a' button tended to be pretty helpful. --

[android-developers] Re: Shares Preferences are not getting deleted

2008-11-11 Thread yasmin afrose
Hi Sudha, Thanks for your reply. Just now I came to my place. Before that I was in meeting. Hey, I have done one application. It will play a song(Airtel) if the SMS reached the mobile. Demerit : The user is not able to hear their favourite song. So I would like to

[android-developers] Re: How to run AT Commands on Emulator

2008-11-11 Thread Digit
ok, I'll look into it On Nov 6, 7:08 am, AlexZhang [EMAIL PROTECTED] wrote: SDK1.0 does not seem work with the option of -radio, but old SDK works! On Nov 3, 11:06 pm, David Turner [EMAIL PROTECTED] wrote: try emulator -help-radio On Mon, Nov 3, 2008 at 9:52 AM, Abraham [EMAIL

[android-developers] Games

2008-11-11 Thread [EMAIL PROTECTED]
Can any one give some idea in developing some gaming projects in Android --~--~-~--~~~---~--~~ 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] Anybody analyzing media player library

2008-11-11 Thread [EMAIL PROTECTED]
Hi All, Anybody trying to understand how the media player works? How the media player library(external\opencore\protocols\http_parcom \*.*) are linked with the framework media files(frameworks\base\media \*.*)? How the content is passed back from library to framework or application? Anybody

[android-developers] Re: Shares Preferences are not getting deleted

2008-11-11 Thread Sudha
Hi shared preferences are very simple. 1.create it prefereceObj = context.getSharedPreferences(preferenceName, modeOfAccess) 2.to write the data 1.obtain the editor Editor edr= prefereceObj.edit(); 2.use edr.putString(key, value)..putBoolean etc etc 3.edr.commit() 3.to read it

[android-developers] Re: Two Notifications

2008-11-11 Thread Christine
On Nov 11, 2:39 am, hackbod [EMAIL PROTECTED] wrote:  Perhaps think about doing something like the calendar app, where selecting the notification brings you to a list of the interesting things behind it. Well, that's kind of what I was hoping to achieve by having one icon pop up multiple

[android-developers] Re: Pay app support?

2008-11-11 Thread Robert Green
Or you could have a demo version for free which is crippled or only a partial app then the full app which is the paid version. On Nov 10, 7:18 pm, Jesse Scherer [EMAIL PROTECTED] wrote: If you absolutely must offer a trial, and the Market won't support it, you could offer a trial version of

[android-developers] Re: Pre settings for each application

2008-11-11 Thread Michael
With in that URL, which application I need to go through... SInce lot of examples are there. :( Perhaps if you search for 'SharedPreferences'? Perhaps if you look through the sample applications and API demos that came with the SDK? A simple search for 'SharedPreferences' turns up many

[android-developers] Re: AlarmManager.RTC_WAKEUP Not Waking Device?

2008-11-11 Thread g1bb
Interesting... I'll give that a shot. Thanks. On Nov 11, 3:51 am, hackbod [EMAIL PROTECTED] wrote: It does wake it up, but you are going to need to hold a wake lock to keep the device awake after your intent receiver returns. On Nov 10, 11:14 pm,g1bb[EMAIL PROTECTED] wrote: Hello,

[android-developers] Re: no callback to onItemClick() on clicking my ListView

2008-11-11 Thread Sunit Katkar
Add some id or attribute to your Button which has the information about the List item - say the position or index of the list item. So when a button click is received, you not only get the button clicked but also the position in the list. Maybe this will help. I am not sure if Android allows event

[android-developers] Re: disable home button

2008-11-11 Thread zl25drexel
anyone? On Nov 10, 9:53 pm, zl25drexel [EMAIL PROTECTED] wrote: so how did the toddlers lock disable the home button? On Nov 10, 9:41 pm, Romain Guy [EMAIL PROTECTED] wrote: Not if the app starts on boot. (You can always boot in safe mode but still... it's annoying.) The Home key is

[android-developers] Re: Connect via USB resets prefs

2008-11-11 Thread Eric B
Now I'm not sure what clears my preferences. I've tested the USB connection theory and it is quite inconsistent. Has anyone else experienced a loss of preference state in their apps? Thanks, Eric --~--~-~--~~~---~--~~ You received this message because you are

[android-developers] Re: Comment spam in android market :(

2008-11-11 Thread Robert Green
Agreed. Something needs to be done. I think google could allocate one employee to scanning the comments for now and perhaps banning/ warning users who made inappropriate comments from commenting? On Nov 11, 8:29 am, Al Sutton [EMAIL PROTECTED] wrote: Ratings are always a highly subjective

[android-developers] Re: Pay app support?

2008-11-11 Thread strazzere
Some applications have already implemented the expiration date and have been cracked already. The Android Market seems to be rather secure, the problem seems to be in the developers coding of protection schemes in products... A registration method with online check would probably be your best

[android-developers] Signing Apps for a external testing group

2008-11-11 Thread WampBier
Hi All, I want to sign my application to let a group of tester install it to there mobiles. Is it possible to create certifications with limited time of use for the test people. Or can I use the existing signing method with a validity period from 60 days? I need a new certification, or? Is

[android-developers] Re: AlarmManager.RTC_WAKEUP Not Waking Device?

2008-11-11 Thread g1bb
Another question on this: Have you seen the Stopwatch application developed by Tom Taylor? I just downloaded it, and it keeps counting after the phone is put to sleep entirely. Any ideas on how he's doing that? I'm looking for that kind of functionality. Thanks again. On Nov 11, 3:51 am,

[android-developers] Re: Check for new version of applications

2008-11-11 Thread Peli
As far as I understand, Google plans something like this for the future (maybe when paid apps start to become possible). For now the developer is left by themselves. We also initially copied an update checker routine in all of our OI applications, but this has 2 major drawbacks: 1) It requires

[android-developers] locationprovider on/of

2008-11-11 Thread Christine
Am I correct to assume that registering a locationlistener with a locationprovider will not switch on that locationprovider if it wasn't on already? I don't want my app to swich on gps, but I do want it to get updates when the user or another app switches on gps.

[android-developers] Re: Comment spam in android market :(

2008-11-11 Thread Al Sutton
I can see this as a good idea so I've comment ratings into AndAppStore.com, sorted the displayed comments by ranking, and show 5 at a time. It took me a couple of hours to put the code together, so I'd hope that the guys at google can do something similar for marketplace in the next few

[android-developers] Re: Two Notifications

2008-11-11 Thread Peli
Maybe this helps: http://code.google.com/android/reference/android/app/Notification.html#number The number of events that this notification represents. For example, if this is the new mail notification, this would be the number of unread messages. This number is be superimposed over the icon in

[android-developers] Re: no callback to onItemClick() on clicking my ListView

2008-11-11 Thread Romain Guy
AlarmClock does not select the whole row. It uses two different widgets inside one list item. You can however give the highlight to the entire row by using android:addStatesFromChildren (or something similar, check the documentation of ViewGroup.) On Tue, Nov 11, 2008 at 8:46 AM, Peli [EMAIL

[android-developers] Problem with Service Permission

2008-11-11 Thread Raktim Das
Hi, I am using 0.9 beta SDK. I want to have a service defined within one application to be invokable from another. The application hosting the service has, in its manifest, the following inside the application tag: service android:name=.service.BackgroundService android:process=:remote

[android-developers] Re: Head-scratcher: NullPointerException from startActivity(ACTION_CALL)

2008-11-11 Thread dreamerBoy
initiateCall is just an Activity. Activity initiateCall = new Activity(); (actually a derived class of Activity with nothing added but debug statements to signal when each lifecycle/callback method is called). On Nov 10, 5:37 pm, dreamerBoy [EMAIL PROTECTED] wrote: Hi - thank you for your

[android-developers] Re: Does SoundPool work or has anyone successfully used it?

2008-11-11 Thread plusminus
Thx for the code but I have that onCompletion working with the MediaPlayer already. The problem actually is that the volume is s silent on some files (even after volume-normalizing them). Does anyone which values to choose, calling the following method on a MediaPlayer: --

[android-developers] Re: progress dialog

2008-11-11 Thread Christine
At the start of your program, do requestWindowFeature(Window.FEATURE_INDETERMINATE_PROGRESS); Then when you want to display a rotating little circle in the title bar, do setProgressBarIndeterminateVisibility(true); When updating or whatever is done, do

[android-developers] Re: Head-scratcher: NullPointerException from startActivity(ACTION_CALL)

2008-11-11 Thread dreamerBoy
Hmmm... so perhaps I can call wait() or use some other kind of synchronizer until I get the proper onCreate callback. Thank you very much for that ... it's a start. On Nov 10, 5:42 pm, hackbod [EMAIL PROTECTED] wrote: Probably you are calling this before Activity.onCreate(), which is where

[android-developers] Re: Head-scratcher: NullPointerException from startActivity(ACTION_CALL)

2008-11-11 Thread dreamerBoy
Sorry... I should have checked my logCat ... in fact onCreate has already been called at the point where the NullPointerException is thrown. On Nov 10, 5:42 pm, hackbod [EMAIL PROTECTED] wrote: Probably you are calling this before Activity.onCreate(), which is where the mInstrumentation field

[android-developers] progress dialog

2008-11-11 Thread chouman82
I am having a little problem of using progress dialog. Trying to figure out how and the optimal way of using the progress dialog. My application needs to grab information from different servers, so I am trying to show the progress dialog at the appropriate moment. I am trying to use a gallery to

[android-developers] Re: Cannot finish download. There is not enough space.

2008-11-11 Thread Jean-Baptiste Queru
I've checked the code, and there is no difference whatsoever between the download code in RC19 and RC28/29/30. If anyone runs into this issue and has their device configured to run adb, the following information could help me diagnose what's going on: -the result of adb shell df -any line

[android-developers] Re: Two Notifications

2008-11-11 Thread Christine
On Nov 11, 6:21 pm, Peli [EMAIL PROTECTED] wrote: The idea is to only show 1 notification, also when you slide down the screen, leaving the user with only 1 choice. Then I don't see the point of having an extended statusbar. Why not execute the intent soon as the user clicks the icon? My

[android-developers] Re: Check for new version of applications

2008-11-11 Thread G
It would be cool if google added the ability to check your version against the market, but for the time being, I'm fine with using a version URL as you described. But I'm still fuzzy on one thing, is there an action available to launch the market app directly to your product page? Example: -user

[android-developers] Re: Check for new version of applications

2008-11-11 Thread Shane Isbell
We also have an update notification feature in SAM. If you update you application version at SlideME site, the user will receive a notification, allowing them to download the new version. This does require, however, that the user have downloaded the application through SAM. Shane On Tue, Nov 11,

[android-developers] Re: whoever wrote the email app for the G1.....

2008-11-11 Thread Ian
I think a large number of G1 users are not programmers, so unable to contribute changes/code, and even tho I am a software engineer, I do not have time to myself! So that leaves most users commenting/giving feedback, for app owners/google to read in and act opon. IV

[android-developers] Re: Head-scratcher: NullPointerException from startActivity(ACTION_CALL)

2008-11-11 Thread dreamerBoy
On Nov 10, 6:12 pm, Mark Murphy [EMAIL PROTECTED] wrote: dreamerBoywrote: Thanks for the reply, Mark (I recognize the name - I read your book.) In the ACTION_CALL documentation, it states: Note: there will be restrictions on which applications can initiate a call; most applications

[android-developers] Re: adding OGC-compliant WMS map services to MapView

2008-11-11 Thread diatom
Excellent! Thanks Ludwig. I'll try this out. On Nov 10, 9:27 am, Ludwig [EMAIL PROTECTED] wrote: I have implemented a simple WMS client for Android, it is not difficult: projections aside, you can simply specify the required coordinates as input to the WMS service and then overlay the image:

[android-developers] announcement Emulator tester AnETTe

2008-11-11 Thread Grigory Fishilevich
Hi folks, Android Emulator Telnet Tester names AnETTe is a small Java application written by me to make Android development and testing little bit easier. What can you do with AnETTe? place inbound-call accept inbound-call cancel inbound or outbound-call reject outbound-call with busy-message

[android-developers] Re: Does SoundPool work or has anyone successfully used it?

2008-11-11 Thread Dave
By default, the MediaPlayer volume should be set to 1.0, i.e. no attenuation. Which stream type are you using when you create the MediaPlayer? Have you checked to make sure that the master stream volume is set correctly? On Nov 11, 10:10 am, plusminus [EMAIL PROTECTED] wrote: Thx for the code

[android-developers] does android phone have a IP address?

2008-11-11 Thread Lei
Hi all I want to program a server on android phone. I use socket. Is the android emulator's IP address the same to the PC's? I got exceptions from the client which I program on the same PC. the exceptions is: java.net.ConnectException: Connection refused: connect java.lang.NullPointerException

[android-developers] Re: Any way to have two MediaRecorders recording at once?

2008-11-11 Thread Dave
No, this use case is not supported. On Nov 11, 5:34 am, Blake B. [EMAIL PROTECTED] wrote: Hi all, For my app I need to have two audio recordings that overlap each other - that is, at some points in time there will be two separate audio files being created from the same audio source. I

[android-developers] Database storage

2008-11-11 Thread g1ster
Is there a way to store a SQLite database instance to an external storage like a SD card? My database is growing and don't want it to take up all the internal storage. Thanks!!! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[android-developers] Re: Head-scratcher: NullPointerException from startActivity(ACTION_CALL)

2008-11-11 Thread dreamerBoy
Actually, thank you - you WERE correct - onCreate is NOT being called for this Activity. I tried doing a wait() for 5 - then 30 seconds on the onCreate callback being called - the wait timed out... Hmmm how to force an Activity to properly initialize itself. On Nov 10, 5:42 pm,

[android-developers] Re: Problem with ContentResolver

2008-11-11 Thread Thustle
I am getting exactly the same problem. I've added TITLE,TRACK,MIME_TYPE,SIZE,ARTIST,DATE_ADDED and DISPLAY_NAME to the list of content values when trying to create the record, but it still returns null and I still get the android.database.sqlite.SQLiteConstraintException: error code 19 error.

[android-developers] Re: Problem with Service Permission

2008-11-11 Thread Raktim Das
Thanks a lot for analyzing the problem. First, my comment on your second point - This I had already been doing - as in the client application's manifest, the service application's manifest too has this entry under the manifest tag: uses-permission

[android-developers] Re: Best approach to fullscreen video?

2008-11-11 Thread Dave
The following are for the T-Mobile G1, other Android devices will likely have different specs based on their hardware capabilities: H.264 AVC baseline, H.263, and MPEG4-SP codecs are supported in a 3GPP container file. H.264 AVC is also supported in an MP4 container. The H.264 AVC format is

[android-developers] Re: Service causing application to crash

2008-11-11 Thread Dave
Have you looked at the log output? There should be a stack trace telling you where the service crashed. On Nov 10, 9:01 pm, roid [EMAIL PROTECTED] wrote: HI I have implemented a service to download online podcast episodes.I have put checks inside service that if there is not enough memory in

[android-developers] Re: whoever wrote the email app for the G1.....

2008-11-11 Thread Brian Beattie
On Tue, 2008-11-11 at 12:22 +, Ian wrote: I think a large number of G1 users are not programmers, so unable to contribute changes/code, and even tho I am a software engineer, I do not have time to myself! So that leaves most users commenting/giving feedback, for app owners/google to

[android-developers] Re: Trouble with SoundPool

2008-11-11 Thread Dave
I can't commit to a date, but I can tell you that it will be addressed in the next SDK release. On Nov 10, 1:27 pm, Robert Green [EMAIL PROTECTED] wrote: Unfortunately it is the only suitable API for sounds in games at the moment. I tried to use MediaPlayers for mine and the performance and

[android-developers] Re: Text mask

2008-11-11 Thread Romain Guy
That's how to do it. What did you do exactly? On Tue, Nov 11, 2008 at 8:33 AM, zl25drexel [EMAIL PROTECTED] wrote: Didnt work for me. Any other suggestions? On Nov 8, 3:09 pm, Romain Guy [EMAIL PROTECTED] wrote: Hi, You would need to draw thetextmanually on a Canvas object (from the

[android-developers] Re: Head-scratcher: NullPointerException from startActivity(ACTION_CALL)

2008-11-11 Thread dreamerBoy
Battle of the quotes, from: http://code.google.com/android/reference/android/app/Service.html Other application components running in the same process as the service (such as an Activity) can, of course, increase the importance of the overall process beyond just the importance of the service

[android-developers] Re: AlarmManager.RTC_WAKEUP Not Waking Device?

2008-11-11 Thread g1bb
Maybe PARTIAL_WAKE_LOCK, looking at it now... interesting. On Nov 11, 10:45 am, g1bb [EMAIL PROTECTED] wrote: Another question on this: Have you seen the Stopwatch application developed by Tom Taylor? I just downloaded it, and it keeps counting after the phone is put to sleep entirely. Any

[android-developers] Re: generating ui clicks from code

2008-11-11 Thread anu
as a follow up of this - is it possible to make an application that can go through another app and get all the code modules from it? On Nov 10, 11:15 am, anu [EMAIL PROTECTED] wrote: Hi, I am trying to automate key presses and UI clicks through code. I know that the monkey tool does this but

[android-developers] Re: Games

2008-11-11 Thread Robert Green
Do you want ideas for games or how to develop games in general? On Nov 11, 3:35 am, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Can any one give some idea in developing some gaming projects in Android --~--~-~--~~~---~--~~ You received this message because you

[android-developers] Re: Text mask

2008-11-11 Thread zl25drexel
all right, answering my own question again. i figured out how to achieve that effect, adjust the matrix and the gradient parameter to adjust effect to your own liking. txtPaint = new Paint(); txtPaint.setColor(Color.GRAY); txtPaint.setAntiAlias(true);

[android-developers] PendingIntent and Notification

2008-11-11 Thread ena
For status bar icon we used Intent contentIntent = new Intent(this,KeypadLayout.class); contentIntent.setFlags( Intent.FLAG_ACTIVITY_NEW_TASK); PendingIntent appIntent =PendingIntent.getActivity(this,0, contentIntent, 0); Notification notification = new

[android-developers] Re: Running SensorSimulator with the emulator

2008-11-11 Thread Peli
Hi, Thanks for your interest in the SensorSimulator. Unfortunately, from your error message I can't yet see what's going wrong. Have you used the 0.9 version, or did you check out the latest version from the repository: http://code.google.com/p/openintents/source/checkout ? You may also contact

[android-developers] Problems with installation of android usb windows driver

2008-11-11 Thread Pavel Petrek
Hi, anybody faced this problem with enabling device debugging in windows? (Win-XP 32bit). I followed the scenario from http://code.google.com/android/intro/develop-and-debug.html#developingondevicehardware , but the installation was unsuccessful and the system device Android Phone shows error

[android-developers] Re: Enabling USB debugging of Android apps on Fedora

2008-11-11 Thread quedijo
Thanks. This helped me get the G1 recognized on Fedora. I have no clue what else you're talking about (I'm a n00b). On Oct 30, 8:05 pm, __ [EMAIL PROTECTED] wrote: There is information at the following link about enabling USB debugging on the T1 phone in Ubuntu:

[android-developers] Animation seems slow

2008-11-11 Thread Rohit Mordani
I have a Grid View and it has 6 jpeg images. I am applying a scale and alpha animation to that grid and then at the end of the animation i set the visibility of that view to invisible. The animation seems slow. I tried to use an AccelerateInterpolator but that doesnt seem to help. Is there a way

[android-developers] Re: Text mask

2008-11-11 Thread zl25drexel
Didnt work for me. Any other suggestions? On Nov 8, 3:09 pm, Romain Guy [EMAIL PROTECTED] wrote: Hi, You would need to draw thetextmanually on a Canvas object (from the onDraw() method of your View for instance.) Then, in the Paint you use to draw thetext, simply set a linear gradient

[android-developers] Where to find Jarsigner

2008-11-11 Thread CM
I have checked the bin folder of my jre and it is not there. Keytool is there, but no jarsigner. I tried googling this but all I found was to check the bin folder. Does anyone know where jarsigner is or know where I can download it from? Thanks

[android-developers] Re: Where to find Jarsigner

2008-11-11 Thread Dennis W.
Check the bin folder of your JDK, not your JRE. Dennis On 11 Nov., 11:20, CM [EMAIL PROTECTED] wrote: I have checked the bin folder of my jre and it is not there.  Keytool is there, but no jarsigner.  I tried googling this but all I found was to check the bin folder.  Does anyone know where

[android-developers] Re: Shares Preferences are not getting deleted

2008-11-11 Thread Christine
On Nov 11, 7:36 am, Sudha [EMAIL PROTECTED] wrote: I am using sharepreferences in my application in the mode MODE_PRIVATE. its working fine.But when I am deleting my application from the emulator and installing it takes the values from the old sharedpreference. Nice, huh? This means that

[android-developers] Re: Text mask

2008-11-11 Thread zl25drexel
Do you have any example codes? The mask gradient is not clipped over the text. On Nov 11, 11:35 am, Romain Guy [EMAIL PROTECTED] wrote: That's how to do it. What did you do exactly? On Tue, Nov 11, 2008 at 8:33 AM, zl25drexel [EMAIL PROTECTED] wrote: Didnt work for me. Any other

[android-developers] Re: Animation seems slow

2008-11-11 Thread Rohit Mordani
I moved to using an AnimationListener to make the view invisible at the end of the animation. That seems more correct now but it still doesn't improve the speed or smoothness (yes - i want to know how to do that too) of the animation. Here is my listener : class TestAnimListener implements

[android-developers] java.rmi.RemoteException

2008-11-11 Thread Avinash Patil
Hi, How to remove java.rmi.RemoteException in android. Can you please suggest link from where I can download supporting JAR files into eclipse - anroid platform. Thanks, Avi. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[android-developers] Re: Animation seems slow

2008-11-11 Thread Romain Guy
Actually the way you did it earlier is simpler and is meant to work. No need for a listener. On Tue, Nov 11, 2008 at 1:14 PM, Rohit Mordani [EMAIL PROTECTED] wrote: I moved to using an AnimationListener to make the view invisible at the end of the animation. That seems more correct now but it

[android-developers] import error for aidl

2008-11-11 Thread anu
Hello, I am trying to create an aidl interface. However when I add the following statement: import android.media.MediaPlayer; I get the following error message when trying to build the aidl through eclipse: couldn't find import for class android.media.MediaPlayer Am I not coding in the

[android-developers] Re: no callback to onItemClick() on clicking my ListView

2008-11-11 Thread Nickname
Hi Sunit, To get the position/index of the item on which its button is clicked is not hard. It is just equal to the final position parameter passed to getView(). So placing the parameter in onClicked callback of the button gets it done. On Nov 11, 8:16 am, Sunit Katkar [EMAIL PROTECTED] wrote:

[android-developers] Re: Does SoundPool work or has anyone successfully used it?

2008-11-11 Thread Robert Green
Here's an example for managing sounds that will be played many times (like gunshots, explosions, clicks, etc) using a pool and then sounds that are just one-offs, like an announcer or an intro sound. public class MediaPlayerPool { private static final String TAG = MediaPlayerPool;

[android-developers] How to get the Screen Width and Height?

2008-11-11 Thread dailyLife
Is AnyBody kown how to get the phone's Screen Width and Height ? --~--~-~--~~~---~--~~ 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

[android-developers] Re: Animation seems slow

2008-11-11 Thread Rohit Mordani
Hmmm...ok - I thought that it might be trying to set the view to invisible while the animation is going on and that might cause some choppiness. You're saying that that is not the case? How can I make the animation smoother and snappier? Rohit On Nov 11, 1:18 pm, Romain Guy [EMAIL PROTECTED]

[android-developers] WiFi within of emulator

2008-11-11 Thread Monic79
Hello, I would like to know how to use a wireless connection of a laptop to simulate WIFI connection in the Android emulator. I would like to add a DLL or SO to the android emulator to use API WIFI. I have sources of android but, I do not understand where is the call to the native library in

[android-developers] Re: AlarmManager.RTC_WAKEUP Not Waking Device?

2008-11-11 Thread hackbod
Yes, for both these things, you need to hold a partial wake lock to keep the phone from turning off. On Nov 11, 12:02 pm, g1bb [EMAIL PROTECTED] wrote: Maybe PARTIAL_WAKE_LOCK, looking at it now... interesting. On Nov 11, 10:45 am, g1bb [EMAIL PROTECTED] wrote: Another question on this:

[android-developers] Re: Problem with Service Permission

2008-11-11 Thread hackbod
Be sure you install the .apk providing the permission before the one using it. You can see what permissions your app has been granted by digging through the output of adb shell dumpsys package. Also PLEASE DO NOT use the name android.permission. The namespaces android.* and com.android.* are

[android-developers] Store audio in SQLite?

2008-11-11 Thread g1ster
Does SQLite support mime type storage like an audio stream? What would be the column type? Any example SQL syntax reference would help. I know it is recommended to store those as files in external devices, but want to explore direct database storage option. Thanks!!!

[android-developers] Android J2ME project

2008-11-11 Thread brownbear
Hi all, I'm a new member of this group a newbie in google android j2me. I'm supposed to do a project that enable people to access their location information using google maps (using mobile phones that aren't GPS enabled). Really need assistance tutorials that will guide me on how to: 1.

[android-developers] Re: Problem with Service Permission

2008-11-11 Thread hackbod
The Intent you are making to bind to the service is trying to find a component in your own .apk, not the other. The last permission error you mention is because you need to explicitly request to use even your own permissions. On Nov 10, 9:31 pm, Raktim Das [EMAIL PROTECTED] wrote: Hi, I am

[android-developers] Re: Shares Preferences are not getting deleted

2008-11-11 Thread yasmin afrose
Thanks..I got the output... But still I didn't try the delete action. Thanks, Yasmin On Tue, Nov 11, 2008 at 4:56 PM, Sudha [EMAIL PROTECTED] wrote: Hi shared preferences are very simple. 1.create it prefereceObj = context.getSharedPreferences(preferenceName, modeOfAccess) 2.to write

[android-developers] Re: Anybody analyzing media player library

2008-11-11 Thread hackbod
This should go on android-platform or one of the other related groups; this group is for application development with the SDK. On Nov 11, 2:12 am, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi All, Anybody trying to understand how the media player works? How the media player

[android-developers] Re: no callback to onItemClick() on clicking my ListView

2008-11-11 Thread Peli
Thanks for the pointer. The following worked in my case: getListView().setAddStatesFromChildren(false); getListView().setItemsCanFocus(true); It is tricky to find the right combination of settings that do what I want :-) Peli On Nov 11, 6:05 pm, Romain Guy [EMAIL PROTECTED]

[android-developers] Re: does android phone have a IP address?

2008-11-11 Thread Christine
Err, is this line in your manifest file? uses-permission android:name=android.permission.INTERNET / just asking On Nov 11, 9:06 am, Lei [EMAIL PROTECTED] wrote: Hi all I want to program a server on android phone. I use socket. Is the android emulator's IP address the same to the

[android-developers] Re: Shares Preferences are not getting deleted

2008-11-11 Thread Sudha
hi u can delete the values by using the clear() function it wont delete the file..yaarr its getting saved in data/data/ur apkpath/shared_prefs/urpref name.xml On Nov 11, 4:52 pm, yasmin afrose [EMAIL PROTECTED] wrote: Thanks..I got the output... But still I didn't try the delete action.

[android-developers] Re: Check for new version of applications

2008-11-11 Thread loty
I'm wondering about the same thing. All applications need to have a simple ability to notify users of new versions. For me 3rd party updaters/checkers is not an option - I can just as easily add simple check against my web site and download new APK file directly. A much cleaner solution is to

[android-developers] Re: Where to find Jarsigner

2008-11-11 Thread dailyLife
L think that you can input commandline jarsigner . [EMAIL PROTECTED] 2008年11月11日 - Original Message - From: CM To: Android Developers Sent: 2008-11-11, 18:20:39 Subject: [android-developers] Where to find Jarsigner I have checked the bin folder of my jre and it is not there. Keytool

[android-developers] Re: java.rmi.RemoteException

2008-11-11 Thread Michael
Um, what does downloading jar files have to do with this exception? Perhaps you could post the code in question? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] Re: no callback to onItemClick() on clicking my ListView

2008-11-11 Thread Romain Guy
The first line is useless :) On Tue, Nov 11, 2008 at 1:49 PM, Peli [EMAIL PROTECTED] wrote: Thanks for the pointer. The following worked in my case: getListView().setAddStatesFromChildren(false); getListView().setItemsCanFocus(true); It is tricky to find the right

[android-developers] Re: Animation seems slow

2008-11-11 Thread Romain Guy
It depends on the rest of your UI. But if you're animating a fullscreen GridView, it's gonna be slow on the G1 (unfortunately.) On Tue, Nov 11, 2008 at 1:27 PM, Rohit Mordani [EMAIL PROTECTED] wrote: Hmmm...ok - I thought that it might be trying to set the view to invisible while the

[android-developers] Re: Head-scratcher: NullPointerException from startActivity(ACTION_CALL)

2008-11-11 Thread hackbod
On Nov 11, 11:35 am, dreamerBoy [EMAIL PROTECTED] wrote: Actually, thank you - you WERE correct - onCreate is NOT being called for this Activity. I tried doing a wait() for 5  - then 30 seconds on the onCreate callback being called - the wait timed out...  Hmmm how to force an Activity

[android-developers] Re: EditTextPreference mask passwords

2008-11-11 Thread Christine
There's a password attribute you can use in the xml file. On Nov 11, 5:25 am, Brian Yarger [EMAIL PROTECTED] wrote: I've got a user preference that is a password.  Is there a way to mask the input like there is with an EditText component?  Or do I need to subclass EditTextPreference to get

[android-developers] Any way to have two MediaRecorders recording at once?

2008-11-11 Thread Blake B.
Hi all, For my app I need to have two audio recordings that overlap each other - that is, at some points in time there will be two separate audio files being created from the same audio source. I have attempted to use two MediaRecorders and start the second one while the first is still

[android-developers] Re: Store audio in SQLite?

2008-11-11 Thread Marcelo Martim
Hi, Only a suggestion. If audio files are the reason of your database size increase, you could store this kind of files in simcard and use a string field in database to access this file. Have fun... Marcelo On Tue, Nov 11, 2008 at 11:31 AM, g1ster [EMAIL PROTECTED] wrote: Does SQLite

[android-developers] Re: Comment spam in android market :(

2008-11-11 Thread Protocol-X
Yes it is rediculous, There is swearing, racial slurs, comments about body parts, all randomly out of nowhere. Google needs to kill the comments from being displayed so that only the app creator can see them and the rating system is defunk as well because people are ratting 1;'s because they

[android-developers] Re: Need help using hat to track down memory usage

2008-11-11 Thread kohlerm
Hi, I also asked this question several times already. I think having a great memory usage analysis for Android would be a key differentiator compared to other environments. I would be willing to help out the get the Eclipse Memory Analyzer (JHat sucks, sorry :]) to support Android. Why is the

[android-developers] Re: How to get the Screen Width and Height?

2008-11-11 Thread Eric
You can get the size of the usable area by asking your activity's top- level view (typically a layout object) for its width and height. Make sure your XML file defines an ID for it, then use getViewById to get the view. That width and height will be the screen size less the status bar and title

[android-developers] Re: Android J2ME project

2008-11-11 Thread David Given
brownbear wrote: [...] I'm a new member of this group a newbie in google android j2me. Unfortunately Android doesn't actually support J2ME --- it's J2SE more than anything else. You're unlikely to be able to use any existing J2ME code. The documentation is excellent; try the 'getting

[android-developers] Re: problem obtaining android source from windows/cygwin

2008-11-11 Thread Jean-Baptiste Queru
Just so that we have a trace in the group archives... The instructions at http://source.android.com/download should work on MacOS and linux, which are the supported environments. Under Windows, which is not a supported environment, you're indeed on your own. Also, you should note that, without

[android-developers] Re: does android phone have a IP address?

2008-11-11 Thread Mark Murphy
Lei wrote: I want to program a server on android phone. I use socket. Is the android emulator's IP address the same to the PC's? No. On the emulator, 10.0.2.2 is a magic IP address that converts into localhost on your PC.

[android-developers] Re: progress dialog

2008-11-11 Thread chouman82
Hi Christine, Thanks for your help. That seems to only work in the initial loading screen. How do I go about doing the same when the user scroll to an image that I am still loading and then show the loading progress bar. Is there an example somewhere that i can follow? thanks On Nov 11, 4:45 

  1   2   >