[android-developers] Re: Getting MIDlet version and CLDC version

2010-05-26 Thread Jean-Baptiste Charles Bouvet de Lozier
It's not a bad question, it would be absolutely possible to write a J2ME layer on the top of Android and run old midelts, but currently this library is not available. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, se

[android-developers] Re: Playing live stream (RTP) in MediaPlayer

2010-05-26 Thread debelyoo
I agree with Andy's comment: On May 25, 8:36 am, Andy Savage wrote: > There seems to be a limitation that means that it will only accept SDP > information with RTP streams inside if it gets them from the RTSP stream > (e.g. it gets this information from SETUP in the RTSP protocal). It is possibl

[android-developers] Re: How to go back from 2.2 to 2.1update (ERE27) on nexus one

2010-05-26 Thread Zsolt Vasvari
> This is why you shouldn't be doing "unofficial" things to your phone ... Nobody said that the 2.2 update was unofficial. Since it has been mentioned on numerous blogs (Techcrunch, Engadget, etc.) that people were starting to get OTA updates, to me that indicated that the rollout had begun. I

Re: [android-developers] Can't we add shared libraries without use of android ndk tools

2010-05-26 Thread David Turner
How did you compile the library if you didn't use the NDK?. There are great chances that what you generated is not a valid ARM ELF binary that can be loaded on Android. On Tue, May 25, 2010 at 6:31 AM, Karteek N wrote: > Hi all, > I have gone through android ndk tutorials. > But i am little conf

[android-developers] Re: Can't we add shared libraries without use of android ndk tools

2010-05-26 Thread fadden
On May 25, 6:31 am, Karteek N wrote: > In above two cases it is throwing same exception What exception? What does the logcat output show? If it's a dlopen() failure you'll see the error message from that function in the log. -- You received this message because you are subscribed to the Googl

RE: [android-developers] Re: Getting MIDlet version and CLDC version

2010-05-26 Thread Ted Neward
Dude, get a clue and read the answer more carefully--Android does not use MIDlet or CLDC. Period. What you're asking is nonsensical. It's like asking "Can we get the Windows version of a .NET application from Android?" Unless there's something much, much deeper to what you're trying to ask, stop

[android-developers] Re: Getting MIDlet version and CLDC version

2010-05-26 Thread Sudeep
Hi, I understand that android SDK is entirely different from J2ME. But ,Can we get the MIDlet or CLDC version of a J2ME application from android? If it is possible, then how can we do it? On May 27, 5:46 am, feweiss wrote: > LOL. Sorry. Android is entirely different than J2ME, except

[android-developers] Re: can i use HTTP/1.0 in my HttpClient?

2010-05-26 Thread moazzamk
You can also try the Http Class here : http://moazzam-khan.com On May 26, 3:48 pm, genxsol wrote: > yes it works. thx > > On May 26, 7:05 pm, Mark Murphy wrote: > > > genxsol wrote: > > > Hi Dear, > > > > by default HttpClient use HTTP/1.1 protocol, is there any way to > > > change it to HTTP/1.

[android-developers] Re: Can I send an image byte[] to ACTION_VIEW intent?

2010-05-26 Thread Josh
I'm trying to do the same thing. can anyone shed any light on this? On May 13, 7:05 am, JimmyHoffa wrote: > Hi all, > > Just wondering if its possible to use the built inimageviewer to > display animagesourced from a database. > > I'm hoping I can pass the byte[] as an extra to the ACTION_VIEW >

[android-developers] Strange behavior when launching app from Market

2010-05-26 Thread Rico
I'm trying to solve a problem that occurs only when launching my app from the Market's post-installation screen. Suppose I have 3 activities which are accessed in order: A -> B -> C. Normally, when a user uses my app (by launching from the home screen or app drawer), if she hits the home button w

[android-developers] Re: startActivityForResult error

2010-05-26 Thread Surendra
Intent i = new Intent(); i.setClass(this, PageTwo.class); startActivityForResult(i, ACTIVITY_CREATE); I would try this and it should work. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-develop

Re: [android-developers] about google map nearby search

2010-05-26 Thread Brad Gies
Instead of a circle why not just use the bounds of the map, and show any location that fits your criteria that is also inside the map? It's easier to do and probably more useful. mapView.getLatitudeSpan() mapView.getLongitudeSpan() On 26/05/2010 6:54 PM, gujian wrote: 2010/5/25 TreKing ma

[android-developers] Re: Certain apps not being shown in Android Market?

