[android-developers] Learn DevOps - Mindmajix, New York

2017-09-01 Thread Sarah Johan
Measuring DevOps While DevOps Training may seem a simple integration of two teams, implementing and getting results from newly established DevOps roles and responsibilities is not an easy

[android-developers] Re: Must reboot Lollipop after write to external memory

2015-08-13 Thread Johan Appelgren
As I understand it you are supposed to notify the media database of any new files you add using http://developer.android.com/reference/android/media/MediaScannerConnection.html. Android itself will only update the media database automatically on boot. /Johan Den torsdag 13 augusti 2015 kl

[android-developers] Re: Examine the details of notifications?

2015-02-15 Thread Johan Appelgren
I think you can get most of that information with: adb shell dumpsys notification -- 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: Is it possible, that Android kills a service inside an app?

2014-12-05 Thread Johan Appelgren
What? Whether a Service runs in a separate process or not DOES NOT depend on whether you bind to it and/or start it using startService. That is only controlled by the process attribute, see http://developer.android.com/guide/topics/manifest/service-element.html#proc. On Friday, December 5,

[android-developers] Re: When/where should bindService/unbindService be called

2014-03-31 Thread Johan Appelgren
Why do you need to start the service at boot? That combined with what you write later about starting and stopping the service while your activity is running AND binding to it makes no sense to me. You're more likely to get a good answer if you explain more what you need the service for.

[android-developers] Windows 8.1 and adb problem

2013-10-21 Thread Johan Appelgren
How does it fail? Adb works fine on Windows 8.1 for me, tried with a Galaxy Nexus. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group,

[android-developers] Re: close on minimise application

2013-08-16 Thread Johan Appelgren
пользователь Johan Appelgren написал: You could have a timestamp set in onPause that you check in onCreate/onResume. If it has been too long redirect to your login activity. On Thursday, August 15, 2013 1:29:55 PM UTC+2, passer wrote: But how activity knows if user already authenticated. if I

[android-developers] Re: close on minimise application

2013-08-15 Thread Johan Appelgren
You could have a timestamp set in onPause that you check in onCreate/onResume. If it has been too long redirect to your login activity. On Thursday, August 15, 2013 1:29:55 PM UTC+2, passer wrote: But how activity knows if user already authenticated. if I use static variable isAuthenticated.

[android-developers] Re: HttpClient GC_Concurrent freed

2013-07-30 Thread Johan Appelgren
Have you tried analyzing your app with tools like ddms? http://developer.android.com/tools/debugging/ddms.html http://android-developers.blogspot.se/2011/03/memory-analysis-for-android.html On Monday, July 29, 2013 8:22:12 AM UTC+2, Kristoffer wrote: Hello. Iam having trouble with memory

[android-developers] Re: why we prefer Inexact Alarms ?

2013-07-17 Thread Johan Appelgren
Says why right there in the documentation. These alarms are more power-efficient than the strict recurrences supplied by setRepeating(int, long, long, PendingIntent), since the system can adjust alarms' phase to cause them to fire simultaneously, avoiding waking the device from sleep more

[android-developers] APK Re-Install Won't Clear Data

2013-07-05 Thread Johan Appelgren
Where do you store data and what version of Android do you test on? -- -- 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] Service is restarted after ANR, OutOfMemoryError, native crashes, etc inspite of Service.START_NOT_STICKY

2013-07-03 Thread Johan Appelgren
Do you bind to the service? -- -- 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] Re: Service onDestroy() not being called...

2013-05-03 Thread Johan Appelgren
In addition to binding to the service, do you use startService? If you do, you must also call stopService/stopSelf, just unbinding and calling stopForeground is not enough. On Thursday, May 2, 2013 9:07:07 PM UTC+2, Larry Meadors wrote: I have a bound service that I'm using to play audio.

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

[android-developers] Re: New activity when I lock my screen

2013-01-30 Thread Johan Appelgren
What error do you get? On Wednesday, January 30, 2013 11:48:59 AM UTC+1, Davide Moriello wrote: Hello, I'm developing an android app for some time now. Everything is going well. When I close my app with the home button and I reopen it there aren't any problems or crashes. But, when I have

[android-developers] Re: Knockoff copy of my app on Google Play.

2013-01-28 Thread Johan Appelgren
Just decompile, add ad activity, change manifest and recompile. Haven't tried but can probably be automated for most apps. -- -- 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] Re: How do you show 'Are you sure you want to quit' dialog?

