Re: [android-developers] Guide Help:How to trace the internal mechanism of android.Context.java and android.os.Binder.java

2011-08-30 Thread Dianne Hackborn
Get the source code and follow it. Or browse it online. The implementation of Context is here: http://android.git.kernel.org/?p=platform/frameworks/base.git;a=blob;f=core/java/android/app/ContextImpl.java

Re: [android-developers] Knowing calling application's info over RPC

2011-08-30 Thread Dianne Hackborn
You can only safely know its uid, by calling Binder.getCallingUid() while processing the incoming IPC call. You can use http://developer.android.com/reference/android/content/pm/PackageManager.html#getPackagesForUid(int) to get all of the .apk package names associated with the uid. Typically if c

[android-developers] Re: Guide Help:How to trace the internal mechanism of android.Context.java and android.os.Binder.java

2011-08-30 Thread AndroidHolder
Log.d() is a SDK API,please explain how to trace the API behavior on framework layer concretely,thanks a lot. On Aug 30, 9:21 pm, krishna chaitanya wrote: > your question is not clear for me. > As far as tracing is concerned u can use Log.d() method. > > u can just repeat the query once. > > On A

[android-developers] Re: secure element on nexus s

2011-08-30 Thread mete
Thank you Nikolay. I expect the secure element runs java card and global platform (any info on this also welcomed) So I understand there is no way -neither in release or developer build- to put our own applet to secure element. Do you have an idea about who owns the required keys ? Google or Sam

[android-developers] Re: Guide Help:How to trace the internal mechanism of android.Context.java and android.os.Binder.java

2011-08-30 Thread AndroidHolder
nadam,Thanks for you reply,but the Android Sources Eclipse plugin just provides the SDK source code excluding "android/framework" part which I want to know.Could you show me how to do the trace work on android/ framework layer. On Aug 31, 5:10 am, nadam wrote: > I think the easiest way is to inst

[android-developers] Re: Active install percent metric: now it's just ridiculous!

2011-08-30 Thread Zsolt Vasvari
Exactly, I am very surprised (actually, I am not) that somebody even coded that line instead of trying to to make sure that the Active cannot go above Installed. On Aug 30, 8:43 pm, TreKing wrote: > On Tue, Aug 30, 2011 at 4:28 AM, Pent wrote: > > I'd be roaring towards 120% if it wasn't for t

[android-developers] Re: application should not exists

2011-08-30 Thread mohana priya
Thanks for your reply but am getting error as force close. On Aug 30, 12:49 pm, James <030440...@163.com> wrote: > It's just paused, not closed. When the call finishes and you come > back. Camera would resume. > This is the android way of multi-task. > > On Aug 29, 9:15 pm, mohanapriya wrote: > >

[android-developers] MapView OverlayItem

2011-08-30 Thread Stefan S
Hi I've got the following problem: I've implemented a mapView with some different OverlayItems on the Map. I also can react on the onTap(int) event in my Class which extends from ItemizedOverlay. I can send some Toast messages and so on. But what i want to do is to get the selected Index from the

Re: [android-developers] Run Ping on Android

2011-08-30 Thread Daniel Drozdzewski
On Tuesday, 30 August 2011, DialToneApps wrote: > Correction: InetAddress.isReachable() does not 'send the ICMP ECHO'. >From the API docs of InetAddress: "public boolean isReachable (int timeout) Tries to reach thisInetAddress. This method first tries to use ICMP (ICMP ECHO REQUEST). When first

[android-developers] Re: App Widget fails to be added, "thanks" to customized platform

2011-08-30 Thread eagle
But the problem is that, even I didn't use these private functions, it didn't work. On Aug 31, 10:27 am, Dianne Hackborn wrote: > Your problem lies > here:http://devmaze.wordpress.com/2011/01/18/using-com-android-internal-pa... > > Using private functions means you will randomly not work on dif

Re: [android-developers] How to 'delete' allocated class by 'new'??

2011-08-30 Thread Damien Cooke
Hi Build Account, Java, the language that Android is programmed in, is garbage collected. So all you need to do is let the run time know you are finished with the object you created. for example: //create the object String language = new String("Java"); //use the Obje

[android-developers] Re: Android ui design

2011-08-30 Thread suresh
thank you dude.. the artical is most helped.. On Aug 30, 8:27 pm, Appaholics wrote: > Please use Google.com and please take some English grammar classes. > > On Tue, Aug 30, 2011 at 8:52 PM, suresh achari > wrote: > > > > > > > > > > > thank you dude for your replay > > > i need help on listview

