Re: [android-developers] Re: make app as default app

2010-07-21 Thread TreKing
On Wed, Jul 21, 2010 at 1:15 AM, Swati wrote: > What the original poster meant was if there is a programmatic way to > present this option to the user. > Just curious: how do you know this is what the OP meant?

Re: [android-developers] Closing the Web Browser

2010-07-21 Thread TreKing
On Wed, Jul 21, 2010 at 10:24 PM, Adam Laster wrote: > Is it possible to close the browser after I've navigated back to my app > via the redirect? > No. Use a WebView. - TreKing

[android-developers] Re: Updates from a Web Server

2010-07-21 Thread jeffro
I'd just send a simple HTTP Get Request periodically and process the response. URL url = new URL("http://";); url.openStream() //process the stream Jeff Visit Trackaroo.com! Trackmaster - Motorsports Lap Timer Dynomaster - Performance Dyno On Jul 21, 2:22 pm, KG wrote: > Hi Everyone, > >

Re: [android-developers] Lifetime of background parent activity after startActivityForResult()

2010-07-21 Thread Dianne Hackborn
On Tue, Jul 20, 2010 at 1:45 PM, Kostya Vasilyev wrote: > I think the real question is: if Activity A gets killed by the time B > finishes, will A be recreated to deliver the result? > Yes it will be... well, it will be recreated the next time the user visits it (and thus it is needed) and at

[android-developers] Re: Eclipse Helios

2010-07-21 Thread jeffro
Yes, stay on 3.5. You will get a bunch of editor errors when attempting to edit XML files. Visit Trackaroo.com! Trackmaster - Motorsports Lap Timer Dynomaster - Performance Dyno On Jul 21, 12:55 am, hippy wrote: > On Jul 3, 6:25 am, kihbord wrote: > > > Any news? I've upgraded my Eclipse to He

Re: [android-developers] Re: aidl's, service, and multiple packages

2010-07-21 Thread Dianne Hackborn
Note that you can also use the Messenger class to communicate instead of defining an aidl interface. This is often easier to do -- see the example in the documentation: http://developer.android.com/reference/android/app/Service.html#RemoteMessengerServiceSample On Wed, Jul 21, 2010 at 10:49 PM, j

[android-developers] Re: Android Market paid app download errors

2010-07-21 Thread Sam
Hi William When you say you are getting issues - what exact issues are you referring to? I am guessing - but if the problem you have is that a copy protected app is not showing up on the market for a user running 2.2 Froyo. It is likely that it is because the android market does not show copy pro

Re: [android-developers] Re: Are there any ways that allows a developer to leave a reply to the comments in the market?

2010-07-21 Thread TreKing
On Wed, Jul 21, 2010 at 4:07 PM, Pent wrote: > You get updates for it like that too ? i.e. for a possible pirated install > ? > No, the Market is not that stupid. On Wed, Jul 21, 2010 at 4:49 PM, String wrote: > So I can't consider this a reliable solution - and even at best, it's a > hack.

Re: [android-developers] How to see database files of my phone?

2010-07-21 Thread Nency Robert
How to root the phone? Any command for that? On Wed, Jul 21, 2010 at 5:18 PM, Webnet Android wrote: > > > On 21 July 2010 13:44, Nency Robert wrote: > >> HI, >> >> I want to see the database files of my phone is it possible? >> > > You have to root your phone. > > -- > You received this messa

[android-developers] Re: Charts in Android

2010-07-21 Thread Paul Turchenko
Yeah. If you need to draw just a siple chart you're good with aChart, But as soon as you plan to support multiple charts, user interaction, styling, etc., you're better off with aiCharts. On Jul 22, 1:59 am, Zsolt Vasvari wrote: > I use aChartEngine.  It's not too full featured, but it is lightwe

Re: [android-developers] Transferring control from Non UI thread to Ui Thread

2010-07-21 Thread Ajmer singh
Hi All When i try start activity from inside a service onCreate() method,Its gives me the Exception *"ERROR/AndroidRuntime(705): java.lang.RuntimeException: Unable to create service morvee.com.util.StoreAds: android.util.AndroidRuntimeException: Calling startActivity() from outside of an Activity

Re: [android-developers] Re: can we start application after installing .apk file

2010-07-21 Thread TreKing
On Wed, Jul 21, 2010 at 11:40 PM, A N K ! T wrote: > *...@ranjan :: > *1. how can i start a service after installation...if it is possible than > it can start my aplication too > please make comment if u any idea abt it. > You can't, as has been stated here multiple times now. Ranjan is

