[android-developers] Re: Market statistics stall

2010-11-23 Thread Maps.Huge.Info (Maps API Guru)
I haven't seen any evidence of stalled statistics. Mine are proceeding normally. This is for a free app. Your mileage may vary. -John Coryat -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] Help getting screen number

2010-11-23 Thread Kumar Bibek
No idea what you are talking about? If you can explain your requirement more clearly, then someone would be able to suggest a better alternative. Kumar Bibek http://techdroid.kbeanie.com http://www.kbeanie.com On Tue, Nov 23, 2010 at 10:00 PM, Diego Torres Milano dtmil...@gmail.comwrote: But

Re: [android-developers] Re: Online Image in SimpleExpandableList

2010-11-23 Thread Kumar Bibek
Yup... Kumar Bibek http://techdroid.kbeanie.com http://www.kbeanie.com On Tue, Nov 23, 2010 at 9:54 PM, Leon Moreyn-Android Development lmor...@earthcam.com wrote: So the SimpleExpandabeListAdapter is text base only? So I would need to create new adapter style? On Nov 23, 1:51 am, Kumar

[android-developers] getThumbnail sometimes is very slow!

2010-11-23 Thread mrAlmond
Dear Android developers, I'm developing some apps for an android based device. One of these apps needs to show some thumbnails of the images stored in the sdcard, the problem is that most of the times the single call to getThumbnail gets more than 1 second to be executed. My application does the

[android-developers] Is it possible implement Zoom Feature in a custom Camera Activity or not?

2010-11-23 Thread Paolo
Hi there, I'm develop a custom Camera Activity in my app, to take pictures etc... now I'd like to add a new feature like Zoom. I remember that Eclair doesn't provide API for the zoom feature for the Camera, but I've noticed that Froyo does it, right? Reading the Froyo API there is

[android-developers] Automatic sqllite dbhelper class builder

2010-11-23 Thread Federico Paolinelli
Hi everybody, I already posted this here, but now I wrote a blogpost on my (almost) brand new blog. Maybe somebody is interested in this topic. Link here: http://mytechaddiction.blogspot.com/2010/11/my-sqllite-helper-builder.html -- You received this message because you are subscribed to the

[android-developers] Re: Send GPS Location Details to Server

2010-11-23 Thread Leon Moreyn-Android Development
I have you considering sending this data to web site to process the data on the server? You say your are using HttpConnection, you can use the HTTPPost to post to the site and let the site do the work for you. Leonid Moreyn On Nov 18, 3:49 am, jagan reddy saimohanj...@gmail.com wrote: Hello

[android-developers] Re: Maps doesn't show

2010-11-23 Thread Leon Moreyn-Android Development
The API key is the key assigned to you as a developer. You need to register your MD5 with google and they will assign you one. On Nov 23, 8:31 am, coy cawe...@gmail.com wrote: Tommy, Yes, it could be the problem. But what is the right API KEY? Moreover, I exported my app as a unsigned

[android-developers] Re: ClassNotFoundException crash reports from Market

2010-11-23 Thread Emanuel Moecklin
Tauno Talimaa tauntz at gmail.com writes: Hi all, I'm seeing some strange crash reports in Android Market and I can't really tell how this could be caused by our application. The reason is always ClassNotFoundException or NoClassDefFoundError. The exact traces come in various flavors

Re: [android-developers] Re: Geofence application in android

2010-11-23 Thread Brad Gies
You can request location updates within a pre-defined area, or at pre-defined times which can be used for geo-fencing... Not sure exactly what you need to accomplish so it's tough to suggest much more than reading the request Location Updates documentation. Sincerely, Brad Gies

Re: [android-developers] code for download a file

2010-11-23 Thread Brad Gies
DefaultHttpClient httpclient = new DefaultHttpClient(); HttpPost httpPost = new HttpPost(urlString); nvps.add(new BasicNameValuePair(someParam, ParamValue)); httpPost.setHeader(User-Agent, YOUR APP NAME OR WHATEVER YOU WANT);

[android-developers] Message on Locked Screen

2010-11-23 Thread Tejas
Hi, I want to put out a message from my application on locked screen. Something like, If Found please call number Is there a way to do it ? I see there is a FLAG_SHOW_WHEN_LOCKED flag using which I assume it can be done. Can anyone provide some example ? Regards, Tej -- You received this

Re: [android-developers] Message on Locked Screen