2012-11-28 Thread Johan Appelgren
You'd probably want to persist data even if you have a confirmation dialog on back since the user might task switch or press home. -- 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] Re: newbie question: Open settings on desktop icon for wallpaper

2012-11-25 Thread Johan Wasserman
. Clicking the wallpaper under settings works perfectly with the activities defined as above. On Saturday, November 24, 2012 7:56:08 PM UTC+11, Johan Wasserman wrote: Hi, I wrote a live wallpaper and would like to open the settings when clicking on the App icon. It should still be set from

[android-developers] canvas.drawBitmap draws over screen image instead of replacing screen image

2012-11-25 Thread Johan
I have some strange behaviour when repainting the screen with my live wallpaper. I'm scaling an image and drawing it to the screen, but on each draw (as the image is scaled smaller than the previous draw), I can still see the previous image below the new image. How do I clear the previous

Re: [android-developers] canvas.drawBitmap draws over screen image instead of replacing screen image

2012-11-25 Thread Johan
in your canvas what's currently on screen but what was on screen a frame ago. The easiest way to clear the surface is to call canvas.drawColor(0, PorterDuff.Mode.CLEAR) (you can also use 0xff00, PorterDuff.Mode.SRC). On Sun, Nov 25, 2012 at 3:42 PM, Johan johan.w...@gmail.com javascript

Re: [android-developers] Re: newbie question: Open settings on desktop icon for wallpaper

2012-11-25 Thread Johan
to get the wallpaper icon back in the Apps folder I can test if it opens the Settings when I click on it. Always something aint there, lol. On Monday, November 26, 2012 12:35:51 PM UTC+11, TreKing wrote: On Sun, Nov 25, 2012 at 5:19 PM, Johan Wasserman johan.w...@gmail.comjavascript: wrote

Re: [android-developers] canvas.drawBitmap draws over screen image instead of replacing screen image

2012-11-25 Thread Johan
for all your great help! On Monday, November 26, 2012 12:53:20 PM UTC+11, Romain Guy (Google) wrote: You should avoid creating a new paint every time though, which is why I mentioned the drawColor() alternative. On Sun, Nov 25, 2012 at 4:57 PM, Johan johan.w...@gmail.com javascript: wrote

[android-developers] Re: newbie question: Open settings on desktop icon for wallpaper

2012-11-25 Thread Johan
:56:08 PM UTC+11, Johan wrote: Hi, I wrote a live wallpaper and would like to open the settings when clicking on the App icon. It should still be set from the settings page, but clicking the icon in the Apps page open the Settings for the wallpaper. This may be a handy shortcut to the live

Re: [android-developers] Re: newbie question: Open settings on desktop icon for wallpaper

2012-11-25 Thread Johan
=android.intent.action.MAIN / category android:name=android.intent.category.LAUNCHER / /intent-filter /activity On Monday, November 26, 2012 1:25:00 PM UTC+11, TreKing wrote: On Sun, Nov 25, 2012 at 8:57 PM, Johan johan.w...@gmail.com javascript: wrote: Only thing is, now the icon

Re: [android-developers] Re: newbie question: Open settings on desktop icon for wallpaper

2012-11-25 Thread Johan
, but I would like to open the preferences from the icon as a shortcut. On Monday, November 26, 2012 1:25:00 PM UTC+11, TreKing wrote: On Sun, Nov 25, 2012 at 8:57 PM, Johan johan.w...@gmail.com javascript: wrote: Only thing is, now the icon dissipated I can only access the wallpaper via

[android-developers] newbie question: Open settings on desktop icon for wallpaper

2012-11-24 Thread Johan Wasserman
Hi, I wrote a live wallpaper and would like to open the settings when clicking on the App icon. It should still be set from the settings page, but clicking the icon in the Apps page open the Settings for the wallpaper. This may be a handy shortcut to the live wallpaper settings instead of

[android-developers] Re: newbie question: Open settings on desktop icon for wallpaper

2012-11-24 Thread Johan Wasserman
Really? No one? And I thought this is the place where the clever people are to come for advice... On Saturday, November 24, 2012 7:56:08 PM UTC+11, Johan Wasserman wrote: Hi, I wrote a live wallpaper and would like to open the settings when clicking on the App icon. It should still be set

[android-developers] How to lock Live Wallpaper in Landscape?

2012-11-20 Thread Johan Wasserman
I'm really stuck on this issue and would appreciate any help very much. I have searched and tried everything I could find on this topic, and still have not been able to lock my Live Wallpaper to Landscape. An Earth map forms the basis of my wallpaper, so you can see why it needs to be oriented

