[android-developers] Re: Can somebody give me a Google+ invitation?

2011-07-08 Thread Ali Chousein
Fei, please come and join Google+ (Is this good enougn invitation? :-) ) -- Ali Chousein Geo-Filtered Assistant http://geo-filtered-assistant.blogspot.com/ Cisco Android marketplace (Chosen for Cisco Cius) https://marketplace.cisco.com/apphq/products/510 On Jul 8, 1:07 pm, fei wang wrot

[android-developers] Database error

2011-07-08 Thread Raghav Sood
Hi all, I am creating a database to store the list of earthquakes as an update to my existing app. I am receiving an error with the following caused by statement: Caused by: android.database.sqlite.SQLiteException: near ",": syntax error: create table earthquakes (_id integer primary key autoincr

Re: [android-developers] Any reviews about airpush?

2011-07-08 Thread Raghav Sood
This would belong more on android-discuss. On a more helpful not: I used airpush for a while. It crashed my app by using up all available memory. Good luck getting users to like you with that. On Sat, Jul 9, 2011 at 8:02 AM, Denny Shen,Yu Ming wrote: > Any? > > -- > You received this message be

Re: [android-developers] Re: CDMA getCellLocation() does not work

2011-07-08 Thread Raghav Sood
It is quite possible that this just returns latitude and longitude without minutes and seconds which in fact would be an integer value. eg: 77ºN and 15ºW On Sat, Jul 9, 2011 at 1:30 AM, Ken H wrote: > Yeah, I've read the reference pages, it doesn't help...that's why I > asked. > > The reference

[android-developers] How to wrap a memory mapped file with Bitmap and draw into it?

2011-07-08 Thread Videoguy
Hi I have a scenario where an Android GUI app share what it is drawing with a native process. I am wondering if I can do something like below: 1) In Android GUI app, Create a memory mapped file and map it to Java using MappedByteBuffer 2) Then somehow create a BitMap using the MappedByteBuffer 3)

Re: [android-developers] Romain Guy/Diane Help!

2011-07-08 Thread Matthew Powers
We are the ones handling the updates, and I am just looking for some insight from people who have delivered preinstalled apps. If this is not the forum to do so then I apologize. On Sat, Jul 9, 2011 at 12:33 AM, String wrote: > First, I believe that blog post is wrong, at least for modern versio

Re: [android-developers] Romain Guy/Diane Help!

2011-07-08 Thread String
First, I believe that blog post is wrong, at least for modern versions of Android. I never used the workaround they describe, and I get plenty of updates for preinstalled apps. Second, if your app's preinstalled you must have a contact at Toshiba. Can't they help you push updates? String -

Re: [android-developers] Romain Guy/Diane Help!

2011-07-08 Thread Matthew Powers
And this was the blog that gave me anxiety. http://www.letsgodeeper.com/2011/02/reinstall-preloaded-htc-apps-in-android-market/ On Fri, Jul 8, 2011 at 11:55 PM, Matthew Powers wrote: > Same package, same signing certificate, and an incremented version number > > > On Fri, Jul 8, 2011 at 11:51 P

Re: [android-developers] Romain Guy/Diane Help!

2011-07-08 Thread Matthew Powers
Same package, same signing certificate, and an incremented version number On Fri, Jul 8, 2011 at 11:51 PM, Romain Guy wrote: > Was it signed with the same key? > > On Fri, Jul 8, 2011 at 8:48 PM, Matthew Powers wrote: > >> So we have an app that we have preinstalled with the Toshiba Thrive, >>

Re: [android-developers] Romain Guy/Diane Help!

