[android-developers] Re: [android-porting] opencore test cases issue

2010-02-23 Thread arindam das
Hi Uander , I guess ur doing it correctly.While running the test cases already provided by the PVcore,one can only see the logs and not the output on the screen or the speaker. This is what my experience says.Other people who worked on this can confirm. Regards Arindam On

[android-developers] Re: AppWidgets and permissions

2010-02-23 Thread Michael Scott
bump! On Feb 19, 3:54 pm, Michael Scott wrote: > Hi, > > I've developed anappWidgetby inheriting AppWidgetProvider and adding > it to the manifest as a receiver with theappwidget-metatag. Works > fine. > Two questions though: > > 1. It seems that the only reason to add APPWIDGET_UPDATE to the > i

[android-developers] Re: What does the prefix 'm' stand for ?

2010-02-23 Thread Zsolt Vasvari
There is an option in Eclipse to force the use of 'this.' for members. I have that option set and don't use the prefix. On Feb 23, 12:39 am, Bob Kerns wrote: > I'm not fond of 'this.member'. It seems to combine the worst of both > worlds -- an optional prefix that may or may not be used in diffe

[android-developers] Re: Out of Memory resuming application

2010-02-23 Thread REvolver
I've also tracked the memory (the external heap) with DDMS and it's stable if I don't pause my application (about 7 mb for the gallery view and about 10 mb for the gamescreen view), but after pausing and resuming the application my gamescreen memory is 13 mb... Any ideas? -- You received this mes

[android-developers] Re: OpenGL and the use of ByteBuffers

2010-02-23 Thread Jonathan
I'm testing on an N1 at the moment. glTexImage2D works great on the iPhone, but I think you're right, it's not gonna fly with Android. Does OpenGL still offer the best 2D performance over the alternatives (ie: canvas drawing, etc)? Thanks a lot for your help! On Feb 23, 11:38 pm, Robert Green

[android-developers] Re: OpenGL and the use of ByteBuffers

2010-02-23 Thread Robert Green
Are you using a device or an emulator? The emulator is notoriously slow at texture uploads. You need to test on real devices to know what kind of real-world performance you'll get. This question has come up many times and the answer seems to be: glTexImage2D is pretty slow on most chips. Find a

[android-developers] KSOAP web service complex type response exception

