[android-developers] Re: Maximum size of APK that can Upload to Android Market

2010-12-15 Thread webmonkey
You are in for a disappointment, from the Android Market Client Update blog post at: http://android-developers.blogspot.com/2010/12/android-market-client-update.html We are also increasing the maximum size for .apk files on Market to 50MB It is currently 25MB On Dec 15, 8:05 am, revanth

[android-developers] Re: How to see Android Manifest.xml

2010-12-15 Thread swarup
.apk contains compressed binary xml file, i don't think you can reverse engineer it easily. On Dec 15, 10:39 am, Dalvin singh.dal...@gmail.com wrote: Hi My requirement is to see the Android Manifest.xml file after extracting from APK file. For e.g. I have an Apk file - I unzip the Apk file

[android-developers] Re: Available databases for Android

2010-12-15 Thread Jawwad Farooq
While surfing I found a very very useful resource: http://tordtech.blogspot.com/search/label/Benchmarking Please have a look .. On Dec 15, 10:40 am, Jawwad Farooq jawwad.far...@gmail.com wrote: Thanks for the link But I only need the benchmarks for available Android databases..

[android-developers] Re: about gps

2010-12-15 Thread Android
Am facing the same problem , can you tell me how did you solve this problem... On Nov 24, 6:22 am, Leon Li l...@leonstrip.com wrote: thanks ip332 and Dan: i have found answer. Listener must be created,beacuse getBestKnownLocation() is just for gettinggpsimmediately,so it is agps,not

Re: [android-developers] Re: View width and calculated text width doesn't match

2010-12-15 Thread Kostya Vasilyev
The mismatch is by a factor of 1.5. Which kinda looks like a mismatch between pixel and dp units of an hdpi (240 dpi) device. In what context is this code run? Is this a subclass of TextView? I'd recommend you take a look at the source, to see if these methods actually scale text size, you

Re: [android-developers] Re: about gps

2010-12-15 Thread Danny Schimke
Hi ;-) Have you activated GPS on your Emulator. By default network is enabled but GPS not. Check this preferences on your phone. Network seems to work exactly thats why. ACCESS_FINE_LOCATION is for GPS usage (getLastKnownLocation(gps)) ACCESS_COARSE_LOCATION is for Network usage

Re: [android-developers] Upgrade to ADT 8.0.1: I knew I shoudn't have done it!

2010-12-15 Thread Kostya Vasilyev
FWIW: When 2.3 / 8.0.1 came out, I did a complete reinstall: latest Eclipse (3.6SR1), JDK (1.6u23), ADT 8.0.1 and other plugins I use (Mercurial, ...) Everything works great, including the layout editor (although I only use it for preview, all my edits are directly in XML). The only

[android-developers] Re: View width and calculated text width doesn't match

2010-12-15 Thread Schoel
That might be an idea, thanks. I wish the API would be more clear about these things. Yes, it is a subclass of TextView. On 15 Dec, 09:12, Kostya Vasilyev kmans...@gmail.com wrote: The mismatch is by a factor of 1.5. Which kinda looks like a mismatch between pixel and dp units of an hdpi

[android-developers] Re: Help in ExpandableList