[android-developers] Re: Get the calling thread's id

2012-11-19 Thread Johan Appelgren
You can get the thread id using Thread.getId() http://developer.android.com/reference/java/lang/Thread.html#getId() On Monday, November 19, 2012 10:14:27 AM UTC+1, AndroidCompile wrote: Hi, Is it possible to retrieve the id of a thread that called a certain function? (assuming this

[android-developers] Re: Remote resources

2012-10-31 Thread Johan Appelgren
Have you looked at using Multiple APKs? http://developer.android.com/guide/google/play/publishing/multiple-apks.html Wont solve the overhead of managing multiple builds, but at least you wont disperse social promotion. On Wednesday, October 31, 2012 2:35:11 PM UTC+1, Fran wrote: Hi there,

[android-developers] Re: MEDIA_MOUNTED broadcast not being recieved when Application is installed on SD card

2012-10-04 Thread Johan Appelgren
If you want your app to start at boot then you should not allow it to be installed on external storage. http://developer.android.com/guide/topics/data/install-location.html#ShouldNot On Thursday, October 4, 2012 1:58:22 PM UTC+2, Juned Khan wrote: How do i start my application on startup in

[android-developers] Re: Isolated database tests

2012-09-29 Thread Karl-Johan Jensen
Sorry for resurrecting the thread but I was unable to find answer other place than the docs. You can indeed make isolated database tasts by keeping a reference to your IsolatedContext and calling deleteDatabase(name). private DatabaseManager manager = null; private IsolatedContext isolate;

[android-developers] Re: Request to Separate Permissions for Read Phone State and Read Phone Identity

2012-08-17 Thread Johan Appelgren
For a lot of apps the life cycle events for activities are enough, no need bother with whether the user is in a call or not. And isn't the audio focus mechanism enough for most media/music apps unless you need to support API level 8? If you worry about IMEI, what about Wifi MAC? And what

Re: [android-developers] Non sticky service gets recreated (indefinetly?)

2012-08-12 Thread Johan Appelgren
service is listed there, it will show you what its current state is -- what is bound to it, whether it is started, etc. On Fri, Aug 10, 2012 at 2:26 PM, Johan Appelgren johan.a...@gmail.comjavascript: wrote: You're right that I'm not understanding something here, most likely

Re: [android-developers] Non sticky service gets recreated (indefinetly?)

2012-08-10 Thread Johan Appelgren
, it can't bring the service up beyond the background, so it doesn't count as a running process but a cached process. On Thu, Aug 9, 2012 at 3:09 AM, Johan Appelgren johan.a...@gmail.comjavascript: wrote: Ok, thanks. But shouldn't it (non-sticky service with no active connections, nothing

Re: [android-developers] Non sticky service gets recreated (indefinetly?)

2012-08-10 Thread Johan Appelgren
, onStartCommand); return START_NOT_STICKY; } @Override public void onCreate() { Log.d(TAG, onCreate); super.onCreate(); } } On Friday, August 10, 2012 8:39:46 PM UTC+2, Dianne Hackborn wrote: On Fri, Aug 10, 2012 at 12:17 AM, Johan Appelgren johan.a...@gmail.comjavascript: wrote: Still occupies some

Re: [android-developers] Non sticky service gets recreated (indefinetly?)

2012-08-09 Thread Johan Appelgren
. If you don't want it to stay created, either don't bind to it when you don't want it around, or don't use BIND_AUTO_CREATE so you aren't forcing it to remain created while bound to it. On Wed, Aug 8, 2012 at 10:46 PM, Johan Appelgren johan.a...@gmail.comjavascript: wrote: So

[android-developers] Non sticky service gets recreated (indefinetly?)

2012-08-08 Thread Johan Appelgren
If I have a simple service that returns START_NOT_STICKY in onStartCommand and I both start it explicitly (startService) and bind to it (bindService) in onCreate of my activity the service gets recreated after it has been killed over and over again. I unbind the service in onPause of my

Re: [android-developers] Non sticky service gets recreated (indefinetly?)

2012-08-08 Thread Johan Appelgren
connections to it with the Context.BIND_AUTO_CREATE flag. http://developer.android.com/reference/android/app/Service.html On Wed, Aug 8, 2012 at 1:52 PM, Johan Appelgren johan.a...@gmail.comjavascript: wrote: If I have a simple service that returns START_NOT_STICKY in onStartCommand and I

[android-developers] Re: HTTP Post works only on port 80 when on mobile network (Galaxy Nexus)

