[android-developers] Re: READ_LOGS permission is not granted to 3rd party applications in Jelly Bean (api 16)

2012-07-14 Thread Ran
It seems that on the JB emulator everything works as before. Is that by design? Thanks. On Thursday, July 12, 2012 9:29:20 PM UTC+3, nnk wrote: > > > There's no documented, approved way to read the log entries. > > Having said that, if you just exec() logcat, as you did before, you'll > automa

[android-developers] ContactManager doubts

2012-07-14 Thread xinwei
Hi all, I have doubts on android sdk-15 sample ContactManager. 1) ContactManager.java => getContacts() Is there any way i query out contacts only located in sim card or phone book ? 2) ContactAdder.java => onAccountsUpdated(Account[] a) When i'm in debug mode on my device, I

[android-developers] ContactManger Doubts

2012-07-14 Thread xinwei
Hi all, I'm referring to the android sample, ContactManager for API level 15. 1) ContactManager.java => getContacts() Is there any way that I could filter out contact only from sim card or phonebook ? 2) ContactAdder.java => AccountManager.get(this).addOnAccountsUpdatedListener(t

[android-developers] Re: Best books for learning Android

2012-07-14 Thread Jason Hsu
Thanks so much for your suggestions. As a result, I have subscribed to Mark Murphy's books. Mark, your books provide great examples of Android apps that actually work. And you weren't fooling about being up-to-date, because the new edition you just released INCLUDES the changes in the latest

Re: [android-developers] AutoCompleteTextView for RTL in Android

2012-07-14 Thread Z.A Jafari
please help,i desperately need a solution On 12 July 2012 09:51, Z.A Jafari wrote: > > Hi Romain, > > thanks for your feedback.can you provide some e.g. do you mean only > changing the locale to persian and language of the phone to persian/farsi > will allow me to trpe in persian and filter the

[android-developers] can we restart systemserver..............?

2012-07-14 Thread Abhilash baddam
Hi, Generally SystemServer wiil start all systemservices (ActivityManagerService, PackageManager etc..)right. 1)Is it possible to restart the systemserver so that all systemservices will be restarted. 2) Similarly can we restart the particular systemservice for ex: PackageManagerService. -- Y

Re: [android-developers] Waking my app with Google Cloud Messaging

2012-07-14 Thread Damien Cooke
Thanks TreKking, Good advice about starting the app. I have sent a notification and they can start the app from there if they like. Damien On Jul 15, 2012 1:18 PM, "TreKing" wrote: > On Sat, Jul 14, 2012 at 10:39 PM, Damien Cooke wrote: > >> Now I want my app to be started when a message intend

Re: [android-developers] Different Screen Sizes and Resolutions

2012-07-14 Thread TreKing
On Thu, Jul 12, 2012 at 7:25 PM, Bradx wrote: > So, I was wondering if you all could help me out a bit, and lead me in the > right direction. You'll need to ask a more targeted question than that if you want help. http://www.catb.org/~esr/faqs/smart-questions.html -

Re: [android-developers] A thread has a RuntimeException in run() method

2012-07-14 Thread TreKing
On Fri, Jul 13, 2012 at 2:21 PM, michael s wrote: > If the method doSomething(), throws a Runtime Exception and I don't catch > it in my run() method, will that crashes my whole application? Try it.

Re: [android-developers] Registered and paid fee for Android Developer Console, still cannot access?

2012-07-14 Thread TreKing
On Sat, Jul 14, 2012 at 12:24 PM, Muhammad Saeed wrote: > Why is this? Why cannot I access my Developer Console? This is the wrong list. Try this: http://support.google.com/googleplay/android-developer/bin/answer.py?hl=en&answer=136601 ---

Re: [android-developers] Waking my app with Google Cloud Messaging

2012-07-14 Thread TreKing
On Sat, Jul 14, 2012 at 10:39 PM, Damien Cooke wrote: > Now I want my app to be started when a message intended for it is received. In your receiver, call startActivity. However, I would recommend showing a notification instead. Arbitrarily starting an application without knowing what the user

[android-developers] Waking my app with Google Cloud Messaging

2012-07-14 Thread Damien Cooke
Hi All, I have my app receiving messages from GCM nicely. Now I want my app to be started when a message intended for it is received. This is what the pertinent parts of the manifest look like. I was wondering if someone could point me in the right direction?

Re: [android-developers] Showing Action Bar ONLY on tablet?