2010-02-23 Thread veradis
Hi I use the ksoap webservice to PHP server from android. I can get string responses in android, but have problem with complex types. PHP code $server->wsdl->addComplexType( 'arrayreturn', 'complexType', 'struct', 'all', '', array( 'name' => 'xsd:strin

[android-developers] Re: Hang up phone call

2010-02-23 Thread Kumar Bibek
You cannot. On Feb 23, 5:25 pm, Isaac Wagner wrote: > I've spend the last couple days looking for a way to hang up a phone > cal via the API.  I'm guessing for some "security" reason that Google > does not allow this.  Not being one to give up yet...is there any > undocumented way to hang up a ph

[android-developers] Re: intercept sms

2010-02-23 Thread Kumar Bibek
You can of course intercept incoming sms. But you cannot disable the notification. Also, you have to do your bit of work within a certain time limit, else your process will be closed. You can also not abort the broadcast. On Feb 24, 9:32 am, nigel wrote: > requirements: > 1.Can intercept short m

[android-developers] Re: "android.speech.action.RECOGNIZE_SPEECH" activity not found

2010-02-23 Thread Kumar Bibek
The emulator doesn't have this Activity. That is why you are getting this exception. On Feb 24, 11:04 am, Sandeep Phansekar wrote: > plz explain u r problem with more details > -- > Regards > Sandeep > > On Tue, Feb 23, 2010 at 8:58 PM, Mukesh kumar wrote: > > when we call > > Intent intent = ne

[android-developers] Re: New Android Project -> Create from existing source -> Unhandled event loop exception, java.lang.StackOverflowError

2010-02-23 Thread Kumar Bibek
This looks like a memory problem to me. Eclipse does eat up a lot of memory. And if you are short of RAM, and you are doing lots of things, you will hit StackOverflow. On Feb 24, 12:22 am, Matt Kanninen wrote: > This work flow is causing Eclipse to give me: > > Unhandled event loop exception > ja

[android-developers] Drag and Drop on WebView

2010-02-23 Thread Kumar Bibek
Hello, I have this doubt. Suppose we have an html page loaded on a WebView with canvas that is coded to do some drag and drop. But I guess, the touch events of WebView are the first to be fired and this disables any drag and drop on the canvas. How to avoid this? Is there a way? Thanks and Regar

Re: [android-developers] "android.speech.action.RECOGNIZE_SPEECH" activity not found

2010-02-23 Thread Sandeep Phansekar
plz explain u r problem with more details -- Regards Sandeep On Tue, Feb 23, 2010 at 8:58 PM, Mukesh kumar wrote: > when we call > Intent intent = new Intent("android.speech.action.RECOGNIZE_SPEECH"); > startActivityForResult(intent, 0); > > After that show Exception: > > Activity not foun exce

[android-developers] getting java.lang.NoClassDefFoundError

2010-02-23 Thread grace
hi, I have made a content provider and want to use it from other application. I am able to access the overridden functions of content provider,but the problem comes when i want to access the user defined functions of the content provider. there is not problem while installing the app on emulator,b

[android-developers] setOnItemSelected Workaround Needed!

2010-02-23 Thread Todd S.
I have a spinner in a dialog with a setOnItemSelectedListener that onItemSelected will change the value of an EditText field in the same dialog based on a value in a database. When the user dismisses the dialog, the value of the EditText is stored and displayed in a listview. When the user clicks

[android-developers] intercept sms

2010-02-23 Thread nigel
requirements: 1.Can intercept short messages by condition I specify(means that the system's sms can't receive any messages and don't send any notification to user). If the short message isn't match my condition that my app will not intercept it and the sms can receive the short message. 2.When I i

[android-developers] Re: OpenGL and the use of ByteBuffers

2010-02-23 Thread Jonathan
I have an array in memory that represents the screen. I then call put() once to put that into the ByteBuffer that gets pased to OpenGL. I tried skipping the ByteBuffer stuff and just passing the internal array from Java to native and then calling glTexImage2D() with the pointer to avoid the copy,

[android-developers] Re: Petition: Google, please improve the Android Market.

2010-02-23 Thread Jason Arora
This is a good start. There are a few other features that would be incredibly useful. 1) Better market search (as already suggested by Tim H.), including autocomplete and commonly misspelled etc 2) Promo codes to give out to users and reviewers for free app downloads I also agree that we need a b

[android-developers] Question about draw dialog

2010-02-23 Thread Alpha Jin
I have a question about dialog drawing: There was a dialog on the top of some activity. When the configuration changed, who would in charge of drawing dialog? the activity or the other one ? -- You received this message because you are subscribed to the Google Groups "Android Developers" group.

Re: [android-developers] Having content in wallpaper

2010-02-23 Thread Dianne Hackborn
You can draw whatever you want in the surface, using Canvas or OpenGL. You can not put views in it, so you will need to do the drawing and layout yourself however you desire. On Mon, Feb 22, 2010 at 11:52 PM, Janam wrote: > Hi, > > I'm trying to figure out a way to hold RSS feeds in the wallpap

[android-developers] Re: SQLite database question

2010-02-23 Thread Paul
On further review, I think I am using the database object to insert a row. return mDb.insert(DATABASE_TABLE, null, initialValues); where mDb is the database returned by getWritableDatabase. Any ideas why this would work the first time, but not create a new row the next time? It returns the same ro

Re: [android-developers] How to get a reference to the PhoneWindow object

2010-02-23 Thread Dianne Hackborn
As you say, this is an internal class, so not appropriate to discuss on android-developers (which is for the SDK). Also this class is not part of the framework, so there is no way for you to directly reference it. On Tue, Feb 23, 2010 at 5:18 PM, Nik Bhattacharya wrote: > I am trying to get a re

[android-developers] Re: OpenGL and the use of ByteBuffers

2010-02-23 Thread Robert Green
If you're creating a bitmap dynamically, writing one byte at a time with .put(), I wouldn't be surprised at all if it's really slow. If at all possible, move that code into native. You can preallocate a ByteBuffer in Java, pass it into native and work on the pointer directly in native, then use i

[android-developers] I want to use assist code on the Eclipse.

2010-02-23 Thread taehun zzang
Hi nice meet you guys. when I use Eclipse first time I can use it. but suddenly it doesn't support assist code. I think I did set up anything. Usually when i coding java code. but xml is okay. How can I fix it? Have nice day. -- You received this message because you are subscribed to the Goog

[android-developers] How to get a reference to the PhoneWindow object

2010-02-23 Thread Nik Bhattacharya
I am trying to get a refrence to the android internal class PhoneWindow (android.policy.PhoneWindow) object from an application. I would like to call a method on it (specifically I would like to call getDecorView on PhoneWindow). How do I do this? Nik Bhattacharya -- You received this message b

[android-developers] Re: SQLite database question

2010-02-23 Thread Paul
Thanks for the reply. I meant android.database.sqlite.SQLiteOpenHelper . I'm using: long android.database.sqlite.SQLiteDatabase.insert(String table, String nullColumnHack, ContentValues values) which returns a rowID for the new row. This works the first time but not subsequent. I'll try using th

Re: [android-developers] Re: new certificate for the apk

2010-02-23 Thread Mark Murphy
Achanta wrote: > So I guess I am at a loss here. But what would be the best way to go > ahead?Can you weigh the options. AFAIK, your only option is to upload the app with your new signing key in a new package, discontinue the old app, and try to let people know to change over to the new app. Or,

[android-developers] Re: new certificate for the apk

2010-02-23 Thread Achanta
Thank you Mark for the reply, So I guess I am at a loss here. But what would be the best way to go ahead?Can you weigh the options. Thanks. On Feb 23, 6:01 pm, Mark Murphy wrote: > Achanta wrote: > > I do not have the keystore that I used when I first created the app > > and I am wondering if I

Re: [android-developers] new certificate for the apk

2010-02-23 Thread Mark Murphy
Achanta wrote: > I do not have the keystore that I used when I first created the app > and I am wondering if I can create a new certificate using the same > details that I used to create the earlier certificate. I have the > details available with me. > > If I do so and update the app using this c

[android-developers] new certificate for the apk

2010-02-23 Thread Achanta
I do not have the keystore that I used when I first created the app and I am wondering if I can create a new certificate using the same details that I used to create the earlier certificate. I have the details available with me. If I do so and update the app using this certificate, will the users

[android-developers] Re: SQLite database question

2010-02-23 Thread Brion Emde
I'm confused with the terminology you're using. What is Data Base Helper? There are a couple of them: SQLiteOpenHelper; SQLiteQueryHelper and just the plain old database. Your SQLiteOpenHelper can create stuff when you create your database, like if you need a table pre-populated. The QueryHelper

Re: [android-developers] capturing touch events in status bar

2010-02-23 Thread Romain Guy
This is not possible, sorry. On Tue, Feb 23, 2010 at 4:07 PM, RCP2278 wrote: > Hi, > > Is there a way to capture or intercept touch events in the Android > status bar?  Currently the behavior looks like it displays the current > date when I touch on the status bar and also pull down the expanded

[android-developers] capturing touch events in status bar

2010-02-23 Thread RCP2278
Hi, Is there a way to capture or intercept touch events in the Android status bar? Currently the behavior looks like it displays the current date when I touch on the status bar and also pull down the expanded view. Is it possible to catch this touch event so that I can possibly launch an activit

[android-developers] OpenGL and the use of ByteBuffers

2010-02-23 Thread Jonathan
Hey guys, I'm porting over some software from the iPhone, and the fact that I need to use ByteBuffers for my data structures in order to use OpenGL is killing me. My render loop takes 3ms to actually do the work and render screen, but I do need to perform a ByteBuffer clear / repopulate to update

[android-developers] Re: Persisting alarms

2010-02-23 Thread Ken H
Figured it out. Just needed to create a service dedicated to setting the users defined alarm time, which I save in a preference. After reboot the service is called, pulls the preference, creates the alarm, and stop itself. Simple. Ken On Feb 23, 8:44 am, Ken H wrote: > But how can you then set t

[android-developers] Re: Petition: Google, please improve the Android Market.

2010-02-23 Thread Rob Irondad
Thanks for your feedback. Just a few comments: > The "Visit the developers web page" is clickable. I think if your > asking for clickable links "inside" your description then that may be > asking too much. I mean if you want to say more then do it on the > webpage. Then the phrase "developer's w

[android-developers] Re: eclipse linkedResources - linked layout xml is neither included in the apk nor generated

2010-02-23 Thread Bob Kerns
Very clever! If Eclipse handles that gracefully, it looks like a very good solution. Even if Eclipse doesn't handle dropping in a physical file gracefully, you just have to turn off the link manually, or live without the ability to override locally. The only downside is having to explain what's

[android-developers] Re: question about handle and runnables

2010-02-23 Thread Bob Kerns
No, that's not it. I misread Kaj's comment -- he hit the nail on the head, and noticed about 1 second after I hit 'Send'... You need to capture each one separately, either in separate local variables, or as member variables in a Runnable subclass, or as constants in separate anonymous Runnable. O

[android-developers] Re: question about handle and runnables

2010-02-23 Thread Bob Kerns
A wild thought: I'm wondering if you pass the same == Runnable in to postDelayed() if the second call perhaps actually resets the earlier one to a new time? It's not documented to do that, but it would fit your observed behavior. Instead of mWaitRunnable, try passing new Runnable() { ...} instead

Re: [android-developers] A Widget that looks like a launcher icon?

2010-02-23 Thread Mariano Kamp
Sure, that was my original idea. I should have mentioned the 1x1 size. The Gmail thing was just an example and I was talking about the actual GMail shortcuts. They don't show the unread count so you have to click them to know what's in them. In my case it would be "shortcuts" to Google Reader labe

[android-developers] Re: What does the prefix 'm' stand for ?

2010-02-23 Thread Bob Kerns
Perhaps you should consider that the people who came up with Android's convention had a lot more Java experience under their belt than the people who came up with Java's convention had, way back when. I'm not saying that makes the case, just that your argument-from- authority here falls flat. As

[android-developers] How to save a WiFi connection?

2010-02-23 Thread Abhi
Hi, I have written an app that programmatically scans for open WiFi networks and connects to the one that has been hard-coded in the app code. For e.g., I have a home network, SSID: Abhi and is secured as WPA-Personal with a Passkey. The passkey for the above network has been saved within the App,

Re: [android-developers] Eclipse is too slow

2010-02-23 Thread Michael MacDonald
On 02/22/10 07:55, Ferm wrote: > Hello > > I just installed the latest version of Eclipse IDE for Java Developers > together with the ADT plugin on my Mac (2.8 GHz, 4 GB Ram). > > - Opening new files from the package explorer. For example, opening a > layout xml file takes 1-2sec- And the mouse poi

Re: [android-developers] stay inside webview?!

2010-02-23 Thread Jason Proctor
did you read the documentation? read a little more about shouldOverrideUrlLoading() and find out what it does. you can do a little more than tell the web view to load the URL. well, the webview now only shows my pages. thats nice and works fine. right now I want to correspond to some speci

Re: [android-developers] stay inside webview?!

2010-02-23 Thread Marco Alexander Schmitz
well, the webview now only shows my pages. thats nice and works fine. right now I want to correspond to some special links in my . I'd like to write an email (with mailto:) and the composer should be opended automatically. and the same with a telephone number (with tel: I suppose) and finally I wan

Re: [android-developers] from webview to activity

2010-02-23 Thread Marco Alexander Schmitz
I am sorry, but it isnt working. do you know how to correct? *XML:* http://schemas.android.com/apk/res/android"; package="android.project.app" android:versionCode="1" android:versionName="1.0">

Re: [android-developers] general design question

2010-02-23 Thread TreKing
On Tue, Feb 23, 2010 at 1:06 PM, sdphil wrote: > the issue is that when the user changes > orientation, you need to be able to re-render your activity -- which > means you need to get back at that data that you use to render. > I think you want to look into onSaveInstanceState() and onRestoreIns

[android-developers] Re: android floating point hardware support

2010-02-23 Thread fadden
On Feb 22, 12:34 pm, "tdom...@googlemail.com" wrote: > if the hardware has a FPU, will it be automatically used, both in java > and in native code? > for the native code part: > will the floating point stuff be transformed into softfloat > instructions at compile time, or will the exceptions be ca

Re: [android-developers] Multiple development environments on a single machine: Problem changing default 8700 port in ADT/DDMS

2010-02-23 Thread Xavier Ducrohet
The 8700 port is only part of a bigger problem. If you were able to change the port to something else so that each users could have their own ports it still wouldn't work. DDMS monitors any device or emulator connected to or running on the machine. As soon as a new device is detected, DDMS will c

[android-developers] Kansas City - Android Development project - LOCAL ONLY

2010-02-23 Thread jnichols
3 month proejct located in the Kansas City area. Client is only willing to consider people local to the area. Developer III performs complex analysis, design, development and unit testing of software applications from user requirements and design documents. The candidate also resolves defects enc

[android-developers] MediaPlayer for Streaming audio.

2010-02-23 Thread momojo
I am trying to stream mpeg audio from a url on the web via MediaPlayer. I am getting an error on the prepare call. 02-23 13:05:12.626: ERROR/PlayerDriver(554): Command PLAYER_INIT completed with an error or info PVMFErrCorrupt 02-23 13:05:12.636: ERROR/MediaPlayer(1147): error (1, -10) 02-23 13:05

[android-developers] Transmitting audio from the application to the uplink....is it possible?

2010-02-23 Thread Nosaj Ronnoc
I've been searching the API for a way to send a sound over the audio uplink during a phone conversation. From what I see, there is no way to do this. Am I missing something? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this

[android-developers] Edit Text Password visible on focus in landscape

2010-02-23 Thread syronet
I have a login screen with a edit text password field. In landscape mode, when i try to enter anything into the field, the view kinda zooms into the field with the virtual keyboard on the bottom, and anything i type is visible as plain text; now if i were to hit the back button, it will zoom out an

[android-developers] Re: Multiple development environments on a single machine: Problem changing default 8700 port in ADT/DDMS

2010-02-23 Thread fadden
On Feb 3, 12:15 am, Pawel Kapala wrote: > 2) I have run the DDMS before running Eclipse, changed the port in it > to be 8740 (File -> Preferences -> Debugger -> Port of selected VM). > Not handy to have DDMS running outside Eclipse, Eclipse still opens > 8700 port for listening. I assume this mea

