Re: [android-developers] Re: Rotating an Android VideoView

2013-04-23 Thread Piren
holy fuck ... lol :-D On Monday, April 22, 2013 10:25:33 PM UTC+3, TreKing wrote: On Wed, Apr 10, 2013 at 8:23 AM, Rodrigo Bertet Ramos rodrigo...@gmail.com javascript: wrote: If you don't have an answer, why are you making us waist time? Our reasons to do this are not of your concern.

[android-developers] Re: Launch Mode : singleTop FAILS on first time app start of signed build

2013-04-23 Thread Piren
Sounds like the intent being used to launch the app by default and the intent used to launch from the icon behave differently. SingleTop does not guarantees that only one activity will be shown, rather one per task. sounds as if you keep creating different tasks in one instance. I had

[android-developers] Re: Launch Mode : singleTop FAILS on first time app start of signed build

2013-04-23 Thread Piren
Sorry, you should probably try singleTask before singleInstance :) On Tuesday, April 23, 2013 10:08:49 AM UTC+3, Piren wrote: Sounds like the intent being used to launch the app by default and the intent used to launch from the icon behave differently. SingleTop does not guarantees that

[android-developers] Android Widget: Custom analog clock

2013-04-23 Thread Resurrcting the champ
Please check out one of these projects. https://custom-analog-clock.googlecode.com/svn/trunk/ https://github.com/MadyZaid/Android-widget-Custom-Analog-Clock.git Please help me make this code better -- -- You received this message because you are subscribed to the Google Groups Android

Re: [android-developers] Updating widget layout at runtime

2013-04-23 Thread Mady Zaid
https://custom-analog-clock.googlecode.com/svn/trunk/ https://github.com/MadyZaid/Android-widget-Custom-Analog-Clock.git Please help me make this code better 2012/8/22 Piotrek Skowronek piotre...@gmail.com Hi I'm writing Analog Clock widget and it doesn't want to change layout at runtime.

Re: [android-developers] How to change AnalogClock widget's dial in an Activity?

2013-04-23 Thread Mady Zaid
https://custom-analog-clock.googlecode.com/svn/trunk/ https://github.com/MadyZaid/Android-widget-Custom-Analog-Clock.git Please help me make this code better 2012/7/23 Gautam Khatri shshkmr...@gmail.com http://www.mkyong.com/tutorials/android-tutorial/ On Mon, Jul 23, 2012 at 10:27 PM,

Re: [android-developers] AnalogClock

2013-04-23 Thread Mady Zaid
https://custom-analog-clock.googlecode.com/svn/trunk/ https://github.com/MadyZaid/Android-widget-Custom-Analog-Clock.git Please help me make this code better 2012/3/6 Bazza loan...@gmail.com I have searched high and low and found AnalogClock in SDK but no reference to clock_hours and

Re: [android-developers] Re: Can we implement “DigitalClock” widget by using separate images for each number?

2013-04-23 Thread Mady Zaid
https://custom-analog-clock.googlecode.com/svn/trunk/ https://github.com/MadyZaid/Android-widget-Custom-Analog-Clock.git Please help me make this code better 2011/11/22 Abhishek Kumar Gupta akgaec2...@gmail.com Actually, I have to include Digital minutes inside the dial of the AnalogClock

Re: [android-developers] Re: Clock widget with second hand

2013-04-23 Thread Mady Zaid
https://custom-analog-clock.googlecode.com/svn/trunk/ https://github.com/MadyZaid/Android-widget-Custom-Analog-Clock.git Please help me make this code better 2011/11/14 Abhishek Kumar Gupta akgaec2...@gmail.com Yes. I understand that app widgets are updated every 30 min. But isn't there any

[android-developers] Webview with video playing. on notifyDataSetChange gets stuck

2013-04-23 Thread Jayu Sagar
Hi, need help in understanding the following behavior, I have a WebView (Say instance *'A' *) which plays a Video is being placed as one of the Item in ListView plays the video smoothly, whereas when I call notifyDataSetChange for showing some changes. the webView gets stuck i.e. the Video will

[android-developers] Re: NFC device identification