2010-05-26 Thread powder
Hi, I have the same problem and its definitely the copy protection. I have a Nexus which I updated to Froyo and now I have to turn off the copy protection in order for my app to show up in the market. When is Google going to fix this problem? Not related but also a point to mention is that all r

[android-developers] Re: Accelerometer not working when screen turns off

2010-05-26 Thread Jonathan
FYI - it looks like Issue 3708 referenced above has now been addressed! I am reaching out to the developer to see if we can get further clarification as to how exactly this has been addressed and in which release. Encouraging news! On May 11, 7:11 pm, Jonathan wrote: > I'm hoping we don't start

[android-developers] Re: WebView pre-executing JavaScript before loading a page

2010-05-26 Thread Miguel Paraz
Hi Mark, On May 26, 10:23 pm, Mark Murphy wrote: > Rather than pushing, you could try pulling: > > webView.addJavascriptInterface("paraz", new TheMiguelParazObject()); > webView.loadUrl("file:///android_asset/page.html"); > > TheMiguelParazObject has some method (e.g., initScript()) that returns

[android-developers] In need of developers with OCR experience

2010-05-26 Thread tenthmuseenterpri...@gmail.com
Tenth Muse has a project designed that we need help with programming. It would use an OCR engine like Tesseract. We would like to work with someone based in the United States. If you have experience with OCR and would like to work on this new project please contact me. Tavis Leaf tenthmuseenterpr

[android-developers] Does LG Eve phone support AudioRecord sample rate > 8kHz?