[android-developers] Re: Petition: Google, please improve the Android Market.

2010-02-23 Thread Tim H.
I agree that the petition should be phrased a little more 'nicely' - it shouldn't sound like a complaint form, even though it is ;) On Feb 22, 11:20 am, Streets Of Boston wrote: > About the 325 char limit: > Maybe i'm a little slow, but I discovered just recently that you can > put a little more

[android-developers] MediaPlayer MIDI gapless loop?

2010-02-23 Thread Robert Green
Trying to loop a song for a game in MIDI and I'm getting a noticeable gap when looping. I'm currently just using MediaPlayer like I use for looping OGGs normally. Is there something wrong with my file or does the current implementation (Tested on 2.1) have a short gap in the loop? -- You receiv

Re: [android-developers] Re: Why Gallery3D apk does not contain drawable-hdpi, which is in source code res/

2010-02-23 Thread Xavier Ducrohet
In your product definition you must specify that you need hdpi resources by setting PRODUCT_LOCALES += hdpi Xav On Mon, Feb 22, 2010 at 11:36 PM, Xinyu Chen wrote: > Hi Xav > > Yes, I built it as part of platform. > Where's the product configuration for density you mentioned here? > How can I c

Re: [android-developers] A Widget that looks like a launcher icon?

2010-02-23 Thread Romain Guy
Why not make a 1x1 widget with a Gmail like icon? It would be close enough to a shortcut :) On Tue, Feb 23, 2010 at 11:50 AM, Mariano Kamp wrote: > Thanks guys. > The thing is, it shouldn't look like a widget, but like an active shortcut > with a badge representing the unread count. My shortcuts