2013-04-23 Thread Michael Roland
Hi Vasek, see ISO/IEC 18092 (or its freely available Ecma version ECMA-340) for a detailed description of the NFC protocol. During the link activation phase, NFC devices perform an anticollision mechanism. For active mode communication this is done by collision aviodance (i.e. the targets

[android-developers] Send Email in Android

2013-04-23 Thread amira20101900
Hello i have a simple program that send an email when you press a button button i get an alert that No application can perform this action . Intent emailIntent = new Intent(android.content.Intent.ACTION_SEND); emailIntent.setType(plain/text);

[android-developers] Re: Deep sleep after 1 hour?

2013-04-23 Thread Dave Shortman
Does the app do anything else other than ping the server? Best way to approach this really would be to set an alarm which fires every 30 seconds, when you receive the alarm take a partial wakelock and fire a service to perform the ping, this service should also take and release a wakelock

[android-developers] ExpandableListView with Header Child

2013-04-23 Thread Jefferson Delgado Pérez
Hello, I need to put in each of the sublists (child) of ExpandableListView a header. AddHeader function exists, but it places a header on top of the whole list, not each of the sublists. I think it should be done in getChildView or Group Listener. The code for each is: public View

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

2013-04-23 Thread IQram
This is true, I've observed that also try to make a calculation how from the number of downloads and the price of APP. It won't match for any cost. Their isn't any break-up billing structure in Google. Some part is goes for tax. I request to have a proper billing structure on selling APPs and

[android-developers] Answer Call Automatically in Android

2013-04-23 Thread umer nasim
Hi! I want to ask can we answer call automatically. i have develop a code which woks fine in android 2.2 but not work in higher. one thing more is it restricted to answer call automatically in android -- -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Bluetooth Smart Ready - 4.0 BLE

2013-04-23 Thread Sameer Bobade
Hi, Any news on native support for BLE / 4.0 / GATT / Bluetooth Smart Ready? -- -- 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

[android-developers] Re: Launch Mode : singleTop FAILS on first time app start of signed build

2013-04-23 Thread Andrei Ponomarenko
Here you go: application android:icon=@drawable/icon android:label=@string/app_name android:theme=@android:style/Theme.Black.NoTitleBar android:debuggable=true android:allowTaskReparenting=true android:name=com.company.product.AppName activity

[android-developers] Re: Rotating an Android VideoView

2013-04-23 Thread Andrei Ponomarenko
You can try to stick it in a separate activity. activity android:screenOrientation=landscape On Thursday, January 6, 2011 6:03:02 AM UTC-8, Darshan wrote: Hi All, I have a Framelayout that contains a textview, an edittext field, a 'Play Video' Button and a VideoView. When entering

[android-developers] Re: Capture Screen Programmatically?

2013-04-23 Thread Imran Khan
Abhishek can u plz help me...Can I capture thr home screen from my activity without rooting my phone??? On Tuesday, 26 July 2011 14:53:59 UTC-7, Abhishek Akhani wrote: You can do it without being rooted. -- -- You received this message because you are subscribed to the Google Groups

[android-developers] Re: Launch Mode : singleTop FAILS on first time app start of signed build

2013-04-23 Thread Andrei Ponomarenko
Here you go: application android:icon=@drawable/icon android:label=@string/app_name android:theme=@android:style/Theme.Black.NoTitleBar android:debuggable=true android:allowTaskReparenting=true android:name=com.company.product.AppName activity

[android-developers] The app icon disappears on app upgrade on Nexus devices (4.2.2)

2013-04-23 Thread Andrei Ponomarenko
The problem happens only on 4.2.x devices. After the upgrade of our app the app launcher icon is invisible. It flashes for a split second during the upgrade (adb install -r NewVersion.apk) but then removed. If I force stop the Launcher it appears. It also appears on it's own after a long time -

[android-developers] build script for link download android application

2013-04-23 Thread phan son
i need to create a link download for Android application, but depend on user logged in portal i must insert a identity key to Android source code and auto-build that code, then return code to user. Please help me a solution for this? -- -- You received this message because you are subscribed

[android-developers] build script and link download for android

2013-04-23 Thread phan son
i need to create a link download for Android application, but depend on user logged in portal i must insert a identity key to Android source code and auto-build that code, then return code to user. Please help me a solution for this? -- -- You received this message because you are subscribed

[android-developers] How to show/hide the soft keyboard without any fade animation

2013-04-23 Thread zhou winsen
When using *android:windowSoftInputMode=adjustResize* on a activity its content will resize itself to enable scrolling whenever the user select a text input. But, every time that the content is resized there is a fade out-in effect. How can one disable that effect? -- -- You received this

[android-developers] Too many errrors.

2013-04-23 Thread Zulfikar Barodawala
I am trying to compile and have done it before on the same system and source, but now I am getting very funny errors on repo sync , remote: Counting objects: 15, done. remote: Compressing objects: 100% (6/6), done. remote: Total 8 (delta 4), reused 0 (delta 0) Unpacking objects: 100% (8/8),

[android-developers] Re: Android SDK Content Loader gets stuck....

2013-04-23 Thread Stefan Waner
I was having the exact same issue. I tried all the workarounds suggested here, including chaging the Projects settings and manually downloading the Android SDKs to no avail. I finally gave up and switched to Intellij IDEA, which works for me. On Tuesday, June 9, 2009 1:11:03 AM UTC-5, az9702

[android-developers] Re: Android SDK Content Loader gets stuck....

2013-04-23 Thread Stefan Waner
Same issue for me (Mac version) and none of the suggested workarounds works (including manually loading Android SDK, turning off Build Automatically etc.). It is a shame, and makes Eclipse totally unusable. My solution: Installed IntelliJ IDEA which works fine. -- -- You received this

[android-developers] Why was “MediaPlayerService” replaced with “Android_DRM_Test” in Samsung Fascinate (Android 2.3.5)?

2013-04-23 Thread George Liu
I wrote own Android Application, which could work with Android Native Player to playback any video files. My own App provides Android Native Player with video data chunks through http progressive streaming during playback. My App works fine on Samsung Captivate and Sprint EPIC 4G,

[android-developers] How to show/hide the soft keyboard without any fade animation

2013-04-23 Thread zhou winsen
When using *android:windowSoftInputMode=adjustResize* on a activity, its content will resize itself to enable scrolling whenever the user select a text input. But, every time that the content is resized there is a fade out-in effect. How can one disable that effect? -- -- You received

[android-developers] WebView Canvas rendering issue in 4.2.2

2013-04-23 Thread Zach Babb
I have an app that uses a local html page to render images to a canvas element. My code works in both the default browser and Chrome, but when I try to run that code in a WebView in my app it doesn't render. In fact, none of the canvas drawing I tried (fillRect, strokeRect) worked. The release

[android-developers] Difference in android layout designs between versions 2.3.3 and 4+

2013-04-23 Thread Udi Oshi
Hi, i'm facing strange issue and as no one can answer me on stackoverflow , I would appreciate if someone can take a look on my question http://stackoverflow.com/questions/16149309/difference-in-android-layout-designs-between-versions-2-3-3-and-4 -- -- You received this message because you are

[android-developers] Need help with simple script

2013-04-23 Thread Piotr Wasilewski
Hello, I`ve got a usb modem trouble, so I need to run everytime a terminal session with command: echo 12d1 1506 /sys/bus/usb-serial/drivers/option1/new_id usb_modeswitch -v 12d1 -p 14fe -V 12d1 -P 1506 -M 55534243123456780011062001 I`ve got root

[android-developers] Overlay onTap handling

2013-04-23 Thread yoni kessler
Hi all! Im working on a project using mapforge maps, and Im trying to implement the onTap method to handle taps on overlay items. My map class looks something like this: public class Map extends MapActivity implements LocationListener, Overlay,SensorEventListener { ... } In this class, Im

[android-developers] Overlay onTap

2013-04-23 Thread yoni kessler
Hi all! Im working on a project using mapforge maps, and Im trying to implement the onTap method to handle taps on overlay items. My map class looks something like this: public class Map extends MapActivity implements LocationListener, Overlay,SensorEventListener { ... } In this class, Im

[android-developers] My quetions are not appearing?

2013-04-23 Thread Murray9654
Hi I have posted few questions. None of them appeared on the forum? Is there a way to find what happened to my question? whether they are accepted or rejected? If rejected why they are being rejected? -- -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Trouble with editText android

2013-04-23 Thread Z92K
Hi I'm just starting to learn android, I apologise if this is a simple mistake that I have made Basically I have a editText field for a user to enter a date for a hint I used: android:hint=@+string/DD/MM/YY and another for them to enter an email for which I used:

[android-developers] How to implement readahead in android

2013-04-23 Thread uttam
Hello All, I wanted to implement readahead in my android system. Could any one kindly let me know the followings: 1. Configuration/Script file - where changes are required to start readahead 2. Steps to implement readahead in android system. Following are the details of my system - 2.3

[android-developers] Could anyone tell me why the default android browser doesn't support websocket?

2013-04-23 Thread xiaoqiong liu
As titled, all other latest major browser (even including IE) supports websocket, but android's default browser doesn't. This force me to write another solution only for android browser. Could anyone tell me is there any reason for android browser doesn't support websocket? Thanks~ -- --

[android-developers] how to change fonts and colors in general theme?

2013-04-23 Thread Jonathan Chacón Barbero
Hello, I am developing an user profiles manager and I need to change these features for all applications: font size, font color, background color I thought the solution would be to aply a theme.xml file for whole operating system but I don't know if I can change the general theme for all

[android-developers] Re: play youtube video in webview using iframe?

2013-04-23 Thread vijay
Hi All, I also used the method provided by Mr Arun but the issue here was if we click the video to play it opens with youtube app not inside the andriod app I am built? Any suggestions how to show the video inside the webview itself? Highly appreciated some one can help me on this.

[android-developers] App migration from Hyrbid to Native

2013-04-23 Thread Vikram Thakur
If i upgrade my app from native to hybrid then new native build of my app will be treated as update of existing app or it will be treated as a separate build? If i will upload the new build for my app using the different package name, then the new build of the same app will be treated as a

[android-developers] SOAP Call Created in Eclipse for Android App

2013-04-23 Thread Victor Salazar
Hello all... first time post in this area. Hope Im in the correct spot. I am trying to make a small app that will connect to a webservice. Typically we pass up a JSON object in C# to get a JSON return from our webservice. Being new to Java, I am struggling with this. Any help would be

[android-developers] issues while implementing 2d graphs in an Android application

2013-04-23 Thread venu reubro
I am facing some issues while implementing 2d graphs in an Android application. The application should work in offline mode and the application shouldn't communicate to any servers. So we can't use any apis to implement the graph. We are using sql lite database to save data. The application

[android-developers] How to query IPV6 addresses from network interface like WiFi/3G

2013-04-23 Thread suresh tummala
Hi, I have tried the following methods to obtain IPv6 address from interfaces like WiFi/3G for android. - IOCTL query with AF_INET6 socket. But i got IPv4 address only - getifaddrs API not supported in Android, not available in NDK - Configuring static IPv6 address, but GUI not

[android-developers] How do I open the SDK emulator?

2013-04-23 Thread Anthony Vescio
Hey guys I downloaded the SDK thing from here http://developer.android.com/sdk/index.html because I wanted to test the emulator. The folder is on my desktop, I got into it, go into tools, there's emulator there there's emulatr x86 but when I click on them, a very quick box, a command prompt

Re: [android-developers] format for progressbar drawable xml?

2013-04-23 Thread Colin Richardson
This might sound a little stupid, but where did you get this from? I am trying to figure out how to change the colour of one of the progress bars at runtime when its value gets above a certain level.. I want it to be identical except just the colour value. On Saturday, 4 October 2008 07:12:46

[android-developers] how to query IPv6 address in android

2013-04-23 Thread suresh tummala
How to query the IPV6 address in android, as ipv6 is supported in 4.2.2? -- -- 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

[android-developers] Answer call automatically

2013-04-23 Thread umer nasim
hi! i want to answer a call that is in my contact. call will be automatically attend if number is in my contact. I have tried but some says it require permission MODIFY_PHONE_STATE..Is there any alternative for this permission. regards -- -- You received this message because you are

[android-developers] Re: play youtube video in webview using iframe?

2013-04-23 Thread vijay
Hi All, I also used the method provided by Mr Arun but the issue here was if we click the video to play it opens with youtube app not inside the andriod app I am built? Any suggestions how to show the video inside the webview itself? Highly appreciated some one can help me on this.

[android-developers] Re: Android - how to handle saving file on low device memory(Internal/External memory)

2013-04-23 Thread vasanth narayanan
For data centric applications , u can handle the exception through exception handling mechanism and alert the user about low memory space when u caught exception. Am sure there should be some custom exception for low device memory in android. On Thursday, April 18, 2013 4:46:03 PM UTC+5:30,

[android-developers] RV: how to change fonts and colors in general theme?

2013-04-23 Thread Jonathan Chacón Barbero
Hello, Sorry if you receive this e-Mail twice but I've got problems with my e-Mail. I am developing an user profiles manager and I need to change these features for all applications: font size, font color, background color I thought the solution would be to aply a theme.xml file for whole

[android-developers] values not saved when fragment is detached

2013-04-23 Thread Yosi199
Hi all, I've been spending half a day trying to figure out why on earth my values are being reset instead of being saved through my shared preferences when I switch tabs. First time when my app starts, if the user will click a button and then he will click another tab (another tab = another

[android-developers] Is there any minimium number or cut off number to get crash report from app in Google Play's Developer's console

2013-04-23 Thread Venky Ramarkishna
My app is in beta stage, I would like to have access to crash report via Developer's console.. My question is Is there any minimum number or cut off number to display crash report from app in Google Play's Developer's console say only after reaching 50 or 100 reports it would reflect in

[android-developers] How to use Accelerometer to measure distance for Android?

2013-04-23 Thread yoga dymas
How to use Accelerometer to measure distance for Android?? can use the formula v = s / t?? -- -- 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

[android-developers] Bluetooth not working!

2013-04-23 Thread udaysingh1999
Iam Uday.I live in India,i have byond b50 android 2.3.6 (rooted)phone.My bluetooth isn't working as it doesn't turn on!!! Kindly reply me @-udaysingh1...@gmail.com or reply! PLEASE!!!ANYBODY HELP! -- -- You received this message because you are subscribed to the

[android-developers] Re: Deep sleep after 1 hour?

2013-04-23 Thread paladin
It's actually sending the location of the phone every 30 seconds to the server. Where would the alarm be located that you're talking about? On Tuesday, April 23, 2013 4:26:11 AM UTC-4, Dave Shortman wrote: Does the app do anything else other than ping the server? Best way to approach this

Re: [android-developers] Answer call automatically

2013-04-23 Thread Asheesh Arya
I also tried it .pogrammtically attend call automaticaaly...Not possible!! On Wed, Apr 17, 2013 at 11:20 AM, umer nasim umer.ram...@gmail.com wrote: hi! i want to answer a call that is in my contact. call will be automatically attend if number is in my contact. I have tried but some

Re: [android-developers] Send Email in Android

2013-04-23 Thread Manish Srivas
i think your device does not contain any email application like Gmail or email On Tue, Apr 23, 2013 at 10:48 AM, amira20101...@gmail.com wrote: Hello i have a simple program that send an email when you press a button button i get an alert that No application can perform this

[android-developers] Re: Deep sleep after 1 hour?

2013-04-23 Thread Dave Shortman
Heres a starter http://stackoverflow.com/questions/1082437/android-alarmmanager but you will probably need to do a bit more research on AlarmManager. On Tuesday, 23 April 2013 09:51:00 UTC+1, paladin wrote: It's actually sending the location of the phone every 30 seconds to the server.

Re: [android-developers] Maps api key v1?

2013-04-23 Thread user123
Yes, in moments like this, I ask myself why I'm an Android developer :) I think I started basically because I didn't/don't like Apple. But reconsidering this position. Another thing I found quite annoying during this experience, is that there's not even a direct contact possibility. All I

[android-developers] how to make my Audio player app read playlist from the server

2013-04-23 Thread SONJAY SINGH
am making an media player app in which i want my playlist should default playlist of the mediaplayer. media player should read the playlist from external link i,e http;//.m3u and it should be write protected user should not delete the songs form the playlist . please help.

[android-developers] Android kills my Thread created by Service

2013-04-23 Thread Turim
I am developing a simple GPS tracker. But i have a problem. When starts the Service, i create a Thread that get de localization, time after time. The problem is after long time (about hours), the Thread is stoped. I dont know why. How do i create a service/thread long time. I need that thread

[android-developers] Re: Send Email in Android

2013-04-23 Thread lbendlin
You could implement your own SMTP sender, or your own email app (registering for the intent) On Tuesday, April 23, 2013 1:18:48 AM UTC-4, amira2...@gmail.com wrote: Hello i have a simple program that send an email when you press a button button i get an alert that No application

[android-developers] Re: The app icon disappears on app upgrade on Nexus devices (4.2.2)

2013-04-23 Thread Leo
Recently I've also faced the problem with disappearing icon. I tried to preserve apk size and created one icon, put it into drawable folder and then created icon.xml files pointing to the original icon. XML files were created in the specific folders (-hdpi, -xhdpi, ...). I published the apk and

Re: [android-developers] Re: Deep sleep after 1 hour?

2013-04-23 Thread Kristopher Micinski
An AlarmManager will wake the device up, but isn't typically used for 30 second granularity. Still, perhaps a solution to try. Kris On Tue, Apr 23, 2013 at 4:51 AM, paladin quoti...@gmail.com wrote: It's actually sending the location of the phone every 30 seconds to the server. Where would

Re: [android-developers] Android kills my Thread created by Service

2013-04-23 Thread Kristopher Micinski
All Android apps have this behavior: eventually they get kicked out of memory when the user hasn't used them in a while. This is completely normal: you aren't *supposed* to have a program that lasts forever. If you want this, you should have a foregrounded service. Kris On Tue, Apr 23, 2013 at

Re: [android-developers] Re: Deep sleep after 1 hour?

2013-04-23 Thread Kristopher Micinski
Just to check, you are running a foregrounded service, correct..? Kris On Tue, Apr 23, 2013 at 8:44 AM, Kristopher Micinski krismicin...@gmail.com wrote: An AlarmManager will wake the device up, but isn't typically used for 30 second granularity. Still, perhaps a solution to try. Kris On

Re: [android-developers] Android kills my Thread created by Service

2013-04-23 Thread Johan Appelgren
Even if you have a foregrounded service the process might get killed, and restarted if the service is configured for it. An example of this is the music app on my Galaxy Nexus, it gets killed every now and then if I listen to music and use Flipboard or Chrome beta, memory intensive apps. On

Re: [android-developers] Re: Deep sleep after 1 hour?

2013-04-23 Thread paladin
Yes, if what that means what I think it means. On Tuesday, April 23, 2013 8:48:57 AM UTC-4, Kristopher Micinski wrote: Just to check, you are running a foregrounded service, correct..? Kris On Tue, Apr 23, 2013 at 8:44 AM, Kristopher Micinski krismi...@gmail.com javascript: wrote: An

[android-developers] Notifications and killed app

2013-04-23 Thread Larry Meadors
I have an app where I create a notification that when touched jumps to a specific activity. It works reasonably well, but if I go through the steps to create the notification, then kill the app using the recent apps button and swiping it out, the notification stays, and never goes away. Surely

[android-developers] Re: Android kills my Thread created by Service

2013-04-23 Thread Piren
that's not how you're supposed to do what you want... To achieve such things, use the AlarmManager. http://developer.android.com/reference/android/app/AlarmManager.html On Tuesday, April 23, 2013 2:22:57 PM UTC+3, Turim wrote: I am developing a simple GPS tracker. But i have a problem. When

[android-developers] Re: Send Email in Android

2013-04-23 Thread bob
On a Nexus 7, I stuck your code in the onCreate method of a new test app, and it opened up Gmail: https://lh5.googleusercontent.com/-L1_BmeAmT9I/UXaXjvV8m0I/AZE/irCmp5FlTJg/s1600/gmail2.png I guess you don't have Gmail? Thanks. On Tuesday, April 23, 2013 12:18:48 AM UTC-5,

Re: [android-developers] Looking for API to gain access to my email

2013-04-23 Thread Daniel Chacon
Kris, thank you. So doing a search for Android Nework API i found this link http://developer.android.com/training/basics/network-ops/index.html Is this the route to go? Just want to make sure im going down the right path.. For testing and learning, i just want to somehow access the email trash

Re: [android-developers] Re: Deep sleep after 1 hour?

2013-04-23 Thread Kristopher Micinski
this... http://developer.android.com/guide/components/services.html#Foreground Kris On Tue, Apr 23, 2013 at 10:05 AM, paladin quoti...@gmail.com wrote: Yes, if what that means what I think it means. On Tuesday, April 23, 2013 8:48:57 AM UTC-4, Kristopher Micinski wrote: Just to check, you

Re: [android-developers] Android kills my Thread created by Service

2013-04-23 Thread Kristopher Micinski
Yes, but it's *much* less likely that a foregrounded service can be killed. Essentially, with a foreground service you sit at the back of the queue, not the front. Ultimately, there's nothing you can do to prevent your app being killed, and running everlasting services is an Android antipattern.

Re: [android-developers] Re: Deep sleep after 1 hour?

2013-04-23 Thread bob
What does the code look like that is pinging the server? Maybe some return values will tell you what is going on? Maybe you should put a log statement there? Then hopefully it will help you see if the code is not executing or if it is executing but not succeeding. Thanks. On

Re: [android-developers] Re: Android kills my Thread created by Service

2013-04-23 Thread Kristopher Micinski
I had sort of assumed that this was the same as in the other thread... In which case using an AlarmManager would be inappropriate (though, perhaps I assumed incorrectly..!). AlarmManager has a coarse scheduling granularity (minutes, rather than seconds), and I've always felt an aversion for using

Re: [android-developers] Notifications and killed app

2013-04-23 Thread Kristopher Micinski
Swiping it away doesn't really mean killing the app, iirc. The app lives on within Android, it's just not displayed within your task manager window. (Meaning, it's not a process kill, at least for the ones I've seen..) Kris On Tue, Apr 23, 2013 at 10:07 AM, Larry Meadors

Re: [android-developers] Re: Deep sleep after 1 hour?

2013-04-23 Thread Kristopher Micinski
That shouldn't matter, unless the code being run is actually crashing the app... On Tue, Apr 23, 2013 at 10:25 AM, bob b...@coolfone.comze.com wrote: What does the code look like that is pinging the server? Maybe some return values will tell you what is going on? Maybe you should put a log

[android-developers] Re: Google Stealing our Money

2013-04-23 Thread bob
Why would you have a merchant account pay out to an Adsense account? Doesn't pretty much everyone have their Google merchant account pay out to their bank account? Thanks. On Friday, April 19, 2013 7:58:36 AM UTC-5, MobileCo Studios wrote: Hello, my name is Marcelo Cavazzoli. Head

[android-developers] Text from webpage to textview

2013-04-23 Thread Abhishek Soni
I want to extract a piece of data from a quotes website and display those quotes in a text view. How can I do it? -- -- 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

Re: [android-developers] Re: Deep sleep after 1 hour?

2013-04-23 Thread paladin
Then no, I'll have to try that and see if that fixes things. On Tuesday, April 23, 2013 10:16:15 AM UTC-4, Kristopher Micinski wrote: this... http://developer.android.com/guide/components/services.html#Foreground Kris On Tue, Apr 23, 2013 at 10:05 AM, paladin quot...@gmail.com

Re: [android-developers] Re: Send Email in Android

2013-04-23 Thread Mady Zaid
becoz you run you test on emulator as I think or on a mobile that doesn't have a mail program, but you always could handle this issue buy detecting if a mobile support your intent or not. Islam AbdelMageed Java\EE Developer International Turnkey Systems ( Cairo - Egypt) 2013/4/23 bob

Re: [android-developers] Re: Android kills my Thread created by Service

2013-04-23 Thread Piren
Well, if the need is for something that will continue running even when the app isn't in the foreground/running, nothing will work except for the alarmmanager. On Tuesday, April 23, 2013 5:26:15 PM UTC+3, Kristopher Micinski wrote: I had sort of assumed that this was the same as in the other

Re: [android-developers] How to query IPV6 addresses from network interface like WiFi/3G

2013-04-23 Thread Robert Greenwalt
You're trying to find the local address for an interface? It's not pretty but how about parsing /proc/net/if_inet6? Are you sure your IOCTL attempt was with a ipv6 address assigned? I'd be surprised if that were failing, but I entered an internal bug to track the issue. R On Thu, Apr 18,

Re: [android-developers] Re: Android kills my Thread created by Service

2013-04-23 Thread Kristopher Micinski
If you need something to be running on a fine grained interval ( once a few minutes), I think it should morally be in the foreground. Yes, forgrounded apps can be killed off eventually: hence the necessity of using an AlarmManager at times. That being said, in my mind the use of an AlarmManager

[android-developers] Re: The app icon disappears on app upgrade on Nexus devices (4.2.2)

2013-04-23 Thread RichardC
Read the Things That Cannot Change article by Dianne Hackborn - I think you may have broken some of the assumptions: http://android-developers.blogspot.co.uk/2011/06/things-that-cannot-change.html On Tuesday, April 23, 2013 7:52:50 AM UTC+1, Andrei Ponomarenko wrote: The problem happens only

[android-developers] Re: Is there any minimium number or cut off number to get crash report from app in Google Play's Developer's console

2013-04-23 Thread George Baker
Venky, I wouldn't rely on the Google Console for error reporting. It is unreliable and relays on the user to send the report. I've also found the granularity to not be very good. I would recommend something like Flurry. It is also free and offers some very good results. Another option

Re: [android-developers] Notifications and killed app

2013-04-23 Thread Piren
actually it does kill the process... as long as there's no foreground service (and that's debatable on the newer versions of JB). If you enter the app after your swipe, you'll see it is starting clean. I had the same notification issue, but i can't remember how i resolved it.. heh On Tuesday,