2012-07-23 Thread Johan Appelgren
Works fine using 3g on my Galaxy Nexus (stock, Android 4.1.1). Are you testing using the same carrier and APN settings on the Desire and Galaxy Nexus? I've had some issues with a bad carrier proxy that garbled non-port 80 traffic, fixed by removing the proxy from APN. On Sunday, July 15,

[android-developers] Re: Broadcast receiver not working in ICS

2012-07-13 Thread Johan Appelgren
To request a permission you have to use the uses-permission element. http://developer.android.com/guide/topics/manifest/uses-permission-element.html What you have done is require that the sender of the BOOT_COMPLETED intent has been granted the RECEIVE_BOOT_COMPLETED permission. Don't think

[android-developers] Re: Broadcast receiver not working in ICS

2012-07-13 Thread Johan Appelgren
To request a permission you have to use the uses-permission element. http://developer.android.com/guide/topics/manifest/uses-permission-element.html What you have done is require that the sender of the BOOT_COMPLETED intent has been granted the RECEIVE_BOOT_COMPLETED permission. Don't think

[android-developers] floating window with actionbar

2012-06-29 Thread Johan Bilien
Hi, I'm trying to place an activity in a floating window, with an action bar. Something similar to this: http://dl.dropbox.com/u/168185/floating-action-bar.jpg If I set the theme of my activity to Holo.Light.Dialog, getActionBar() returns null. If I create my own theme, inherit from

[android-developers] Re: When the android id can change

2012-06-28 Thread Johan Appelgren
If you mean ANDROID_ID then the documentation is pretty clear I think. A 64-bit number (as a hex string) that is randomly generated on the device's first boot and should remain constant for the lifetime of the device. (The value may change if a factory reset is performed on the device.)

[android-developers] Re: ICS don't give you a real multitasking.

2012-05-16 Thread Johan Appelgren
You probably have other apps installed with running services and manifest registered broadcast receivers receiving broadcasts pushing the fart apps out. As long as there is some memory free for non-service apps their processes are cached and reused just fine.

[android-developers] Re: ICS don't give you a real multitasking.

2012-05-16 Thread Johan Appelgren
been restarted, now open the other two apps, now return to browser, the page needs a refresh on every tabs. This is obviously a broken multitasking system. On May 16, 3:34 pm, Johan Appelgren johan.appelg...@gmail.com wrote: You probably have other apps installed with running services

Re: [android-developers] Long running Android service is getting recreated over and over

2012-05-10 Thread Johan Appelgren
On Thursday, May 10, 2012 1:30:02 AM UTC+2, Dianne Hackborn wrote: Yes well there is this meme spread by certain perhaps not unbiased entities that having multitasking at all, I mean doing multitasking like Android, is bad because it is intrinsically battery consuming. This is of course

[android-developers] Re: Directly accessing the e-mail app.

2012-04-12 Thread Johan Appelgren
What do you mean with default e-mail app? If the user has selected a default e-mail app the user wont get the chooser. If the user hasn't selected a default e-mail app the user will get the chooser. On Thursday, April 12, 2012 9:12:12 AM UTC+2, Put_tiMe wrote: How do I directly choose the

Re: [android-developers] Re: [Android - developers] Exponential Smoothing on Latitude and Langitude

2012-04-01 Thread agung wiguna johan
Hi David, thanks for your respond I already solved the problem here The problem's my mistake in a code at the smoothing formula, i use the wrong value Anyway, anybody here know about high pass filter? Thanks On Mon, Mar 26, 2012 at 5:51 PM, David Griffiths davi...@cordic.com wrote: Sorry, my

[android-developers] Re: How I disable GPS when i exit Application

2012-03-28 Thread Johan Appelgren
Afaik you should never use android.os.Process.killProcess or ActivityManager.killBackgroundProcesses. On Wednesday, March 28, 2012 7:50:40 AM UTC+2, Ankit Kasliwal wrote: Hello, I have problem in my application when i press exit i try to close all my activity but GPS running so how

Re: [android-developers] Re: How I disable GPS when i exit Application

2012-03-28 Thread Johan Appelgren
It is still the wrong thing to do. Just because the API allows you to do something wrong doesn't mean you have to do it. On Wednesday, March 28, 2012 10:41:04 AM UTC+2, Ankit Kasliwal wrote: Johan i use that command the it's working properly. On Wed, Mar 28, 2012 at 12:39 PM, Johan

Re: [android-developers] Re: How I disable GPS when i exit Application