[android-developers] Android installer strange issue

2011-08-30 Thread Sudha
Hi I found a strange issue with android installer.I put the apk in the sd card thru usb.Using file explorer I got the apk in teh device.Then clicked and installed.then got the installated screen with open and done buttons.If i say open then the application launches for teh first time. Now 1.while a

Re: [android-developers] How to Read XML file in SD card

2011-08-30 Thread Bishan
Thanks TreKing . On 8/31/11, TreKing wrote: > On Tue, Aug 30, 2011 at 4:40 AM, Bishan wrote: > >> I would like to know how can i read a xml file in sdcard and view it on a >> text area or any other container. >> > > 1 - Read the documentation for how to access the SD card. > 2 - Read the documen

Re: [android-developers] AbsoluteLayout

2011-08-30 Thread Tor Norbye
On Tue, Aug 30, 2011 at 6:49 PM, bob wrote: > Am I a naughty boy for wanting to use AbsoluteLayout? Yes... > I have an iPhone app that needs conversion to Android ASAP. > > Also, is there a way to make Eclipse stop crossing out my layout code? > > Here's what Eclipse did: > > https://sites.googl

Re: [android-developers] App Widget fails to be added, "thanks" to customized platform

2011-08-30 Thread Dianne Hackborn
Your problem lies here: http://devmaze.wordpress.com/2011/01/18/using-com-android-internal-part-1-introduction/ Using private functions means you will randomly not work on different devices and different versions of the platform. On Tue, Aug 30, 2011 at 5:45 PM, eagle wrote: > Hi there, > > I f

Re: [android-developers] How to Read XML file in SD card

2011-08-30 Thread TreKing
On Tue, Aug 30, 2011 at 4:40 AM, Bishan wrote: > I would like to know how can i read a xml file in sdcard and view it on a > text area or any other container. > 1 - Read the documentation for how to access the SD card. 2 - Read the documentation to find a suitable API that can read XML. 3 - Read

Re: [android-developers] How to populate a gridview with data from a table (SQLite)?

2011-08-30 Thread TreKing
On Tue, Aug 30, 2011 at 5:45 PM, Dalton Cézane wrote: > Yes, do you want I put here all links I read before? > No, but an indication of what you have already tried and what exactly you're having trouble with helps. > --> Most of them that I've seen (or all) have examples populating a > gridview

[android-developers] Re: How to long-press on emulator ?

2011-08-30 Thread James
New a contact record, Then long click the record at contact list page, If no options dialog pop up. Find another mouse :-) On Aug 29, 6:00 pm, Lotiste wrote: > Hello, > > i'm trying to test the long-press on my emulator (AVD 2.1-update 1) > with no success (right clic, double clic etc). > > Some

[android-developers] Re: "Unable to open log device '/dev/log/main': No such file or directory"

2011-08-30 Thread James
run the command "logcat" in the shell, On Aug 4, 8:35 pm, devgeeks wrote: > Hi, > > I am fairly new to Android development. > > I was working on a simple app and it was working great in the emulator, so I > decided it was time to get a device to test it on. > > I am just a hobbiest and didn't wan

[android-developers] Re: Crash after adding buttons

2011-08-30 Thread James
First, I'd say log would tell everything. One thing more, Check your main.xml file again. On Aug 30, 4:02 pm, Dubler wrote: > Hi, always when i add a button, there is crash and no informations > why... that is my code: > > package org.me.nauka3; > import android.app.Activity; > import android.os.

[android-developers] Re: connection to bluetooth earpiece

2011-08-30 Thread James
You never need to do this. If you want to transfer music to earpiece, You just need to start a intent to let user enable BT and connect to the earpiece. This is the BT A2DP protocal which android already implemented. BTW, I think a normal server socket could not work for you. On Aug 30, 11:36 pm,

[android-developers] AbsoluteLayout

2011-08-30 Thread bob
Am I a naughty boy for wanting to use AbsoluteLayout? I have an iPhone app that needs conversion to Android ASAP. Also, is there a way to make Eclipse stop crossing out my layout code? Here's what Eclipse did: https://sites.google.com/site/coolfonne/_/rsrc/1314755045012/abs/abs.png -- You rec

[android-developers] Re: How to P2P between with the phone and reader?

2011-08-30 Thread xiaodai
Can you tell me how to enter NFC state for the Reader?? On 8月29日, 下午11时14分, rich friedel wrote: > Check out the NFCDemo sample code to get > started...http://developer.android.com/resources/samples/NFCDemo/index.html -- You received this message because you are subscribed to the Google Groups "