2011-07-08 Thread Romain Guy
Was it signed with the same key? On Fri, Jul 8, 2011 at 8:48 PM, Matthew Powers wrote: > So we have an app that we have preinstalled with the Toshiba Thrive, > unfortunately, we have an update to the app associated with the impending > launch on Sunday. My question is this (and I have done some

[android-developers] Romain Guy/Diane Help!

2011-07-08 Thread Matthew Powers
So we have an app that we have preinstalled with the Toshiba Thrive, unfortunately, we have an update to the app associated with the impending launch on Sunday. My question is this (and I have done some digging on the blogs, etc). We don't seem to be able to detect that an update is available. A

[android-developers] Any reviews about airpush?

2011-07-08 Thread Denny Shen,Yu Ming
Any? -- 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 email to android-developers+unsubscr...@googlegroups.com For more options, vi

[android-developers] Re: How can Button clicks be sent to a View that has been disabled?

2011-07-08 Thread William Ferguson
No. I expected that for a Button (especially) that setting enabled=false would also set clickable=false. I haven't come across a UI paradigm yet where that hasn't been the case. On Jul 8, 5:15 pm, Filip Havlicek wrote: > Did you try setting setClickable(false) as well? > > 2011/7/8 William Fergu

Re: [android-developers] Z-Index of layers in mapview

2011-07-08 Thread TreKing
On Fri, Jul 8, 2011 at 5:01 PM, Peter Maes wrote: > Because of a specific workaround I need for another problem (not relevant > here) i cannot just use the order of adding the layers to the mapview as > resolve for this issue. Well, that's how it's drawn, so if you don't want that behavior, you

[android-developers] Z-Index of layers in mapview

2011-07-08 Thread Peter Maes
Hi all, I'm adding multiple ItemizedOverlays and some other custom drawing in few classes that inherit from Overlay. Say I have 2 ItemizedOverlays and 1 CustomOverlay (that extends from Overlay). The ItemizedOverlays should always be on top of the customoverlay. The problem is that as soon as I

Re: [android-developers] Re: How to implement a Broadcast Receiver

2011-07-08 Thread Mark Murphy
On Fri, Jul 8, 2011 at 5:26 PM, Steven Bruce wrote: > Thanks a lot. That worked a treat. I have since changed my code so > I've now dynamically created a BroadcastReceiver in my main class > (using registerReceiver) instead of the manifest file as its more > accessible to my BluetoothTest activity

Re: [android-developers] Re: EditText stops displaying characters as I'm typing?

2011-07-08 Thread Eric Carman
Thank you. -- 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 email to android-developers+unsubscr...@googlegroups.com For more optio

[android-developers] Honeycomb: Isochronous endpoint type (currently not supported), When?

2011-07-08 Thread Devomat
Hello, I need the "Isochronous endpoint type" for my newest project. I've read that it is not implemented yet (API 12: Isochronous endpoint type (currently not supported). When it will be implemented? Thanks -- You received this message because you are subscribed to the Google Groups "Android D

[android-developers] Re: How to implement a Broadcast Receiver

2011-07-08 Thread Steven Bruce
Hi Mark. Thanks a lot. That worked a treat. I have since changed my code so I've now dynamically created a BroadcastReceiver in my main class (using registerReceiver) instead of the manifest file as its more accessible to my BluetoothTest activity. Having it locked away in a seperate class seemed

Re: [android-developers] Need a Live CD containing Eclipse Android-SDK

2011-07-08 Thread Mark Murphy
I'd aim for a live USB thumb drive. Live CDs are pointless for development, as you actually need to be able to save things, like source code. Also, an OS + Eclipse + SDK + dependencies is probably bigger than 650MB. And I'd worry about it taking eternity to load Eclipse off of a CD/DVD. Ubuntu sup

[android-developers] Need a Live CD containing Eclipse Android-SDK

2011-07-08 Thread cellurl
I want to teach Android programming and give each student a bootable Live-CD containing Eclipse + SDK. Does anyone know of such? Any leads appreciated. -cellurl -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send

[android-developers] Re: CDMA getCellLocation() does not work

2011-07-08 Thread Ken H
Yeah, I've read the reference pages, it doesn't help...that's why I asked. The reference page doesn't explain why the LAT/LON is not known. The Base Station ID is known, the Network ID is known. Almost everything in the telephonymanager returns a valid result but this. Why? If you Google this you

Re: [android-developers] CDMA getCellLocation() does not work

2011-07-08 Thread Raghav Sood
These features exist API level 5 onwards. You will receive Integer.MAX_VALUE if the location is not known. BTW it was the second result on Google when searching for "android getBaseStationLatitude()". For future reference: http://www.google.com/ On Sat, Jul 9, 2011 at 12:11 AM, Ken H wrote: >

[android-developers] CDMA getCellLocation() does not work

2011-07-08 Thread Ken H
Does anyone know why getCellLocation() for cdma will not return the cell site locations? If I use: TelephonyManager tm = (TelephonyManager) getSystemService(Context.TELEPHONY_SERVICE); CdmaCellLocation cd = (CdmaCellLocation) tm.getCellLocation(); int cdmaLat = cd.getBaseStationLatitude(); int cdm

Re: [android-developers] Help. I need to pull and eventually send a value via webview

2011-07-08 Thread Filip Havlicek
To download the data, you can use either standard Java URL and URLConnection classes or the HttpClient from apache included in Android. Googling those classes should result in some decent hits. You can then parse the String to get the value and then pass the page to your WebView by calling it's loa

Re: [android-developers] wireless app testing

2011-07-08 Thread Mark Murphy
Another option is Dropbox and the Android Dropbox client. Or, upload it to a Web server that knows to use the right MIME type for APK files, and browse to it (possibly using a goo.gl or bit.ly or whatever short URL). On Fri, Jul 8, 2011 at 1:50 PM, Raghav Sood wrote: > Personally I use bluetooth

Re: [android-developers] Cant access layout created programmatically

2011-07-08 Thread Raúl Do Santos
thanks i will try it 2011/7/8 Kostya Vasilyev > ** > The second parameter to ArrayAdapter is a layout resource id, which is the > template for list items. > > It has to be an R.layout value, e.g. R.layout.my_item_layout, where > my_item_layout.xml is a layout file under "res". > > The third para

Re: [android-developers] Cant access layout created programmatically

2011-07-08 Thread TreKing
On Fri, Jul 8, 2011 at 12:34 PM, Raúl Do Santos wrote: > Exactly but the issue is that my app strictly must declare the UI only in > javacode, then the problem is that I can not access the elements created > dynamically by their id, if i do: LinearLayout ll = > findViewById(R.id.layoutSpinner); ll

Re: [android-developers] wireless app testing

2011-07-08 Thread Raghav Sood
Personally I use bluetooth to transfer the apk but that may not be available on some desktops. On Fri, Jul 8, 2011 at 11:17 PM, Kostya Vasilyev wrote: > Um, email the .apk to yourself from the development system. > > Get the email on the phone, open the attachment to install? > > 08.07.2011 21:4

Re: [android-developers] wireless app testing

2011-07-08 Thread Kostya Vasilyev
Um, email the .apk to yourself from the development system. Get the email on the phone, open the attachment to install? 08.07.2011 21:44, bob пишет: what are some of the easiest ways to test an app on a real phone without connecting a wire between the computer and phone? -- Kostya Vasilyev -

Re: [android-developers] Cant access layout created programmatically

2011-07-08 Thread Kostya Vasilyev
The second parameter to ArrayAdapter is a layout resource id, which is the template for list items. It has to be an R.layout value, e.g. R.layout.my_item_layout, where my_item_layout.xml is a layout file under "res". The third parameter is a view id, within that layout. If you would like to

[android-developers] wireless app testing

2011-07-08 Thread bob
what are some of the easiest ways to test an app on a real phone without connecting a wire between the computer and 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-developers@googlegroups.

Re: [android-developers] Cant access layout created programmatically

2011-07-08 Thread Raúl Do Santos
Exactly but the issue is that my app strictly must declare the UI only in javacode, then the problem is that I can not access the elements created dynamically by their id, if i do: LinearLayout ll = findViewById(R.id.layoutSpinner); ll is null. If you know other way of access the elements created

Re: [android-developers] Help. I need to pull and eventually send a value via webview

2011-07-08 Thread Richard Diuk
No, no I did not think of that. Mainly because I do not know how to do that. Is that done in a webview? Can you tell me what I am to google to learn how to do this or perhaps point me to some code or tutorial? Thanks for the help by the way. :) On Fri, Jul 8, 2011 at 6:40 AM, Filip Havlicek wrote