[android-developers] Get file's list

2010-02-23 Thread badzio
Hi all, I need to list all document files (*.doc/pdf/txt/xls) on android. I know that I can list media files (audio, movies, pictures) using embedded android's database (ContentResolver) with some URI, for example content://media/external/audio/media for audio files. Can I get document files using

[android-developers] Re: Nexus One: A-GPS and setup w/o carrier

2010-02-23 Thread mah
I haven't used it extensively outside -- I was curious regarding your question and that prompted me to give it a shot ;) That being said, my initial glance at the screen was difficult enough that I had to shade the sun with my hand to view it properly. Hardly a scientific data set, but I definitel

Re: [android-developers] Re: Petition: Google, please improve the Android Market.

2010-02-23 Thread Tim
I know ;) I've done the research and published the work arounds :) -Tim Strazzere On Tue, Feb 23, 2010 at 2:46 PM, brucko wrote: > > > So throwing a T-Mobile sim card inside the Nexus One will net T-Mobile > > with those fees. If you load up an Archos and use the Market Enabler, > > T-Mobile

Re: [android-developers] A Widget that looks like a launcher icon?

2010-02-23 Thread Mariano Kamp
Thanks guys. The thing is, it shouldn't look like a widget, but like an active shortcut with a badge representing the unread count. My shortcuts to labels in Gmail have the drawback that I always have to open them to see what's in them. It would be great if there were a way to use common function