2012-03-28 Thread Johan Appelgren
Kasliwal wrote: so can you tell me the process On Wed, Mar 28, 2012 at 2:25 PM, Johan Appelgren wrote: It is still the wrong thing to do. Just because the API allows you to do something wrong doesn't mean you have to do it. On Wednesday, March 28, 2012 10:41:04 AM UTC+2, Ankit Kasliwal

Re: [android-developers] Re: [Android - developers] Exponential Smoothing on Latitude and Langitude

2012-03-25 Thread agung wiguna johan
Hi jinja, thanks for the help I already tried with the fixed point but it still get me the wrong value Are there something filtering that we can use to filter latitude and longitude ? (except kalman filter) Sory for my bad english On Fri, Mar 16, 2012 at 12:17 AM, Jinja neiljmar...@gmail.com

Re: [android-developers] Re: [Android - developers] Exponential Smoothing on Latitude and Langitude

2012-03-15 Thread agung wiguna johan
Hi, thanks for all the input Right now i still don't have any solution for get the best latitude and longitude I want to use kalman filter at the first, but after read some paper and articles kalman filter is need the value from accelorometer Unfortunately my requirement for this application is

[android-developers] [Android - developers] Convert Decimal latitude longitude to Dms form

2012-03-15 Thread agung wiguna johan
Hi, can somebody tell me (and give sample code if possible) how to convert the decimal latitude longitude into DMS form? I already seach for this method, but i still have the problem to convert it. Thanks -- You received this message because you are subscribed to the Google Groups Android

Re: [android-developers] [Android - developers] Exponential Smoothing on Latitude and Langitude

2012-03-12 Thread agung wiguna johan
Can somebody help me ? I don't have idea what filtering that i can use to clean noise from latitude and longitude On Sun, Mar 11, 2012 at 3:46 PM, concave agung.wiguna.jo...@gmail.comwrote: Hi guys, i've a little problem here. I'm working with gps data, getting values every second and

Re: [android-developers] Re: [Android - developers] Saving Latitude and Longitude value

2012-03-10 Thread agung wiguna johan
, TreKing treking...@gmail.com wrote: On Wed, Mar 7, 2012 at 9:06 PM, agung wiguna johan agung.wiguna.jo...@gmail.com wrote: But when i running the program, it's take long to get the coordinates, That's GPS for you. and get force close at the end. Debug your app. How do you expect

[android-developers] Re: [Android - developers] Saving Latitude and Longitude value

2012-03-08 Thread agung wiguna johan
Update : I found the solution,but still getting error. Use 2 location variable to get the previous position before changed : public void onLocationChanged(Location newLocation) { prevLocation = currentPosition; currentPosition = new Location (newLocation); int lat1 = (int)

[android-developers] [Android-developers]

2012-03-08 Thread agung wiguna johan
Hi all I have an problem here. I was developing an map application, and it have feature to rotate the map when user changed direction. I know the easiest way to rotate it is, with the Orientation sensor. But for know, i need to rotate it without sensor. IMHO it's possible to rotating map with the

[android-developers] Re: On ICS, Stopped service can't receive an intent.

2012-01-30 Thread Johan Appelgren
You're probably running into this behavior introduced in Android 3.1 http://developer.android.com/sdk/android-3.1.html#launchcontrols -- 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] Re: Avoid android taking screenshot/snapshot of activity while going in background

2012-01-20 Thread Johan Appelgren
A quick search in this group gave me this: https://groups.google.com/d/msg/android-developers/363Au8CqdLY/UhsUnEgZViIJ http://developer.android.com/reference/android/view/WindowManager.LayoutParams.html#FLAG_SECURE -- You received this message because you are subscribed to the Google Groups

[android-developers] Re: Avoid android taking screenshot/snapshot of activity while going in background

2012-01-20 Thread Johan Appelgren
Did you try using the FLAG_SECURE flag? -- 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] Re: Is possible use AlarmManager to schedule run a Service

2012-01-19 Thread Johan Appelgren
Because all pending alarms for an app are removed when it is killed (force closed). So don't kill your app. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To

[android-developers] Sony Ericsson Smart Extension SDK for SmartWatch and Smart Wireless Headset pro

2012-01-10 Thread Johan Abramsson
see: http://developer.sonyericsson.com/wp/2012/01/10/new-smart-extras-announced-and-a-new-sdk-to-create-apps-for-them/ Feel free to drop comments and questions about the Smart Extensions SDK in this thread. We will monitor and try to answer questions as soon as possible. Kind regards /Johan