Re: [android-developers] Re:issue with adb going offline on windows 7 PC

2011-07-08 Thread Thomas Economous
If you are familiar with Linux I would recommend removing Windows 7 from the PC and installing Ubuntu instead. It will be a much more stable testing environment and no driver is needed to use adb. On Thu, Jul 7, 2011 at 5:08 AM, vennapusa wrote: > Hi all, > i am doing stress testing on the and

[android-developers] Re: Android and OSGi/Apache Felix

2011-07-08 Thread kypriakos
I think Knopflerfish is close to releasing a version of their OSGi spec implentation for Android ... Regarding the rest, security, android lifecycle and the rest of worries I am reading here I didn't get enough time to look into it but I do see many benefits of OSGi on mobile platforms - ex. Tita

Re: [android-developers] Cant access layout created programmatically

2011-07-08 Thread TreKing
On Fri, Jul 8, 2011 at 11:09 AM, Raúl Do Santos wrote: > when i create an arrayadapter, like this: > > ArrayAdapter adapter = new ArrayAdapter ( this, > R.id.layoutSpinner, R.id.item, list); > > R.id.layoutSpinner and R.id.item are declarated within strings.xml, but are > instatiated dinammically

[android-developers] Re: Two Processes exist in One Android Application. Really?

2011-07-08 Thread Ali Chousein
Good and convincing use case :-) -- Ali Chousein Geo-Filtered Assistant http://geo-filtered-assistant.blogspot.com/ Cisco Android marketplace (Chosen for Cisco Cius) https://marketplace.cisco.com/apphq/products/510 On Jul 8, 3:51 pm, Streets Of Boston wrote: > It's possible: > In your a