[android-developers] Re: Petition: Google, please improve the Android Market.

2010-02-23 Thread brucko
> So throwing a T-Mobile sim card inside the Nexus One will net T-Mobile > with those fees. If you load up an Archos and use the Market Enabler, > T-Mobile might get those too, depending if you use those tmobile > "credentials" to access the market. > > The market is filtered by your carrier, then

[android-developers] Re: Nexus One: A-GPS and setup w/o carrier

2010-02-23 Thread greg
Thanks. One last question, since you've used the Nexus One outside, how would you describe the visibility of its screen in shade and in direct sunlight? Thanks again, Greg On Feb 23, 11:42 am, mah wrote: > I have a Nexus One that has never had a SIM installed... I enabled its > GPS and took it

[android-developers] Re: glDeleteBuffers crashes

2010-02-23 Thread Viktor Linder
I've also experienced this crash whenever calling glDeleteBuffers() on the emulator. On the phone (G1) it works. Since you seem to be doing dynamic geometry creation, it would be interesting to know if you also encounter this issue: http://groups.google.com/group/android-developers/browse_thread/th

[android-developers] Re: Petition: Google, please improve the Android Market.

2010-02-23 Thread strazzere
Any android device, phone or not can have the market it on it. People from other countries can also purchase paid applications if their country has not yet been enabled. This was the concept behind the "Market Enabler" and the research done behind it. It's my understanding that the carrier that th