2010-05-26 Thread Blake B.
I have a user that is reporting that he can not record on his LG Eve phone at a sample rate greater than 8kHz (8000Hz works, but nothing higher such as 44100, 22050, 11025). Do any of you have an LG Eve phone? Have you tried to use AudioRecord.getMinBufferSize(sampleRateInHz, channelConfig, audio

Re: [android-developers] about google map nearby search

2010-05-26 Thread gujian
2010/5/25 TreKing > On Mon, May 24, 2010 at 1:57 AM, gujian wrote: > >> how can I do to mapping the number to the map? Have any methods? > > > > http://code.google.com/android/add-ons/google-apis/reference/com/google/android/maps/Projection.htm > Excuse me,when know the point of longtitude and

Re: [android-developers] [Help] how to place item in GridView

2010-05-26 Thread Vincent Tsao
Hi, Mark, thanks a lot. Using RelativeLayout, or nested LinearLayouts, i need hardcode for the display and event for each item, which i really hated, GridView provides me smooth APIs to meet my needs, BTW, if i have 3*N items someday, my problem is not exist any more. so, i find this tricky way,

Re: [android-developers] Re: Filtering Android Sensors Noise

2010-05-26 Thread Frank Weiss
I posted my code in this thread: http://groups.google.com/group/android-developers/browse_thread/thread/d61f7790afb3f8b6/770777368e823548?lnk=raot That code is for a band pass filter. Refer to the linked article which gives the formulas for low pass filter as well. http://www.dspguide.com/ch19.ht

[android-developers] Documentation errors in "Developing on a Device?"

2010-05-26 Thread Zigurd
On the documentation page "Developing on a Device" http://developer.android.com/guide/developing/device.html there may be two errors in the section "Setting up a Device for Development." First: To run (not debug) an app on a device, you do not need to set the "debuggable" attribute in the manifest

[android-developers] Re: Filtering Android Sensors Noise

2010-05-26 Thread Alfonso
First of all, thanks everybody for their answers. I've been in journey, that's the reason because of I haven't answered before. I've tried average and tresholding, althougt not too much extensively. Special thanks, Yahel, the parralax is very important. I've seen that is present in the digital filt

Re: [android-developers] Re: Client server setup in android

2010-05-26 Thread feweiss
Give it a try. BTW, which JSON parser are you using on the server? On Tue, May 25, 2010 at 7:40 PM, santha wrote: > Hi Frank, > thanks for the reply.. I understood ur points.. > So for transferring the data from client to server HttpClients > methods(POST,GET,DELETE,PUT) are sufficient. > > when

Re: [android-developers] Getting MIDlet version and CLDC version

2010-05-26 Thread feweiss
LOL. Sorry. Android is entirely different than J2ME, except that the Android SDK API is Java. Get a bit more cozy with Android concepts here: developer.android.com On Wed, May 26, 2010 at 4:26 AM, Sudeep Jha wrote: > Hi all, > > How to get the MIDlet and CLDC version programmatically in an

Re: [android-developers] startActivityForResult error

2010-05-26 Thread Carmen Delessio
If my manifest looks like this: I would create the intent like this (Bundle not required): Bundle b = new Bundle(); b = new Bundle(); Intent i = new Intent();

[android-developers] Send address over bluetooth in Android 2.0 and later

2010-05-26 Thread Ambarish Malpani
With 2.0, Android supported OPP to transfer address book entries over bluetooth. Is there some sample code to show how to transfer a contact over bluetooth in Android? Thanks, Ambarish -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To po

RE: [android-developers] startActivityForResult error

2010-05-26 Thread Tommy
Have you added the activity to the manifest file? What errors are you getting? -Original Message- From: android-developers@googlegroups.com [mailto:android-develop...@googlegroups.com] On Behalf Of andrew Sent: Wednesday, May 26, 2010 5:49 PM To: Android Developers Subject: [android-develo

Re: [android-developers] Detect Emulator on Android 2.2

2010-05-26 Thread Wayne Wenthin
I'm going ot just drop in an OR. On Wed, May 26, 2010 at 8:40 AM, Guillaume Perrot wrote: > Since Android 2.2, we can read the ANDROID_ID from the emulator which > is always 9774D56D682E549C > It breaks a lot of existing code that used to test if the ANDROID_ID > was null to check whether the de

[android-developers] Re: Any ScoreLoop users out there?

2010-05-26 Thread Neilz
Great, thanks Junde. Can you tell me how I can filter this list, to only show the values I want? Like my example with the Jewels game, I really only want the first three items in the list, at most. Or is it just a simple code hack? On May 26, 6:29 pm, "Junde (Scoreloop)" wrote: > Hi Neil, > > I'

[android-developers] Froyo 2.2 disables requestWindowFeature(Window.FEATURE_NO_TITLE);

2010-05-26 Thread Richard Leggett
Just trying to get a confirmation, has anyone else found that since updating to 2.2 the following line has no effect: requestWindowFeature(Window.FEATURE_NO_TITLE); Is there a new permission required? -- You received this message because you are subscribed to the Google Groups "Android Develope

Re: [android-developers] Re: Android Library Project

2010-05-26 Thread Mark Carter
It wouldn't need to know about anything else specifically in the app project. When asked to generate ids for some library it just needs to make sure it doesn't use any IDs given before. On 26 May 2010 23:34, Xavier Ducrohet wrote: > well if you let aapt work it out for itself it will need to kno

[android-developers] startActivityForResult error

2010-05-26 Thread andrew
Hi, I can't launch a new activity with startActivityForResult / startActivity method. Below is the code. Can anyone give my any tips and guidelines? thanks! /**/ public class Sandbox extends Activity { private Button mHHW; private static final int ACTIVITY

Re: [android-developers] Re: Android Library Project

2010-05-26 Thread Xavier Ducrohet
well if you let aapt work it out for itself it will need to know about the other libraries used by the project. So you're back to exporting the library in the scope of the main project. On Wed, May 26, 2010 at 2:13 PM, Mark Carter wrote: > With regards to the first possibility... > Rather than gi

[android-developers] Re: Using Android Calendar ContentProvider.

2010-05-26 Thread Mike dg
It is suck... sigh -miked g On May 26, 5:07 pm, String wrote: > On May 26, 6:12 pm, arnoldl wrote: > > > Is there a valid way to read write to the calendar OFFLINE ?? > > Cache your updates. Sync the next time there's a network connection. > > IOW, operate under the assumption that the Calendar

[android-developers] Re: Speech recognition: prevent or automatically handle "No matches found" dialog

2010-05-26 Thread moa
have the 2.2 api changes done anything to help with this? Another feature I always wanted was the ability to define the valid responses for the engine to match against; yes/no and so. so you don;t get things like "snow" coming back as a response. Also, defining "digit" recognition only and so. D

Re: [android-developers] Re: Android Library Project

2010-05-26 Thread Mark Carter
With regards to the first possibility... Rather than giving the aapt a starting value why not let it work it out for itself? Nothing else is generating those ids, so it can be sure that it doesn't give the same id to a different project. This, of course, assumes that the aapt has some way to pers

[android-developers] Re: Using Android Calendar ContentProvider.

2010-05-26 Thread String
On May 26, 6:12 pm, arnoldl wrote: > Is there a valid way to read write to the calendar OFFLINE ?? Cache your updates. Sync the next time there's a network connection. IOW, operate under the assumption that the Calendar API isn't available on-device, and design your app accordingly. I know, it'

Re: [android-developers] Re: Android Library Project

2010-05-26 Thread Xavier Ducrohet
It's hard to keep them unique. - One possibility is to make aapt (which is what compile them into R.java and packages them into the apk) be given a different starting value for each library. The problem is that you can have any combo of library so which starting point do you use when compiling you

Re: [android-developers] Re: Android Library Project

2010-05-26 Thread Mark Carter
Thank you for explaining. With regards to the conflicting resource IDs, couldn't you just make whatever assigns those IDs keep them unique across different projects? On 26 May 2010 22:46, Xavier Ducrohet wrote: > It's essential because It's impossible to have each library handle its > resources

Re: [android-developers] Re: Android Library Project

2010-05-26 Thread mike
My heavens, you mean you need a resource linker? :) Mike On 05/26/2010 01:46 PM, Xavier Ducrohet wrote: It's essential because It's impossible to have each library handle its resources independently. Currently there's no way to have each library packages its resources (and give them resources

Re: [android-developers] Re: Android Library Project

2010-05-26 Thread Xavier Ducrohet
It's essential because It's impossible to have each library handle its resources independently. Currently there's no way to have each library packages its resources (and give them resources IDs) in a way that doesn't conflict with other resources. This means if we compile resources for 2 libraries

Re: [android-developers] Deploy my app

2010-05-26 Thread TreKing
On Wed, May 26, 2010 at 2:49 PM, Lamia Hannoun wrote: > When i deploy my activity on my phone, all activities that i visit when i > use my app appear on the home page of my phone it's like i have many apps. OK, that makes more sense. Check your manifest. You probably have the CATEGORY_LAUNCHER a

Re: [android-developers] Deploy my app

2010-05-26 Thread Lamia Hannoun
Okay ! When i deploy my activity on my phone, all activities that i visit when i use my app appear on the home page of my phone it's like i have many apps. Maybe i can't clarify more i'll maybe send u a screen shot of my issue. Thx -- You received this message because you are subscribed to the

[android-developers] Re: can i use HTTP/1.0 in my HttpClient?

2010-05-26 Thread genxsol
yes it works. thx On May 26, 7:05 pm, Mark Murphy wrote: > genxsol wrote: > > Hi Dear, > > > by default HttpClient use HTTP/1.1 protocol, is there any way to > > change it to HTTP/1.0? > > any idea? > > Configure your HttpClient with an HttpParams object, in which you set > the protocol. > > -- >

Re: [android-developers] Publishing Issues

2010-05-26 Thread TreKing
On Wed, May 26, 2010 at 11:30 AM, SkySte wrote: > Any help would be greatly appreciated, I have absolutely no idea what's > wrong, seems like I've tried everything I can think of including > re-installing eclipse. > Copying and pasting Mr Murpy's response to similar query from earlier: Froyo do

Re: [android-developers] Deploy my app on HTC

2010-05-26 Thread TreKing
On Wed, May 26, 2010 at 2:12 PM, Lamia Hannoun wrote: > I guess if u have somethig to say to help me u can reply otherwise i don't > accept that kind of attitude. I did reply to help you - your post makes no sense. If you don't explain yourself better you're not going to get a very good response

[android-developers] Google Map Key issue please help

2010-05-26 Thread Ali Murtaza
Hi I use this code to get the finger print in android emulator i got message "keystore: permission denied" So please help me. It realy urgent $ keytool -list -alias androiddebugkey \ -keystore .keystore \ -storepass android -keypass android -- Ali Murtaza BCSF06M021 Research Assistant Data

Re: [android-developers] Deploy my app on HTC

2010-05-26 Thread Lamia Hannoun
I guess if u have somethig to say to help me u can reply otherwise i don't accept that kind of attitude. 2010/5/26 TreKing > To me, the title of your post and each subsequent sentence in the body, > seem to have absolutely nothing to do with each other. Thus your question > makes no sense and yo

Re: [android-developers] Can't Add an EditText to my Widget Layout

2010-05-26 Thread Romain Guy
EditText cannot be used in Launcher widgets. On Wed, May 26, 2010 at 12:01 PM, Christopher wrote: > Whenever I add an EditText widget to the layout of my home screen > widget (confusing how the term "widget" is being used twice in the > Android lexicon :-/ ), I receive the "Problem Loading Widget

[android-developers] Can't Add an EditText to my Widget Layout

2010-05-26 Thread Christopher
Whenever I add an EditText widget to the layout of my home screen widget (confusing how the term "widget" is being used twice in the Android lexicon :-/ ), I receive the "Problem Loading Widget" error box. Here is the layout I'm attempting; if you remove the EditText, it works... http://schemas.a

Re: [android-developers] Re: Android Library Project

2010-05-26 Thread Mark Carter
On 26 May 2010 20:33, Xavier Ducrohet wrote: > The problem is not so much generating the R class, it's making sure > the library project is compiled with this "composite" R class made of > all the projects (main + libs). Is it essential for the library project to be compiled with the composite

[android-developers] Android 2.2 active directory search

2010-05-26 Thread j
Is active directory search available only within Android 2.2 Email app ? I assume the Email app has code to do active directory search but there is no platform API for it yet? It would be very useful to have corporate search functionality in Contacts app as well. Does anyone know when that will

Re: [android-developers] Re: Android Library Project

2010-05-26 Thread Xavier Ducrohet
On Wed, May 26, 2010 at 3:16 AM, Mark Carter wrote: > I guess you've probably looked into this already, but is there any way > to make this work by adding the Android project to the build path (as > opposed to making it a library project and then adding it as a > library)? > > From a developer's p

Re: [android-developers] Deploy my app on HTC

2010-05-26 Thread TreKing
To me, the title of your post and each subsequent sentence in the body, seem to have absolutely nothing to do with each other. Thus your question makes no sense and you probably aren't going to get a very good answer (if any). On Wed, May 26, 2010 at 8:48 AM, Lamia Hannoun wrote: > Any ideas??

[android-developers] Re: Android Apps purchasing from anywhere in the world

2010-05-26 Thread Indicator Veritatis
Surely you can use SlideME from Singapore. The list of apps is not anywere near as comprehensive as on Google's Android Market, but it is still pretty good. Go to http://slideme.org. On May 21, 2:34 am, hotr0d wrote: > I'm surrently located in Singapore and I really love my Nexus one and > I woul

[android-developers] Re: Android Apps purchasing from anywhere in the world

2010-05-26 Thread Indicator Veritatis
One of the advantages of the application market SlideMe.org (http:// slideme.org) is that they handle all the tax payments themselves, the vendor does not have to. The vendor receives the payment from slideme instead of direct from the end user. Another advantage is that you really can use it from

[android-developers] Re: GLSurfaceView onPause blocked in Froyo

2010-05-26 Thread Indicator Veritatis
The first thing that pops out as odd, possibly related to your problem, is that as you describe it, you are calling onPause() and onResume() yourself. These are meant to be called by the system, not the API user (you). Are you really calling these yourself? If so, why? On May 26, 6:25 am, KK wrot

Re: [android-developers] Add header/footer to ListView in XML?

2010-05-26 Thread Mark Murphy
Marc Reichelt wrote: > Is it possible to add header or footer views to a ListView by just > defining them in the layout XML code? So without having to inflate the > views and call addFooterView() or addHeaderView() manually? Not that I am aware of -- sorry! -- Mark Murphy (a Commons Guy) http://

Re: [android-developers] can i use HTTP/1.0 in my HttpClient?

2010-05-26 Thread Mark Murphy
genxsol wrote: > Hi Dear, > > by default HttpClient use HTTP/1.1 protocol, is there any way to > change it to HTTP/1.0? > any idea? Configure your HttpClient with an HttpParams object, in which you set the protocol. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commo

[android-developers] can i use HTTP/1.0 in my HttpClient?

2010-05-26 Thread genxsol
Hi Dear, by default HttpClient use HTTP/1.1 protocol, is there any way to change it to HTTP/1.0? any idea? -- 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 unsubscr

[android-developers] can i sue HTTP/1.0 in my httpClient?

2010-05-26 Thread genxsol
Hi Dear, by default HttpClient use HTTP/1.1 protocol, is there any way to change it to HTTP/1.0? any idea? -- 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 unsubscr

[android-developers] Re: How to make the keyboard to show

2010-05-26 Thread Marc
This works for me, I have a button the user presses and the keyboard pops up. final ImageButton abc = (ImageButton) numbers.findViewById(R.id.ButtonAbc); abc.setOnClickListener(new View.OnClickListener() { public void onClick(final View v) {

[android-developers] Re: How to make the keyboard to show

2010-05-26 Thread Marc
I have a button that brings up the keyboard final ImageButton abc = (ImageButton) numbers.findViewById(R.id.ButtonAbc); abc.setVisibility(View.VISIBLE); abc.setBackgroundColor(0); abc.setOnClickListener(new View.OnClickListener() {

[android-developers] Add header/footer to ListView in XML?

2010-05-26 Thread Marc Reichelt
Hi! Is it possible to add header or footer views to a ListView by just defining them in the layout XML code? So without having to inflate the views and call addFooterView() or addHeaderView() manually? Thanks in advance Marc Reichelt || http://www.marcreichelt.de/ -- You received this mes

[android-developers] Re: 320 kbps mp3 hangs device/player

2010-05-26 Thread richie rich
k, thanks. was just curious since according to the android mediaplayer docs, it should support 320kpbs, but i haven't been able to get it to work On May 26, 10:17 am, niko20 wrote: > Hi, > > You probably have to report that as a bug in the android open source > project, I know also for a fact th

[android-developers] Re: Any ScoreLoop users out there?

2010-05-26 Thread Junde (Scoreloop)
Hi Neil, I'm sure there should be some Scoreloop users here. There's actually guys from the Scoreloop team here too, I'm one of them :) These are basically some ISO jargon, that we are going to replace with friendlier words very soon. Basically, iso3166_1 refers to country codes, and iso3166_2

[android-developers] Re: Problems installing SDK update in eclipse: Cannot rename folder (sdk r6, on Windows)

2010-05-26 Thread raj.10788
Hi Jason, I hope your aware that you can launch the SDK setup.exe from outside eclipse to update your sdk. I have an issue in the proxy settings, if you launch the sdk setup outside eclipse you can only set the proxy, it won't ask for for user name and password. So, we need to launch it through o

Re: [android-developers] How to go back from 2.2 to 2.1update (ERE27) on nexus one

2010-05-26 Thread TreKing
On Wed, May 26, 2010 at 3:57 AM, Naveen wrote: > Can you pls. help me how can I do that? If factory reset didn't work, you're probably SOL. Unless you find another image with 2.1 on it ... This is why you shouldn't be doing "unofficial" things to your phone ...

Re: [android-developers] Re: Using Android Calendar ContentProvider.

2010-05-26 Thread Mark Murphy
arnoldl wrote: > Does that really mean the most usefull apps and widgets won't work > anymore I venture that >99% of the apps on the market have nothing to do with the calendar, and many that do used the GData APIs. > Is there a valid way to read write to the calendar OFFLINE ?? Not at this

[android-developers] Re: 320 kbps mp3 hangs device/player

2010-05-26 Thread niko20
Hi, You probably have to report that as a bug in the android open source project, I know also for a fact that 24bit WAV files also dont work on android and just play static. -niko On May 26, 10:33 am, richie rich wrote: > Anyone having problems. I tried in the browser and it hangs as well, > so

Re: [android-developers] How to make the keyboard to show

2010-05-26 Thread TreKing
On Wed, May 26, 2010 at 2:49 AM, oriharel wrote: > please help? Try setting focus on the EditText - the soft keyboard pops up automatically for me doing that. Note however that this may depend on the platform version and whether the device has a physical keyboard or not. Not sure.

[android-developers] Re: Using Android Calendar ContentProvider.

2010-05-26 Thread arnoldl
Does that really mean the most usefull apps and widgets won't work anymore Is there a valid way to read write to the calendar OFFLINE ?? By the way , when can we expect the source of froyothen we can look what really changed in the calendar... On 26 mei, 17:59, Mark Murphy wrote: > Jose

Re: [android-developers] Refreshing an activity on a tabwidget

2010-05-26 Thread TreKing
On Wed, May 26, 2010 at 4:47 AM, Lamia Hannoun wrote: > Maybe becuz my activity that contains listview doesn't extend ListActivity, > the listview is just a content of my simple activity, This shouldn't make a difference - in any activity the ListView is backed by some adapter, which is used to

Re: [android-developers] is it possible to change the application name dynamically???

2010-05-26 Thread Prajakta Shitole
Ok Thanks for your reply Treking. Thanks, Prajakta On Wed, May 26, 2010 at 10:00 AM, TreKing wrote: > On Wed, May 26, 2010 at 12:21 AM, praj wrote: > >> Is it possible to change the name of the application name dynamically? >> > > Nope. > > >> I want to keep a certain name like XYZ free when

Re: [android-developers] is it possible to change the application name dynamically???

2010-05-26 Thread TreKing
On Wed, May 26, 2010 at 12:21 AM, praj wrote: > Is it possible to change the name of the application name dynamically? > Nope. > I want to keep a certain name like XYZ free when my application is free > and XYZ Pro when the user has paid. > If these are separate apps, this is a moot point. I

Re: [android-developers] Re: Ordered List

2010-05-26 Thread TreKing
On Wed, May 26, 2010 at 12:20 AM, Samuh wrote: > How can I do this in Android if I have the text in HTML format? I don't think you can do this in a TextView - it doesn't support that HTML formatting AFAIK.

Re: [android-developers] Touch events

2010-05-26 Thread john wang
in WindowManagerService.java 2010/5/26 rahul > Hi All, > > I have a query related to the touch events. When the user opens the > landscape orientation on-screen qwerty keyboard and presses their > thumb onto the space bar but over half of their thumb's touch area is > outside of the screen area.

[android-developers] Publishing Issues

2010-05-26 Thread SkySte
I have an app which I have just updated to froyo to take advantage of the move to SD card feature. I am now trying to upload the update to the market but I keep getting the following error: "The file is invalid: W/ResourceType( 7193): Bad string block: last string is not 0- terminated ERROR getting

[android-developers] Problems installing SDK update in eclipse: Cannot rename folder (sdk r6, on Windows)

2010-05-26 Thread Jason
Hi all, I recently bumped into a problem installing the latest SDK update (r6) in eclipse on Windows (7), which I ultimately "solved" and thought I would share. During the update of the SDK, the update process was trying to rename a folder (C:\...\android-sdk-windows\platforms\android-1.6) but fa

[android-developers] Re: Janky Custom Cursor Adapter

2010-05-26 Thread GodsMoon
It looks like the Twitter app does AsyncTask correctly in a list view. Can't wait for it to be open sources! On May 25, 4:53 pm, GodsMoon wrote: > Ah! I didn't see put(String key, byte[] value) before in > ContentValues. > That will probably work. Thanks for the info and the link! > > Would still

Re: [android-developers] [Help] how to place item in GridView

2010-05-26 Thread Mark Murphy
Vincent Tsao wrote: > i have four item in a GridView, named One, Two, Three, and Four. All > these items set into a GridView will be looked like this: > > 1.png > > but, i wish these items display as blow: One placed in the First row. > Two, Three and Four item placed in the Second row > > 2.png

Re: [android-developers] Using Android Calendar ContentProvider.

2010-05-26 Thread Mark Murphy
Jose Luis Montes wrote: > I was trying to use de google calendar api (i sent a message with an > error about this this afternoon, thanks to Mark Murphy again) when i > realised that i can use the android own calendar content provider since > it is connected with google calendar so I found this >

[android-developers] [Help] how to place item in GridView

2010-05-26 Thread Vincent Tsao
i have four item in a GridView, named One, Two, Three, and Four. All these items set into a GridView will be looked like this: [image: 1.png] but, i wish these items display as blow: One placed in the First row. Two, Three and Four item placed in the Second row [image: 2.png] any idea how to i

[android-developers] Set System Time

2010-05-26 Thread minhaz
Hi I working on a project on Android 2.2 SDK. I am trying to change system time with this following code SystemClock.setCurrentTimeMillis(l); <-- l is a long value I have added following permissions in my manifest.xml file but it is not working. When i check my logcat i found the followi

[android-developers] Re: Application Crashes when Orientation changes - Very Urgent plz

2010-05-26 Thread Brion Emde
It looks to me as if you have a Class Cast Exception going on in an ExpandableListView, during the super.onCreate(Bundle savedState) method, when it is trying to restore the saved state of the ExpandableListView. I'm not sure you have the complete error log there, but I don't see the actual problem

[android-developers] Detect Emulator on Android 2.2

2010-05-26 Thread Guillaume Perrot
Since Android 2.2, we can read the ANDROID_ID from the emulator which is always 9774D56D682E549C It breaks a lot of existing code that used to test if the ANDROID_ID was null to check whether the device was an emulator or not. I need a future proof way to test a device is an emulator. -- You rec

[android-developers] Get Notified when a new access point is added?

2010-05-26 Thread draf...@gmail.com
I was wondering is it possible to get a notification of when a new configured network is added to the WifiManager in Android? I know you can get the current list of configured networks http://developer.android.com/intl/de/reference/android/net/wifi/WifiManager.html#getConfiguredNetworks%28%29 Bu

[android-developers] 320 kbps mp3 hangs device/player

2010-05-26 Thread richie rich
Anyone having problems. I tried in the browser and it hangs as well, so not convinced it is my use of the MediaPlayer, which hangs passing it a 320 kpbs mp3. http://hellovegetables.com/music/HV692%20Krazy%20Baldhead%20-%20The%204th%20Movement%20%28The%20Glitch%20Mob%20Remix%29.mp3 Happens in Andr

[android-developers] in HTML loaded by Webview Broken in Sense UI?

2010-05-26 Thread Justin Grammens
I have a WebView that loads HTML that contains an . When loading in stock android (G1, NexusOne, Ion, etc) it looks fine and can be clicked on to watch it in the YouTube app. But when loading it using either the HTC EVO or Incredible (both Sense UI phones) the space where the content should be is c

Re: [android-developers] Need the intent when screen locks or unlocks

2010-05-26 Thread Mark Murphy
Steve Scherer wrote: > I have a service which starts at boot up time, the service code needs > the intent of following scenarios. > > 1) When the phone locks(after time out) > 2)When the user unlocks the screen (by dragging the screen lock > object) > > Does anybody know how to do this? There do

[android-developers] Using Android Calendar ContentProvider.

2010-05-26 Thread Jose Luis Montes
I was trying to use de google calendar api (i sent a message with an error about this this afternoon, thanks to Mark Murphy again) when i realised that i can use the android own calendar content provider since it is connected with google calendar so I found this http://www.developer.com/ws/article

Re: [android-developers] SurfaceView and Menu created

2010-05-26 Thread Mark Murphy
JoJo wrote: > It seems that android Menu doesn't work on SurfaceView. Menu cannot > render when the view is the SurfaceView. > > Anybody have the same problems ? Plenty of applications have option menus over SurfaceViews, such as the built-in Camera applications, the Howcast.com application, etc

Re: [android-developers] 2.2 froyo ssl handshake failure with DefaultHttpClient

2010-05-26 Thread Mark Murphy
Weng wrote: > As you can see, I'm using the default httpclient and > connectionmanager. It is hard to debug because I don't have the source > code. Has anything changed in the SSL implementation? Is there a > solution/workaround? Or is this just a plain bug I need to report? Try: http://stackover

[android-developers] Keyboard and EditText in landscape

2010-05-26 Thread André
Hello, 1. How do I keep multiple lines in an edittext in landscape view? 2. How can I turn off the softkeyboard only in landscape view? -André -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-d

[android-developers] 2.2 froyo ssl handshake failure with DefaultHttpClient

2010-05-26 Thread Weng
Hi, I have an application that connects to an URL using https. It runs fine on 1.5, 1.6 and 2.1. I tried to run it on 2.2 but I get the following exception: 05-26 14:10:25.305: ERROR/NativeCrypto(285): Unknown error 5 during connect java.io.IOException: SSL handshake failure: I/O error during sy

[android-developers] which method/function causing "App freeze timeout expired."?

2010-05-26 Thread Ken
Is there any to find out what function the Android OS was calling when WindowManager throws this error in the log? The next message in the log from the WindowManager is: "Force clearing freeze: AppWindowToken" and then it lists the classname of my activity. This happens when I do a screen orienta

[android-developers] Need the intent when screen locks or unlocks

2010-05-26 Thread Steve Scherer
I have a service which starts at boot up time, the service code needs the intent of following scenarios. 1) When the phone locks(after time out) 2)When the user unlocks the screen (by dragging the screen lock object) Does anybody know how to do this? There doesn't appear to be an API available w

[android-developers] SurfaceView and Menu created

2010-05-26 Thread JoJo
Hello~ It seems that android Menu doesn't work on SurfaceView. Menu cannot render when the view is the SurfaceView. Anybody have the same problems ? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to and

[android-developers] Application Crashes when Orientation changes - Very Urgent plz

2010-05-26 Thread dillipk
Hello, My app crashes when the device orientation changes..Tried debugging on real device, but I have no clue where the crash exactly happens.. I would appreciate if someone could throw some light on this: Below is the error log: 05-26 10:33:48.705: WARN/dalvikvm(8821): threadid=3: thread exiti

Re: [android-developers] Re: WebView pre-executing JavaScript before loading a page

2010-05-26 Thread Mark Murphy
Miguel Paraz wrote: > On May 26, 9:47 pm, "Maps.Huge.Info (Maps API Guru)" > wrote: >> This is more a JavaScript question than an Android one. >> >> It sounds to me like you could either inline the JavaScript ahead of >> the page, which would make it execute first, or add an "onload" >> function s

  1   2   >