2010-12-15 Thread pramod.deore
If changes query as Cursor groupCursor = sampleDB.rawQuery (SELECT DISTINCT RoomName,_id, SwitchFullName FROM SwitchTable GROUP BY RoomName,null); and getChikldrenCursor as protected Cursor getChildrenCursor(Cursor groupCursor) { Cursor groupCursor1 = sampleDB.rawQuery

[android-developers] what's meands of oneway interface ?

2010-12-15 Thread tangke
hi all. I read some aidl file that use the oneway. and I don't know what's means of it? 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: Leaking intent in send sms applicaion

2010-12-15 Thread swarup
if receiver registered in activity then you need register/unregister while handling resume/pause. Better check Activity life cycle. But if you want to receive the broadcasts even when you app/activity is paused then use a service thread. On Dec 13, 9:22 pm, Sandesh sakuag...@gmail.com wrote:

Re: [android-developers] Re: Help in ExpandableList

2010-12-15 Thread Kostya Vasilyev
Pramod, The get field slot from row 0 col -1 failed should already be familiar to you. It's caused by DISTINCT RoomName in the query. Since it's an expression, it produces a column name that is *not* just RoomName, and getColumnIndex(RoomName) inside SimpleCursorAdapter gets -1 for column

[android-developers] Re: Extending Widgets and Adding Custom Attributes

2010-12-15 Thread swarup
looks like many things are wrong, you could google out such stuffs easily, here is a sample link: http://blog.pocketjourney.com/2008/05/02/android-tutorial-42-passing-custom-variables-via-xml-resource-files/ On Dec 12, 8:49 pm, glenviewjeff glenviewj...@gmail.com wrote: I want to extend a

Re: [android-developers] Re: GLThread, native code, and dialogs

2010-12-15 Thread Цветко ЛАГАЈОВИЋ
Hi, Yes sorry, I have not been precise enough. When I say it's not working, what I meen is that the execution gets through to the Java layer (the Log.i methods get called, and my message is logged in logcat) but the dialog is not displayed, and the application does not respond anymore. After

[android-developers] Re: View width and calculated text width doesn't match

2010-12-15 Thread Schoel
That indeed seems to be the issue, on the emulator, they both return the same size (whereas on my phone, they do not). Trying to browse the source for Paint, I found that getTextSize is a native function with a quite useless comment about it returning the text size. Any idea where I can find C

[android-developers] Re: A ready for Android development Eclipse

2010-12-15 Thread swarup
thats great, but why one needs to repeat the process till one goes crazy? one needs to update ADT/SDK only when there is a release which is max twice in a year. also one can skip optional SDK components e.g. Google API, Samples, docs etc as mostly one doesn't need them if one is not a beginner.

Re: [android-developers] Re: Available databases for Android

2010-12-15 Thread Miguel Morales
There's also CouchDB for Android: http://www.couchone.com/android On Wed, Dec 15, 2010 at 12:06 AM, Jawwad Farooq jawwad.far...@gmail.com wrote: While surfing I found a very very useful resource: http://tordtech.blogspot.com/search/label/Benchmarking Please have a look .. On Dec 15,

Re: [android-developers] Re: A ready for Android development Eclipse

2010-12-15 Thread Roc Boronat
Hi swarup, Catdroid (http://catdroid.org) and me are used to teach people and introduce them to Android development, so we have lots of people installing the IDE at the same time repeating the same questions, doing some mistakes... this is a pack for the people who doesn't want to worry in that

[android-developers] Re: Upgrade to ADT 8.0.1: I knew I shoudn't have done it!

2010-12-15 Thread Brill Pappin
What version of Eclipse are you using? It's working fine for me with: Version: 3.5.2 Build id: M20100211-1343 -- 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

Re: [android-developers] Re: View width and calculated text width doesn't match

2010-12-15 Thread Kostya Vasilyev
15.12.2010 11:51, Schoel пишет: That indeed seems to be the issue, on the emulator, they both return the same size (whereas on my phone, they do not). This make sense if your emulator is HVGA mdpi, and the phone is hdpi. Trying to browse the source for Paint, I found that getTextSize is a

[android-developers] Re: Can I do anything about bogus user comments?

2010-12-15 Thread Brill Pappin
Oh yes, I'm not complaining about the warning... it's absolutely required IMO. and I don't mind negative comments all that much (although I'd rather get an email first, because usually the user don't understand how to install). My complaint is about most of the rest of her comment, which is

[android-developers] Re: Use shared preferences on non-app directory file

2010-12-15 Thread bagelboy
Then just use the SD card if you're only concerned about the less savvy freetards. That's a great perception you have of your users, by the way. I don't have a bad perception of my users, I was just being sarcastic. -- You received this message because you are subscribed to the Google

[android-developers] Re: Use shared preferences on non-app directory file

2010-12-15 Thread bagelboy
Even with stock LVL the user can still clear the user data as it uses Shared Preferences. Using the SD card is a good idea whether you are using LVL or not. LVL is a sledgehammer to crack a nut in this case. On Dec 15, 4:18 am, Chris Stratton cs07...@gmail.com wrote: On Dec 14, 5:33 pm, Jake

[android-developers] Re: Available databases for Android

2010-12-15 Thread Swaroop
Experts correct me If I am wrong. But putting out the facts, the things I didn't like SQLite and hope they'd be bettered in the future. 1) There's no JDBC support for SQLite - I know we can use the Runtime JDBC Libraries, but it's not recommended -

[android-developers] supporting more devices - minSDKversion, support-screens

2010-12-15 Thread Yorgos X
Hello all, please provide your feedback on this: I have had an android app for a good while now o the market, which I was building using SDK 1.5 and only having set minSDKVersion = 3, no targetSDKVersion and no support-screens. I have noticed that some devices couldn't see it on the market and

Re: [android-developers] supporting more devices - minSDKversion, support-screens

2010-12-15 Thread Kostya Vasilyev
15.12.2010 12:57, Yorgos X пишет: I have noticed that some devices couldn't see it on the market and recently that mainly all low end devices with small screens can't see it. Right, low-res (ldpi) devices filter out applications that are not marked as compatible. I thought that this

Re: [android-developers] Re: Can I do anything about bogus user comments?

2010-12-15 Thread Kostya Vasilyev
15.12.2010 12:31, Brill Pappin пишет: My complaint is about most of the rest of her comment, which is bogus. The key logging thing I can't prove one way or the other except to open up the code (which I may eventually do anyway). but calling it a scam etc? not good. I thought at first it would

[android-developers] Re: Help in ExpandableList

2010-12-15 Thread pramod.deore
Hi Kostya Thanks for reply after changing code as public class ExpandableList extends ExpandableListActivity { private int mGroupIdColumnIndex; SQLiteDatabase sampleDB = null; String SAMPLE_DBNAME = NewHomeAutoDataBase; String ROOM_TABLE_NAME = RoomTable; private final

[android-developers] Google Earth

2010-12-15 Thread Bhavya Siddappa
Hi, Wanted to know: - Are Google Earth APIs public - Can we develop Native Google Earth overlay application in android - Does Mobile browser support Google Earth. Thanks -- ./bhavya -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] Re: I need an activity context, but from a class that does not extend Activity

2010-12-15 Thread KlausSK8
Maybe you can use ActivityName.this mDbHelper = new NotesDbAdapter(ActivityName.this); mDbHelper.open(); or make a static store in a class, ie: public class MyClass { public static Context contextShared = null; } and when the activity starts protected void onCreate(Bundle

Re: [android-developers] Re: Help in ExpandableList

2010-12-15 Thread Kostya Vasilyev
Your getChildrenCursor should: 1 - get the _ID value from Cursor groupCursor 2 - use that value in the query below, as the where condition, to only return those switched that are in the room from step 1. Cursor groupCursor1 = sampleDB.rawQuery (SELECT DISTINCT RoomName AS RoomName1 ,_id ,

Re: [android-developers] Re: I need an activity context, but from a class that does not extend Activity

2010-12-15 Thread Kostya Vasilyev
This is exactly the type of thing to be avoided. As soon as the user leaves the activity, you have a potential memory leak. Call getApplicationContext(), and save that reference, not the Activity. Application context can sometimes be confusing, and causes problems when used with UI classes,

Re: [android-developers] supporting more devices - minSDKversion, support-screens

2010-12-15 Thread Yorgos X
Thanks for the prompt reply! The only reason I had this setting and was building with Android 1.5 SDK so far was that having only a single code and layout xml file, somehow the app was visually working perfectly on all devices (even the ones that hadnt the app shown on the market, when I was

[android-developers] ERROR/LocationMasfClient

2010-12-15 Thread Sapna Srivastav
Hi I am developing a GPS enabled application, in which I am successfully getting the latitude and longitude of the location but whenever I am trying to get the name of the location through GeoCoder , an error occurs namely: ERROR/LocationMasfClient(63): reverseGeocode(): no feature in GLocation

Re: [android-developers] supporting more devices - minSDKversion, support-screens

2010-12-15 Thread Kostya Vasilyev
15.12.2010 13:42, Yorgos X пишет: The only reason I had this setting and was building with Android 1.5 SDK so far was that having only a single code and layout xml file, somehow the app was visually working perfectly on all devices (even the ones that hadnt the app shown on the market, when

[android-developers] Re: Implementing WiFi proxy support in the master branch

2010-12-15 Thread ilendemli
Hey! Actually the Android 2.2 (aka FroYo) supports already proxy settings (Proxy and Port). I am currently developing the app, I am at the last part. Only problem is, those two things, to set proxy and port from string. I triyed alot of codes, but no one changes it. Do you know how to change the

[android-developers] ACM Bangalore::3rd Annual Quiz and Challenge of Code felicitation::Revised Date-8th Jan,2011

2010-12-15 Thread Raman Shrivastava
Dear All, ACM Bangalore is glad to announce 3rd Annual Quiz for the IT community based in Bangalore. The event is scheduled on 8th January, 2011 and has big prizes to be offered for the winners and to the audience. The first three prizes would be Rs. 25000, Rs.15000 and Rs. 8000 respectively and

[android-developers] SMS Injection tool

2010-12-15 Thread Sambath C
Hi all, I have a connection less Android CDMA testing phone. I want to test the SMS receive flow. Is there any tool available from which I can send SMS to the Android phone from my PC without live connection through USB? Thanks in advance. Regards, Sam -- You received this message because

[android-developers] Changing the System Proxy and Port Settings

2010-12-15 Thread ilendemli
Which command can i use to set the Proxy and Port settings. I have tryed a lot of codes, but no one is working. f.e: System.setProperty(proxyHost, test); System.setProperty(proxyPort, 3124); System.setProperty(proxySet, true); I have also debugged my Phone, When i Change the Proxy settings at

[android-developers] Android Market statistics problem ?

2010-12-15 Thread CocoRambo
Hi all, On december 9th or 10th, I notice that active installs for my application decrease a bit. Since this date total installs / active installs is around 20% each day. Before this date it was around 63% each day since one year. I did not change anything on my application that really justify

[android-developers] Change in behavior in X509TrustManager callback on Android 2.3

2010-12-15 Thread Lee
My application which was working fine on 2.2 is broken on 2.3 due to a change in the way that the X509TrustManager callbacks have been implemented on Android 2.3. My application has a class which implements the X509TrustManager interface. It is called during the handshake with a server so that

[android-developers] PhoeneGap Android JavaScript execution exceeds timeout

2010-12-15 Thread dinesh
How to solve -- 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

[android-developers] How to receive the sync calendar notification?

2010-12-15 Thread cocorobox
I am tried to develop calendar application. but ,, can't receive stopSync notification I tried doing it context.getContentResolver().startSync(calUri, extras); Please teach the method of receiving the stopSync notification after this. Finally, the android API version is 1.6 thanks! --

[android-developers] Google Maps API - Route Points - GPS-Data

2010-12-15 Thread CJ
Hi guys, I’m a German student and I’m working on a little Android project. At the moment I am trying desperately to get information about a route (start-finish) with Google Maps API. I would need the route as a string filled with points of the route (GPS-Data) so I can calculate the distance from

[android-developers] Re: layout editor in 2.3 SDK sucks! Sorry but it does.

2010-12-15 Thread XanXa
1. I have moved a TextView with Style into a linearLayout and the TextView loosed the style. 2. When I try to use an empty LinearLayout I can't add any child (I have to put Layout width and heigth). 3. It's so difficult put the view where you want using only the editor and always modify the rest

[android-developers] Re: home screen widget drag or scroll

2010-12-15 Thread raghud
You can't do scrolling with android's default launcher. But if you are using other launchers such as Home++/ADW/LauncherPro, you can do it using a standardized API across these launchers. Here are some articles on those. http://gadgetsaddicts.blogspot.com/2010/08/android-scrollable-widgets.html

[android-developers] Changing Media Player Proxy - RTSP

2010-12-15 Thread Dml
Hi, I'm trying to fix an issue related to Sprint carrier for a rtsp application. I found that they are puting a proxy server when using the MediaPlayer for rtsp calls. The root cause appears to be that the Android MediaPlayer is being forced to proxy through a Sprint server

[android-developers] How to implement custom device photos gallery for android?

2010-12-15 Thread Mirko Borivojevic
Hi, I'm working on android application that will have basic image gallery functionality included. I've managed to build activity that fetches list of photos from my application backend API and render them in android gridview within activity layout. However I'm having difficulties to build same

[android-developers] Restarting Application Service

2010-12-15 Thread Prasath
Hi, i have written an application which is actually started by an application service and running on this service. i give the steps 1. registered a broadcast receiver for receiving boot complete 2. upon receiving boot complete, service starts. 3.when service started, it initializes the widget

[android-developers] Where in the source code of the default Browser perform the function of resolving domain name?

2010-12-15 Thread 捷超 王
i mean, there must be some Java methods or classes employed in the source code of the default Browser on the Android platform to perform the function of resolving domain names to IP addresses. I want to know where are they, or what the exact names of these classes or/and methods are. Point out

[android-developers] Re: TranslateAnimation problem

2010-12-15 Thread Nidhi Sunil
Hi , below code snippet might be helpful. final ImageView i = (ImageView) findViewById(R.id.i1); final TranslateAnimation tr = new TranslateAnimation(0, 0, 0, 0, 0, 0, 0, 100); tr.setFillBefore(false);

[android-developers] Giving up wake up lock / Idle timeout for HistoryRecord: Always

2010-12-15 Thread ferostar
Hi people, i've been working on Android for a couple of weeks, no big issues... untill now. No matter what app i try to debug with Eclipse, even my first Hello, World, everything, ends up with a: Launch timeout has expired, giving up wake lock! Activity idle timeout for HistoryRecord First i

[android-developers] Re: Custom dialog issues

2010-12-15 Thread liuwenhan...@sina.com
u miss one things the most import codes : setContentView(R.layout.main); make sure done this,before u use the id of the view customdialog On 12月14日, 上午6时34分, Antony BODY antony.b...@gmail.com wrote: Hi, I try to implement an custom dialog sadly when i call show method i get this stac:

[android-developers] Why need CleanSpec.mk for each module from Android2.1?

2010-12-15 Thread Hylon
Hi Everyone,   Can anyone help explain why need CleanSpec.mk for each module from Android2.1 how to use it? is it possible to disable this feature?   I encounter a problem that it will take 1+mins to search all CleanSpec.mk from Android root each time when i use mm to build a module,

[android-developers] Android Bouncycastle

2010-12-15 Thread Antonio Grillo
Dear Android Coders, I'm trying to realize an application that execute performance analysis of different cryptosystems; among other comparisons, I'm trying to compare the Elliptic Curve Criptography and the RSA using the Bouncycastle provider. While I succesfully encrypt and decrypt with RSA, I'm

[android-developers] ndk-build very slow using multiple files

2010-12-15 Thread TonyMcB
Hi, I was previously using the old makefile system but switched over to the android.mk system to compile my c++ files using ndk-build. Everything works ok but when I run ndk-build with several c++ files in my android.mk (about 100) it seems to stall for about a minute or two before starting to

[android-developers] Re: How to see Android Manifest.xml

2010-12-15 Thread Nidhi Sunil
you can make use of this command: Aapt l –a .apkfilename On Dec 15, 10:39 am, Dalvin singh.dal...@gmail.com wrote: Hi My requirement is to see the Android Manifest.xml file after extracting from APK file. For e.g. I have an Apk file - I unzip the Apk file into a folder - now this folder

[android-developers] Re: Layoutinflater for listview

2010-12-15 Thread tharshi
How Can we use external resource as data into the layoutinflater in listview and separate images for each rows? Thanks in advance On Nov 11, 6:19 pm, Kostya Vasilyev kmans...@gmail.com wrote: That's pretty much the fundamentals of using ListView. As such, there are lots and lots of samples.

[android-developers] AyncTask's cancel bug was fixed in Gingerbread?

2010-12-15 Thread Hiro OKUYAMA
http://groups.google.com/group/android-developers/browse_thread/thread/07ea01892ee7a5f4/9f71428217c2cd44?# This AyncTask's cancel bug was fixed in Gingerbread? Romain said, There was a race in the cancel() code that we fixed post-froyo. Post-froyo means after froyo, so not in froyo :) How

[android-developers] 3D Game Developement

2010-12-15 Thread Shoopy
I currently have access to the Android SDK and App Inventor. Is it currently possible to create 3D games with these tools? If there is can you point me to a tutorial? Lastly what is an NDK? -- You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] Preferences not save after restart app

2010-12-15 Thread Alexey Bychkov
Hello, I write application and use prefernces. When i change value on checkbox and restart my app value not save and checkbox has value by default. But it's in android 2.0,2.1,2.2... in android 1.6 it works correctly. What is the problem??? -- You received this message because you are subscribed

Re: [android-developers] Re: Available databases for Android

2010-12-15 Thread Jitesh dedhiya
If you want you can go for NO-SQL/Schema free db like CouchDB (couchone). http://couchdb.org For more info on couchdb just google it!!! -- --Jitesh .V. Dedhiya--- Don't Learn To Hack but Hack To Learn -- You received this message because you are subscribed to the Google Groups Android

Re: [android-developers] Re: mac layout editor issues ...

2010-12-15 Thread Tor Norbye
On Tue, Dec 14, 2010 at 3:46 PM, Richard Schilling richard.rootwirel...@gmail.com wrote: So, it's taken a while to just figure out that if you want to reorder items in a view, you have to drag items on top of each other.  And, sometimes it causes those items to completely disappear. Yes -- the

[android-developers] Detecting an answered outgoing call

2010-12-15 Thread Anoop Unnikrishnan
Hello Friends, I would like to detect the moment when the outgoiong call is answered by the other party. is there any way to achieve this? pls throw some light on this.. Thanks Regards Anoop -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] How to autostart shell script when os boots up

2010-12-15 Thread Wang Jian
I have a shell script which I want it to be executed right after android boots up, Anyone has make it work on Froyo without recompiling system image? cheers, Jian -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

[android-developers] about sync

2010-12-15 Thread kw1128
Is the database different between ContentProvider's databse and Media's database? if yes, ContentProvider's databse can sync with contentresolver, then how can i sync the Media's database? -- You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] OpenGL for android best ebooks?

2010-12-15 Thread Jitesh dedhiya
can anyone plz suggest me the opengl eBook for android plz. -- --Jitesh .V. Dedhiya--- Don't Learn To Hack but Hack To Learn -- 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] setting size of a SurfaceView

2010-12-15 Thread hhenne
I am making a service much like the softkeyboard sample - the service UI should be presented in one half of the screen, while the other half is used by the application, which requests the service (like the soft keyboard). The UI is a view derived from SurfaceView and the content is dynamically

[android-developers] CallBack for the recorded block in MediaRecorder

2010-12-15 Thread Alireza Asadi
hi there, I am trying to record a voice from Mic using Media Recorder class. in the mentioned class we have just setOutputFile method to set the output file, but I need to get a buffer of some certain recorded voice, I mean i need something like a CallBack method that return a block of recorded

[android-developers] Access to MapView and MapActivity source codes?

2010-12-15 Thread Simon
Hi folks, I am trying to implement my version of MapView that does not rely on Google Map services, but instead uses offline maps. I think the best way to start off will be to refer to the Mapview and MapActivity codes to have a rough idea of how I can get started, especially with the

[android-developers] aapt and zlib issues on fedora 13 64bit

2010-12-15 Thread jaybradley
I have a problem with the platform-tools/aapt on fedora 13 64bit. I've spent the day searching forums and trying to solve this myself but couldn't. I'm developing in eclipse and using the android developer plugin. Everything was working well as I worked my way through some tutorials and then

[android-developers] Changing Phone Settings

2010-12-15 Thread ilendemli
Hello! I am currently developing on an app, and its ready to finish, but i need the last part. I have to change the Proxy and Port settings of the device (system, not the browser). On Android 2.2 (FroYo) you can manually set the Proxy and Port, how can i change it with Java? Is there any command

[android-developers] Programmatically specifying a particular APN to be used in my application

2010-12-15 Thread Accandme
I am writing a chat application (still demo stage) for an operator, and they want to be able to use a specific APN just for chatting (for charging purposes) which gives the user access to the chat server but no access to the internet. Is it possible to do that on android? Can I specify in my own

[android-developers] ContactManager sample app (api version 7) stopped unexpectedly : Need Help

2010-12-15 Thread jeena
I'm trying to get the ContactManager sample application to run and it stops unexpectedly. I haven't modified anything, just deployed it to an AVD. The log cat says the below exception: 12-15 10:53:50.293: ERROR/AndroidRuntime(241): java.lang.NullPointerException 12-15 10:53:50.293:

[android-developers] NFC test hardware for Android 2.3

2010-12-15 Thread Eric
I am interested in using the NFC (Near Field Communications) APIs in Android 2.3, but I don't have a good grasp on the best compatible test hardware or tags to use. Any recommendations on where I can purchase relatively cheap gear? -- You received this message because you are subscribed to

[android-developers] Re: Help in ExpandableList

2010-12-15 Thread pramod.deore
Hi every time I get _ID value as 1. I used following line to get value mGroupIdColumnIndex = groupCursor.getColumnIndexOrThrow(_id); And you told me that usethis is in where condition into following query. Cursor groupCursor1 = sampleDB.rawQuery (SELECT DISTINCT RoomName AS RoomName1 ,_id ,

Re: [android-developers] Re: Layoutinflater for listview

2010-12-15 Thread Kostya Vasilyev
14.12.2010 18:49, tharshi пишет: How Can we use external resource as data into the layoutinflater in If you mean load a layout from xml file that's not inside res/layout, check out inflate() methods that take XmlPullParser as a parameter. The docs have a warning, though: Inflate a new view

Re: [android-developers] Re: Can I do anything about bogus user comments?

2010-12-15 Thread Marcin Orlowski
What do other do about this kind of comment? In the newer market versions, you can mark comments as spam. Sadly there's nothing that can be done in the developer console, so even this only works for your device's language. Mind you mark it on your behalf. The comment is still there. shining

[android-developers] Re: Device Buying Club

2010-12-15 Thread gjs
Hi, Maybe try Ebay, it seems to have thousand of Androids for sale. Regards On Dec 15, 4:43 pm, Brill Pappin br...@pappin.ca wrote: Sweet. I can't get an unlocked Galaxy S or Tab here period. Nobody will sell them (I've even called Samsung, who sent me to the US distributor, who said we

[android-developers] Google Maps API - Getting GPS data ??

2010-12-15 Thread CJ
Hi guys, I’m a student and I’m working on a little Android project. At the moment I am trying desperately to get information about a route (start- finish) with Google Maps API. I would need the route as a string filled with points of the route (GPS-Data) so I can calculate the distance from every

Re: [android-developers] what's meands of oneway interface ?

2010-12-15 Thread Marcin Orlowski
On 15 December 2010 09:22, tangke mumut...@gmail.com wrote: hi all. I read some aidl file  that use the oneway. and I don't know what's means of it? It means methods must all have void return value (return nothing). Googling for aidl oneway would work too. -- You received this message

[android-developers] Widget not getting updated.

2010-12-15 Thread Veeresh Kalmath
Hi, I've created a widget and a service which supports the widget as part of same application. Inside the service I'm starting multiple threads and from the threads I'm getting the remoteviews of widget and updating widget using api updateViews.setImageViewResource(R.id.ImageViewArtistImage,

[android-developers] Re: Overview for which API calls require which permissions?

2010-12-15 Thread Abdull
Some instance came up with the Android security architecture, so it's best this instance is responsible for explaining it to the world. This includes writing documentation wherever the security architecture's implications leak through. It leaks through the Android Framework's Java API, so it

[android-developers] Re: Upgrade to ADT 8.0.1: I knew I shoudn't have done it!

2010-12-15 Thread Zarah
Hi guys, What is weird is, my laptop and my work computer have the same setup (I think), and no problems in the UI editor on my work computer. Brill: I'm using Galileo too! 3.5 is Galileo right? Kostya: Oh no! I don't want to do a complete re-install. I cry now. Btw, for the slow code assist, I

[android-developers] Re: Overview for which API calls require which permissions?

2010-12-15 Thread Abdull
To correct my last post, having the community update the documentation *is* effective, but it isn't efficient :) -- 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

Re: [android-developers] Re: Help in ExpandableList

2010-12-15 Thread Kostya Vasilyev
15.12.2010 14:05, pramod.deore пишет: Hi every time I get _ID value as 1. I used following line to get value mGroupIdColumnIndex = groupCursor.getColumnIndexOrThrow(_id); That's the index of column _ID within your query, not the value stored in the database.

[android-developers] Re: Fm Radio

2010-12-15 Thread wolf
thanks again!!! On Dec 14, 9:48 pm, FrankG frankgru...@googlemail.com wrote: I'm in doubt that he will get an answer for this question, even in more fiirmware related groups. On 14 Dez., 11:56, Mark Murphy mmur...@commonsware.com wrote: On Tue, Dec 14, 2010 at 4:29 AM, wolf

Re: [android-developers] Re: Upgrade to ADT 8.0.1: I knew I shoudn't have done it!

2010-12-15 Thread Kostya Vasilyev
15.12.2010 14:39, Zarah пишет: Kostya: Oh no! I don't want to do a complete re-install. I cry now. Yeah, I was reluctant, too, but it actually went pretty quick. Btw, for the slow code assist, I think there are some tips over at StackOverflow to solve that. Thanks for the pointer - I just

Re: [android-developers] aapt and zlib issues on fedora 13 64bit

2010-12-15 Thread Miguel Morales
This has to with the latest version of the sdk. The way I fixed it was by compiling zlib myself so that it replaces the standard library using: ./configure --prefix=/usr This might not be safe though, but I don't use that machine for much so I didn't care. Seems to be working ok so far. On

[android-developers] Re: Upgrade to ADT 8.0.1: I knew I shoudn't have done it!

2010-12-15 Thread Zarah
Okay, it's working now. Ended up doing a re-install. I think it sucks that I have to an Eclipse re-install every single time the ADT is updated. I will make it official then. One of my Christmas wishes is that the next ADT release not break my Eclipse. The Helios performance issue scares me, so

[android-developers] How to get Facebook Session in second activity In Android?

2010-12-15 Thread rokson
Hi Friends, I am new to facebook implementation in android. I am trying to implement facebook in my android application. I implemented using facebook-android-sdk in first activity. I want the same in the second activity also. Second activity facebook publish button is not working even though i

[android-developers] Enabling bluetooth to a System Service

2010-12-15 Thread Narseo Vallina
Hi all I'm working on a research project and I need to have a system service running as an android component and one of it's features is performing bluetooth scans in the environment. I have the following code to discover bluetooth devices (taken from BluetoothChat example). I tried it as an

[android-developers] Re: Can I do anything about bogus user comments?

2010-12-15 Thread mot12
I had my fair share of those. The first time someone posted THIS APP IS SPYWARE. IT MAKES PHONE CALLS AND BUYS STUFF ON THE INTERNET WITHOUT YOUR PERMISSION. I went through the purchase records and found a match from the same day. So I sent this person an email questioning his fitness for life in

[android-developers] Re: Available databases for Android

2010-12-15 Thread Bob Kerns
Re: #2 -- you don't want to do beginTransaction() in your UI thread anyway, really, as it can block if file IO is heavy. (I do, and I'm going to change it). You should make the entire transaction into an AsyncTask, which will keep it out of the UI thread entirely. I can't offhand think of a

[android-developers] Re: Fm Radio

2010-12-15 Thread Bob Kerns
I'm reasonably sure he means FM radio. Like the FM Radio app that showed up on my Google Nexus One after updating with a MoDoCo build, which uses the headset as an antenna, and the phone really does operate as an FM radio receiver. Like I'm listening to right now. Apparently the radio chip

[android-developers] Re: Available databases for Android

2010-12-15 Thread Swaroop
Bob, I am primarily referring to enterprise applications which usually have a front end and also background threads. I agree that we should try to have database commits in an async task even for UI Threads, but not always that suits the actual requirement. I am stuck with a few scenarios.. So

[android-developers] Re: GLThread, native code, and dialogs

2010-12-15 Thread Bob Kerns
Ah. That should be easy enough to debug. Set a breakpoint at the log statement, and look at the stack. I bet you're doing something from the UI thread, that doesn't return. Thus the dialog code never gets run. If the breakpoint is not triggering in the UI thread, pause the UI thread and see what

[android-developers] Re: Google Maps API - Getting GPS data ??

2010-12-15 Thread Spiral123
It sounds like you are working on GPS Breadcrumbing. If you take a snapshot of Latitude, Longitude (optionally Altitude) at defined time intervals during your trip you will be able to calculate Bearing, Velocity between points and distance of each point to a fixed other location using the handy

[android-developers] Re: about PackageManager.java

2010-12-15 Thread FrankG
I would say wrong group for this question .. On 15 Dez., 08:29, tangke mumut...@gmail.com wrote: hi all, I read the PackageManager.java, this is only defined a abstract class, the derived class is defined in ContextImpl.java and use the ApplicationPackageManager. I wonder why not do in

[android-developers] How to open pdf file from android code directly?

2010-12-15 Thread Mahabaleshwara Vasishta
Hi, I am working on android project where I have show pdf through our project. The pdf is located in some URL (e.g http://www.cbwe.gov.in/HTMLEditor1/pdf/sample.pdf ). I have to directly open that pdf without saving in phone using android code like browser. In android we can not show pdf in

  1   2   3   >