Re: [android-developers] Is it possible to have a static view common to various activities in the application?

2011-11-28 Thread Johan Rydenstam
It's possible. Create a Layout you would like to have in A,B and C. Then use include in each of the layouts. Example: include android:id=@+id/header layout=@layout/header android:layout_height=wrap_content android:layout_width=fill_parent/ On Nov 28, 2011, at 2:26

Re: [android-developers] Need Help in Options Menu

2011-11-25 Thread Johan Rydenstam
Several ways to do this. One solution is to have two XML files that defines the different menus. On Nov 25, 2011, at 9:19 AM, Kiran Kumar Kendole wrote: Hi Guys, I am trying to design a options menu. I tried it, working fine. But the problem , It is showing same options for all pages.

Re: [android-developers] Need Help in Options Menu

2011-11-25 Thread Johan Rydenstam
. Thanks, KIRANKUMARKENDOLE On Fri, Nov 25, 2011 at 3:23 AM, Johan Rydenstam johanrydens...@googlemail.com wrote: Several ways to do this. One solution is to have two XML files that defines the different menus. On Nov 25, 2011, at 9:19 AM, Kiran Kumar Kendole wrote: Hi Guys, I am

Re: [android-developers] Need Help in Options Menu

2011-11-25 Thread Johan Rydenstam
You can add and remove buttons programatically. Don't how by heart. Google it :) On Nov 25, 2011, at 10:43 AM, Kiran Kumar Kendole wrote: Thanks. It worked after using Intent. Any other way.. with using one XML file. Thanks, KIRANKUMARKENDOLE On Fri, Nov 25, 2011 at 4:07 AM, Johan

Re: [android-developers] OutOfMemoryError

2011-11-24 Thread Johan Rydenstam
Are you using different resources for the tablet (like hdpi?). I would check for memory leaks. There are tools you can use for this ( Eclipse memory analyzer) On Nov 24, 2011, at 9:51 AM, bob wrote: OutOfMemoryError I'm getting this OutOfMemoryError: 11-24 00:38:10.925:

[android-developers] Firewall rules. Subnets/IPs C2dm Alternativ

2011-11-22 Thread Johan Rydenstam
I have written a C2DM solution. However I need to setup firewall rules for the solution. In this case it is impossible to open up for URLs. And the service needs to access https://android.apis.google.com/c2dm/send and https://www.google.com/accounts/ClientLogin How can this be done? Are there any

[android-developers] Android 3.1 and Bluetooth HID

2011-10-24 Thread Johan Zander
The Android 3.1 Platform Highlights [1] states: To make the platform even better for gaming, Android 3.1 adds support for most PC joysticks and gamepads that are connected over USB or Bluetooth HID. Has anyone out there successfully got an Android application to communicate with a Bluetooth HID

[android-developers] Re: SE LiveView SDK Template app

2011-09-01 Thread Johan Abramsson
. Kind regards /Johan, Sony Ericsson Developer Support On Aug 21, 11:09 pm, PeLa perlarsso...@gmail.com wrote: Hi, I would like to develop apps that uses Sony Ericsson's LiveView device. I'm new to Android and Java, so my question my seem stupid. My experience is mainly C/C++ with Microsoft's MFC

[android-developers] Re: Need ideas on encrypting h.264 videos on Android

2011-09-01 Thread Johan Lindquist
, it would be open up a variety of options if the media player allowed for data to be provided as part of a set of callbacks, removing the reliance on support for various transports in the native layer itself. Cheers, Johan On Aug 12, 7:45 am, Daniel Drozdzewski daniel.drozdzew...@gmail.com wrote

[android-developers] Xperia™ active pressure sensor

2011-08-24 Thread Johan Abramsson
Hi, this is a news post to make note of this blog post by SonyEricsson Developer team: http://blogs.sonyericsson.com/wp/2011/07/26/get-your-apps-to-work-with-the-xperia%E2%84%A2-active-pressure-sensor/#more-3501 Questions regarding that blog post can be asked in this thread. Kind regards /Johan

[android-developers] Re: Sony Ericsson Xperia Active-barometer sensor spec ?

2011-08-24 Thread Johan Abramsson
Hi, Judging from the specs when I read them, the pressure sensor will fulfill your requirements when it comes to measurement frequency and the altitude range. I do however not think that it has the resolution of 10 centimeters in altitude. Kind regards /Johan, Sony Ericsson Developer Program

[android-developers] Unable to add window error in Android