Re: [android-developers] secure element on nexus s

2011-08-30 Thread Nikolay Elenkov
On Wed, Aug 31, 2011 at 2:50 AM, mete wrote: > > > 1) Are there anyway to put card applets into this secure element ? I > read the keys from google or samsung is needed for this. I understand > this for public releases, but is there anyway to put an applet into > secure element in a development bu

[android-developers] App Widget fails to be added, "thanks" to customized platform

2011-08-30 Thread eagle
Hi there, I followed the instruction to allow my app to use the internal packages (links here: http://devmaze.wordpress.com/2011/01/18/using-com-android-internal-part-1-introduction/). Everything was ok, before i'm trying to start a configuration activity before an app widget is added. In this ca

[android-developers] APP Creation - HELP!

2011-08-30 Thread Julianlopcor
I'm creating an APP, and i need some help to add some kind of music sensitive with the flash light of the back camera, like a strob music.., someone knows how to do it? sos for my english(i'm spanish actually) thanks ;) -- You received this message because you are subscribed to the Google Group

[android-developers] Knowing calling application's info over RPC

2011-08-30 Thread Chetan Dhillon
I am writing a remote service using AIDL. The APIs on this service will be used by activities running in other applications after they bind to it. I want this service to be shared/used by among multiple applications that is why I want to run it in it own process and have other applications talk to

[android-developers] secure element on nexus s

2011-08-30 Thread mete
Hello, I have built the 2.3.5 image from source and put into nexus s. As you know Nfc app now detects the secure element and this information can be seen in logcat. I have two questions: 1) Are there anyway to put card applets into this secure element ? I read the keys from google or samsung is

[android-developers] Andriod App Stores

2011-08-30 Thread Mat
Hi Everyone, Many of us know what a pain it is having to submit our Android apps to multiple app stores so I will save many of you the time and effort We recently launched a couple of free apps across a number of Android portals and then done a blog post covering the actual download figures for o

[android-developers] NFC tech

2011-08-30 Thread Joseph Gier
Does anybody know which vendor is going to put NFC tech into their handsets?? I guess its pretty much a chicken or egg issue but does anybody have any out there have any information? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post

[android-developers] Re: Run Ping on Android

2011-08-30 Thread DialToneApps
Correction: InetAddress.isReachable() does not 'send the ICMP ECHO'. It tries to work around the Android/Java limitation of not being able to craft and send an ICMP packet by 1) Sending a tcp connect on the echo port (port 7) 2) Recognizing a response (any response whether a successful connect OR a

[android-developers] Re: connection to bluetooth earpiece

2011-08-30 Thread Fabien R
On 08/30/2011 05:36 PM, the_edge123 wrote: > Hello, > > I want to connect my app to a BT earpiece so that the sound coming > from the mike is heard on the phone and the sound played by the app is > heard in the BT earpiece. > My approach is to open a bluetooth server socket. Once the connection >

[android-developers] Re: CAN WE RUN THE APPLICATION AFTER THE PHONE IS LOCKED AND CONTINUE THE APPLICATION AFTER IT IS UNLOCKED

2011-08-30 Thread Akamu Akamai
Visnu, just a note, on the internet ALL CAPS IS CONSIDERED YELLING! -- 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 andro

[android-developers] Contacts2.db is closed frequenty

2011-08-30 Thread gnibrE
My contacts application crashes a lot in these days , it would happen many times in a single day if i'm out of luck :( I've got logs as below , but i'm not sure if it was the only reason to thanks to . java.lang.IllegalStateException: database /data/data/ com.android.providers.contacts/databases/

[android-developers] How to 'delete' allocated class by 'new'??

2011-08-30 Thread Build account
Hello all. I'm looking for explictic method to erase object from memory space wich allocated by 'new' keyword. But the syntax "delete object;" telling me an error that "delete cannot be resolved". How can I do? I don't believe there is no such kind of 'delete' method.. Please advice me. -- Yo

Re: [android-developers] Change frame size android

2011-08-30 Thread gaby debro
How doese dis hepl me? On Aug 30, 2011 9:04 AM, "Naveen" wrote: Suppose we have a video, it's video frame size 320X220 (width , height ). i want to convert this video frame size in 480X360 by code java android -- You received this message because you are subscribed to the Google Groups "Android

[android-developers] Android emulator behind proxy?

2011-08-30 Thread Nemanja Kovačević
Hi, I'm trying to run emulator with internet behind proxy but I can not do it. I've tried following: -http-proxy option on emulator startup settings in emulator proxy and port writing to system table on /data/data/com.android.providers.settings/databases/settings.db Nothing is working for

[android-developers] hi

2011-08-30 Thread gaby debro
Hello help me I can't install any aplication in ma G1 after downloading it always says unsuccess -- 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 th

[android-developers] Crash after adding buttons

2011-08-30 Thread Dubler
Hi, always when i add a button, there is crash and no informations why... that is my code: package org.me.nauka3; import android.app.Activity; import android.os.Bundle; import android.view.View; import android.view.View.OnClickListener; import android.widget.Button; public class Nauka3Activity ex

[android-developers] Partial invalidation in custom Android view with hardware acceleration

2011-08-30 Thread Matt H
Hi, I've got a custom View in my application which fills the entire activity. In most cases, when I want to refresh the control I call invalidate() without any parameters. However, in certain circumstances, where I'm only changing a small area of the control, I call invalidate(Rect) to avoid red

[android-developers] How to use multi shared libraries in android ndk?

2011-08-30 Thread hyden
Hi, all I will build a shared library named libhello-jni.so used in jni, and it has dependencies in other libraries, currently i have to build all the dependencies to static libraries and let libhello-jni.so to link them, if i build the dependencies to shared libraries the app will crash during l

[android-developers] How to Read XML file in SD card

2011-08-30 Thread Bishan
Hi All, I'm new to Android and this is my first e mail to this group. I would like to know how can i read a xml file in sdcard and view it on a text area or any other container. please any one give me a code fragments to do that. (i'm developing android with sdk 10 android 2.3.3) -- You receiv