[android-developers] Re: aidl's, service, and multiple packages

2010-07-21 Thread jeffro
You're absolutely on the right track. You will define your remote service and callback using aidl: IRemoteService.aidl IRemoteServiceCallback.aidl You will then define a service in another package (APK) that will return the remote service via onBind to any caller. Your calling package will bind

[android-developers] Framework base Interfaces not find on target.

2010-07-21 Thread chetan
Hi, i have created an application XYZApp and put it in package/ apps directory of eclair source code and i have added one directory name XYZFrame in framework/base and XYZFrame dir have native code, jni and interfaces. These interface define in framework/base/XYZFrame/ Interfaces/ d

Re: [android-developers] slide to unlock - is it possible

2010-07-21 Thread TreKing
2010/7/21 Károly Holczhauser > Can anyone give me some advice/tutorial how can I make an own "slide to > unlock" bar on my app? > Look at the source code for the default one. Besides that, your question is so horribly generic, there's not much to tell you that a simple Google search wouldn't get

Re: [android-developers] Re: trying to override OEM(Incoming call screen) screen

2010-07-21 Thread A N K ! T
thanks buddy .can u tell me in brief wot actually u mean. On Tue, Jul 20, 2010 at 3:57 PM, Yi Ling wrote: > when the call is comming, you app should capture the signal and make it > blind to the default one. > > im not sure, but may it help! have fun! > > 2010/7/20 A N K ! T > >>

Re: [android-developers] jni

2010-07-21 Thread Rajesh Pelluru
Hi, If your app uses native code then you need to include .so file in your apk file. Please check samples and docs of android ndk for more information. --Rajesh On Wed, Jul 21, 2010 at 12:53 PM, Vaishnavi wrote: > Hi, > I have a problen in running jni code on android device(intel atom > board).

[android-developers] Re: How can we resize/zoom a web page in WebView control?

2010-07-21 Thread Maps.Huge.Info (Maps API Guru)
You can turn on the zoom controls, I think this is the one: http://developer.android.com/reference/android/webkit/WebSettings.html#setBuiltInZoomControls%28boolean%29 You may have to play around with the various options to get it working, it's in there though. -John Coryat -- You received this

[android-developers] Re: How can we resize/zoom a web page in WebView control?

2010-07-21 Thread Freedom
Thanks, But can we change it dynamically after the HTML page is loaded? On 7月21日, 下午1时04分, wang xin wrote: > if you want resize/zoom a webpage in webview, i can help, i have make it > works. > > just add below script in your html file: > ** > > you can resize the num to control the view size. >

Re: [android-developers] Re: can we start application after installing .apk file

2010-07-21 Thread A N K ! T
*...@ranjan :: *1. how can i start a service after installation...if it is possible than it can start my aplication too please make comment if u any idea abt it. * @ Mark ,,and ..Kostya * cant we show any message to user regarding our application that he want to start it or not...after in

Re: [android-developers] Re: Id values for AlertDialog.Builder created buttons

2010-07-21 Thread TreKing
On Wed, Jul 21, 2010 at 1:19 AM, Andy wrote: > I want to access the buttons for validation purposes so I can enable the > 'save' button but only when correct input has been entered in EditText View. > Ah. Well, you could step through the debugger and navigate the view of the dialog to see if you

Re: [android-developers] issue with preferences

2010-07-21 Thread TreKing
On Tue, Jul 20, 2010 at 4:12 PM, ecforu wrote: > Shouldn't there be a way to test what "type" a preference is with respect > to a certain key? > You build the preferences. Shouldn't you know what "type" a preference is when you go to get it? -

Re: [android-developers] Re: General Activity Order Question

2010-07-21 Thread TreKing
On Wed, Jul 21, 2010 at 9:02 AM, Gaelin wrote: > Is there a way to keep my main activity alive while they login? Its a > separate activity not a popup dialog. > Make it a popup dialog ... - TreKing

Re: [android-developers] Lifetime of background parent activity after startActivityForResult()