Re: [android-developers] Find/Set Value of Spinner

2010-02-23 Thread TreKing
On Tue, Feb 23, 2010 at 8:30 AM, Nick Owens wrote: > So, the question is how do I get from "red" to "2"?! There must be some > setSelectionByValue() or getSelectionIndex() function, right? > Documentation is your friend. Spinner inherits from AdapterView, which has the getSelectedItemPosition()

[android-developers] New Android Project -> Create from existing source -> Unhandled event loop exception, java.lang.StackOverflowError

2010-02-23 Thread Matt Kanninen
This work flow is causing Eclipse to give me: Unhandled event loop exception java.lang.StackOverflowError Looking at the eclipse log it gives just a bit more information: Unhandled event loop exception java.lang.StackOverflowError org.eclipse.ui I am running: Eclipse IDE for Java Developers

Re: [android-developers] Re: Camera on HTC Hero: Calling camera.autoFocus(...) gives a IOException .. ?

2010-02-23 Thread Mark Murphy
Streets Of Boston wrote: > The problem is that when i create this sample project, i cannot be > sure that it will recreate the problem, since i can't reproduce it.\ Oh, uh, yeah, good point. > I'll try to get a sample going (a simple camera app that uses > autofocus) and hopefully this will recre

Re: [android-developers] Re: What does the prefix 'm' stand for ?

2010-02-23 Thread Romain Guy
That was a choice made at Sun when they wrote the Java core classes, our choice was to use a prefix. That's all. It's NOT going to change. On Tue, Feb 23, 2010 at 12:07 AM, Kaj Bjurman wrote: > I don't buy that argument since since all of the core classes in Java > are written without prefixes of

[android-developers] Find/Set Value of Spinner

2010-02-23 Thread Nick Owens
Oh Holy Experts: I know this is an easy one to start off the morning. I haven't worked with spinners before and I am trying to set the value of a spinner. The only examples I can find on the first 5 pages of a Google search refer to Spinner.setSelection(). That's great once I find out the ordin

[android-developers] Having content in wallpaper

2010-02-23 Thread Janam
Hi, I'm trying to figure out a way to hold RSS feeds in the wallpaper. How can I have the wallpaper hold/display content and not just an image? Is this even possible? If so, can anyone guide me to appropriate articles/tutorials/apis. Thank You. -- You received this message because you are sub

Re: [android-developers] Re: Petition: Google, please improve the Android Market.

2010-02-23 Thread Disconnect
What carrier does that go to on nexus and such? Those devices don't have assigned carriers, and the software load is created by google. (That 30% was explained as incentive/payment for shipping the market, passing compatibility tests, etc.) On Tue, Feb 23, 2010 at 11:36 AM, Streets Of Boston wrot

[android-developers] Insert symbol in edittext window

2010-02-23 Thread André
Hello, I have an EditText window that I want to insert a symbol in by pressing a button. I have tried edittext.appen("thesymbol"); this works. But it only inserts the symbol in the end. I want it to insert the symbol where the marker is. How can I do this in a simple way? André -- You receive

[android-developers] general design question

2010-02-23 Thread sdphil
for a particular activity - what is the best way to store data that needs to be displayed. the issue is that when the user changes orientation, you need to be able to re-render your activity -- which means you need to get back at that data that you use to render. i understand the MVC design patte

[android-developers] How to access starred items in Google Maps?