2010-11-23 Thread Dianne Hackborn
Sorry this isn't supported by the SDK. (There are hacks that people use to do this kind of stuff, but they are fragile and likely to break in newer platform versions.) On Tue, Nov 23, 2010 at 9:17 AM, Tejas tej...@gmail.com wrote: Hi, I want to put out a message from my application on locked

[android-developers] Re: Updating the Call Log.

2010-11-23 Thread Mandave
Hello, I have the same problem too. When I add a call to the calllog the name becomes unknown with my HTC Desire 2.2, while in the Emulator it works fine. This is the code: private void addToCallLog(){ String phoneName = Test Tested; String originalNumber = 11223233445; ContentValues

[android-developers] Re: ListAdapter source

2010-11-23 Thread Bret Foreman
I found part of the logic in AbsListView, which I've pasted below. Note that the vertical scroll offset is calculated based on the assumption that all the child Views will have the same height. In my case the child Views are all different heights but I do have an array that contains a list of

[android-developers] Re: Calling ImageSwitcher.setImageURI() in a thread

2010-11-23 Thread Jherry
I found out. In fact the thread is not a GUI thread and that's why the view is not updated. To make it work I created an AsyncTask which is made for download stuff but can be used for this kind of need. Thanks! On 21 nov, 13:08, Jherry jherr...@gmail.com wrote: Hi, I want to display pictures

Re: [android-developers] Re: Advanced Device Administration

2010-11-23 Thread Brad Gies
Mark is correct about not being able to stop applications from being installed without modifying the firmware. I think the best you could do without your own platform is to install an app that occasionally looks through the installed packages (PackageManager) and alerts the user or manager

[android-developers] Re: loste of quality with bitmap rotation

2010-11-23 Thread Dany Poplawec
It found it ! it works fine with setFilterBitmap(true); The entire code : Matrix matrix = new Matrix (); Matrix.setRotate (rotation, layer.getWidth ()/2, layer.getHeight ()/ 2); Paint mPaint = new Paint(Paint.ANTI_ALIAS_FLAG); mPaint.setDither(true); mPaint.setFilterBitmap(true);

[android-developers] Re: Message on Locked Screen

2010-11-23 Thread Tejas
Thanks Dianne. But then what is the use of the FLAG mentioned. I'm trying to do something like this. Can you let me know why it doesn't work? In TestActivity.java: IntentFilter iFilter = new IntentFilter(); iFilter.addAction(Intent.ACTION_SCREEN_OFF);

Re: [android-developers] Re: Calling ImageSwitcher.setImageURI() in a thread

2010-11-23 Thread Franco
that's right, remember the async task isn´t a gui thread and you have to change the image view data with a handler (android.os.Handler), from the async task send a message to the handler, and the handler will update the view ;) -- Forwarded message -- From: Jherry

[android-developers] Re: custom attributes in library projects

2010-11-23 Thread Leif
And same here too... On 9 Nov, 07:01, Open gro...@tenromans.com wrote: Same problem here. On Sep 14, 9:58 pm, Tom tom.broadb...@gmail.com wrote: i'm also hitting this issue.  can't create a xml-configurable custom view in alibraryproject.. is there a bug filed on this already?  

[android-developers] Running Android CTS on an emulator

2010-11-23 Thread rishi
I am running Android Compatibility Test Suite on an emulator, having Android 2.2 (FROYO). I connected the emulator to the CTS using adb tool and started the cts through ./startcts script. Then I ran various test plans like CTS, VM, RefApp and Java, through start --plan CTS command and the same

[android-developers] Notification display

2010-11-23 Thread cophy
Hi guys, I'm running a very simple example for Notification service. The notification appears properly when I'm running the example in the emulator, but when executed in a real system it displays the contentTitle but not the contentText and timestamp. Any ideas? public void

[android-developers] problem with installing an apk programmatically

2010-11-23 Thread slouma
Hi all, I already read this thread http://groups.google.com/group/android-developers/browse_thread/thread/1815768224168b52/91da1b4f775ac921?lnk=gstq=Out+of+space+#91da1b4f775ac921 but I fail to solve my problem. I'm trying to install programmatically an apk from the sd card. the option unknown

[android-developers] Code for connecting webservices in android by using HttpClient

2010-11-23 Thread brajnandan
Hi plz provide me code for connecting webservices in android by using HttpClient step by step. also mentioned method name how to set. Suppose My Method name is : ActiveSurveyList() and URL: http://. Plz suggest ASAP. Thanx Braj -- You received this message because you are subscribed to

[android-developers] about gps

2010-11-23 Thread Leon Li
hi all: i use Location location=manager.getLastKnownLocation(gps) to get real gps,but it allways return null,and i walk around outside office long time. but if i use network,it work. dose anyone else know what is wrong? -- You received this message because you are subscribed to the Google

[android-developers] Eclipse Reading Android Code as Java

2010-11-23 Thread Chase
I just inherited a project at my workplace and I am having trouble having Eclipse act as an Adroid editor rather than a Java editor. Pretty much everything is under lined and I can't seem to find a way to change how it is interpreted. I have downloaded all of the Android SDK's and the Eclipse

[android-developers] Push Notification in Android

2010-11-23 Thread fargath
Hi All, Im facing a problem in android app for push notification, i used to register the app in Urban Airship. But when i run the app, im getting a response as Application registration invalid! I referenced the sample application from github, i have used the same coding in my application. I

[android-developers] Virtual keypad is hiding data elements of the screen.

2010-11-23 Thread Sudhakar Chavali
Hello folks, I have an issue with a virtual keyboard. This Soft Keyboard Covers Data Fields - and can't See what's going on. I want to use this soft keypad and at the same time it should not become a problem to use data fields. So how can I manage the data fields in such cases? Thanks

[android-developers] Re: Bluetooth SPP control signals (DTR, DSR, RTS, CTS)

2010-11-23 Thread Ash
I think you get most of the answers from this place: http://developer.android.com/guide/topics/wireless/bluetooth.html This gives you complete over view of Bluetooth Architeture in Android and how to write App on it. -- Ash On Nov 22, 8:29 am, Troy troycollinswo...@gmail.com wrote: I would

[android-developers] Uploading paid apps in India

2010-11-23 Thread moby
Hi all, We develop apps for mobile phones and have just started for android as well. We would like to upload a free version and a paid version, but India is still not allowed for paid apps to be uploaded. We have a US office coming up soon (but can't say when)... In view of this, is it possible

[android-developers] Creating Sale Icon in Marketplace

2010-11-23 Thread Ryan
Hi, I'm a relatively new developer and I wondered if someone can help me. I have successfully submitted an application to the Android Marketplace and now I would like to change the icon that appears to advertise a sale on my product for a limited amount of time. Is it possible to upload a new

[android-developers] no resource found that matches the given name(at 'label' with value @string/about_title

2010-11-23 Thread rich
hey guys, im using a tutorial from the book hello android and i have come across said error, any help would be great as its for a uni project, files are below manifest.xml ?xml version=1.0 encoding=utf-8? manifest xmlns:android=http://schemas.android.com/apk/res/android;

[android-developers] Could anyone tell me how to share data in different processes?

2010-11-23 Thread Pico
Hi, Sir: I wrote a JAVA application with native methods, and trigger encoding program in native methods. That makes two processes, one is application process, another is encoding process. And, I would like to know if there is a way to get encoded data from encoding program and pass them to

[android-developers] Calculate text width

2010-11-23 Thread Vittochan
Hello everyone, I have these requirements: - size text to fill the entire length of a TextView, without wrap. - the text consists of strings of different sizes, such as: 012big345/big6789 To do this I'm using a SpannableStringBuilder. Get a result as the example is relatively simple. What I can

[android-developers] smooth scrolling

2010-11-23 Thread nixspirit
Hi guys, I'm a new here. Probably this question is answered. If it is, could you point me in the right direction then. I would like to add the smooth scrolling functionality into my application. i.e. I have a huge text and I want to scroll it automatically (like in book readers) Could anyone offer

Re: [android-developers] Android Browser 'Uncaught SyntaxError'

2010-11-23 Thread Belbayar Purevdagva
I don't know On Tue, Nov 23, 2010 at 2:21 AM, Greg Taylor snagglepa...@gmail.com wrote: I've been trying to get http://ligonier.org to render correctly on Android's Browser, but am running into a snag We recently moved all of our CSS/JS/Images to Amazon S3, which apparently broke Android

Re: [android-developers] Eclipse Reading Android Code as Java

2010-11-23 Thread XC He
you have to study this page first http://source.android.com/source/using-eclipse.html 2010/11/24 Chase chasie...@gmail.com: I just inherited a project at my workplace and I am having trouble having Eclipse act as an Adroid editor rather than a Java editor. Pretty much everything is under

[android-developers] TelephonyManager.getLine1Number() bypass

2010-11-23 Thread William Añez
Hi everyone, I have a new application on Android Market that depends of the mobile number to work properly, as everyone knows the value on an instance of TelephonyManager stored in getLine1Number() it's the number stored on the sim card, so, if there is an error on the sim card or the number is

Re: [android-developers] Re: New MiKandi Launch with Support For Paid Apps

2010-11-23 Thread Shane Isbell
Thanks Gene, It was a lot of fun to make. I love the dancing android. It was shot by David Dutton: http://www.duttonfilms.com/2010/11/i-got-mikandi-like-a-g6-parody/ The turn-around time was pretty incredible. We are also looking for apps and games that contain intense violence. These sorts of

Re: [android-developers] Could anyone tell me how to share data in different processes?

2010-11-23 Thread Mark Murphy
On Tue, Nov 23, 2010 at 8:42 AM, Pico pico...@gmail.com wrote:  I wrote a JAVA application with native methods, and trigger encoding program in native methods. That makes two processes, one is application process, another is encoding process. Why? Android applications do not need to be split

Re: [android-developers] Push Notification in Android

2010-11-23 Thread Mark Murphy
This is not an Urban Airship support board. You might consider asking Urban Airship how to get Urban Airship to work using an Urban Airship support option, such as: http://help.urbanairship.com On Tue, Nov 23, 2010 at 6:12 AM, fargath syedfarakatullah.riflux...@gmail.com wrote: Hi All, Im

Re: [android-developers] Code for connecting webservices in android by using HttpClient

2010-11-23 Thread Mark Murphy
On Tue, Nov 23, 2010 at 2:41 AM, brajnandan braj25...@gmail.com wrote: Hi plz provide me code for connecting webservices in android by using HttpClient step by step. The Apache HttpClient support site is: http://hc.apache.org/httpcomponents-client-ga/index.html -- Mark Murphy (a Commons Guy)

[android-developers] Re: streaming mp4 from Internet

2010-11-23 Thread Ahmed Shoeib
but the video streams correctly on iphone On Nov 23, 5:22 pm, Mark Murphy mmur...@commonsware.com wrote: On Tue, Nov 23, 2010 at 10:14 AM, Ahmed Shoeib ahmedelsayed.sho...@gmail.com wrote: as a conclusion to stream mp4 video from internet i need to use MP4Box installed on my device

[android-developers] Re: Virtual keypad is hiding data elements of the screen.

2010-11-23 Thread authorwjf
Add: android:windowSoftInputMode=adjustResize to your manifest for each activity that is giving you problems. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To

[android-developers] Re: SQL Injection

2010-11-23 Thread Kevin
Thanks guys, I just want to make sure I understand correctly: using SqliteDatabase.insert(...) with input from a text field is safe without sanitizing first? On Nov 22, 9:55 pm, Kumar Bibek coomar@gmail.com wrote: Well, if you user Raw query, then yeah, I guess it's possible. But if you use

Re: [android-developers] Re: streaming mp4 from Internet

2010-11-23 Thread Mark Murphy
On Tue, Nov 23, 2010 at 1:38 PM, Ahmed Shoeib ahmedelsayed.sho...@gmail.com wrote: but the video streams correctly on iphone That may be true. However, you will note that Android is not iPhone. In particular, early Android devices have little storage space, and so while iPhone can buffer the MP4

[android-developers] android internationalization problem

2010-11-23 Thread Ahmed Shoeib
hi, now i know that to check English Language using xml --- we create folder named ( values-en ) to be used if the language is English language and using code String locale = this.getResources().getConfiguration().locale.toString(); that return selectmen language on the device ? and it is

[android-developers] Re: streaming mp4 from Internet

2010-11-23 Thread Ahmed Shoeib
thanks alot for this support. On Nov 23, 8:42 pm, Mark Murphy mmur...@commonsware.com wrote: On Tue, Nov 23, 2010 at 1:38 PM, Ahmed Shoeib ahmedelsayed.sho...@gmail.com wrote: but the video streams correctly on iphone That may be true. However, you will note that Android is not iPhone.

Re: [android-developers] Uploading paid apps in India

2010-11-23 Thread Kumar Bibek
I think you can do that. When asked for the bank details, enter the US bank details, and that should be fine. Kumar Bibek http://techdroid.kbeanie.com http://www.kbeanie.com On Tue, Nov 23, 2010 at 6:30 PM, moby android.3d...@gmail.com wrote: Hi all, We develop apps for mobile phones and

Re: [android-developers] no resource found that matches the given name(at 'label' with value @string/about_title

2010-11-23 Thread Kumar Bibek
You strings.xml doesn't have an entry corresponding to about_title :) Kumar Bibek http://techdroid.kbeanie.com http://www.kbeanie.com On Tue, Nov 23, 2010 at 7:08 PM, rich riche...@googlemail.com wrote: hey guys, im using a tutorial from the book hello android and i have come across said

[android-developers] SDL in Android

2010-11-23 Thread lucid.android
Can someone give me information on SDL framework used in Android? Thanks in Advance. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group,

[android-developers] AudioFlinger ALSA

2010-11-23 Thread lucid.android
Can someone give me information on AudioFlinger used in Android? and how it works with ALSA? Thanks in Advance. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To

[android-developers] Re: about gps

2010-11-23 Thread ip332
Obviously LastKnownLocation can return not null only if someone turns GPS on and gets a position fix. You need to create a listener for this particular location provider and stop it after the first position is reported (not after the first one). Of course it would be better to see

Re: [android-developers] Creating Sale Icon in Marketplace

2010-11-23 Thread TreKing
On Tue, Nov 23, 2010 at 1:05 AM, Ryan ryi...@gmail.com wrote: Is it possible to upload a new icon image without having to recompile and submit a new version of my application? Nope. The image used in the Market is the application Icon. Easiest thing to do would be update the title of the app

[android-developers] AsyncQueryHandler vs AsyncTask

2010-11-23 Thread BigEHokie
Can anyone tell me when I should use one over the other? In my app, I currently use AsyncQueryHandler and make updates to the UI in the onQueryComplete() callback and I'm not under the impression this is not a good thing. However, looking at the documentation, I'm unsure when I would use the

Re: [android-developers] How to get current focus view object in Service?

2010-11-23 Thread TreKing
On Thu, Nov 18, 2010 at 4:11 AM, mos.chris1...@gmail.com mos.chris1...@gmail.com wrote: How can I use these methods in a Service? Have an activity that binds to your service, tells it when the edit text is in view and gets a message back from the service. Or is there another way to do?

Re: [android-developers] AsyncQueryHandler vs AsyncTask

2010-11-23 Thread Mark Murphy
The documentation indicates that AsyncQueryHandler is for use with ContentResolver and, therefore, content providers. If that is your use case, and it is working, there is probably no reason to consider changing. AsyncTask is an independent construct and is used for performing background

[android-developers] SSL from Android

2010-11-23 Thread Anm
What is the preferred way to do SSL on Android? Coming from a long time Java background, I have tended to jump to a https protocol URLConnection: // URL connection channel. HttpURLConnection url_connnection = (HttpURLConnection)url.openConnection(); // Let the RTS know

[android-developers] Re: LVL - Yay or Nay?

2010-11-23 Thread Michael A.
Google doesn't enforce the distribution agreement or TOS in any way (not even when directly informed about the transgressions), so adherence to this is entirely up to the individual developer. I've come across a lot of apps that break the TOS, apparently without any consequences. Regards,

[android-developers] Re: Android LBS Apps

2010-11-23 Thread ip332
Yes, sure. Use Overlay to show your objects on top of the Google Map. On Nov 19, 1:35 am, karl_os hayashita...@gmail.com wrote: Hi all, i'm newbie in developing Android Apps. Currently, i'm going to build an android Location Based Service apps for my undergraduate thesis. I've read some

[android-developers] Re: about gps

2010-11-23 Thread Dan
On Nov 23, 2:28 am, Leon Li l...@leonstrip.com wrote: hi all: i use Location location=manager.getLastKnownLocation(gps) to get real gps,but it allways return null,and i walk around outside office long time. but if i use network,it work. dose anyone else know what is wrong? Do you have both

[android-developers] Allowing one .apk to install another?

2010-11-23 Thread Biosopher
We are providing an Android Service to multiple customers for packaging into their .apks and need to ensure that only a single instance of our Service is running at a time. The ideal situation would be this: When one of our customers's apps is installed on a device, it looks for instances of our

[android-developers] Re: Android Testing

2010-11-23 Thread A. Elk
Depends on exactly what you mean by while testing. If you are using the Android unit testing framework described in http://developer.android.com/guide/topics/testing/testing_android.html then the answer is no. The unit testing framework is for testing a single class, so you can't test more than

[android-developers] Re: Hello World doesn't work

2010-11-23 Thread A. Elk
To expand on this: The behavior the OP is seeing is the emulator starting up. During startup, the text Android will blink. Even on a fast machine, it may take several minutes for the emulator to load and start the program. For this reason, you should leave the emulator running if possible while

[android-developers] Re: Android Testing

2010-11-23 Thread A. Elk
I interpret this to mean that you tried to test with the emulator. Which commands give you permission denied? On Nov 22, 10:57 pm, kampy narasimha1...@gmail.com wrote: hi as u said i read the doc and there i found that i can do these testing on the emultor terminal adb shell  but for every

[android-developers] Re: Android calls to web service slow? Using .NET web service

2010-11-23 Thread Wipeout
Hello again, and thank you for all your replies. I will try to break them down in an organized fashion. Kumar: The while loop takes 20ms on the emulator, and less still on the Nexus One. I have measured the time it takes for every line to complete -- I'm sorry I did not mention that. The problem

[android-developers] Re: Having trouble setting custom TitleView for a Dialog

2010-11-23 Thread William Ferguson
Really? The Javadoc for View#inflate states: Inflate a view from an XML resource. This convenience method wraps the LayoutInflater class, which provides a full range of options for view inflation. Parameters context The Context object for your activity or application. resourceThe

[android-developers] Re: Static Layout for whole app that must be in all Activity

2010-11-23 Thread bruce
Probably the best way to achieve this is to create a base activity class and extend it for all your other activities. Then update the view as necessary (such as in onStart()). You can maintain scroll position, etc., in an application static if absolutely necessary. Your xml for the marquee view

Re: [android-developers] Re: Android calls to web service slow? Using .NET web service

2010-11-23 Thread Miguel Morales
Are Android developers content with all calls to a web service taking 800ms over WiFi and 4000ms on EDGE? Actually, yes, that is expected. Particularly when using HTTP, because of the overhead which includes many syn/ack packets and may split the packets up resulting in more round trips. If

[android-developers] Re: Memory Leak with a ListView revisited

2010-11-23 Thread TZ
I too am finding a memory leak with the listview but no one has been able to tell me if I am doing anything wrong. I made a post on stackoverflow about it with sample code (dead simple example of a listview leaking there is a link to the whole project as a zip on the post as well).

Re: [android-developers] Re: Static Layout for whole app that must be in all Activity

2010-11-23 Thread Kostya Vasilyev
Ditto for a common Activity base class and layout reuse. Also, take a look at PopupWindow class - it should make it easier to integrate the common floating part into your layouts. -- Kostya Vasilyev -- http://kmansoft.wordpress.com 24.11.2010 1:13 пользователь bruce palant...@gmail.com написал:

[android-developers] Re: Market statistics stall

2010-11-23 Thread JonFHancock
Still seeing stalled stats on my free app, though they seem to be updating for my paid app, which has been on the market a lot longer. On Nov 23, 8:44 am, Maps.Huge.Info (Maps API Guru) cor...@gmail.com wrote: I haven't seen any evidence of stalled statistics. Mine are proceeding normally. This

Re: [android-developers] Re: Static Layout for whole app that must be in all Activity

2010-11-23 Thread TreKing
On Tue, Nov 23, 2010 at 4:12 PM, bruce palant...@gmail.com wrote: Probably the best way to achieve this is to create a base activity class and extend it for all your other activities. That works if you're only extending Activity in each of your own Activities. If you're using Lists, Tabs, or

[android-developers] Actual Galaxy Tab Displays Different Than Emulator - 5x5 Widgets?

2010-11-23 Thread Matt M
Hello, I created a Galaxy Tab emulator using these instructions: http://innovator.samsungmobile.com/galaxyTab.do When I install my 4x2 widget on the emulator it displays like it does on a phone (full width, half the height). However I went to try it out on an actual device in Best Buy and there

Re: [android-developers] Scroll View

2010-11-23 Thread TreKing
On Thu, Nov 18, 2010 at 4:39 PM, rajeev R todearraj...@gmail.com wrote: There is no XML file for this activity.How to add scrolling option here. Add a ScrollView and shove whatever ViewGroup you want to scroll into it. P.S. - Pasting a whole lot of code with no context does not help ;-)

Re: [android-developers] Detecting changes in maps

2010-11-23 Thread TreKing
On Thu, Nov 18, 2010 at 12:02 PM, Bruno brun...@corollarium.com wrote: how do I detect changes of boundaries and zooms in a map? Track the current bounds and zoom yourself and check onTouch and onTap events for changes. Is there an event that is called whenever there is a drag or a zoom?

Re: [android-developers] Actual Galaxy Tab Displays Different Than Emulator - 5x5 Widgets?

2010-11-23 Thread Mark Murphy
On Tue, Nov 23, 2010 at 5:36 PM, Matt M matthew.mag...@gmail.com wrote: First of all, why is there this discrepancy? Their SDK add-on may not replace the stock Android emulator home screen app with their own. I have not tried making a Galaxy Tab emulator AVD. Second, how would I create a 5x5

Re: [android-developers] Re: Market statistics stall

2010-11-23 Thread Evgeny V
There is no pattern. I have both: young paid and old free apps - both no download updates. On Wed, Nov 24, 2010 at 12:22 AM, JonFHancock jonfhanc...@gmail.com wrote: Still seeing stalled stats on my free app, though they seem to be updating for my paid app, which has been on the market a lot

Re: [android-developers] Bad image quality in canvas

2010-11-23 Thread TreKing
On Thu, Nov 18, 2010 at 12:44 PM, Serzh Butterfly ser...@gmail.com wrote: Gradient isn't smooth and lines have a little blur. I want to have a hard lines. What is the problem? Sounds like scaling and / or anti-aliasing issues. Make sure you're using the right image resolution for the screen

Re: [android-developers] How to use one application GUI code as jar file from other appliaction?

2010-11-23 Thread TreKing
On Fri, Nov 19, 2010 at 3:08 AM, Pink sivareddy.j...@gmail.com wrote: How to prevent these exceptions and make use one application GUI code in another? Sounds like you want an Android Library Project.

Re: [android-developers] Wanted: Info samples related to Android Developer Console changes

2010-11-23 Thread TreKing
On Fri, Nov 19, 2010 at 10:01 AM, Jim jamespet...@gmail.com wrote: What is a “feature graphic”? Could anyone provide an example? Is it “required” (the console doesn't seem to require it). Also, are alpha” channels allowed in the high resolution icon? Many icons have transparent backgrounds.

Re: [android-developers] Re: Creating 2D games with Android and Blender

2010-11-23 Thread Miguel Morales
Thanks for the response, you are actually getting a better framerate than I am and I'm using OpenGL. However, my approach is pretty simple. I load a bunch of png images and just draw them (some sprites may be drawn twice) there is a lot of room for improvement. However, my game is 2D with simple

Re: [android-developers] setOnTouchListener

2010-11-23 Thread TreKing
On Fri, Nov 19, 2010 at 10:48 PM, dmodroid dmodr...@gmail.com wrote: I feel like there should be a myItemizedOverly.setOnTouchListener (blah, myCallback); in myMapActivity. What's stopping you from adding this to your custom overlay?

[android-developers] Re: SSL from Android

2010-11-23 Thread Anm
Above code works from desktop Java. The last error (Failure in SSL library, usually a protocol error: 140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol) was an data service provider redirection without any error. It not an Android issue, but I'd love to know how to detect the error

Re: [android-developers] View not attached to window manager

2010-11-23 Thread TreKing
On Sat, Nov 20, 2010 at 7:05 AM, PaulJ pjablonsk...@gmail.com wrote: Problem occurs when a dialog progress appears and I change my phone orientation, it freezes and crashes, on line with dismiss(). For starters, if you use showDialog(), use dismissDialog() instead of calling dismiss on the

[android-developers] Re: Automatic sqllite dbhelper class builder

2010-11-23 Thread Hal
Federico, The same or similar idea is also known as the Data Access Object (DAO) design pattern. The Jt Design Pattern Framework (7.2) will support DAOs on Android: Jt Design Pattern Framework http://jt.dev.java.net/

Re: [android-developers] button on screen that controls page sliding

2010-11-23 Thread TreKing
On Sat, Nov 20, 2010 at 4:51 PM, timecatcher3 timecatch...@gmail.comwrote: I wanted to make a button on one of my activities that I can drag to slide my current activity page to the next activity page. The button will be in the center of the screen and I want to be able to press and drag it

Re: [android-developers] How to Dismiss a PopupWindow when Switching Among TabActivities?

2010-11-23 Thread TreKing
On Sun, Nov 21, 2010 at 2:24 PM, Derek Brameyer derek.brame...@gmail.comwrote: The onPause() method in my TabActivity causes the app to force close... You might want to elaborate on that. That doesn't sound like standard behavior ...

Re: [android-developers] Monthly Calendar

2010-11-23 Thread TreKing
On Sat, Nov 20, 2010 at 9:12 PM, alchemix achmad.aldir...@gmail.com wrote: Is there any way i can set this using the xml? Set what? - TreKing http://sites.google.com/site/rezmobileapps/treking -

Re: [android-developers] Re: Automatic sqllite dbhelper class builder

2010-11-23 Thread Federico Paolinelli
Cool, I didn't know that so I had to reinvent the wheel. I gotta give a look at your link (but not now, it's quite late here in italy :-) ) However, mine works decently, and I had some fun in writing it. Thanks, Federico On Wed, Nov 24, 2010 at 12:11 AM, Hal dsheppar...@gmail.com wrote:

Re: [android-developers] Android apps crashing on different phone models

2010-11-23 Thread TreKing
On Sat, Nov 20, 2010 at 9:49 PM, Gabriel Brandao brandao.g...@gmail.comwrote: However, this is causing the application to force close on startup for many of my users using Samsung and HTC phones, but works just as intended on droid x, incredible, and 2. No one's sent you a crash report in

[android-developers] Re: Lazy load images into listview

2010-11-23 Thread Open
Thanks guys. @Aaron, I'll take a look at Droid Fu @Doug, I see a lot of applications that appear to be using multiple threads to download images. E.g., the Android market itself. It's kinda amazing to me that there isn't a standard way of doing this considering the number of applications I see

[android-developers] Re: Unexpected extra byte occurring in binary logcat entry stream

2010-11-23 Thread fadden
On Nov 19, 8:07 am, Hal hal.blackb...@gmail.com wrote: The byte (in this instance) is 0x1D at offset 0x14 : | 2E 00 0D 0A  C0 7C 00 00  00 9A 00 00  00 EC BA E5  4C | À|...ìºåL [...] The extra byte shifts the payload by 1, so the payload length becomes incorrect. I can't see

[android-developers] Re: am profile command error Process not debuggable

2010-11-23 Thread fadden
On Nov 18, 5:52 pm, sudeep bhowmick sudeep.bhowm...@gmail.com wrote: java.lang.SecurityException: Process not debuggable: ProcessRecord{xx/xx} This app has multiple activities and threads. How do I deal with this? I do not have the source code for this app and hence I do not have the

[android-developers] Styling Dialog title and background - is this an impossible quest?

2010-11-23 Thread William Ferguson
Its clearly easy to do, because some many apps do it, but I can't see how. I want to display a very simple dialog, with a Title and Content (eother TextView or perhaps a WebView). But I want to style the dialog so that the background of the Title, Content and the dialog window itself are

[android-developers] How to get MAC address?

2010-11-23 Thread Alex Xin
Hi, guys I'd like to know how to get WIFI MAC address on Android system? Does anyone know how to do this? Thanks in advance! Alex -- 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] alter table

2010-11-23 Thread pramod.deore
can I insert a new column into existing table. Because I had read somewhere that SQLite is limited on the ALTER TABLE command. Thanks -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] best layout for app, dynamic set of 2 rows which consist of icons and text

2010-11-23 Thread TreKing
On Sun, Nov 21, 2010 at 3:41 PM, Rustam Kovhaev rkovh...@gmail.com wrote: the question is: am I going in the right direction? I don't think you really explained what direction you're going in or what your ultimate goal is. is there any other(simpler) way to accomplish what I need? I don't

Re: [android-developers] Notification display

2010-11-23 Thread TreKing
On Tue, Nov 23, 2010 at 3:04 AM, cophy cmeime...@gmail.com wrote: The notification appears properly when I'm running the example in the emulator, but when executed in a real system it displays the contentTitle but not the contentText and timestamp. Seems fine besides the useless

<    1   2   3   >