[android-developers] Re: Installing APK + DB

2011-07-08 Thread hectordu...@yahoo.com
hi kostya, i get your point, i'll try to find the bug; btw, if you have any advice on how to deal with it, i willl apreciate it very much. soo, i will post what happened! regards hector pd.about the double click conflict, i used setOnLongClickListener instead of onDblClick. On Jul 7, 1:10 pm,

Re: [android-developers] Cant access layout created programmatically

2011-07-08 Thread Raúl Do Santos
when i create an arrayadapter, like this: ArrayAdapter adapter = new ArrayAdapter ( this, R.id.layoutSpinner, R.id.item, list); R.id.layoutSpinner and R.id.item are declarated within strings.xml, but are instatiated dinammically and setted ids like this: LinearLayout layoutSpinner = new LinearLay

[android-developers] Re: db4o SODA query giving result null on ordering descending

2011-07-08 Thread Gamlor
Hi again. I could reproduce a NullPointer exception when I specified a not existing field in the order clause. Have you checked that the '_rating' field really exists? Anyway, created a bug-entry for that issue: http://tracker.db4o.com/browse/COR-2216 On Jul 8, 5:48 pm, Gamlor wrote: > Hi. > >

Re: [android-developers] Cant access layout created programmatically

2011-07-08 Thread TreKing
On Fri, Jul 8, 2011 at 10:48 AM, Raúl Do Santos wrote: > leaving aside the inflater, the real problem is that i cant access > resources created porgrammatically, can i do this? > Yes. > I try setting id with setId() method but when i bring the layout created, > is null. The object exist but can

[android-developers] Re: Galaxy Tab and Market filtering

2011-07-08 Thread nadam
Nope, that's just a min-value. I tested changing it to 4 but no difference. There's something strange going on with the compatible-screens tag. I tried adding all 16 combinations of densities and screen sizes (in supports-screens too) but some Galaxy Tabs were still listed as unsupported. A total

Re: [android-developers] Cant access layout created programmatically

2011-07-08 Thread Raúl Do Santos
leaving aside the inflater, the real problem is that i cant access resources created porgrammatically, can i do this? i need that ui will be created only programmatically. I try setting id with setId() method but when i bring the layout created, is null. The object exist but cant accessed by their

[android-developers] Re: db4o SODA query giving result null on ordering descending

2011-07-08 Thread Gamlor
Hi. I couldn't reproduce the issue. Which version of db4o are you using? On Jun 10, 1:41 pm, imran ali wrote: > Hi all, > I have been using db4o in my project,i have to search result and > arrange in Descending order according to particular filed. I follow > below code, but am getting null value

Re: [android-developers] How to use android calendar widget in my android apps???

2011-07-08 Thread TreKing
On Fri, Jul 8, 2011 at 6:57 AM, vijayakumar M wrote: > any one help me... it's very urgent.. > Tip: saying your issue is "urgent" makes you seem impatient and leads to people ignoring your request. How to use android calendar widget in my android apps??? > Define "android calendar widget" and h

[android-developers] Re: Music - Youtube application

2011-07-08 Thread MarcoAndroid
Did you read this? http://android-developers.blogspot.com/2010/06/allowing-applications-to-play-nicer.html Also probably useful is presentation http://www.google.com/events/io/2011/sessions/android-protips-advanced-topics-for-expert-android-app-developers.html Look around 43:20, it's about playba

[android-developers] Proguard with external library

2011-07-08 Thread Albert
Hi, I am trying to use proguard when exporting the build but it's failing on "Proguard returned with error code 1" - the problem comes from having the twitter4j jar. I have tried this: -libraryjars libs/twitter4j-core-android-2.2.3.jar but with no luck. Have anyone done this before? Thanks in ad

[android-developers] Android stock "Email" client will not send HTML email like GMail client

2011-07-08 Thread andrew
In my app I am sending an html email using this code i.setType( "message/rfc822" ); // I have also tried using text/ html and text/plain and text/message with no luck i.putExtra( Intent.EXTRA_SUBJECT, so.getSubject() ); i.putExtra( Intent.EXTRA_TEXT, Html.fromHtml( html here ) ); When the u

Re: [android-developers] Post about Broadcast Receiver