2010-02-23 Thread Andreas Schildbach
Can anyone give an example of how to access starred items (places) in Google Maps from another app? I'd like to pick one of those and then read the postal address of those items (maybe lat/lon as well). If there is an alternative, I'd prefer code that runs under 1.5 as well. Best regards, Andrea

Re: [android-developers] Re: Petition: Google, please improve the Android Market.

2010-02-23 Thread Mark Murphy
Hekki wrote: > Are you sure about the carrier thing ? Yes. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy _Beginning Android_ from Apress Now Available! -- You received this message because you are subscribed to the Google Groups "Android Developers" gro

[android-developers] Re: Persisting alarms

2010-02-23 Thread Ken H
But how can you then set the alarm to fire at a specific time? Every example I've come across has the alarm fire a certain amount of time after reboot. I want to set a specific time used in my app and the onReceive method seems pretty limited in what it will let you do. Ken On Feb 2, 1:26 pm, Mik

[android-developers] Re: How can I verify android basic API? (e.g. Date and Time API)

2010-02-23 Thread Evans
Hello Bishu You can find cts in http://android.git.kernel.org/?p=platform/cts.git;a=tree;f=tests;h=95461e7438487895c7246645ed7fb9e1d432b03e;hb=refs/heads/eclair-release I don't know where is document in there, but you can find it. You can run CTS with your device also. On Feb 17, 11:25 am, bishu

[android-developers] SQLite database question

2010-02-23 Thread Paul
I have a database that works fine to create a new row the first time after I start the application, but subsequent times, data base helper returns the same rowID and does not store a new row. It doesn't help when leaving or returning to an activity or if I stop and start the database. Do I need to

Re: [android-developers] from webview to activity

2010-02-23 Thread Jason Proctor
all this is very possible. check the documentation for WebView and WebViewClient to find out how. dear developer, is it possible that a user clicks inside a webview on a link like and then my activity is opened? I need this for sms, email, telephone and some specials. Lets say the user br

[android-developers] Re: Eclipse is too slow

2010-02-23 Thread Twisted Ware
Yep, although that does sound a little slower than my 1.9 Ubuntu machine, it's not lightning quick. Plenty fast enough to code in. On Feb 22, 4:55 am, Ferm wrote: > Hello > > I just installed the latest version of Eclipse IDE for Java Developers > together with the ADT plugin on my Mac (2.8 GHz,

[android-developers] Need help with small animation

2010-02-23 Thread social hub
Hi, |--- TEXT VIEW ---' SLIDE DRAWER image I have a layout like this above textview and an image that slides down after clicking the text view I have loooked at translate animation but the issue is I

[android-developers] ImageView setImageURL(Uri imgUri) does not work with "android.resource//..." Uri

2010-02-23 Thread qlimax
I'm trying to do the following thing without success: ImageView imgView=(ImageView)findViewById(R.id.imgView); Uri imgUri=Uri.parse("android.resource:// my.package.name/"+R.drawable.image); imageView.setImageURI(imgUri) I'm stuck, because the imageView just shows nothing... how I can get an Uri

Re: [android-developers] Re: MapView

2010-02-23 Thread Fabian Sturm
Hi, Am Dienstag, den 23.02.2010, 07:49 -0800 schrieb Aamir Yaseen: > Hi everyone, > I was able to solve this issue, so thought better update everyone, > this might help others. do you use the focus state to change the icon in your statelistdrawable? I do this and it works but I can't "focus, unfo

[android-developers] Re: rotate progress bar

2010-02-23 Thread Vertifi Software
Build a custom widget by modifying the android AbsSeekBar class code, not by extending ProgressBar. The rotate/translate technique in your onDraw is valid. On Feb 15, 4:24 pm, Jonathan wrote: > HI, I am extending the normal android.widget.ProgressBar. I want to > make it vertical. This is my cur

[android-developers] Re: Location.getAccuracy()

2010-02-23 Thread Funksta
I always assumed you just had to take it that the accuracy could be in any direction, including up and down. I often had issues with the vertical accuracy because sometimes it really matters how high you are. -Geoff On Feb 22, 3:28 am, meet wrote: > Hello, > > Does Location.getAccuracy() returns

[android-developers] Why does my phone show only one Locale in settings / set locale ???

2010-02-23 Thread lordjoe
IN testing internationalization I find my phone - (google dev version of HTC Hero) I see only one local - English when I try to set the locale in the Settings application - How many locales are really available and how do we make them available to settings??? People overseas (i.e. not in the US) w

[android-developers] Re: how to convert mp3to PCM format in android