[android-developers] connection to bluetooth earpiece

2011-08-30 Thread the_edge123
Hello, I want to connect my app to a BT earpiece so that the sound coming from the mike is heard on the phone and the sound played by the app is heard in the BT earpiece. My approach is to open a bluetooth server socket. Once the connection is established, the input stream would be played by a med

Re: [android-developers] Market APK device compatibility

2011-08-30 Thread gaby debro
Hav it On Aug 30, 2011 11:49 AM, "Mark Murphy" wrote: On Tue, Aug 30, 2011 at 4:42 AM, Julius Spencer wrote: > Sure (but it's only publ... You have the CALL_PHONE permission. If you do not also have , you will not show up on tablets that are not phones (e.g., anything with Honeycomb). -- Mark

[android-developers] Images captures via Camera api exits in the Sd card but not dispalyed in the galary

2011-08-30 Thread chadnan gupta
Hi.. >From last few days i m trying to develop an application in which takes multiple images(say 10 images ) , after a user clicks the start button I have successfully done that , but the problem which i m getting right now is that , 1. the images which are captured are not listed(or say displaye

[android-developers] Http Connection

2011-08-30 Thread amit das
Dear All, I am developing a file uploader to server . So i need http connection as well as there is two option for http connection a.HttpURLConnection ( package java.net) b.HttpClient ( package org.apache) Please suggest me which option i take and why. Regards, Amit. -- You received this mess

Re: [android-developers] Re: "Unable to open log device '/dev/log/main': No such file or directory"

2011-08-30 Thread gaby debro
Do it On Aug 30, 2011 9:41 AM, "devgeeks" wrote: Doesn't seem to be a more normal Android to put on it yet. I ended up getting an HTC Wildfire S to develop on instead, sadly. Would still like to be able to use the Huawei, but I am at least able to debug on the HTC. -- You received this messag

Re: [android-developers] Re: sending POST data to GAE datastore from android

2011-08-30 Thread gaby debro
Yes it apears On Aug 30, 2011 11:02 AM, "gjs" wrote: Hi, Look in the GAE log files as well, to see if the data is being received. Regards On Aug 30, 12:12 pm, Nikolay Elenkov wrote: > On Sun, Aug 28, 2011 at 10:19 AM, MK Z wrote: > > Hi, > > Ive been trying for days now to get form data sen

[android-developers] Compare bytes in an SqlQuery.

2011-08-30 Thread Abhinav Saxena
Hello, In addition to the post: http://groups.google.com/group/android-developers/browse_thread/thread/4a91e3a2dcc25e2e I need to know how I can query to search the contents of the file or values stored in the database. I can do this in Blackberry and JSE (because there is a data type called by

[android-developers] Re: Guide Help:How to trace the internal mechanism of android.Context.java and android.os.Binder.java

2011-08-30 Thread krishna chaitanya
your question is not clear for me. As far as tracing is concerned u can use Log.d() method. u can just repeat the query once. On Aug 30, 10:43 am, AndroidHolder wrote: > who can help me,I am really in trouble. > > On Aug 29, 9:43 am, AndroidHolder wrote: > > > > > > > > > As far as I know, the

Re: [android-developers] Re: How to long-press on emulator ?

2011-08-30 Thread gaby debro
Again plz when am tryin to download from the market is says no divice connected On Aug 30, 2011 9:40 AM, "kaundinya" wrote: try pressing the mouse for couple of seconds. and make sure you have written the code for long_press function. Regards, Nagaraj Rao On Aug 29, 6:56 pm, TreKing wrote: >

[android-developers] Noob Question RE Hello World (aka Hello, Android) Tutorial

2011-08-30 Thread towers1209
I was going through the "Hello World" tutorial (http:// developer.android.com/resources/tutorials/hello-world.html) and I cannot get past the "invalid command-line parameter" emulator error messages. I need help in figuring out why. === [2011-08-30 05:04:22 - SDK Manager] Updat

[android-developers] Re: Noob Question RE Hello World (aka Hello, Android) Tutorial

2011-08-30 Thread Loreto E. Torres
Additional Info RE Android Dev environment; JDK is Java SE 6u27 On Tue, Aug 30, 2011 at 6:11 AM, towers1209 wrote: > I was going through the "Hello World" tutorial (http:// > developer.android.com/resources/tutorials/hello-world.html) and I > cannot get past the "invalid command-line paramete

Re: [android-developers] CAN WE RUN THE APPLICATION AFTER THE PHONE IS LOCKED AND CONTINUE THE APPLICATION AFTER IT IS UNLOCKED

2011-08-30 Thread gaby debro
Yes s possible but am unable jst help me On Aug 30, 2011 9:09 AM, "vishnu raj" wrote: SIR, I HAVE TO DEVELOP AN APPLICATION JUST LIKE A SCREEN SAVER WITH SLIDE SHOW OF PICTURES, AND WHEN THE PHONE IS UNLOCK , SELECTED PICTURE AND DETAILS SHOULD BE SHOWN FIRST BEFORE GOING TO HOME SCREEN. IS

[android-developers] TextEdit - Autoconfirm after first press

2011-08-30 Thread Israel Fonseca
Hello everybody, I have a TextEdit with inputSize=1, I want that after the first (and only one) value is inserted that the keyboard disappears (same effect as the back button). How can I achieve that? I think that I need to use the InputServiceMethod from my readings, but what method to override a

Re: [android-developers] Re: startDiscovery() of BluetoothAdapter not working

2011-08-30 Thread gaby debro
Nop is not on On Aug 30, 2011 11:10 AM, "gjs" wrote: Hi, Is bluetooth adapter turned on ? Regards On Aug 26, 2:10 am, Pavan Karanam wrote: > IntentFilter iF=new > IntentFilter(BluetoothAdapter.ACTION_DISCOVERY_STARTED); > > BroadcastReceiver br=new BroadcastReceiver() > { >@Override

[android-developers] Contact photo large on the call

2011-08-30 Thread Acson Barreto
Hello everyone! Is there a way to leave contact photo large on the call? like the Iphone? The photo on the call is too small. Thanks to all (Sorry for my english) :) -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, se

[android-developers] Can't find my app anymore on the market

2011-08-30 Thread cyber man
Hello all, I have an app on the market since 2008, 185 000 downloads... I never check it because I know it works. But yesterday I checked and I can't see it anymore if I look by it's name :( It's compatible with android 1.5+, I use an HTC desire HD on android 2.3.4 (non rooted). If search the fu

[android-developers] help with spinners from preferences

2011-08-30 Thread erik wagner
Hi, I have a preference screen where a edit text brings up a spinner, the result from the spinner needs to get to the edit text on the preference screen and the value from the edit text needs to then get back to the main activity. I can get the value from a straight edit text to the main activity

[android-developers] APK signing and certificate for production device

2011-08-30 Thread Pratik Prajapati
Hi, For production of the device, android APKs needs to be signed. I have created keystore as explained in http://developer.android.com/guide/publishing/app-signing.html and signed my APKs with that keystore. I am doing it for eclair. I need to know following things. (1) Do I need to sign the a

Re: [android-developers] How to populate a gridview with data from a table (SQLite)?

2011-08-30 Thread Dalton Cézane
On Tue, Aug 30, 2011 at 7:16 PM, TreKing wrote: > On Tue, Aug 30, 2011 at 5:10 PM, Dalton Cézane wrote: > >> Can anyone tell me how to do that? > > > Did you try reading the documentation and samples for GridView? > Yes, do you want I put here all links I read before? --> Most of them that I've

Re: [android-developers] Creating a Widget without extendig AppWidgetProvider

2011-08-30 Thread Dianne Hackborn
You should not. AppWidgetProvider also already lets you handle resizing as much as is possible. Your widget does not run code in the host process, so you must handle everything through the features available through views you can put in RemoteViews. On Tue, Aug 30, 2011 at 1:35 PM, Carlos Junior

[android-developers] UI Design Pattern

2011-08-30 Thread Igor Nesralla Ribeiro
Hi, I'm looking for something article or any information about best way to implement UI design pattern for login screens on tablets !! Thanks in advance ! Igor Nesralla Ribeiro -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to t

Re: [android-developers] How to populate a gridview with data from a table (SQLite)?

2011-08-30 Thread TreKing
On Tue, Aug 30, 2011 at 5:10 PM, Dalton Cézane wrote: > Can anyone tell me how to do that? Did you try reading the documentation and samples for GridView? - TreKing

[android-developers] How to populate a gridview with data from a table (SQLite)?

2011-08-30 Thread Dalton Cézane
Hi, all. I want to display data, from a table in my database, in a gridview... I have a method that retrieve a list of objects from the table, but I do not how to populate the grid. Can anyone tell me how to do that? Thanks in advance. -- ===

Re: [android-developers] Re: get email client notifications after the send

2011-08-30 Thread Mark Murphy
2011/8/30 Károly Holczhauser : >  What ? There is an icon on the status bar, which one is going to be > invisible when the mail has been really sent! Can I somehow catch the > same event? No, because that is not your app. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/

Re: [android-developers] uses-feature android:name="android.hardware.camera" blocking device

2011-08-30 Thread Mark Murphy
On Tue, Aug 30, 2011 at 5:36 PM, guich wrote: > I have a FOSTON device that does not have camera. When i install my > application on it, it says FAILURE: MISSING FEATURE. > > Is there a way to use the camera without adding uses-feature? Add android:required="false" to your element, and use hasSy

[android-developers] MapView in Fragment using compat library

2011-08-30 Thread Watcher
Some months back, someone posted a hack to the compatibility library to get a MapView to display in a fragment (see posts by @Streets of Boston): http://groups.google.com/group/android-developers/browse_frm/thread/b705bbd72d28d000/df84933c3a460c71?pli=1 Indeed this does display the mapview in the

[android-developers] Re: get email client notifications after the send

2011-08-30 Thread Károly Holczhauser
Hello my friend! What ? There is an icon on the status bar, which one is going to be invisible when the mail has been really sent! Can I somehow catch the same event? Cheers, Károly On aug. 30, 16:58, Mark Murphy wrote: > 2011/8/30 KárolyHolczhauser: > > >  I would like to give a Toast messag

[android-developers] uses-feature android:name="android.hardware.camera" blocking device

2011-08-30 Thread guich
Hi, I have a FOSTON device that does not have camera. When i install my application on it, it says FAILURE: MISSING FEATURE. Is there a way to use the camera without adding uses-feature? Why can't we use a uses-permission instead? This way, the program could be installed on device and disable its

[android-developers] Can't get same log as other testers.

2011-08-30 Thread cellurl
Amazon gave me this log which I can't replicate. In LogCat, I never see anything like they see. Am I missing something? See Line3. Any help appreciated. -cellurl 08-30 07:47:41.022 W/KeyCharacterMap(1530): Using default keymap: / system/usr/keychars/qwerty.kcm.bin 08-30 07:47:51.332 W/dalvikvm(15

[android-developers] Re: Honeycomb webview is going partially blank upon tapping on password field of the html page

2011-08-30 Thread Michael
Sorry, let me give a specific workflow for mine. It doesn't have to do with your scrolling issue, but I think its similar: 1) If the user decides to tap on the password field while the soft keyboard is not up, the password field gains full focus, but the page its on turns transparent apparently. T

[android-developers] Re: Guide Help:How to trace the internal mechanism of android.Context.java and android.os.Binder.java

2011-08-30 Thread nadam
I think the easiest way is to install the Android Sources Eclipse plugin http://code.google.com/p/adt-addons On 29 Aug, 03:43, AndroidHolder wrote: > As far as I know, the base class for android.Context.java and > android.os.Binder.java are implemented on Android system OS inside.Now > I really w

Re: [android-developers] Problem installing the ADT Plugin for Eclipse

2011-08-30 Thread Mike Adams
i'm not an expert on this but i've installed this plugin several times now so here are some trouble shooting tips. 1) you say you insatlled the android SDK first. the web page says: Additionally, before you can configure or use ADT, you must install the Android SDK starter package, as described i

[android-developers] Re: Honeycomb webview is going partially blank upon tapping on password field of the html page

2011-08-30 Thread Michael
This is exactly the same issue I'm having with my own android-web project. The reason I don't see it happen when the user types their user name first, and their password second, is because the soft keyboard is still open. But close the soft keyboard while on the password field and you will see the

[android-developers] Creating a Widget without extendig AppWidgetProvider

2011-08-30 Thread Carlos Junior
Hello, is it possible to create a custom Widget without extending AppWidgetProvider? I wish to handle resizing events in my widgets because I need to control max and minimum resize. Best regards, Carlos -- You received this message because you are subscribed to the Google Groups "Android Develop

[android-developers] Re: http connection to display a webpage

2011-08-30 Thread jesb
i was having the same problem. figured it out here. http://digitallibraryworld.com/?p=189 On Aug 9, 12:02 am, arun kumar wrote: > The backend database is MySQL and their web server is PHP...by using this > how can i get the webpage displaycan anyone give me guidance -- You received this me

[android-developers] Re: dispalying a webpage

2011-08-30 Thread jesb
try here http://digitallibraryworld.com/?p=189 On Aug 6, 2:11 am, arun kumar wrote: > Hi  i want to display a webpage in the using http connection..am new to > android and java so any one can give me guiadance how i can make this... > >    // TODO Auto-generated method stub >         super.on

[android-developers] Re: HttpURLConnection with POST method

2011-08-30 Thread jesb
i figured it out. http://digitallibraryworld.com/?p=189 On Aug 16, 3:21 pm, lbendlin wrote: > POST works very different from GET. You need to spend much more energy to > format the request body. You're missing the whole Content-Disposition: > form-data  and the delimiter definitions etc. > > your

Re: [android-developers] attachment never shows up

2011-08-30 Thread Mark Murphy
I think it has to be a local Uri (e.g., file:/// or content://). Also, I think the MIME type has to be the one for the EXTRA_STREAM content. On Tue, Aug 30, 2011 at 3:26 PM, bob wrote: >     Can someone help me understand why the attachment never shows up > when I do this: > > >   Intent intent =

[android-developers] attachment never shows up

2011-08-30 Thread bob
Can someone help me understand why the attachment never shows up when I do this: Intent intent = new Intent(Intent.ACTION_SEND); intent.putExtra(Intent.EXTRA_SUBJECT, "Test single attachment"); intent.putExtra(Intent.EXTRA_EMAIL, new String[] {"t...@test.com"}); in

Re: [android-developers] Sharekit for Android?

2011-08-30 Thread Mark Murphy
Use ACTION_SEND. It's the engine behind all those "Share" options menu items you're seeing in Android -- try sharing a Web page from the browser, for example. Any application the user has installed that allows "sending" of your indicated MIME type will be an option for the user via the chooser. On

[android-developers] Re: Can we create two ThreadPoolExecutor running on android?

2011-08-30 Thread Streets Of Boston
Create a ThreadPoolExecutor instance with a small sized thread-pool (maybe only 1 thread in the pool, maybe 2). Don't worry about creating one or two more possible threads if you can't use AsyncTask. If threads are dormant/parked, they don't take up too much resources. -- You received this me

[android-developers] Sharekit for Android?

2011-08-30 Thread bob
Anyone know if there is something like Sharekit (http:// getsharekit.com/) for Android? Thanks. -- 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 th

Re: [android-developers] Re: handle byte memory here

2011-08-30 Thread Mark Murphy
On Tue, Aug 30, 2011 at 2:37 PM, ko5tik wrote: > MMapping it could be a solution. I think that'd only be possible via the NDK. I don't know how you'd mmap from Java. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter

[android-developers] Re: handle byte memory here

2011-08-30 Thread ko5tik
MMapping it could be a solution. On Aug 30, 12:13 pm, Mark Murphy wrote: > On Tue, Aug 30, 2011 at 6:02 AM, NaveenShrivastva > > wrote: > > i am trying to retrieve meta data from media file approx 1gb > > So? That does not mean you can allocate 1GB of memory. > > > File file = null; > >        F

[android-developers] Re: using java decimal formatter outside USA

2011-08-30 Thread authorwjf
just for completeness float gb = 0; NumberFormat dfm = new DecimalFormat.getInstance(); dfm.setMaximumFractionDigits(1); dfm.setMinimumFractionDigits(1); float mTotalRamInstalled = (float) new Float(dfm.format(gb)).floatValue(); -- You received this message because you are subscribed to the Goog

[android-developers] Re: using java decimal formatter outside USA

2011-08-30 Thread authorwjf
Thanks for pointing me in the right direction! I knew I had to be doing something wrong :) -- 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 gr

[android-developers] Http - check if server up and running or available...

2011-08-30 Thread dillipk
Hello, In my app, I make http requests frequently. How do I check if the server exits and whether it is UP & running programmatically? Thanks, -DK -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to and

Re: [android-developers] Re: Get digit mobile number

2011-08-30 Thread Mark Murphy
On Tue, Aug 30, 2011 at 1:45 PM, albnok wrote: > You can get it from some operators - Google Line1Number. getLine1Number() is unreliable. Many SIMs report null; other SIMs (like mine) report the wrong number. The mobile device does not necessarily have to know its own phone number. -- Mark Murp

[android-developers] Re: How to debug in app billing - does not work with debug key?

2011-08-30 Thread MB
Thanks a ton Nikolay and Laminina for responding to this. This is what I was looking for. I am able to make progress now. Again, thank you very much. --MB. On Aug 29, 9:07 pm, laminina wrote: > What i know is that you can build the project in eclipse using you > production keystore...but edit t

[android-developers] Re: Get digit mobile number

2011-08-30 Thread albnok
You can get it from some operators - Google Line1Number. I do know though, that some Mobile Virtual Network Operators don't let you see your MSISDN, and you have to ask them for an API to convert IMSI to MSISDN. On Jul 29, 3:42 pm, Amit Mangal wrote: > Mobile number calculated on network side not

Re: [android-developers] mailing list problems

2011-08-30 Thread Mark Murphy
Yes, it definitely is. On Tue, Aug 30, 2011 at 1:11 PM, Appaholics wrote: > I think the list is moderated for first time posters. > > On Tue, Aug 30, 2011 at 10:37 PM, John Goche > wrote: >> >> Hello, >> >> Last week I subscribed to this mailing list but could not post. >> I wonder whether anyon

Re: [android-developers] Handling Adjacent Fragments in ViewPager Contributing to Options Menu

2011-08-30 Thread Mark Murphy
On Tue, Aug 30, 2011 at 12:49 PM, Dianne Hackborn wrote: > On Tue, Aug 30, 2011 at 12:35 AM, Mark Murphy > wrote: >> >> The general modus operandi of the core Android team seems to be "we >> scratch our itches and may help scratch the itches of others that >> contribute itch-related code". > > We

Re: [android-developers] Re: Using AndroidHttpClient as a singleton.

2011-08-30 Thread Nathan
That is true. I don't expect to need more than 20 connections total, but possibly 3-6 connections per route; I don't know what is optimal yet. Nathan -- 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] APK installation through WiFi

2011-08-30 Thread Dianne Hackborn
On Tue, Aug 30, 2011 at 6:08 AM, Mark Murphy wrote: > On Tue, Aug 30, 2011 at 8:21 AM, Giorgio Torres > wrote: > > But how does Android Market or even the ADB (when we deploy an app to it > > through Eclipse), do that? > Android Market is a privileged app. adb works outside of the device. > I wo

[android-developers] mailing list problems

2011-08-30 Thread John Goche
Hello, Last week I subscribed to this mailing list but could not post. I wonder whether anyone else is experiencing the problem that it seems to take a long time to get permission to post. At least I will be happy if this mail gets through... Thanks, John Goche -- You received this message bec

Re: [android-developers] Mono for Android

2011-08-30 Thread Tom Opgenorth
There is only one book that I'm aware of, and I don't know if it got published / will be published or not. Your best bet: http://android.xamarin.com/Community On Fri, Aug 26, 2011 at 22:11, Mousam Kumar wrote: > Hello Friends, > > I am new to android based application. > I want to use "Mono for

[android-developers] Re: Emulator has Alzheimers (forgets who it is)

2011-08-30 Thread albnok
This is why: [2011-07-26 22:28:10 - YeauxDudimus] Still no compatible AVDs with target 'Android 3.2': Aborting launch. [2011-07-26 22:28:10 - YeauxDudimus] Performing com.bobas.YeauxDudimusActivity activity launch [2011-07-26 22:28:34 - YeauxDudimus] ERROR: Application requires API version 13. Dev

  1   2   >