2012-07-14 Thread limtc
Hi, I do not want to join in the debate of Android vs iOS, but in our iOS solution, we do use full screen for phone (shake for menu) and toolbar (similar to ActionBar) for tablet, as shake does not make sense for a big device. For Android we still need to support older devices with menu button

[android-developers] Enabling/Disabling Preferences

2012-07-14 Thread Raymond Rodgers
Hi folks, I'm working with PreferenceActivity/PrefrenceFragment for the first time, and I'm trying to do something that may be a bit tricky. I have two related items in my preference XML, one of which is disabled by default. The other item is meant to (and does successfully courtesy of OnP

Re: [android-developers] Showing Action Bar ONLY on tablet?

2012-07-14 Thread limtc
Hi, I do not want to join in the debate of Android vs iOS, but in our iOS solution, we do use full screen for phone (shake for menu) and toolbar (similar to ActionBar) for tablet, as shake does not make sense for a big device. For Android we still need to support older devices with menu button

Re: [android-developers] Showing Action Bar ONLY on tablet?

2012-07-14 Thread Dianne Hackborn
On Sat, Jul 14, 2012 at 1:30 PM, Latimerius wrote: > Giving the user a good feeling about using a device/app is a very > tricky area. I worked for the official games industry for 7 years and > I saw the attention these guys tend to give controls. While not every > little Android app has to be as

Re: [android-developers] Starting New Activities

2012-07-14 Thread TreKing
On Thu, Jul 12, 2012 at 4:02 PM, AChow wrote: > Can someone please help me?! How? You've provided almost no information. Post at least the bit of code you're trying to use to start the Activity. - T

Re: [android-developers] AppWidgetProvider

2012-07-14 Thread TreKing
On Sat, Jul 14, 2012 at 6:12 PM, Gicci wrote: > As it seems to me that I am performing network access in the same way of > the provided example, is it broken as well? Run it and see? > Is it normal that as environment for the widget execution I get the one of > the home app and not the one I

Re: [android-developers] Showing Action Bar ONLY on tablet?

2012-07-14 Thread limtc
> > 1st option still take up space in canvas. > > Put it there anyway. > Disagreed. > > You even claim to have read what she wrote, as you replied to her message. > > Many well-rated finger paint applications for Android, specifically > for use by "very young kids", use on-screen controls,

[android-developers] AppWidgetProvider

2012-07-14 Thread Gicci
I am trying to create a widget for my app that shows information from a web service (quite common I would say...) I have read the documentation and used the provided example as a template: http://code.google.com/p/wiktionary-android/source/browse/trunk/Wiktionary/src/com/example/android/wiktiona

Re: [android-developers] Before I start, a question regarding google maps traffic

2012-07-14 Thread TreKing
On Thu, Jul 12, 2012 at 7:30 AM, CreepyD wrote: > Is it possible to 'plug-in' to google maps traffic based on a specific map > point? > e.g. If I want to check what the current traffic is at an exact point > along a road? (using code, not looking at the map manually). > So it would simply tell me

[android-developers] Jelly Bean and Strict Mode

2012-07-14 Thread b0b
It seems that in the JB emulator and the JB developer preview, that StrictMode checks are always enabled regardless of what the app sets as a policy with StrictMode.setThreadPolicy(). In particular ThreadPolicy.LAX seems to be ignored. It is not the case in the 4.0.3 emulator. Can anyone confirm

Re: [android-developers] backend for app?

2012-07-14 Thread TreKing
On Thu, Jul 12, 2012 at 2:50 PM, dave wrote: > is there a better backend for apps? > Better than what? > i know php and mysql. should i just go with what i know? > Why not? - TreKing

Re: [android-developers] Handler.sendEmptyMessageDelayed() unreliable on some versions of OS?

2012-07-14 Thread Dianne Hackborn
Note that these times are *uptime*. If the screen is off, and nobody is holding a wakelock, then the CPU will go to sleep, and uptime will stop counting until it wakes up again. On Fri, Jul 13, 2012 at 9:24 AM, mapeters wrote: > I have a thread (guts implemented as a subclass of Runnable) whose

Re: [android-developers] How to stop terminate the Android application when using the native code

2012-07-14 Thread Dianne Hackborn
You just need to fix your native code so it doesn't do this. Anyone giving you a native library that is calling exit() in it is an evil sadist. :p On Fri, Jul 13, 2012 at 3:02 AM, Clark kent wrote: > Hello every body > > I have this problem which can not resolve it. > > I'm calling the native c

Re: [android-developers] why is the account managed by AccountManager is delete automatically ?

2012-07-14 Thread Dianne Hackborn
The Galaxy Nexus never installs things on "external storage", because that is the same partition as internal storage. You will note there is no UI for moving apps between internal and external storage on such devices. This is probably a bad interaction with the new app encryption at boot. On Fri

[android-developers] Re: What is the best way to handle out of memory, because of bitmaps, on devices pre-honeycomb with low memory limit

2012-07-14 Thread user123
I don't understand why it's not just possible to (easily) say, please, free all the memory in the native heap *now* - I don't care if I have to wait a bit, for garbage collection and so on. But this is not possible and I have just to rely on the system and see how my app keeps crashing... On S

[android-developers] What is the best way to handle out of memory, because of bitmaps, on devices pre-honeycomb with low memory limit

2012-07-14 Thread user123
My app has a lot static images (backgrounds, buttons, etc.) and a lot of small images, which loads from the web. These images are shown in a list view, for example. I'm looking for a strategy to avoid out of memory errors. In the devices with less than 25 mb it runs out of memory very soon and

Re: [android-developers] Run application with system / root permissions.

2012-07-14 Thread Kristopher Micinski
That's the point of rooting your device. There is no permission or specifier that you can use to request "root permissions." kris On Thu, Jul 12, 2012 at 7:32 AM, Jordi Sayeras wrote: > Hi, > > > I've been searching about this topic but I haven't found a clear solution > yet. As far as I know,

Re: [android-developers] help !!

2012-07-14 Thread TreKing
1. Please use a title that gives even a slight indication of what your post is about. This will help you get help and will help others find the topic in the future if they search for it. On Thu, Jul 12, 2012 at 8:30 AM, gerardo montero wrote: > what i need to do for add other divice to my account

Re: [android-developers] Keeping it fresh, back to service...

2012-07-14 Thread Mark Murphy
On Sat, Jul 14, 2012 at 5:03 PM, Cythes wrote: > So if I take it back to the regular dispatchkeyevent, it should fix it > or do I need to find something to call it to? IN which case would be my main > activity. Simply have your activity handle the key event itself, and delete your service and

Re: [android-developers] Keeping it fresh, back to service...

2012-07-14 Thread Cythes
So if I take it back to the regular dispatchkeyevent, it should fix it or do I need to find something to call it to? IN which case would be my main activity. On Saturday, July 14, 2012 4:55:54 PM UTC-4, Mark Murphy (a Commons Guy) wrote: > > On Sat, Jul 14, 2012 at 4:50 PM, Cythes wrote:

[android-developers] Re: Keeping it fresh, back to service...

2012-07-14 Thread Nobu Games
You were asking a pretty much identical question recently. People told you that you are setting wrong class names in your manifest file. Once again the receiver name "autoBot" does not have a valid package name. It should have at least a "." in front of it so it can be resolved... if it is in y

Re: [android-developers] Keeping it fresh, back to service...

2012-07-14 Thread Mark Murphy
On Sat, Jul 14, 2012 at 4:50 PM, Cythes wrote: > Basically the program runs starts the service but wont start the intent in > the service. Any ideas? Nothing calls dispatchKeyEventTake2() in your service. And it is a good thing nobody does call dispatchKeyEventTake2() in your service, as you hav

[android-developers] Keeping it fresh, back to service...

2012-07-14 Thread Cythes
Alright here I am after a good 8 hours of editing (Yeah I'm new..so sue me...) I'm working on this service that starts on start up. Keep in mind I am on my live phone so I DONT have logcat. On top of this it is a Rooted phone so if that changes anything then I guess I will burn that bridge

Re: [android-developers] Jelly Bean Crash with Bitmap Recycle "Sorry, an error has occurred: bitmap is recycled"

2012-07-14 Thread Romain Guy
Ah, this is an interesting bug that we ran into ourselves. createScaledBitmap() can return the *same* bitmap if the scaled copy would have the same dimensions as the original image. The proper way to do this is to write: bitmap = Bitmap.createdScaledBitmap(oldBitmap, etc...); if (bitmap != oldBitm

Re: [android-developers] Showing Action Bar ONLY on tablet?

2012-07-14 Thread Latimerius
On Sat, Jul 14, 2012 at 8:51 PM, Mark Murphy wrote: > Now, if all finger paint apps for children on Android got low ratings > and had on-screen controls, I would at least entertain the notion that > correlation might indicate causality, and the on-screen controls were > the source of the low ratin

Re: [android-developers] Maybe I am going about this all wrong.

2012-07-14 Thread Kristopher Micinski
If you could modify the system with an apk... this would be extremely dangerous and would almost certainly never never even considered... On Jul 14, 2012 2:30 PM, "Cythes" wrote: > Which part? > > On Saturday, July 14, 2012 2:19:52 PM UTC-4, Kristopher Micinski wrote: >> >> That would be interest

[android-developers] custom layout on ListLayout can't be browsed using d-pad

2012-07-14 Thread Jeremy Villalobos
Hello: I am checking my app is accessible. In the course of doing this, I am using a d-pad to browse the app. I have a custom row on a List Layout. Each row follows the attached layout. When I browse the layout using the d-pad I can only highlight the more_button_layout layout. I cannot

Re: [android-developers] Wifi-Only tablet missing NETWORK_PROVIDER!?

2012-07-14 Thread Mark Murphy
On Fri, Jul 13, 2012 at 10:53 PM, E. Recio wrote: > Why is there no network_provider available on this tablet? You would have to ask the device manufacturer. > Is there something I am missing with regards to Wifi-Only tablets? The so-called network provider uses either WiFi hotspot proximity or

Re: [android-developers] Re: SDK 4, if I select WXGA resolution, emulator doesn't start.

2012-07-14 Thread Mark Murphy
On Fri, Jul 13, 2012 at 3:20 AM, urbock23 wrote: > Bug is still present in R16 > WXGA emulator does not work, even changing device ram site to 512MB. The WXGA800 and WXGA720 emulators definitely work on R16. I personally run these emulator AVDs with 1GB of device RAM. Note, though, that the curr

Re: [android-developers] Why android does not support native video calling

2012-07-14 Thread Mark Murphy
This list is for developing applications with the Android SDK -- your questions are off-topic here. On Thu, Jul 12, 2012 at 7:29 AM, mihir mehta wrote: > What i don't understand is this Why android do not support Video call > (3G-324M Circuit-Switched Video Calls) just because it is not available

Re: [android-developers] Where to start?

2012-07-14 Thread Mark Murphy
On Fri, Jul 13, 2012 at 12:55 AM, Mitchell Just wrote: > Would the best way to do this to make a Service which handles a socket to > the server? Possibly. That is difficult to answer in the abstract. However, if your objective is to deliver these messages at any time, without the user necessaril

Re: [android-developers] sdk version Compatibility

2012-07-14 Thread Mark Murphy
On Thu, Jul 12, 2012 at 9:37 AM, reshmy anup wrote: > I have created an android application in sdk 2.3.3.It is working in 4.0.3 > also. But it is crashing in samsung galaxy s3.The os version of that device > is 4.0.4.Is there any particular reason for that crashing in s3? It is crashing either

Re: [android-developers] Showing Action Bar ONLY on tablet?

2012-07-14 Thread Mark Murphy
On Sat, Jul 14, 2012 at 1:47 PM, Latimerius wrote: > As I haven't ever heard pretty much *any* reason for that, good or > bad, I tend to think dumping it was rather a boneheaded idea. I can't speak to why they elected to grant device manufacturers the freedom to skip off-screen controls. For all

[android-developers] Android mediaplayer cannot play long mp3 http streaming.

2012-07-14 Thread Forex Viet
I developed an audio player using mediaplayer API. This audio player can play mp3 http streaming from webserver. It play pretty well with small mp3 file, but with long mp3 file ( 30 minutes long and 30Mb size), it only play about 5 minutes then hang. I tested in my Samsung Galaxy Gio ( Android 2.2

Re: [android-developers] why is the account managed by AccountManager is delete automatically ?

2012-07-14 Thread Mathias Roth
Some of my users are experiencing the same issue. My suspicion is that the default install location changed from internal to external on 4.1.1. At least one user reported things are working with android:installLocation="internalOnly" set in the manifest. This should be default behavior acco

[android-developers] sdk version Compatibility

2012-07-14 Thread reshmy anup
Hi.. I have created an android application in sdk 2.3.3.It is working in 4.0.3 also. But it is crashing in samsung galaxy s3.The os version of that device is 4.0.4.Is there any particular reason for that crashing in s3?It is working fine in s2. Thanks and regards Reshmy. -- You received thi

[android-developers] Re: In App Billing Limits

2012-07-14 Thread sam
I can't find the answer in any documentation. Do you know the reason for the limit? Other apps circumvent the limit. Its quite common in games to buy credits. If thats ok then it would be simple to get around. On Jul 12, 9:25 am, Anton Kaiser wrote: > I can't tell you about the limit (must be do

[android-developers] Downloading apk from our site is unsuccessful

2012-07-14 Thread rakesh
Hi, I am not able to download apk from our site on Samsung Nexus(not tried on other handset).Where as through almost same code i am able to download(jar and jad) on compatible handset. Handset downloads the apk and after 100% complete it says *download unsuccessful*.Previously same code is use

[android-developers] help !!

2012-07-14 Thread gerardo montero
what i need to do for add other divice to my account ? -- 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-develope

[android-developers] How to stop terminate the Android application when using the native code

2012-07-14 Thread Clark kent
Hello every body I have this problem which can not resolve it. I'm calling the native code(*C code*) from the android application. But in the native code, they call function "*exit(0)*" so it makes the app on Android terminate. Could any one know how to stop this one, because after i called o

[android-developers] Re: Need help on supporting IGMP protocol on android

2012-07-14 Thread Maryam
Hi, @Justin, I have an Samsung Galaxy version 4.0.2. I wrote an app that receives multicast packets. But it doesn't receive any. My router doesn't filter multicast packet. I have added the necessary permissions and acquire a multicast lock. It seems the main reason is that the phone doesn't se

[android-developers] Where to start?

2012-07-14 Thread Mitchell Just
Hi guys, I'm trying to put together a fairly simple application, but I'm getting a little overwhelmed at the moment. I've read through most of the Google tutorials, and a heap of stackoverflow threads, but I just seem to be going around in circles. Basically I have a Java application running o

[android-developers] Re: READ_LOGS permission is not granted to 3rd party applications in Jelly Bean (api 16)

2012-07-14 Thread nnk
There's no documented, approved way to read the log entries. Having said that, if you just exec() logcat, as you did before, you'll automatically get your own log entries. You don't need to do anything special. The log system knows which log entries belong to you, and which log entries belong to

[android-developers] Why android does not support native video calling

2012-07-14 Thread mihir mehta
What i don't understand is this Why android do not support Video call (*3G-324M Circuit-Switched Video Calls*) just because it is not available in the US ? It is really disappointing as it is widely used in Europe and Asia ? -- You received this message because you are subscribed to the Goog

[android-developers] Creation of 'native' objects on the other end of the binder proxy

2012-07-14 Thread Chethan Palakshamurthy
Hello, I am going through multimedia framework, and while most things seem fairly clear to me, the creation of the 'native' objects (or BnXxxx objects of binder framework) seem perplexing to me. I just can't find where those are created!! The proxy objects are created with a hard to find new Bp

[android-developers] Run application with system / root permissions.

2012-07-14 Thread Jordi Sayeras
Hi, I've been searching about this topic but I haven't found a clear solution yet. As far as I know, you can specify different *protectionLevel* in your * AndroidManifest.xml*, those permissions allow other applications to interact with the one you are developing. As an example, imagine that I wa

[android-developers] Re: Please native 3G-324M videocall support!

2012-07-14 Thread mihir mehta
Please do it ... it is basic feature for a smart phone .. it is unbelievable that it does not there in android and why there is so much delay in implementing it On Thursday, April 5, 2012 8:55:49 PM UTC+5:30, roslogiac wrote: > > Hello, > I'm struggling to find an android device supporting

[android-developers] Upload image from Android to ASP.Net

2012-07-14 Thread Jacob Michael
Hi, What is the best approach to upload files(video,images) from Android apps to asp.net server? Can some sone, give your idea/references or share your idea? -- * With Regards ** Jacob Michael +60169925650 * http://jacobsome.blogspot.com/ -- You received this message because you are subscribe

[android-developers] Android inapp purchase failed for first time

2012-07-14 Thread tk
Hi, I integrated inapp billing in my app. My customers often getting problem for the very first time they are adding their credit card and purchasing. 2nd time purchase is good. Any one experienced this issue? Thanks. -- You received this message because you are subscribed to the Google Group

[android-developers] SAP web service consuming by android

2012-07-14 Thread MERT TUNÇBİLEK
Hi everyone, I try to consume SAP web service by android with ksoap2 but ı did not achieve it, since this error, WARN/System.err(1229): org.xmlpull.v1.XmlPullParserException: expected: START_TAG {http://schemas.xmlsoap.org/soap/envelope/}Envelope(position:START_TAG <{ http://schemas.xmlsoap.org/w

[android-developers] video problem

2012-07-14 Thread João Marcos Santos Teixeira
Hello, I am making an application in the language html5 for android. But the videos are not working. See what happens: The audio plays but the video frames are not displayed. Can anyone help me? ---

[android-developers] Handler.sendEmptyMessageDelayed() unreliable on some versions of OS?

2012-07-14 Thread mapeters
I have a thread (guts implemented as a subclass of Runnable) whose job is to perform an operation on demand from other threads or automatically every two minutes if no other thread invokes the operation. The run() method of this Runnable calls Looper.prepare(), creates a Handler object in a memb

[android-developers] Re: WebView / JavaScriptInterface / String []

2012-07-14 Thread kemal
in webview you can try this code webView.getSettings().setJavaScriptEnabled(true); -- 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, sen

[android-developers] A thread has a RuntimeException in run() method

2012-07-14 Thread michael s
In my android, if I create a thread new Runnable() { public void run() { doSomething(); } } If the method doSomething(), throws a Runtime Exception and I don't catch it in my run() method, will that crashes my whole application? Thank you. -- You received this message because

Re: [android-developers] Re: static vs non-static inner classes

2012-07-14 Thread Michael Rozumyanskiy
But what about a Handler.Callback interface which can be passed to the Handler's constructor. According to the source code it is stored in the Handler class as a strong reference, so if the Message lives in the queue for a long time, the callback will not be gc'ed. And the callback may be an Ac

[android-developers] Re: SDK 4, if I select WXGA resolution, emulator doesn't start.

2012-07-14 Thread urbock23
Bug is still present in R16 WXGA emulator does not work, even changing device ram site to 512MB. Is there someone who found right workaround/fix? Il giorno mercoledì 19 ottobre 2011 17:52:42 UTC+2, sblantipodi ha scritto: > > Am I the only one experiencing this problem? > The only way to launch a

[android-developers] Installing ADT on Eclipse Juno

2012-07-14 Thread marcelozep
Hi. I´m receiving this error while trying to install ADT Plugin for Eclipse Juno. Cannot complete the install because one or more required items could not be found. Software being installed: Android Development Tools 20.0.0.v201206242043-391819 (com.android.ide.eclipse.adt.feature.group 20.

[android-developers] Re: Android 4.1, HLS streaming and HTML5

2012-07-14 Thread zaqwer
Hi, try to use the video.webkitEnterFullscreen(). more On Wednesday, July 11, 2012 4:12:31 PM UTC+4, Ben wrote: > > I am looki

[android-developers] Jelly Bean Crash with Bitmap Recycle "Sorry, an error has occurred: bitmap is recycled"

2012-07-14 Thread Craigo
Hi Google, My app that has been running for over 2 years without an update, finally broke with Jelly Bean. The error: "Sorry, an error has occurred: bitmap is recycled". The problem was with calling recycle on a bitmap: Bitmap bitmapOld = bitmap; bitmap = Bitmap.createScaledBitmap(bitmap, new

[android-developers] having a problem with pitch and roll android sensors

2012-07-14 Thread Erik Liddell
Forgive me for not re writing the whole post, but i have this post on stackOverFlow and i was hoping i could post the link and see if any of you have insight. I appreciate your help http://stackoverflow.com/questions/11476316/determining-angle-of-device-with-horizon-as-axis-android/11476926#114

[android-developers] Re: Android library as a single jar file

2012-07-14 Thread Matthew Whitmer
You can create an Android library project which contains both resources and code. They have been improving this capability with each update it seems. To see what you can currently do with a library project check out the appropriate section on this page: http://developer.android.com/tools/proje

[android-developers] Re: Programatically setting Linear Layout parameters i.e. Wrap_content and match parent

2012-07-14 Thread marcpolo
Didn't realise that you can simply replace WRAP_CONTENT with a fixed width. Problem solved. On Wednesday, 11 July 2012 20:24:31 UTC+1, marcpolo wrote: > > Hi, > > I'd like to have two views within a horizontal linear layout and > programatically align them as follows. > > View A should be of fix

Re: [android-developers] Maybe I am going about this all wrong.

2012-07-14 Thread Cythes
Which part? On Saturday, July 14, 2012 2:19:52 PM UTC-4, Kristopher Micinski wrote: > > That would be interesting... > On Jul 14, 2012 1:10 PM, "Mark Murphy" wrote: > >> On Sat, Jul 14, 2012 at 1:04 PM, Cythes wrote: >> > What about just writing a patch for the OS and including it in the >> pa

Re: [android-developers] Maybe I am going about this all wrong.

2012-07-14 Thread Kristopher Micinski
That would be interesting... On Jul 14, 2012 1:10 PM, "Mark Murphy" wrote: > On Sat, Jul 14, 2012 at 1:04 PM, Cythes wrote: > > What about just writing a patch for the OS and including it in the > package? > > Or is that next to unheard of? > > If by "the package" you mean your APK, that is not

[android-developers] Re: adk 2012 / usb accessory not connecting

2012-07-14 Thread Doug
Joe, Well, the first thing that irked me was the fact that the board needs a USB driver installed, or OSX won't even recognize the board's presence. This was documented nowhere. I had to hunt it down myself. No problems with Java here. The IDE launches fine and I can load source files into

[android-developers] Wifi-Only tablet missing NETWORK_PROVIDER!?

2012-07-14 Thread E. Recio
I bought this wifi-only inexpensive tablet (see the build.props below). It has a fully operational wifi to get on the network and do what one would expect. I wrote a bit of code to explore what location providers were available on the tablet. According to the responses, the only available was G

[android-developers] Cheapo Chinese tablet missing NetworkProvider

2012-07-14 Thread RE
I wrote some code to discover the location providers available. I ran the code on my phone (with cell off, gps off, and wifi on). It found the NetworkProvider. Turning on GPS it found them both. (cell is v2.3.3) So I thought that NetworkProvider would be valid for anything that has WiFi or net

[android-developers] Re: newbie question

2012-07-14 Thread ideaman
Problem solved I uninstalled Eclipse and SDK and reinstalled it, and now it works. Thanks, Daniel On Wednesday, July 11, 2012 2:43:29 PM UTC+3, ideaman wrote: > > Hi, > I have installed Eclipse Juno 4.2 > the Android SDK > the Eclipse plugin > and have Java 7 update 3 and Java 6 update 30 > Ever

[android-developers] Re: debugging on Vodafone Smart II

2012-07-14 Thread Ma Nik
i can't find anything unfortunately... thi ii why im asking.. Τη Τρίτη, 10 Ιουλίου 2012 9:36:12 μ.μ. UTC+3, ο χρήστης Ma Nik έγραψε: > > I want to test my android app on Vodafone Smart II but I'm not able to > connect the device..Do I need a OEM Driver? and which driver is the > appropriate one

[android-developers] Tokens

2012-07-14 Thread Mario Bat
Hi, I'm not really familiar with tokens in general. I searched and couldnt find any definitions nor explanations. So what are tokens exactly, and how do you create them, and for what are they? Im trying to make an app where i will send my Android device token to a notification push server. The s

[android-developers] Re: gingerbread... man!

2012-07-14 Thread bob
Ooops… I meant createInsecureRfcommSocketToServiceRecord. On Wednesday, July 4, 2012 1:18:05 PM UTC-5, bob wrote: > > So, I tried running the function > listenUsingInsecureRfcommWithServiceRecord on an Android 2.3.5 device. It > popped up a dialog asking to accept some 5 or 6 digit pin. It's

Re: [android-developers] Re: Hwo to use getLineCount method in TextView? what is the internal Layout?

2012-07-14 Thread ABIOYE BENJAMIN
I see Sent from my BlackBerry® smartphone provided by Airtel Nigeria. -Original Message- From: skink Sender: android-developers@googlegroups.com Date: Fri, 13 Jul 2012 02:13:52 To: Android Developers Reply-To: android-developers@googlegroups.com Subject: [android-developers] Re: Hwo to

[android-developers] Before I start, a question regarding google maps traffic

2012-07-14 Thread CreepyD
I hope someone can help here. I have an app idea, but want to know if it's possible before I spend lots of time learning how to make apps. Is it possible to 'plug-in' to google maps traffic based on a specific map point? e.g. If I want to check what the current traffic is at an exact point along

[android-developers] TabHost not work in android 2.1 what's the reason have u a answer plz.

2012-07-14 Thread androidlakrida
My project is writing for the 2.1 version -- 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..

[android-developers] Wifi Only tablet missing NetworkProvider

2012-07-14 Thread RE
I bought this wifi-only inexpensive tablet (see the build.props below). It has a fully operational wifi to get on the network and do what one would expect. I wrote a bit of code to explore what location providers were available on the tablet. According to the responses, the only available was G

[android-developers] Different Screen Sizes and Resolutions

2012-07-14 Thread Bradx
Hey guys! I am a new developer, and I have been working on my app the past week or so. So far I have it looking good and working fine, but my employer wants me to make it run on screen sizes from normal to xlarge and densities from medium to xhigh. I found a document on the developer's website

[android-developers] swf file not playing in androide 4.0.3 on HCL ME U1 device.

2012-07-14 Thread Avdhut Chavan
simply open a swf file on browser it not showing swf file. and also trying to open swf file through webview also not working. -- 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@googlegro

[android-developers] AudioGroup and STREAM_MUSIC stream

2012-07-14 Thread domenico
I have implemented a kind of VoIP application using the AudioGroup and AudioStrem classes. It is working fint. My problem is that all the received audio is routed to the STREAM_VOICE_CALL speaker. I want to route the audio from some calls to the STREAM_MUSIC speaker. I have tryed to set the AudioMa

Re: [android-developers] newbie question

2012-07-14 Thread ideaman
Hi, thanks for your reply. I know you are right and R class should be autogenerated, but it doesn't. The "gen" folder is empty. Daniel On Thursday, July 12, 2012 10:46:49 AM UTC+3, Fran wrote: > > R is an autogenerated class. You should have a "gen" folder inmediatly > below your project, and an

[android-developers] How to prevent resizing and relayout the window when soft keyboard displaying

2012-07-14 Thread dreamtale
I show an edit dialog in an activity, when the soft keyboard displaying, the window of the activity will be resized to too samll which looks awful. I don't want the window of the activity be resized and layout. I just want the keyboard can cover on the activity window and the dialog move to th

[android-developers] backend for app?

2012-07-14 Thread dave
is there a better backend for apps? i know php and mysql. should i just go with what i know? -- 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 g

[android-developers] Re: newbie question

2012-07-14 Thread ideaman
Hi, thanks for your reply. I've tried this already. I read somewhere else to clean it and rebuild it. I can clean it, it doesn't hep, but I cannot rebuild it (it is grey and cannot be clicked). Daniel On Thursday, July 12, 2012 10:30:44 AM UTC+3, Ali Chousein wrote: > > Try cleaning your proj

[android-developers] Tokens

2012-07-14 Thread Mario Bat
Hi, I have to make an app where i send my device token to a server. The server is a Push server that will push notifications to the mobile device later. My question is; What are tokens and how do you create them? Does the server create my token or who? I know that for the Facebook API Facebook

Re: [android-developers] Bluetooth sniffing

2012-07-14 Thread bob
Here's what I did with my Samsung Galaxy S3: adb shell shell@android:/ $ hcidump /system/bin/sh: hcidump: not found On Wednesday, July 11, 2012 3:41:57 AM UTC-5, the_edge123 wrote: > > On 10/07/2012 17:38, bob wrote: > > > > > > I'm seeing some Bluetooth weirdness with Android. Anyone kno

[android-developers] org.xmlpull.v1.XmlPullParserException: expected: START_TAG {http://schemas.xmlsoap.org/soap/envelope/}Envelope (position:START_TAG <{http://schemas.xmlsoap.org/wsdl/}wsdl:definiti

2012-07-14 Thread MERT TUNÇBİLEK
I get this error at this line ; androidHttpTransport.call(SOAP_ACTION, soapEnvelope); while consuming a web service connection to sapserver. code doesnt give error but it dont return anything, but it should be return test string. please help. thanks. M.T. public class RealConnectionTrialA

Re: [android-developers] Digest for android-developers@googlegroups.com - 25 Messages in 15 Topics

2012-07-14 Thread agrmob4
Sent from my Verizon Wireless 4G LTE Smartphone android-developers@googlegroups.com wrote: >= >Today's Topic Summary >= > >Group: android-develo

[android-developers] Starting New Activities

2012-07-14 Thread AChow
I am a first time developer. I am trying to make an app but so far, I cannot start another activity that I need. The way my apps should work is that when a button is clicked it starts a new activity. However, my app is not doing that even though the code is based off of a tutorial's code. Can s

Re: [android-developers] Showing Action Bar ONLY on tablet?

2012-07-14 Thread Latimerius
On Sat, Jul 14, 2012 at 6:48 PM, Mark Murphy wrote: > On Sat, Jul 14, 2012 at 12:34 PM, limtc wrote: >>> That does not preclude having some sort of menu button in a corner. It >>> also does not preclude bringing up a menu based on some other trigger >>> (certain tap sequence in a corner, certain

  1   2   >