2011-07-08 Thread TreKing
On Thu, Jul 7, 2011 at 4:37 PM, Steven Bruce wrote: > That was about four hours ago and I still haven't seen it appear on the > group yet? Is this normal or was it rejected for some reason? Yup, that's normal. Sometimes the group holds posts for days (moderation?) and then spits them all out at

Re: [android-developers] SQLite3 database (read-only) ok in assets?

2011-07-08 Thread Jim Graham
On Fri, Jul 08, 2011 at 09:01:03AM -0400, Mark Murphy wrote: > On Fri, Jul 8, 2011 at 8:55 AM, Jim Graham wrote: > Wow. You took that joke wy farther than I had > expected. :-) Seemed like the (fun) thing to do at the time. :-) > > Ah, ok. ?Yes, that makes sense now. ?I was p

Re: [android-developers] Re: Getting primary user email address

2011-07-08 Thread Raghav Sood
> > I wouldn't touch that code with a 304.8cm (i.e., 10-foot) pole. I suppose I'll give the code a pass then. Furthermore, you have made an implicit assumption: that the user actually pays attention to that Google account. Just because the user has an Android device does not mean that they use

Re: [android-developers] Questions about making a project add on

2011-07-08 Thread Mark Murphy
On Fri, Jul 8, 2011 at 9:56 AM, Raghav Sood wrote: > 1) Will I write this like an ordinary app? It will have a service that > connects to the internet to update a database or file (haven't decided yet). You will have it as a project to generate your JAR, with a separate sample project showing how

Re: [android-developers] Alarm

2011-07-08 Thread Raghav Sood
Have you tried anything? See the SDK documentation for creating an alarm. On Fri, Jul 8, 2011 at 6:22 PM, krishna kumar wrote: > hi guys > >how to show alarm ringtone please help me.. > > -- > You received this message because you are subscribed to the Google >

Re: [android-developers] Re: Getting primary user email address

2011-07-08 Thread Mark Murphy
I wouldn't touch that code with a 304.8cm (i.e., 10-foot) pole. Hacking into framework classes via reflection is risky. Furthermore, you have made an implicit assumption: that the user actually pays attention to that Google account. Just because the user has an Android device does not mean that th

Re: [android-developers] Resources$NotFoundException when running integration tests

2011-07-08 Thread Raghav Sood
I got this error once. I just had R.java rebuilt. I deleted the gen folder and eclipse rebuilt the entire R part of the project. That fixed my problem. On Fri, Jul 8, 2011 at 12:28 AM, Mike Mangino wrote: > I have an android 3.0 project and associated test project that have > been under developme

Re: [android-developers] Instant messenger

2011-07-08 Thread TreKing
On Thu, Jul 7, 2011 at 11:03 PM, sweta android wrote: > For my final year project I am planning to develop "Instance messenger > application " for android platform. which will be similar to popular android application " kakao talk ".can any > one help to begin.. The documentation. If that

[android-developers] Questions about making a project add on

2011-07-08 Thread Raghav Sood
Hi, I am trying to make a project add on to provide some of the functions our Android Market gives to developers with some accuracy thrown in. I plan to provide this as a jar to add into your project. I had a few questions as to how to go about this. 1) Will I write this like an ordinary app? It

[android-developers] Re: Two Processes exist in One Android Application. Really?

2011-07-08 Thread Streets Of Boston
It's possible: In your app's manifest-file, you can set the *android:process* attribute of an . If this is set different than your 'default' process of your application, it'll run in a different process. Note that you should hardly ever use this, though. I use it in my app, because one of the

Re: [android-developers] Cant access layout created programmatically

2011-07-08 Thread TreKing
On Thu, Jul 7, 2011 at 9:09 AM, Raúl Do Santos wrote: > this throw an Exception, resource not found, in xmlparser. What would you expect trying to inflate a resource that that does not exist? > The problem is that i should create the ui only programmatically without > xml. Then don't try to

Re: [android-developers] Re: Getting primary user email address

2011-07-08 Thread Raghav Sood
Oops. Forgot to put in the link: http://groups.google.com/group/android-developers/browse_thread/thread/7a6bf77910ca31e0 On Fri, Jul 8, 2011 at 7:10 PM, Mark Murphy wrote: > On Fri, Jul 8, 2011 at 9:38 AM, Raghav Sood wrote: > > Apparently this old thread managed it but I can't quite understan

Re: [android-developers] Re: Getting primary user email address