2011-08-17 Thread Johan
I've tried different things, but I still keep the same error: android.view.WindowManager$BadTokenException: Unable to add window At this line: alertDialog.show(); Can you look at the code? public class Main extends Activity implements Runnable { private static final int STOPSPLASH =

[android-developers] Unable to add window error in Android

2011-08-17 Thread Johan
I've tried different things, but I still keep the same error: android.view.WindowManager$BadTokenException: Unable to add window -- token android.os.BinderProxy@40513880 is not valid; is your activity running? At this line: alertDialog.show(); Can you look at the code? /** Called when

[android-developers] Discrepancy between streaming data over localhost vs WIFI network interfaces on 3.0

2011-07-15 Thread Johan Lindquist
on how to resolve this? Binding to the WIFI address is of course OK in many cases but makes things a little tricky when on 3G. Any suggestions and or comments on this would be appreciated! Cheers, Johan -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] AppXplore

2011-07-14 Thread Johan Abramsson
/wportal/devworld/technology/android/analysis-tools/appxplore?cc=gblc=en Questions and comments can be put as a reply on this news thread. Kind regards /Johan -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

[android-developers] Re: Sony Ericsson EDK for Timescape

2011-07-13 Thread Johan Abramsson
player. It can, like before, also be used to create Timescape extensions for all Sony Ericsson Android phones. For further information please check this link: http://developer.sonyericsson.com/edk Questions can be posted to this thread. Kind regards /Johan Sony Ericsson Developer Program On Jul

[android-developers] Re: Sony Ericsson EDK for Timescape

2011-07-07 Thread Johan Abramsson
were not part of this Timescape version. However, if you or any other developer would like to develop an extension for email client extensions, you are welcome! Feel free to submit any further questions about the EDK here. Best regards, Johan On Jul 4, 10:16 pm, Rahul Popuri rahulpop...@gmail.com

[android-developers] Re: Image scaling on Sony Ericsson Xperia phone

2011-07-07 Thread Johan Abramsson
Hi, I am glad you liked the article, Andreas has done a really great job. I will forward your thoughts into the customer service organisation. Thanks for letting us know. Kind regards /Johan On Jul 6, 8:37 pm, Martin Sall maris.seiman...@gmail.com wrote: Really nice article. It is great

[android-developers] How to Adapt your apps for the new LiveSound™ hi-fi headset and the LiveDock™ multimedia station

2011-06-27 Thread Johan Abramsson
you can adapt your application to start as soon you connect the phone to LiveDock™. You can download the tutorial and sample code here: http://developer.sonyericsson.com/wportal/devworld/technology/smart-extras/connectlaunch?cc=gblc=en Kind regards /Johan Najat -- You received this message

[android-developers] Re: Image scaling on Sony Ericsson Xperia phone

2011-06-27 Thread Johan Abramsson
for any inconviniance. Kind regards /Johan On Jun 22, 10:07 am, Johan Abramsson johan.abrams...@sonyericsson.com wrote: Hi, Hard to get images scaled correctly for your application? Are your images too large and causing memory problems? Or are they scaled incorrectly with a poor user

[android-developers] Image scaling on Sony Ericsson Xperia phone

2011-06-22 Thread Johan Abramsson
shed some light on this topic. More data and a good sample project are found here: http://blogs.sonyericsson.com/wp/2011/06/13/how-to-scale-images-for-your-android%E2%84%A2-application/#more-2596 Comments and question ? Please direct them to this news thread. Kind regards /Johan -- You

[android-developers] Re: SE X10mini PRO message bug?

2011-05-16 Thread Johan Abramsson
provide us with a DDMS log from the time when the error occurs we can analyze it from there. Kind regards /Johan On May 13, 5:57 am, Johan Abramsson johan.abrams...@sonyericsson.com wrote: Hi, this is not something I know about from the top of my head - but I will check with development departments

[android-developers] Re: SE X10mini PRO message bug?

2011-05-12 Thread Johan Abramsson
Hi, this is not something I know about from the top of my head - but I will check with development departments. Kind regards /Johan On May 3, 12:20 pm, Mulder5 roman.ga...@gmail.com wrote: Hello I have the latest system update ( 2.1.1.A.0.6 ) and I have problems with concepts and sometimes

[android-developers] Re: Problem Sony Xperia Neo Camera zoom-support = false

2011-04-28 Thread Johan Abramsson
Hi, Your phone does give you a correct answer. Zoom in the Camera API is not supported right now. It will be supoprted in the 4.0.x.y.z Version of the phone software which will be released by SonyEricsson during late Q2 according to the present plans. Kind regards /Johan Sony Ericsson