2010-07-21 Thread TreKing
On Tue, Jul 20, 2010 at 3:45 PM, Kostya Vasilyev wrote: > I think the real question is: if Activity A gets killed by the time B > finishes, will A be recreated to deliver the result? > That should be exactly what happens. > It seems possible technically, since the information is there (in Andr

Re: [android-developers] Re: make application should support all versions and screens

2010-07-21 Thread TreKing
On Tue, Jul 20, 2010 at 3:31 PM, Joseph Earl wrote: > In order to best support Android 1.5 and above (including large > screens) you should compile one version with: > > > > for Android 1.5 and one version with > > > > for Android 1.6 and above. > No need to bother with multiple app versions fo

[android-developers] Custom HomeScreen - Please help

2010-07-21 Thread rams
Hello All, I am developing a Custom HomeScreen as in the image attached: It has 3 screens. Screen 1 and Screen 2 has an overlap. Screen 2 and Screen 3 has an overlap widget. I created a horizontal scrollview with 3 linearlayouts (vertical) of size 320x480dip and put 1 button on each layout.

[android-developers] TouchEvent... A BIG problem

2010-07-21 Thread gizmor
Hi, I'm new to Android, and I love it! I was wondering how many touch are possible at the same time? The user click and drag (move) and while he's dragging he clicks again (Other finger) and drag it too.. mmm, piano (multi touched) app... (with dragging)... is that possible? Thanks -- You rece

[android-developers] Finding out the screensize and using my own canvases

2010-07-21 Thread Peter Webb
I've never programmed in Java before, or used the Android SDK until a couple of weeks ago. I am rewriting a C# .Net graphics application, spooky how similar the environmets are. Anyway, my app draws lines and shapes in layers on different bitmaps, and combines them to do 2D animation. I handle all

[android-developers] Updates from a Web Server

2010-07-21 Thread KG
Hi Everyone, I want to make a background process/service which will listen for updates from a web server and then notify the user of those updates. I've done some research into several approaches but can't decide which one is simplest/best. Anyone have any suggestions? Thanks, KG -- You recei

[android-developers] image compression

2010-07-21 Thread uframework
Hi all, I'm trying to compress an Image using Bitmap.compress(). As you know it has 3 parameters, in which the second one is quality(int). If follow the code, you may find serverMax var which sets the max size, basically send from server. Now my issue is, whatever the size of Image I want to set

[android-developers] Closing the Web Browser

2010-07-21 Thread Adam Laster
I currently have an app that I'm developing launching the web browser, running a page on my site that is reading a cookie/editing a database, and then Redirecting to "myapp://X/Y". This is all working as advertised. Is it possible to close the browser after I've navigated back to my app via the

[android-developers] 1 Sync adapter, multiple quick contact entries

2010-07-21 Thread Jason
I currently have a sync adapter & service set up. I'm inserting one new MIME type into quick contacts and adding in a meta-data entry into the manifest in order to handle a quick contact entry for that MIME type. However, I'd like to be able to support multiple (new) quick contact entries without

[android-developers] C2DM "NotRegistered" error when sending a message

2010-07-21 Thread D12ASG
Hi all I am currently working on implementing C2DM stuff and have got this far. 1. Register the device and get back a device registration ID 2. The server gets a Client Authorization Token for "ac2dm" service 3. The server then sends a message to the device via C2DM using the registration id and

Re: [android-developers] Re: market

2010-07-21 Thread William Dizon
why is it when im on 2.1 apps download and install fast. but when on 2.2 froyo apps download but wont install. Btw I'm on nexus 1. On Jul 21, 2010 5:11 PM, "Kwan Cheng" wrote: > I don't think there is anything wrong with eclipse. You use what you have. > You do have the option to contribute. > >

[android-developers] LOCK_PATTERN_ENABLED on API 8 (Froyo)

2010-07-21 Thread Nea
According to the documentation System.Secure.LOCK_PATTERN_ENABLED tells you whether the autolock is enabled or not. If you set a lock pattern it will return true and if you don't set any screen lock it will return false, which is all in order. However on the Android virtual device emulator you cou

[android-developers] DISPLAYING ADDITIONAL FIELDS FOR INCOMING CALL

2010-07-21 Thread SRIDHAR
Hi! I plan to upgrade to an android phone shortly. I will be having a lot of contacts (over 2000) stored in the phonebook contacts. For incoming calls I want to see the name of Company in addition to the no & name. This is to be drawn from the contacts database for existing stored nos. I do not ne

[android-developers] Eclipse / Unicode Bug in Android Dev

2010-07-21 Thread ianvink
In my Android project, I put several folders with unicode names in the assets folder. Eg "Ελληνικά" and "中文(繁體)" When I do so, I can not built the app. I get this error. However, when I rename the folders to simple ASCII it works. This also happens with non-ascii file names. [2010-07-21 21:12:58

Re: [android-developers] Re: Android Market paid app download errors

2010-07-21 Thread William Dizon
You say that google will come up with a new and improved market, when? I'm having install of apps issues but only on 2.2 Froyo, but when I jump back to 2.1 no problems what so ever. I don't get it. On Jul 21, 2010 3:02 PM, "Maps.Huge.Info (Maps API Guru)" wrote: > > I don't think it's that Googl

[android-developers] Google Contact Sync deletes Contact Photo

2010-07-21 Thread gmaster
Hi all, I'm developing an application which creates contacts by starting the native contacts activity. After saving the contact I insert a contact photo to the contacts databases. In native contacts activity all is fine until the contacts are synced with google. It seems that the photo is removed

[android-developers] Graphical modeling on Android

2010-07-21 Thread Arpit
Hi All, We are evaluating mobile technologies for Graphical modeling. I would like to know if anyone know if some sort of Graphical Modeling is possible in Android? Thanks & Regards, Arpit -- You received this message because you are subscribed to the Google Groups "Android Developers" group. T

[android-developers] How can I stream videos from one Motorola Droid to another?

2010-07-21 Thread mweldon
I am familiar with the basic android API, but I really have no idea where to start with this task. Using android apps, I need to have one droid record video and the other receive the video stream and play it in real time. I do not want to do this through the internet, due to the severe delay, I wan

[android-developers] jni

2010-07-21 Thread Vaishnavi
Hi, I have a problen in running jni code on android device(intel atom board).and the apk to \data\app.Is it enough to just place the .apk to run the code or should i also include the .so file. If needed where should i include the .so file -- You received this message because you are subscribed to

[android-developers] You Tube Videos

2010-07-21 Thread Justin
How can you embed a youtube video within the code so it appears within a app? Is there a way to do this, or do I need to do it in a web view? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-devel

[android-developers] Saving a picture to SD Card from /drawable

2010-07-21 Thread Justin
I have a app which has pictures in the res/drawable directory. My App shows as a Gallery and does a widget with a slide show, as well as a slide show within the app. My next step on learning curve I want to be able to save the images to the SD Card, so the user can select a "Save to SD Card" and

[android-developers] Could someone with a Samsung Galaxy S help me out?

2010-07-21 Thread Mr Moo
Hi, I was wondering if someone with a Samsung Galaxy S could download my app Talking Parrot and run it with logcat to see if there are any clues as to why it doesn't function correctly. The app uses an AudioRecord and an AudioTrack to playback. I am getting reports that the playback is just noise

[android-developers] Re: soft keyboard selection from app?

2010-07-21 Thread Johan Abramsson
Hi, I was asked to comment why the SonyEricsson emulator doesn't emulate the IME of the X10 hardware. That is because the X10 emulator is merely a skin put on top of the default android emulator. Kind regards /Johan Sony Ericsson Developer Support #SEDW -- You received this message because y

[android-developers] Re: OpenGL Material

2010-07-21 Thread jojoma
I don't know much of OpenGL too, but I think your triangle is getting the color gray because it has no color itself, and your lights are gray. check this tutorial, might help you get some pointers: http://blog.jayway.com/2010/01/14/opengl-es-tutorial-for-android-%E2%80%93-part-iv-adding-colors/ O

[android-developers] PV omx_test_app missing in Froyo source code

2010-07-21 Thread praji
Hi Guys, In the Froyo release code, the PV omx_test_app & omx_test_app_enc folders are missing. path - external/opencore/codecs_V2/omx/ But these folders are available in the android GIT. I wanted to run the decoder test application for MP4. Since the test app is not available in the source pac

Re: [android-developers] How to see database files of my phone?

2010-07-21 Thread Webnet Android
On 21 July 2010 13:44, Nency Robert wrote: > HI, > > I want to see the database files of my phone is it possible? > You have to root your phone. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android

[android-developers] Re: make app as default app

2010-07-21 Thread Swati
Miss MB does have a valid point. My N1 gives me an option to choose between skyfire, opera, and the native browser when opening up html links with an option to set one of them as default. There is no reason why the user should not be presented with such an option for the dialer app. After all it al

Re: [android-developers] Re: Resolution Problem in Nexus One

2010-07-21 Thread Webnet Android
On 21 July 2010 13:24, Engin Arslan wrote: > any suggestions?? > http://adrianvintu.com/blogengine/post/Force-Locale-on-Android.aspx -- 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@

[android-developers] Re: EditText wrapped in ScrollView

2010-07-21 Thread YKTan
Can you put try with just the EditText inside the ScrollView? http://schemas.android.com/apk/res/ android" android:orientation="vertical" android:layout_width="wrap_content" android:layout_height="wrap_content">

[android-developers] Strange behavior of "if" block

2010-07-21 Thread zorglub76
It walks like a bug, it chirps like a bug I need someone to confirm that it's a bug. I was trying to get phone numbers from the address book with this code: public JSONObject getAllPhones() throws JSONException{ String mPhoneNumberProjection[] = new String[] {

[android-developers] Tiny url or Bit.ly View Intent

2010-07-21 Thread Lach
Hi Guys, I have a quick question which does not seem to have an answer from my searching. I have made an android app which reads information from a website and makes it much nicer to look at. I have also included a feature where a user can send someone an SMS with the link to the information. The

[android-developers] Re: Eclipse Helios

2010-07-21 Thread hippy
On Jul 3, 6:25 am, kihbord wrote: > Any news? I've upgraded my Eclipse to Helios and Android ADT plugin is > now missing on my Eclipse setup. "Caution: There are known issues with the ADT plugin running with Eclipse 3.6. Please stay on 3.5 until further notice." from: http://developer.android.com

[android-developers] Can i replace library like ssl.so, crypto.so in end user android mobile

2010-07-21 Thread Sridhar
Hi , I have made certain changes in ssl library for accessing my smart card. Can i replace my ssl.so with existing ssl.so in end user android mobile, for testing purpose only. If yes can you suggest some mobile models which support this. i need it very urgent, please help me . Thanks in

[android-developers] problem in calling .net c# web services from android using ksoap2 with parameters

2010-07-21 Thread slnk 21
Hi, I'm having a problem in calling .net c# web services from android using ksoap2. The call is executed just fine without parameters, but when I pass paramters of any type, the web service just recieves a null value. I tried everything possible like enabling "Allow Access across domains", renamin

[android-developers] i can't send email in UncaughtExceptionHandler for Service

2010-07-21 Thread codefish
i want to handle exceptions in Service. my exception handler sends error report email. so i add FLAG_ACTIVITY_NEW_TASK flag and it works fine in onCreate(). but in UncaughtExceptionHandler, it doesn't send email. so how it can send email in uncaughtException()? public class ErrorReporter implemen

[android-developers] resource IDs and sharedUserId

2010-07-21 Thread Webnet Android
Hi, If I am not wrong with the way android:sharedUserId is intended to work, then my question is how to avoid overlapping resource IDs? appt seems to aways start IDs at the same initial value for given type of resource (i.e. drawables starts at 0x7f02), so there will be sort of conflict or amb

[android-developers] Get return value from javascript.

2010-07-21 Thread Tonny
Hi all, I want to get a return value from javascript in webkit. Anybody help me ? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send

[android-developers] Re: Disabling Java formatting in the Eclipse editor

2010-07-21 Thread A Curious Developer
Grrr .. I had a few more files fall victim to the mystery formatting, probably caused by my bunglefingeredness. I started learning how to do an Eclipse plug-in, since if it took me a few hours now it would probably save me many more hours later. I was actually considering switching to the VisualSt

[android-developers] Re: Android Market paid app download errors

2010-07-21 Thread Sam
Well now the "issues" seem to have cleared up. Would be nice if we could log an issue with the market (whether we get a reply or not). Rather than just leave messages on forums. That way Google would at least see the "weight" of issues (depending on how many reports they had). If enough people c

[android-developers] Re: Widget update problem

2010-07-21 Thread NightGospel
Hello Paul, You're right. As you said, I traced RemoteViews.java file and found that it maintains mActions arraylist to fill with actions to be updated. Other suggestions are also appreciated. I learned much! Thank you all. :) NightGospel On 7月22日, 上午5時05分, Paul Turchenko wrote: > I'm 99% sure

[android-developers] Re: Why FileOutputStream cannot effect immediately

2010-07-21 Thread Ryan Wang
I have found the way to solve this problem. Add a force sync after call the flush function. Now it's working great. Code is here: fd = fOutputS.getFD(); fd.sync(); On 7月20日, 下午5时16分, Ryan Wang wrote: > We made a special device just look like a T-flash card. The program > need to communic

Re: [android-developers] Eclipse slow when compiling resources

2010-07-21 Thread Xavier Ducrohet
You could try to enable verbose build output (in the preferences under Android >Build), to see if it seem to choke on a particular file. Xav On Wed, Jul 21, 2010 at 5:24 PM, Zsolt Vasvari wrote: > The last couple of weeks, my app is very slow compiling changes when > the resources are modified i

Re: [android-developers] Re: Is there anyone know why Google allow only 4 connections on Android?

2010-07-21 Thread Connick
Imagine having 5 apps each attempting to make 30 connections... On Wed, Jul 21, 2010 at 8:29 PM, Frank Weiss wrote: > You said that more than 4 connections would give better performance. > How much faster would it be with a 5th connection? > > -- > You received this message because you are subs

[android-developers] Re: Quick way to change android namespace prefix

2010-07-21 Thread sstrenn
Here is a better version (last one toggled wrap search and regular expressions). This version requires that wrap search and regular expressions be checked and the dialog closed prior to first use of the script. ^!a:: Send {^Home} Send ^+f Send ^s Send ^f Send !b Send !l Send !f Send (xmlns:)andro

Re: [android-developers] What algorithms does javax.crypto support?

2010-07-21 Thread Jim Cortez
I answered my question using http://www.java2s.com/Code/Java/Security/Listtheavailablealgorithmnamesforcipherskeyagreementmacsmessagedigestsandsignatures.htm; Ciphers: PBEWITHSHAAND192BITAES-CBC-BC 1.2.840.113549.1.1.7 2.16.840.1.101.3.4.1.42 2.16.

[android-developers] Re: SQLiteOpenHelper per activity??

2010-07-21 Thread Zsolt Vasvari
I never keep an actualy SQLiteDatabase object around ever. In all my activities, I create a helper object and obtain the SQLDatabase object which I keep around throwing away the helper object. And I make sure that I close the database in my activities' onDestroy method. On Jul 22, 4:07 am, ecfor

Re: [android-developers] Re: Is there anyone know why Google allow only 4 connections on Android?

2010-07-21 Thread Frank Weiss
You said that more than 4 connections would give better performance. How much faster would it be with a 5th connection? -- 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

[android-developers] Eclipse slow when compiling resources

2010-07-21 Thread Zsolt Vasvari
The last couple of weeks, my app is very slow compiling changes when the resources are modified in the project. Doesn't matter if it's strings or layout. Sometimes it takes as long as 30 seconds for the changes to apply. Compiling just the .java files are as fast as ever. I used to have slowdow

Re: [android-developers] Re: how do you guys feel about the develop tools?

2010-07-21 Thread Kwan Cheng
I don't think there is anything wrong with eclipse. You use what you have. You do have the option to contribute. Besides xcode and eclipse are practically punch cards when compared to visual studio ease of use and tool integration. Again you use what you can, you can't compare apples to oran

[android-developers] gps accuracy

2010-07-21 Thread ecforu
I need a certain accuracy before I use the GPS location in my app. However I hasAccuracy() always returns false when using the emulator even when I send it a position with the DDMS. Is there a way to give the position accuracy in the emulator? Thanks -- You received this message because you ar

[android-developers] Re: Quick way to change android namespace prefix

2010-07-21 Thread sstrenn
Oops, the script should be: Send ^f!l!p!x!f(xmlns:)android!e\1_!a!f(\s)android:!e\1_:!a{Escape}^ +f^s On Jul 21, 4:35 pm, sstrenn wrote: > If you find that the "android:" attribute prefix is cumbersome and > reduces the readability of your Android XML files, you might want to > try changing the

[android-developers] Quick way to change android namespace prefix

2010-07-21 Thread sstrenn
If you find that the "android:" attribute prefix is cumbersome and reduces the readability of your Android XML files, you might want to try changing the prefix from android to _. If you do it via the Eclipse XML editor, it seems like you have to perform 2 find/replace operations with regular expre

Re: [android-developers] Re: Detecting "lock_layer timed out"

2010-07-21 Thread Dianne Hackborn
What version of the platform are you running against? It could just be a bug in the platform. On Wed, Jul 21, 2010 at 11:17 AM, Matty wrote: > My OpenGL stuff seems to draw just fine until some rotate (this is > most reproducible if you rotate back and forth with about a second > between). > >

Re: [android-developers] Font rendering

2010-07-21 Thread Dianne Hackborn
Sorry, Android currently doesn't support Arabic. On Wed, Jul 21, 2010 at 12:03 PM, kittu wrote: > I am working on a font rendering project for one of my applications in > android. I am trying to input a language like > > Arabic. > > I used the Softkeyboard sample for building the Language Keybo

[android-developers] Re: Is there anyone know why Google allow only 4 connections on Android?

2010-07-21 Thread joshua
It could be.. But as you can see in this website, http://www.browserscope.org/?category=network&v=top, other mobile browsers, iPhone browser and Opera, use 30 connections. Why only Android browser use 4 connections..? Is there any reason why google have made this kind of decision. On 7월22일,

Re: [android-developers] can a Service call startService() on itself?

2010-07-21 Thread Dianne Hackborn
Yes it can. You can call startService from any Context (assuming the caller has permission to start the service). On Mon, Jul 19, 2010 at 6:08 PM, goosedroid wrote: > I have a Service which is typically bound to, but sometimes needs to > go into a mode where it should be active even if nobody i

Re: [android-developers] Send Touch Events to Foreground Activity

2010-07-21 Thread Dianne Hackborn
You can do the same thing as Monkey. You will however need to use private APIs, and it will only work when running as the shell user. On Wed, Jul 21, 2010 at 1:14 PM, Matt Rusiniak wrote: > Hi everyone, > > I'm trying to figure out a way to send touch events to the foreground > activity. Essent

Re: [android-developers] new to programming and please help

2010-07-21 Thread Miguel Morales
What exactly is your issue? What are you asking help for here? Post the stack trace if it crashes. On Tue, Jul 20, 2010 at 2:59 PM, priv8dan wrote: > Hi everyone, > > I just want to write a basic program that displays the x, y > coordinates when the screen in touched.  Here's my code, any help w

Re: [android-developers] resource IDs and sharedUserId

2010-07-21 Thread Dianne Hackborn
Shared user IDs have nothing to do with resource IDs. A resource ID (for applications) is meaningless without an association with the .apk/package it is in, but a shared user ID is unrelated to that. On Tue, Jul 20, 2010 at 9:42 AM, Android wrote: > Hi, > > If I am not wrong with the way androi

[android-developers] Re: problems installing ADT plugin "Cannot connect to keystore. This trust engine is read only."

2010-07-21 Thread Anil
The fix was to install eclipse in c:\Users\Me\Documents. In Windows 7, apparently user-access-control disallows RW at c:\ On Jul 15, 2:01 pm, Anil wrote: > Trying to install ADT plugin, I get this error: "Cannot connect to > keystore. This trust engine is read only." > (Windows 7, Eclipse 3.5.2,

[android-developers] Re: Charts in Android

2010-07-21 Thread Zsolt Vasvari
I use aChartEngine. It's not too full featured, but it is lightweight (39K .jar), free (upfront and royalty) and it's easy to use. Depending on your requirement, it might be suitable. On Jul 22, 5:07 am, Paul Turchenko wrote: > Visithttp://www.artfulbits.com/Android/aiCharts.aspxfor aiCharts. >

Re: [android-developers] Re: What algorithms does javax.crypto support?

2010-07-21 Thread Jim Cortez
Right, I understand that spec-speak. My issue is that Android's crypto library does not support all the algorithms in the Java standard library here: http://download.oracle.com/docs/cd/E17476_01/javase/1.5.0/docs/guide/security/CryptoSpec.html#AppA Is there a list of algorithms that are provid

[android-developers] Re: Android Market paid app download errors

2010-07-21 Thread Maps.Huge.Info (Maps API Guru)
I don't think it's that Google doesn't care, I think that Google's tireless engineers are working on a new version (demo'd at Google IO 2010) and as such, are letting the current, tired, old and forgotten system just languish. Once they debut the new and improved market, everyone will jump for joy

[android-developers] Re: Android Market paid app download errors

2010-07-21 Thread String
On Jul 21, 9:35 pm, TreKing wrote: > This is where > questions like these go to get ignored, grow old, and die. It's true. There's ample evidence that Google does not care about Market problems. String -- You received this message b

[android-developers] Re: Are there any ways that allows a developer to leave a reply to the comments in the market?

2010-07-21 Thread String
On Jul 21, 9:19 pm, TreKing wrote: > You can rate and comment your own paid apps. If you deploy your app to your > device via adb, the Market will (well, should) treat it like a paid app > install. It works for me on G1 1.6 and Nexus 2.2. Sometimes this works, sometimes it doesn't. I have a coup

[android-developers] Re: how do you guys feel about the develop tools?

2010-07-21 Thread String
On Jul 21, 10:16 pm, DanH wrote: > BTW, I'm a charter member of the "I hate Eclipse" club -- joined it > about ten years ago. Likewise, though I can only claim about half that time. ;^) Nonetheless, as I've tried to do iPhone development on Xcode, I've come to appreciate Eclipse's strengths. Is

[android-developers] Re: Cannot play MPEG4 video stream on Android SDK 1.6

2010-07-21 Thread Indicator Veritatis
One final suggestion, after which my relevant expertise has reached its limit:( Those Android developers I know who are developing apps doing streaming video (or even progressive download) do not rely on the emulator's video codec support: they test on the phone. Come to think of it, I have seen f

[android-developers] Re: how do you guys feel about the develop tools?

2010-07-21 Thread DanH
BTW, I'm a charter member of the "I hate Eclipse" club -- joined it about ten years ago. On Jul 21, 1:24 pm, billconan wrote: > hello guys, > > i really like android and hope that it can surpass iphone in the near > future. I like it, because it's open. > > But i really don't like the develop too

[android-developers] Re: how do you guys feel about the develop tools?

2010-07-21 Thread DanH
Sad to say, what you have is "state of the art". Eclipse is used for many development environments (especially the free ones). The only other free development workbench I know of offhand is Qt Creator. And the emulator is better than a couple of others I've seen. Could they be better? Of cours

[android-developers] Re: How to access and edit call phone voice stream

2010-07-21 Thread Indicator Veritatis
See http://groups.google.com/group/android-developers/browse_thread/thread/c2bc85eb60ae2aa5?pli=1. I don't think any relevant changes have taken place since then, so the answer is 'no'. Phones later than the G1 might have the hardware support for it, but the API support is still not there. On Ju

[android-developers] Re: Are there any ways that allows a developer to leave a reply to the comments in the market?

2010-07-21 Thread Pent
> You can rate and comment your own paid apps. If you deploy your app to your > device via adb, the Market will (well, should) treat it like a paid app > install. It works for me on G1 1.6 and Nexus 2.2. You get updates for it like that too ? i.e. for a possible pirated install ? Pent -- You re

[android-developers] Re: Charts in Android

2010-07-21 Thread Paul Turchenko
Visit http://www.artfulbits.com/Android/aiCharts.aspx for aiCharts. Right now aiCharts is the only one professional solution for Android. aiCharts is optimized for use on mobile devices. Low memory and CPU consumption allow long phone battery life. aiCharts aware of all mobile platform limitations

[android-developers] Re: Any Archos5 owners able to help debug a problem?

2010-07-21 Thread Robert Green
Correction - I did get the regular Android ADB drivers working on it on Windows 7 x64. I posted all the info here - http://www.rbgrn.net/content/399-how-to-get-archos-5-internet-tablet-adb-working-on-x64-windows BTW - The new Archos 5 firmware runs GL games like a dream! PowerVR for the win. On

[android-developers] Re: Widget update problem

2010-07-21 Thread Paul Turchenko
I'm 99% sure that the problem is that you don't create RemoteViews every time (reusing old instance). This way mActions arraylist of RemoteView will get filled up with a bunch of actions and they all have to be dispatched by "acore" process. I would offer 2 workarounds: 1. Create NEW instance of R

Re: [android-developers] Re: how do you guys feel about the develop tools?

2010-07-21 Thread Chris Stewart
I think they're fine. I've used Eclipse plenty of times in the past and while it's not my IDE of choice on other development platforms, it's not a bad IDE by any means. I've grown to appreciate the Android emulator as well. The one area I think Android tools are lacking is in the UI design space

Re: [android-developers] dissmis a Progressdialog after recieving a message broadcast

2010-07-21 Thread TreKing
On Tue, Jul 20, 2010 at 7:26 AM, Mohammad Siddiqui wrote: > we send sms and the waiting for the response of the sms(which a sms > response coming from a specified number ) in between i show a progressdialog > which is started from the Activity > A > This sounds like a bad idea. What if the use

[android-developers] Quick test with log from a Samsung Moment user please?

2010-07-21 Thread Robert Green
Hi Guys, If you have a Samsung Moment and have adb working for it, would you mind downloading Deadly Chambers Demo off the android market and running it with the log up for me? I'm getting reports of it "not opening" but no additional details. Just the crash log would help tremendously. I think

  1   2   3   >