2011-07-08 Thread Mark Murphy
On Fri, Jul 8, 2011 at 9:38 AM, Raghav Sood wrote: > Apparently this old thread managed it but I can't quite understand the code. > If someone could sort of explain it to me and where am I supposed to put it > (activity, service etc.) it would be great. What old thread? -- Mark Murphy (a Common

Re: [android-developers] How to start the Volume dialog in Setting app from somewhere else?

2011-07-08 Thread TreKing
On Wed, Jul 6, 2011 at 10:48 PM, pengguang wrote: > I want to start this dialog from another app. You can't just arbitrarily start another app's dialog in your app. You can either create your own dialog that does the same thing or launch an intent to bring the user to the preference page in que

Re: [android-developers] Re: Getting primary user email address

2011-07-08 Thread Raghav Sood
Apparently this old thread managed it but I can't quite understand the code. If someone could sort of explain it to me and where am I supposed to put it (activity, service etc.) it would be great. Thanks On Fri, Jul 8, 2011 at 7:00 PM, Mark Murphy wrote: > On Fri, Jul 8, 2011 at 9:23 AM, Raghav

Re: [android-developers] Simple Image Download

2011-07-08 Thread TreKing
On Thu, Jul 7, 2011 at 3:33 PM, angelfish wrote: > Despite my best efforts I still haven't been able to accomplish this task. Why not? What's the actual issue you're running into? P.S. - Don't hard code the SD card path. See the Environment class for the proper way to get this root directory.

Re: [android-developers] How to install several versions of activity from one Eclipse project?

2011-07-08 Thread TreKing
On Fri, Jul 8, 2011 at 4:58 AM, Raghav Sood wrote: > If you want to preserve different versions you will have to change the > package name for each version. Yeah, if you want different versions installed side-by-side, you need unique package names. If you simply want to preserve a version of th

Re: [android-developers] Re: edit pdf with android?

2011-07-08 Thread Raghav Sood
@Krishna: Please create a separate thread for you question. Any answers here will just get mixed up with the real thread and cause more problems than solutions. On Fri, Jul 8, 2011 at 5:53 PM, krishna kumar wrote: > > Hi > any guys help me. > > how to display alarm ringtone please p

Re: [android-developers] Re: Getting primary user email address

2011-07-08 Thread Mark Murphy
On Fri, Jul 8, 2011 at 9:23 AM, Raghav Sood wrote: > And before someone tells me to Google it. I did. The results more mostly for > 2.x and above. The few that were for 1.5 were beyond my understanding. So > please provide tips that I can understand. I am not aware that there is a solution for 1.

Re: [android-developers] Best approach for dealing with application with many images

2011-07-08 Thread TreKing
On Thu, Jul 7, 2011 at 7:11 PM, dutchiedave wrote: > Is this the right approach? > Depends - ideally you have one APK that just works anywhere. But in this case, if your app will be huge with a ton of wasted resources, it probably makes sense. Not much more you can do currently. > Is this possi

[android-developers] Re: Getting primary user email address

2011-07-08 Thread Raghav Sood
And before someone tells me to Google it. I did. The results more mostly for 2.x and above. The few that were for 1.5 were beyond my understanding. So please provide tips that I can understand. Thanks On Fri, Jul 8, 2011 at 5:39 PM, Raghav Sood wrote: > Hi all, > > Considering I am receiving a

Re: [android-developers] Replace an existing app without deleting existing files

2011-07-08 Thread TreKing
On Fri, Jul 8, 2011 at 3:06 AM, Jing wrote: > Hi. I want to replace the previously installed app (e.g. A.apk) with a new > version. > If you're using adb, type "adb" into the command prompt and see the options available to you. One is "install". See the flags it takes ... --

[android-developers] set camera focus distance programmatically in the FOCUS_FIXED mode

2011-07-08 Thread Qianqian Fang
hi everyone I need to let the camera to focus to a user supplied distance. In the SDK, I only found getFocusDistance to inquire the focus distance, but not one to set the focus distance manually. Can someone give me a hint how to achieve this? thanks Qianqian -- You received this message beca

[android-developers] How to know if screen is locked

2011-07-08 Thread Federico Pelloni
Hello, I have a service which checks for changes to orientation sensor: since my service is useless when screen is locked, to save battery I would like it to stop checking the sensor. I do this with a BroadcastReceiver listening for ACTION_SCREEN_OFF and ACTION_USER_PRESENT, and it works well ex

Re: [android-developers] SQLite3 database (read-only) ok in assets?