[android-developers] Sony Ericsson EDK for Timescape

2011-03-31 Thread Johan Abramsson
the proper Android SDK Manager. Go ahead and download the documentation and the rest of the kit and try it out. Questions regarding this EDK or Timescape application as such can be sent to this thread. Please note that the EDK is applicable for 2011 products. Kind regards /Johan -- You

[android-developers] DownloadManager lack of functionality. Bug or intentional limitation?

2011-02-22 Thread Johan Alva
Hi, In gingerbread the public download api doesn't take care of duplicate filenames and also no download directory is automatically created. Are these behaviours intentional or just bugs? As it is now the application requesting a download must itself make sure: 1. That a download directory

[android-developers] Re: App closes on load (reported only on LG Ally and X10 mini)

2011-02-14 Thread Johan Abramsson
/android/developer-tools?cc=gblc=en ) Kind regards /Johan On Feb 3, 12:32 pm, fully degior...@gmail.com wrote: Hi My app has had a couple of complaints that it's not working with LG Ally nor the X10 mini, i created an emulator with a 480x800, 160 density which it doesn't run on, I'm unaware

[android-developers] Re: Orientation Problem in Camera.

2011-02-09 Thread Johan Abramsson
recommend to lock the activity in a orientation mode in the mean time. setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE); Good luck. /Johan On Jan 31, 1:27 pm, himen patel himen.pa...@gmail.com wrote: hi i am an android developer. i am making a camera application in android

[android-developers] Re: Optimal packaging of image app for various screen resolutions

2011-02-08 Thread Johan
Thanks Aleksandr and Sterling! Might be worth a shot! On Feb 8, 10:54 am, String sterling.ud...@googlemail.com wrote: I don't think I would recommend separate APKs, actually. That'll inevitably cause confusion and problems for your users, as well as splitting whatever userbase you have across

[android-developers] Optimal packaging of image app for various screen resolutions

2011-02-07 Thread Johan
Hi there, I'm working on an app which displays various images. I want to optimize this for the various screen resolutions. The MultiResolution (1) tutorial uses many resource qualifiers in the res folder to display the appropriate images for the various device resolutions, but how do you package

[android-developers] Re: Optimal packaging of image app for various screen resolutions

2011-02-07 Thread Johan
have write my own build scripts with something like AndroidAnt (http://code.google.com/p/autoandroid/wiki/AndroidAnt) or does anybody have another good build-your-own-android-build-script alternative? Cheers, Johan On Feb 8, 4:48 am, String sterling.ud...@googlemail.com wrote: Unfortunately

[android-developers] Re: Capture image with Intent

2011-01-27 Thread Johan Abramsson
: System.out.println(Result NOK); } } Kind regards /Johan On Jan 1, 7:55 pm, Nikola nikola1...@gmail.com wrote: New phones tested. Running on following phones: 1) SonyEricsson X8 (E15i) OS: Android 2.1 update 1 2) SonyEricsson X10i OS: Android 2.1 update 1

[android-developers] Re: Customized AnalogClock widget doesn't survive screen orientation change

2011-01-27 Thread Johan Abramsson
Hi Alexander, I am certainly not especially good at widgets, but in this case it looks as if you have some problems with the xml defiining either the widget or most probably the layout when going to landscape. Good luck /Johan On Jan 22, 9:05 am, Alexander Golikov agoliko...@gmail.com wrote

[android-developers] How to optimize an image app for various devices and screen resolutions

2011-01-12 Thread Johan
Hi there, I'm working on an app which displays various images. I want to optimize this for the various screen resolutions. The MultiResolution (1) tutorial uses many resource qualifiers in the res folder to display the appropriate images for the various device resolutions, but how do you package

[android-developers] Re: How to tell if phone is Android configured?

2011-01-03 Thread Johan Abramsson
Hi, What model is it ? What is it called ? Most current Xperias (x10/X10 mini/pro) are Android - but their are also two windows mobile ones, (X1 and X2) Kind regards /Johan On Dec 16 2010, 8:09 pm, MrUmunhum mrumun...@cruzio.com wrote: Hi group,  I just was given a phone that is said

[android-developers] Sony Ericsson LiveView™ micro display SDK upgrade is released

2010-12-20 Thread Johan Abramsson
to http://developer.sonyericsson.com/wportal/devworld/downloads/download/liveviewmicrodisplaysdk to get the latest version of the SDK. Best regards /Johan -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

  1   2   >