[android-developers] Re: Text from webpage to textview

2013-04-23 Thread Piren
If that site has an open API or RSS feed, you can use those. If not, there are ways to get the information.. but i'm not really in favor of helping plagiarizers :) On Tuesday, April 23, 2013 5:39:38 PM UTC+3, Abhishek Soni wrote: I want to extract a piece of data from a quotes website and

[android-developers] Re: Is there any minimium number or cut off number to get crash report from app in Google Play's Developer's console

2013-04-23 Thread Piren
It's actually wise to register the account and upload the app as soon as possible. just to make sure the account name and app package are not used (if you like really generic package names :) ) either way, there's also no reason not to put it there since being in the market does not mean it is

Re: [android-developers] Maps api key v1?

2013-04-23 Thread Ian Ni-Lewis
You say that My career doesn't revolve around only Google, and I have other things to do than checking each x months if one API has been discontinuated and I need to develop everything again. We do occasionally need to update our software, and although we do try very hard to avoid breaking

[android-developers] Re: Text from webpage to textview

2013-04-23 Thread bob
Sounds like you will want to look at the Wiktionary sample: https://lh6.googleusercontent.com/-nwaRxyzVgzE/UXauOlZVzDI/AZU/e6pt-jjYyME/s1600/wiktionary.png Thanks. On Tuesday, April 23, 2013 9:39:38 AM UTC-5, Abhishek Soni wrote: I want to extract a piece of data from a quotes