2011-07-08 Thread Mark Murphy
On Fri, Jul 8, 2011 at 8:55 AM, Jim Graham wrote: >> Great. Just what we need: a bunch of drunk Androids wandering around. >> >> :-) > > Nope, they wouldn't get that far.  See, you'd have to combine all > three databases into one app (I'm assuming that there would be no > wild yeast inside the 'Dr

Re: [android-developers] SQLite3 database (read-only) ok in assets?

2011-07-08 Thread Jim Graham
On Fri, Jul 08, 2011 at 07:59:20AM -0400, Mark Murphy wrote: > On Fri, Jul 8, 2011 at 7:10 AM, Jim Graham wrote: > > A bit of background: ?I am working on a brewer's grain/malt > > specifications database app (and after that, similar for hops > > and yeast). > > Great. Just what we need: a bunch

[android-developers] Alarm

2011-07-08 Thread krishna kumar
hi guys how to show alarm ringtone please 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, s

Re: [android-developers] Re: Locations using Google Maps

2011-07-08 Thread TreKing
On Thu, Jul 7, 2011 at 9:47 AM, Cindy wrote: > Thanks. I thought ItemizedOverlay was used whenever you have a list of of > geographic coordinates? > Correct. As Mark said, you need to provide this list. Once you have this list, the best way to display them in a MapView, as you asked, is to use a

[android-developers] displaying thumbnails for the videos which are streamed from youtube

2011-07-08 Thread Anusha D
Hi, I am trying to display thumbnails for the videos which are streamed into my app from youtube by using the following code Bitmap bMap = ThumbnailUtils.createVideoThumbnail(videoUrl, MediaStore.Video.Thumbnails.MICRO_KIND); here the videoUrl is the url of the url of the video which i am tryi

Re: [android-developers] Re: edit pdf with android?

2011-07-08 Thread krishna kumar
Hi any guys help me. how to display alarm ringtone please please help me.. i want to set alarm .through codehow it possible... -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send ema

Re: [android-developers] Re: ListView items height

2011-07-08 Thread Kostya Vasilyev
08.07.2011 16:09, Ali Chousein пишет: I'm not sure if it's possible to have variable heights of items in a listview. If it's possible I would be very happy to learn how. An item layout is just that, a layout, and it and its child views observe wrap_content, if that is desired. As long as get

[android-developers] Re: edit pdf with android?

2011-07-08 Thread Ali Chousein
Sure it's possible. Just write the application for it. -- Ali Chousein Geo-Filtered Assistant http://geo-filtered-assistant.blogspot.com/ Cisco Android marketplace (Chosen for Cisco Cius) https://marketplace.cisco.com/apphq/products/510 On Jul 8, 9:30 am, Hitendrasinh Gohil wrote: > Hi,

[android-developers] Re: ListView items height

2011-07-08 Thread Ali Chousein
I'm not sure if it's possible to have variable heights of items in a listview. If it's possible I would be very happy to learn how. If I was implementing the functionality you described, I would show a predetermined n number of characters of the tweets, followed by ellipsis, when necessary. Clicki

[android-developers] Getting primary user email address

2011-07-08 Thread Raghav Sood
Hi all, Considering I am receiving a lot of crash reports for my apps and have no way to get in touch with the user I would like to know how to get the primary Gmail ID associated with that device so that I may contact the users. I am using ACRA as the bug reporting system. I know I can have ACRA

[android-developers] Re: Odp: DB4O Native query time issue

2011-07-08 Thread Gamlor
Oups, sent my answer directly instead posting it here. Here is it for everyone: Hi. The issue is that the Native Query optimizes doesn't work on Android. The reason is that this optimizer looks at the Java-byte-code which isn't available on Android. So you have two possibilities. Use a build

Re: [android-developers] edit pdf with android?

2011-07-08 Thread Hitendrasinh Gohil
any help pls? On Fri, Jul 8, 2011 at 12:30 AM, Hitendrasinh Gohil < hitendra.virtuei...@gmail.com> wrote: > Hi, > > Is it possible edit pdf in android? > > If yes than_ > is it possible that i can edit the pdf page by drawing some text or > shape? > > -- > You received this message because you ar

[android-developers] Re: Read Shapefile in Android

2011-07-08 Thread cellurl
You might ask these guys if they have a Java version... http://www.google.com/search?sourceid=chrome&ie=UTF-8&q=shapelib -cellurl On Jul 6, 9:02 pm, "Wellington C. Lopes" wrote: > Dear, > > I wonder if anyone knows some library to read files in Shapefile format (. > Shp) for android. > I need to

[android-developers] Re: Force Close when opening app after pressing home button

2011-07-08 Thread Ali Chousein
Additional more basic suggestion: Study and understand the activity lifecycle well: http://developer.android.com/reference/android/app/Activity.html Think very carefully what you should do with your data/running threads etc etc when the onCreate-onDestroy, onStart-onStop, onResume-onPause functions

Re: [android-developers] SQLite3 database (read-only) ok in assets?

2011-07-08 Thread Mark Murphy
On Fri, Jul 8, 2011 at 7:10 AM, Jim Graham wrote: > A bit of background:  I am working on a brewer's grain/malt > specifications database app (and after that, similar for hops > and yeast). Great. Just what we need: a bunch of drunk Androids wandering around. :-) > Question:  Given that the dat

[android-developers] Re: android nfc tech API help

2011-07-08 Thread Dominik
> Also, is there any way to find the type of card from coding? The type of a tag, that is its supported technologies can be accessed with method getTechList on a Tag instance. Dominik -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post

[android-developers] How to use android calendar widget in my android apps???

2011-07-08 Thread vijayakumar M
Hi Guys, any one help me... it's very urgent.. How to use android calendar widget in my android apps??? -- "Nobody can go back and start a new beginning, but anyone can start today and make a new ending" - Thanks, Regards, νιנαソαkum@r M BloG:http://iamvijayakumar.blogspot.com/ Mob.No:090

[android-developers] Re: How to publish the application in test mode

2011-07-08 Thread Ali Chousein
The functionality you are asking is not supported. Personally I don't see good reasons why the market should support this functionality. I think what everybody would do is, test the application as good as possible after signing it. Once you are satisfied with the quality, then upload it to the mark

Re: [android-developers] Need help with a Spinner

2011-07-08 Thread Jaswant Panwar
hey what's the problem tell me may be i help u.. On Thu, Jul 7, 2011 at 6:06 PM, shwetha NV wrote: > Hi All, > > > > Docs anyone is having idea about kakaotalk application? > > its free for android devices. > > I would like to know technology used implementation > > > -- > You received this mess

[android-developers] Re: Array Adapter Problem

2011-07-08 Thread Jaswant
hey he is using a String variable not String array? that's the problem and nothing else -- 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] Re: Two Processes exist in One Android Application. Really?

2011-07-08 Thread Ali Chousein
Just curious... Why multi-threading is not enough for you and you would like to create multiple instances of the same process? What is the use case? -- Ali Chousein Geo-Filtered Assistant http://geo-filtered-assistant.blogspot.com/ Cisco Android marketplace (Chosen for Cisco Cius) https://

[android-developers] SQLite3 database (read-only) ok in assets?

2011-07-08 Thread Jim Graham
A bit of background: I am working on a brewer's grain/malt specifications database app (and after that, similar for hops and yeast). After learning how to use Tcl to populate an SQLite3 database from ones I already had here (in a Tcl/Tk app), I am using an SQLite3 database in my apps. I've seen

[android-developers] Can somebody give me a Google+ invitation?

2011-07-08 Thread fei wang
Thank all of you! -- 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 email to android-developers+unsubscr...@googlegroups.com For mor

[android-developers] Re: implementation of kakao talk

2011-07-08 Thread bash
Use the smack API for Android its very easy to use and implement an XMPP client with it. You can find it here http://code.google.com/p/asmack And documentation here http://www.igniterealtime.org/index.jsp A basic IM client is simple and straight forward , good luck -- You received this message be

[android-developers] media player OnCompleteListener never called

2011-07-08 Thread abul walid
I have tried to implement a streaming player. everything looks fine and the codes works. I have only problem that onCompleteListener is never called. hence im not able to update the UI or do something on play complete. Please tell me the possible things that i have to take care to make a mediaplay

Re: [android-developers] Help. I need to pull and eventually send a value via webview

2011-07-08 Thread Filip Havlicek
Did you consider just downloading the page and parsing the value manually (to get the value) and then providing the downloaded page to webview (to display the page)? 2011/7/7 Richard Diuk > yes I need to display it and pull the hidden value. and i was just using an > httpGet for supplying the ot

Re: [android-developers] How to implement a Broadcast Receiver

2011-07-08 Thread Mark Murphy
Your action string is wrong. It should be: android.bluetooth.adapter.action.DISCOVERY_STARTED See: http://developer.android.com/reference/android/bluetooth/BluetoothAdapter.html#ACTION_DISCOVERY_STARTED On Fri, Jul 8, 2011 at 6:28 AM, Steven Bruce wrote: > Hi > > I am trying to add a broadcast

  1   2   3   >