2010-02-23 Thread skink
On Feb 23, 1:13 pm, kavitha wrote: > Thanks for reply skink. > > I downloaded lame.zip,,but totally lost > > how to use in my android project. > > Thanks > Kavitha > > > > On Tue, Feb 23, 2010 at 5:10 PM, skink wrote: > > > kavitha wrote: > > > Hi All, > > > > Is there any way to convert mp3 to

[android-developers] MMS Not Working

2010-02-23 Thread Ramjee Singh
I am facing some issues while sending mms: Logs says: I/global ( 1223): *** checkClosedAndCreate: bind to if= rmnet0 E/OSNetworkSystem( 1223): *** bindif (rmnet0) failed! errno is 1, Operation not permitted E/global ( 1223): bindInterface failed! -- You received this message because you are s

[android-developers] looking for implementation of IAlarmManager

2010-02-23 Thread Matt Calder
Hi, I am interested in the scheduling done by the AlarmManager.setInexactRepeating method and so I started looking for the implementation but I haven't been able to find anything. Internally to AlarmManager, I can see that the actual work is being done by an android.app.IAlarmManager interface. A

[android-developers] How to correctly use / fill an ImageView?

2010-02-23 Thread Marcus
Hi, I want to show an image file in an ImageView widget. Since iv.setImageURI(Uri.fromFile(new File("filepath..."))); does not work (getting INFO/System.out(1624): resolveUri failed on bad bitmap uri: file:///sdcard/test/photos/photo13.jpg) I tried the following: BitmapFactory.Options opts = ne

[android-developers] "android.speech.action.RECOGNIZE_SPEECH" activity not found

2010-02-23 Thread Mukesh kumar
when we call Intent intent = new Intent("android.speech.action.RECOGNIZE_SPEECH"); startActivityForResult(intent, 0); After that show Exception: Activity not foun exception Exception: android.content.ActivitNotFoundException:No Activity Found to handle Intent{action=android.speech.action.RECOGNI

[android-developers] Re: Nexus One: A-GPS and setup w/o carrier

2010-02-23 Thread mah
I have a Nexus One that has never had a SIM installed... I enabled its GPS and took it outside. It took a while to get a location (as is expected without A-GPS), but it was able to get a fix. When I walked within range of a WiFi I attach to, Google Maps then displayed my accurate location on a map.

[android-developers] Developer Survey on Carrier Network APIs

2010-02-23 Thread Wipro Research
Here’s a chance to tell a major national carrier which APIs (“enablers”) you want to see as a developer. The survey will take about 5 minutes and all participants will have a chance to win one of six Android smart phones. Thanks so much for your help and your feedback! To start the survey, go to

[android-developers] Re: Petition: Google, please improve the Android Market.

2010-02-23 Thread Maps.Huge.Info (Maps API Guru)
When you consider what 30% is of the average app, it amounts to 30 to 60 cents. Credit card processors charge a per transaction fee that even large users are subject to. This varies from 10 to 30 cents. Also, the credit card companies get somewhere between 2.1% and 4% as a transaction fee. Since th

[android-developers] Re: Layout and minsdkversion issue

2010-02-23 Thread nikhil
My problem is the app appears correctly on the simulator but messes up on the phone if I set the minsdkversion to 5. While for 2 it appears correctly on both, can there be any problem with compatibility mode? Will I have to redesign it for minsdkversion 5? If yes, how should I do it ? On Feb 22, 5

[android-developers] Re: Petition: Google, please improve the Android Market.

2010-02-23 Thread Ken H
1. A real website God, yes. Why is there not one?? There's Cyrket and AndroLib, but Google should have done this first. 3. A way for developers to reply to comments This is very frustrating to me too, but I think this is a stupid/lazy user issue, not Google's fault. It's just as easy to email th

[android-developers] Re: Pinwheel or progress indicator while loading screen

2010-02-23 Thread Vaikunth
Hi, Use threading concept for that. Regards, Vaikunth On Feb 23, 4:07 pm, javame_android wrote: > Hello, > > Is there anyone who can let me know how to achieve this? > > I want that once the login button is clicked a ProgressDialog is > displayed and it should be dismissed only when the data f

Re: [android-developers] Re: Petition: Google, please improve the Android Market.

2010-02-23 Thread Mark Murphy
Disconnect wrote: > Google has been very vague about where that 30% goes when you're on a > nexus, adp, etc. Yes, that's true. Better yet, what about devices that just simply aren't phones? Admittedly, I'm not aware of a non-phone with the Android Market on it yet, but I presume it's only a matte

  1   2   >