[android-developers] Re: Launch Mode : singleTop FAILS on first time app start of signed build

2013-04-23 Thread Dritan
Thank you Piren and Andrei for your replies but neither seem to do the same job as singleTop :( SingleTop remembers which activity you were last on and always brings that up when launching from the icon. I have tried setting my application to android:allowTaskReparenting=true but that didn't

Re: [android-developers] Notifications and killed app

2013-04-23 Thread Larry Meadors
On Tue, Apr 23, 2013 at 9:10 AM, Piren gpi...@gmail.com wrote: I had the same notification issue, but i can't remember how i resolved it.. heh Now you're just teasing me. :-P Larry -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To

Re: [android-developers] Notifications and killed app

2013-04-23 Thread Larry Meadors
BTW, there is a foreground service here, and that service lives on. That's what I can't quite get my head around. The service is still running and our activity starts and binds to it. But when we call notificationManager.cancelAll(); from the service, it doesn't cancel the previously created

[android-developers] I uploaded a wrong apk and has pressed the publish button

2013-04-23 Thread Ken
Hi All, There is a versioning issue in my apk. The correct apk has a database upgrade (alter table add column). The incorrect apk has no such database upgrade but with a same version code. Now, I uploaded the wrong apk to google play and has pressed publish. I found I cannot remove the wrong

Re: [android-developers] Maps api key v1?

2013-04-23 Thread Latimerius
I'd say Google has multiple ways of announcing important changes, like this list, (the front page of) developer.android.com, G+, blogs etc. For breaking changes, ideally all of them should be used. I don't think Google has to rely on developers being registered in some way to communicate

[android-developers] Re: I uploaded a wrong apk and has pressed the publish button

2013-04-23 Thread bob
Why not *increment* the version code and version number and upload correctly? Thanks. On Tuesday, April 23, 2013 11:56:21 AM UTC-5, Ken wrote: Hi All, There is a versioning issue in my apk. The correct apk has a database upgrade (alter table add column). The incorrect apk has no

  1   2   >