[android-developers] Application Back button not working

2011-01-09 Thread Abhishek Talwar
Hi guys I made an application in my office and then i mailed it back to myself so that i could complete it on weekends. But a strange thing which has happened is that some part of the application is working and some are not. For ex the Back Button on other activities except the launcher activity

Re: [android-developers] Re: Making cross-thread blocking/sync calls

2011-01-09 Thread Kostya Vasilyev
08.01.2011 10:37, Bob Kerns пишет: Memorize this pattern! If you're using notify/wait, it should ALWAYS look something like this. Always - except unless you actually want to respect the meaning of InterruptedException and unwind the code around wait() to the caller, canceling the operation.

[android-developers] Re: Interaction with other apps

2011-01-09 Thread emafuma
Thanks for replying. I was wodering if it's not possible any kind on interaction with existing apps, I don't mean to modify them but just get data (maybe just adding a button to a menu) to feed my background app that can then process those data (mails, SMS) and show the result of its processing.

Re: [android-developers] Re: Interaction with other apps

2011-01-09 Thread Kostya Vasilyev
09.01.2011 11:34, emafuma пишет: I was wodering if it's not possible any kind on interaction with existing apps, I don't mean to modify them but just get data (maybe just adding a button to a menu) to feed my background app that can then process those data (mails, SMS) and show the result of its

[android-developers] Re: Google Nexus S - Please provide as DEV phone, asap :-)

2011-01-09 Thread RobBln
On 8 Jan., 21:25, Dianne Hackborn hack...@android.com wrote: That said, yes the dev devices are partly there to be a benchmark for how that platform is expected to behave. [...] I sometimes like to refer to them as Android reference devices. :) Don't you think reference devices should be

Re: [android-developers] HTTP parameter question

2011-01-09 Thread Brad Gies
Ok.. have you looked at UrlEncodedFormEntity ? Sincerely, Brad Gies --- Bistro Bot - Bistro Blurb http://bgies.comhttp://nocrappyapps.com http://bistroblurb.com http://forcethetruth.com http://ihottonight.com

[android-developers] What is the name of this widget?

2011-01-09 Thread MerlinBG
Hi, as the title says: I would like to reuse the widget in green on the attached picture, but I don't know it's name. It is part of the calendar application, used for setting time and date. Thanks. -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Re: Interaction with other apps

2011-01-09 Thread emafuma
Well, I was just trying to figure it out the way applications interact in Android. I'm concerned about security issues as well but I think there are even other custom email applications, so if a user chooses them instead of the default one that's because they trust them. My question was more

Re: [android-developers] Re: Interaction with other apps

2011-01-09 Thread Kostya Vasilyev
09.01.2011 12:58, emafuma пишет: My question was more about the feasibility of interactions between a mail app and another application I could develop. I'm guessing there are no way to communicate between them, am I right? This can be implemented the other way around. Define an interface for

[android-developers] Re: Making cross-thread blocking/sync calls

2011-01-09 Thread Nightwolf
Probably you just need some flag signaling that your hardware isn't ready. Rendering thread always runs without blocking, checks for this flag and do not do certain things (may be render function just returns right away). UI thread sets the flag and then rendering thread checks for it. On 9 янв,

[android-developers] Re: Change the background of an AppWidget

2011-01-09 Thread Pent
I have a similar problem, would be nice if there was a standard way to query the launcher for the widget dimensions for a particular cell width/height wouldn't it ? Pent On Jan 9, 12:38 am, Mark android.eggenst...@googlemail.com wrote: I want to set the background of an appwidget at runtime

Re: [android-developers] What is the name of this widget?

2011-01-09 Thread Kumar Bibek
This widget is not available in the Android SDK. You have to create your own, or try to find out if someone else has already created one. Kumar Bibek http://techdroid.kbeanie.com http://www.kbeanie.com On Sun, Jan 9, 2011 at 3:28 PM, MerlinBG merli...@gbg.bg wrote: Hi, as the title says: I

Re: [android-developers] Re: Change the background of an AppWidget

2011-01-09 Thread Kumar Bibek
9 patch pngs should solve you problem, if I understand your problem correctly. Kumar Bibek http://techdroid.kbeanie.com http://www.kbeanie.com On Sun, Jan 9, 2011 at 3:51 PM, Pent tas...@dinglisch.net wrote: I have a similar problem, would be nice if there was a standard way to query the

[android-developers] Re: Change the background of an AppWidget

2011-01-09 Thread Mark
They would, if there were a way to use them. As written in my Approach 2, I don't see a way to use any of the RemoteViews.set...() methods with a NinePatch. Do you? On Jan 9, 12:05 pm, Kumar Bibek coomar@gmail.com wrote: 9 patch pngs should solve you problem, if I understand your problem

Re: [android-developers] Re: Change the background of an AppWidget

2011-01-09 Thread Kumar Bibek
Oh, sorry about that. I missed those few lines. In that case, you might try setting the scale type of the image view to perhaps fitXY. But I guess, you would have tried that too. Any problems with that? Kumar Bibek http://techdroid.kbeanie.com http://www.kbeanie.com On Sun, Jan 9, 2011 at

[android-developers] Re: Change the background of an AppWidget

2011-01-09 Thread Mark
As written in my Approach 2, I don't see a way to use any of the RemoteViews.set...() methods with a NinePatch. As far as I see it only works with resource IDs which point to drawables in the apk. But I have files outside the apk. -- You received this message because you are subscribed to the

Re: [android-developers] Re: Change the background of an AppWidget

2011-01-09 Thread Kumar Bibek
I am not sure, but have you tried this method? http://developer.android.com/reference/android/widget/RemoteViews.html#setBitmap%28int,%20java.lang.String,%20android.graphics.Bitmap%29 Kumar Bibek http://techdroid.kbeanie.com http://www.kbeanie.com On Sun, Jan 9, 2011 at 5:21 PM, Mark

[android-developers] Re: Change the background of an AppWidget

2011-01-09 Thread Mark
Yes, this is my Approach 1. For that you also need to know the size, at least roughly. But it does not look nice because I can only assume the correct size so it will get stretched unevenly. Just using the emulators for 2.1 and 2.3 using the WVGA resolution I have a change from 480x678 to 480x633.

Re: [android-developers] MediaPlayer StreamVideo question.

2011-01-09 Thread Mark Murphy
Step #1: Use lowercase http in URLs. Step #2: Don't use an emulator, use hardware. Step #3: Make sure the extension matches the actual file format. Step #4: Use LogCat (via DDMS or adb logcat) to look at any warnings that might be emitted by the multimedia subsystem. On Sat, Jan 8, 2011 at

[android-developers] Re: Change the background of an AppWidget

2011-01-09 Thread Mark
setBitmap() I think I tried that already, but it's the same problem as using it with file URIs. It doesn't stretch properly because it's not a NinePatch, just a flat image. There is something mentioned about NinePatchChunk but I never saw anyone getting it to work. Assigning NinePatch PNGs via URI

Re: [android-developers] Accessing AudioManager within a class which extends BroadcastReceiver

2011-01-09 Thread Mark Murphy
BroadcastReceiver does not inherit from Context. AUDIO_SERVICE is a constant on Context. getSystemService() is a method on Context. Hence, you need to adjust your code to use the Context class and supplied Context object. On Sat, Jan 8, 2011 at 9:01 PM, rsnider19 rsnide...@gmail.com wrote: I am

[android-developers] Legal questions - protecting apps from being redistributed

2011-01-09 Thread brindy
Hi, I have a couple of free apps up on the Google Market Place but over the last few weeks I've seen those apps appearing on alternative market places. Even though they are free, I am not really happy about this because, amongst other reasons, I want the Google Market Place to be my central

Re: [android-developers] Legal questions - protecting apps from being redistributed

2011-01-09 Thread Mark Murphy
On Sun, Jan 9, 2011 at 7:03 AM, brindy bri...@brindy.org.uk wrote: I have a couple of free apps up on the Google Market Place but over the last few weeks I've seen those apps appearing on alternative market places.  Even though they are free, I am not really happy about this because, amongst

Re: [android-developers] android developer tablet?

2011-01-09 Thread Mark Murphy
On Sun, Jan 9, 2011 at 1:34 AM, peter petero...@gmail.com wrote: Are there any plans to release an android dev tablet like the nexus one? You will not know the answer to that until such a thing is announced. Such a thing has not been announced. Simply monitor the Android Developers blog, and

[android-developers] Re: Change the background of an AppWidget

2011-01-09 Thread Mark
The problem is it does NOT look good because the scaling is unpredictably uneven. 480/678 1:1.41 480/633 1:1.32 So what is round on one screen is elongated on an other. On Jan 9, 1:12 pm, Kumar Bibek coomar@gmail.com wrote: Hmm, IF you are generating the Bitmap at runtime, and setting it as

Re: [android-developers] Re: Change the background of an AppWidget

2011-01-09 Thread Kostya Vasilyev
It's really too bad there is no way to query widget cell size or use it as a sizing unit. -- Kostya 09.01.2011 15:17, Mark пишет: The problem is it does NOT look good because the scaling is unpredictably uneven. 480/678 1:1.41 480/633 1:1.32 So what is round on one screen is elongated on an

[android-developers] Re: Google Nexus S - Please provide as DEV phone, asap :-)

2011-01-09 Thread gjs
Hi I now have a Nexus S as well as a Nexus One. Nexus One has better back camera with zoom and more pixels. Nexus One has better framerate on my 2d game 58fps vs 52fps Nexus S. Nexus S has 2.3 vs 2.2 (not for long). Nexus S has front camera + gyro + nfc (nfc is not much use here without tags).

[android-developers] Re: First attempt at LVL Licensing

2011-01-09 Thread MarcoAndroid
Is it an existing app published before? Then make sure you have pressed Save. Also watch the version nr you are using. Some more pitfalls etc you can find here: http://ttlnews.blogspot.com/2010/11/my-experience-with-android-market.html On 8 jan, 23:55, Neilz neilhorn...@gmail.com wrote: More

[android-developers] Re: First attempt at LVL Licensing

2011-01-09 Thread Neilz
The app is new, and is a saved draft. I've just discovered a thread buried deep in this forum where a Google rep states that the testing only works with fully published apps (not drafts)... and that they would update the documentation to reflect this. That post was made in August, and the docs

[android-developers] TLS socket reuse hangs on device (works in emulator)

2011-01-09 Thread Derek
Hi all, We're trying to reuse an existing plain socket with TLS for FTPES purposes: SSLSocket socket = (SSLSocket) ssf.createSocket(_socket_, ip, port, true); and it hangs on: socket.startHandshake(); See full code snippet below. This code works fine on emulator (Android 2.2) but it fails on

[android-developers] Market console doesn't support Chrome

2011-01-09 Thread Eong
Hi, I installed Firefox and Chrome on my computer. I used to use FF to upload new apps into market. But I'm using Chrome to upload a new app today. I found the upload page doesn't work well in Chrome. I uploaded everything needed, but the page said no screenshots..etc.. Then I just open firefox

[android-developers] update app without deleting DB

2011-01-09 Thread Alex
Simple question : I published an app (2months ago). It uses a DB to retrieve information, and the user saves some parameters in the DB. Now, I want to update my app, that means : I want to put more information in the DB but without erasing parameters set by the user. How can I do that ? Thanks

Re: [android-developers] update app without deleting DB

2011-01-09 Thread Mark Murphy
On Sun, Jan 9, 2011 at 10:37 AM, Alex dalfga...@gmail.com wrote: Simple question : I published an app (2months ago). It uses a DB to retrieve information, and the user saves some parameters in the DB. Now, I want to update my app, that means : I want to put more information in the DB but

[android-developers] Re: RPC service with notification

2011-01-09 Thread Jackie G.
Kostya, Thanks for the advice I did as you have said and everything compiles. There is still a problem, however, the notification manager does not show the updates I am expecting. Here is my Service Impl public class AndroidServiceImpl extends IAndroidService.Stub{ public String

[android-developers] Re: MediaPlayer StreamVideo question.

2011-01-09 Thread Scott Deutsch
Ok, so now it streams the video. Thanks. But now the problem is, how can I put a buffering bar on top of the surfaceview so they know when it will play. Also, how can I make it so that it doesn't skip like crazy. Like check how muched buffered and if it is 10% resume play and if it catches

Re: [android-developers] Re: MediaPlayer StreamVideo question.

2011-01-09 Thread Mark Murphy
On Sun, Jan 9, 2011 at 11:20 AM, Scott Deutsch surger...@gmail.com wrote: Ok, so now it streams the video. Thanks. But now the problem is, how can I put a buffering bar on top of the surfaceview so they know when it will play. Use a ProgressBar. Put it and the SurfaceView in RelativeLayout,

Re: [android-developers] Re: RPC service with notification

2011-01-09 Thread Kostya Vasilyev
I don't see code in getAndroidText that would initialize notification. It should be something like: notification = new Notification(R.drawable.status_icon, Hello, System.currentTimeMillis()); And does getAndroidText really get called? You can verify by setting a breakpoint. -- Kostya

Re: [android-developers] SQLite Database Issues

2011-01-09 Thread Ilya Shinkarenko
I have the same strange story. Notably all the reports come from OTHER platforms. Will fix it with a retry after a small delay. On Fri, Oct 15, 2010 at 1:36 AM, Albert albert8...@googlemail.com wrote: Hi all, I can see from some user's logs that my app randomly gets the following

[android-developers] Re: First attempt at LVL Licensing

2011-01-09 Thread John Gaby
It has been my experience that LVL CANNOT be fully tested before publishing. Like you, I found that an unpublished app returns inconsistent results. If I set the response to denied, for example, on some phones I got the correct result, and on others I did not. After I published the app, it did

[android-developers] NoClassDefFoundError when starting an AIDL service

2011-01-09 Thread Lazarus 101
I have two projects, the first one has the aidl files and other classes that will be shared with the client aps, and the second one has the implementation for aidl. First project is set as a dependency for the second one, everything compiles just fine and run. But when I try to access the service

[android-developers] Re: TextView setCompoundDrawables inconsistent size

2011-01-09 Thread Henrik Lindqvist
I set the drawable using xml android:drawableBottom so setCompoundDrawablesWithIntrinsicBounds should be used. I've it now also tried setting it programmatically, same result. I'am going back to using nested LinearLayout's for label and button, this is to much of a hassle. On Jan 9, 4:04 am,

[android-developers] create mutable Bitmap directly from file/stream?

2011-01-09 Thread Matthew Fleming
Hi, I want to draw in a bitmap by creating a Canvas from it. Currently I use BitmapFactory.decodeStream() to load an immutable bitmap, do a bitmap.copy() to make a mutable copy, and then create the Canvas from the mutable copy. However, this means that I have two copies of the bitmap in memory at

[android-developers] Re: create mutable Bitmap directly from file/stream?

2011-01-09 Thread Streets Of Boston
I doubt there is, Matthew. I've been looking for this answer a long time. But if someone knows how to do this, this would be great! Please, let us know! :-) On Jan 9, 12:44 pm, Matthew Fleming mgf...@gmail.com wrote: Hi, I want to draw in a bitmap by creating a Canvas from it. Currently I

[android-developers] Re: onBufferingUpdate What is the progress argument

2011-01-09 Thread Dimitris
I believe it means that the MediaPlayer is currently buffering and the progress of buffering is indicated by the 'progress' variable. If it reaches 100 it means the MediaPlayer has buffered enough and it can continue playing... -- You received this message because you are subscribed to the

Re: [android-developers] What is the name of this widget?

2011-01-09 Thread MerlinBG
Not even internal? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For

Re: [android-developers] Market console doesn't support Chrome

2011-01-09 Thread TreKing
On Sun, Jan 9, 2011 at 9:05 AM, Eong eong.c...@gmail.com wrote: I don't know where I should report to, Market or Chrome? Based on their track record, my money would be on it being the Market being broken (you know, again). But I think both of them are from Google, right? They don't work

[android-developers] Re: RPC service with notification

2011-01-09 Thread Jackie G.
I set this in my Service onCreate method and then share it through a global variable. Should I create a new notification within the Impl.Stub class? Do I need to remove the old notification? Thanks again for all your help. On Jan 9, 11:35 am, Kostya Vasilyev kmans...@gmail.com wrote: I don't

[android-developers] Re: RPC service with notification

2011-01-09 Thread Jackie G.
Also double checked and it is hitting the breakpoint. On Jan 9, 11:35 am, Kostya Vasilyev kmans...@gmail.com wrote: I don't see code in getAndroidText that would initialize notification. It should be something like: notification = new Notification(R.drawable.status_icon, Hello,

Re: [android-developers] Re: RPC service with notification

2011-01-09 Thread Kostya Vasilyev
How are you creating notification ? 09.01.2011 22:33, Jackie G. пишет: Also double checked and it is hitting the breakpoint. On Jan 9, 11:35 am, Kostya Vasilyevkmans...@gmail.com wrote: I don't see code in getAndroidText that would initialize notification. It should be something like:

[android-developers] Re: Making cross-thread blocking/sync calls

2011-01-09 Thread Bob Kerns
Yes. The assumption here is that you are not interrupting it yourself (there's no need here), and someone else interrupting it would be bad. You could log it, but it's a rather remote possibility. If, on the other hand, you're making a library, you might want to take a different option at that

[android-developers] Re: First attempt at LVL Licensing

2011-01-09 Thread jtoolsdev
I first tested with the Android LVL example app and had no problems. Inconsistent results might be due to other things such as newer SDK emulators seem to need faster machines to run on and whether they are getting a reliable Internet connection. I had a devil of a time getting a 2.3 emulator to

[android-developers] Re: RPC service with notification

2011-01-09 Thread Jackie G.
private Notification notification; private static final int NOTIFICATION_ID=1; public void onCreate(){ super.onCreate(); NotificationManager currentManager = (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE); notification =

Re: [android-developers] Re: RPC service with notification

2011-01-09 Thread Kostya Vasilyev
onCreate looks good. A couple things jumped at me just now in your original code: Intent notificationIntent = new Intent(AndroidService.this,*AndroidServiceImpl.class*); The second parameter is not a class known to Android, so the Intent is not valid. Just because you can use a Java .class

Re: [android-developers] What is the name of this widget?

2011-01-09 Thread Dianne Hackborn
On Sun, Jan 9, 2011 at 11:22 AM, MerlinBG merli...@gbg.bg wrote: Not even internal? There is no such widget in the current platform, internal or external. -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time

[android-developers] howto receive all broadcast messages

2011-01-09 Thread A Curtis
Hello, According to the SDK documentation, it should be possible to create a BroadcastReceiver that receives all messages. It looks like you create an intent-filter with a blank activity entry. I have not been able to find an example of this. Can someone problem a sample? Also, is there a way

Re: [android-developers] What is the name of this widget?

2011-01-09 Thread Marcin Orlowski
On 9 January 2011 20:34, Kostya Vasilyev kmans...@gmail.com wrote: Someone wrote a component just like this for Android, and made it accessible - I believe it's somewhere up on Google Code, with sources. It's called something like iPhone style wheel. http://code.google.com/p/android-wheel/

[android-developers] SGS Lag while auto-brightness on?

2011-01-09 Thread miniondev
Hi there, Since the release of the game Squibble, we've had reports from some users with Samsung Galaxy S phones about fairly serious lag during gameplay. Not all SGS users report this, but a large number do - enough that it's clear that there is a real problem with the game on the SGS. One

Re: [android-developers] Re: Change the background of an AppWidget

2011-01-09 Thread String
On Sunday, January 9, 2011 12:30:07 PM UTC, Kostya Vasilyev wrote: It's really too bad there is no way to query widget cell size or use it http://developer.android.com/reference/android/appwidget/AppWidgetProviderInfo.html#minHeight String -- You received this message because you are

Re: [android-developers] Re: Change the background of an AppWidget

2011-01-09 Thread Kostya Vasilyev
That's not it, this is backwards - the widget telling the home screen its minimal size. The size here is specified in units that are independent of launcher version or its actual implementation (replacement). -- Kostya 10.01.2011 0:21, String ?: On Sunday, January 9, 2011 12:30:07 PM

Re: [android-developers] Re: Change the background of an AppWidget

2011-01-09 Thread Dianne Hackborn
This is not simple. Even for a single widget instance in a specific widget host, its dimensions can (and typically do) change slightly when the screen switches between landscape and portrait. On Sun, Jan 9, 2011 at 1:26 PM, Kostya Vasilyev kmans...@gmail.com wrote: That's not it, this is

[android-developers] Re: Change the background of an AppWidget

2011-01-09 Thread Mark
I am fine with that. I have different images and layouts for each orientation. But please tell me if there is a way to determine the exact size. Would be glad to have different values for portrait/landscape. On 9 Jan., 22:39, Dianne Hackborn hack...@android.com wrote: This is not simple.  Even

Re: [android-developers] howto receive all broadcast messages

2011-01-09 Thread Mark Murphy
On Sun, Jan 9, 2011 at 4:03 PM, A Curtis ajcurti...@gmail.com wrote: According to the SDK documentation, it should be possible to create a BroadcastReceiver that receives all messages. Um, no. It looks like you create an intent-filter with a blank activity entry. I have not been able to

Re: [android-developers] Re: Change the background of an AppWidget

2011-01-09 Thread Kostya Vasilyev
Exactly. Causing even more trouble if you're trying to make widgets that: - Fit into the home screen grid; - Look good; - Don't take up the entire screen width. Replacement home screens and different Android versions add even more uncertainty (Mark posted exact numbers on how 2.3 vs. previous

[android-developers] Waiting for debugger force close (when USB is not attached)

2011-01-09 Thread akay
Hi All, My app is in debuggable mode. On some occasions it crashes with the message: Waiting for debugger to attach... This happens when my Tmobile G2 is not attached to computer. When I plug inthe USB the message goes away. Does anyone come across this problem with their app? Regards, AK --

[android-developers] Re: What's new in honeycomb?

2011-01-09 Thread sblantipodi
I would like to know if our applications written for 2.2 and 2.3 tablets will work on honeycomb without modifications. On Jan 7, 1:27 am, Dianne Hackborn hack...@android.com wrote: On Thu, Jan 6, 2011 at 3:39 PM, sblantipodi perini.dav...@dpsoftware.orgwrote: Obviously this new android will

Re: [android-developers] Waiting for debugger force close (when USB is not attached)

2011-01-09 Thread Dianne Hackborn
Did you select your app to be debugged in the Development app preferences? (Same place you can set animation speed etc.) It is just that setting that causes an app to wait for a debugger (or being explicitly launched that way from adb like the dev tools do.) On Sun, Jan 9, 2011 at 2:06 PM, akay

Re: [android-developers] Re: What's new in honeycomb?

2011-01-09 Thread Dianne Hackborn
We try hard to not break apps in newer versions of the platform, as long as they are written correctly. On Sun, Jan 9, 2011 at 2:40 PM, sblantipodi perini.dav...@dpsoftware.orgwrote: I would like to know if our applications written for 2.2 and 2.3 tablets will work on honeycomb without

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

2011-01-09 Thread Xavier Ducrohet
Hi Tim, sorry for the delayed answer. On Mon, Dec 27, 2010 at 1:55 PM, Tim H. timho...@gmail.com wrote: Preview 2 is much improved - being able to drag views up and down the list (and into child layouts) is great, no need for the up/down button now. Again, can still use some work, but it's

[android-developers] Custom Keyboard for an App

2011-01-09 Thread Justin Glaeser
Hello, I have created a simple custom keyboard based of the SoftKeyboard Example in the Android SDK. Assuming the user allows the keyboard to be used, I would like the following behavior: My app: My keyboard All others: Default keyboard Is there any kind of intent-filter for my service I can

Re: [android-developers] Re: c2DM error when third-party server sends data to push

2011-01-09 Thread Nagaraj Ramarao
Hi Jose, No luck for me I guess. I remove the '\n' from the Auth= value and followed the advice you had given but I got the following response: Jan 9, 2011 6:18:47 PM org.apache.http.impl.client.DefaultRequestDirector handleResponse WARNING: Authentication error: Unable to respond to any of

[android-developers] Re: What is the name of this widget?

2011-01-09 Thread metal mikey
Why not use something that provides the same results, yet with a more intuitive user interface? i.e. DatePicker http://developer.android.com/resources/tutorials/views/images/hello-datepicker.png http://developer.android.com/resources/tutorials/views/hello-datepicker.html On Jan 10, 8:03 am,

[android-developers] Re: What's new in honeycomb?

2011-01-09 Thread Craig Mitchell
And you all have done a fantastic job at that. However, I'm not a fan of boxing an app for large screens. I would much prefer an app to be expanded to the full screen size and look a little pixelated, then only take up a small section of the screen. ...apologies that this comment is off topic.

[android-developers] Re: RPC service with notification

2011-01-09 Thread Jackie G.
Thanks so much for taking so much time to try and help me out. Here is how I create the Notification private Notification notification; private static final int NOTIFICATION_ID=1; protected Context context; @Override public IBinder onBind(Intent arg0) {

Re: [android-developers]How to Integrate cryptsetup package with android source code

2011-01-09 Thread TreKing
On Sat, Jan 8, 2011 at 6:47 PM, mahesh singh mahesh.cs2...@gmail.comwrote: i need help to solve these type of error . Try a group dedicated to building or modifying the source code. - TreKing

Re: [android-developers] Zoom on canvas.drawLine(), is that possible?

2011-01-09 Thread TreKing
On Sat, Jan 8, 2011 at 7:39 PM, kahken kah...@gmail.com wrote: How do I implement this? By doing a lot of math. And by programming. If you want a better, more detailed answer, you'll have to ask a better, more detailed question.

Re: [android-developers] Re: What's new in honeycomb?

2011-01-09 Thread Romain Guy
It depends on how your app is setup. Depending on how applications declare how they support multiple screens and densities the app might be boxed, scaled or simply fill the screen and rely on layout to look correct. On Sun, Jan 9, 2011 at 6:09 PM, Craig Mitchell craig...@gmail.com wrote: And

Re: [android-developers] Need help in using DRM protection module for a ebook reader project.

2011-01-09 Thread TreKing
On Sat, Jan 8, 2011 at 11:43 PM, sunil deshpande.su...@gmail.com wrote: So I want to know is there any already available module in Android SDK so that directly I can use the module. Nope, AFAIK. If some one has already used DRM module in their project, please send me sample code to use

Re: [android-developers] Application Back button not working

2011-01-09 Thread TreKing
On Sun, Jan 9, 2011 at 2:02 AM, Abhishek Talwar r.o.b.i.n.abhis...@gmail.com wrote: Did i do something wrong or is it android SDK ?? Without more information, if those are the options you're presenting, then you did something wrong.

[android-developers] Re: Launching an application from a email. Is that possible?

2011-01-09 Thread sdphil
interesting. so I made that call got the string back, and plugged that string into here -- a href=intent:#Intent;a...Test Link/a and it still tried to browse to that page within the browser... On Jan 8, 12:21 pm, Dianne Hackborn hack...@android.com wrote: There is no need to play

[android-developers] Re: Custom Keyboard for an App

2011-01-09 Thread Justin Glaeser
Thanks for the help. I would like to modify the keyboard for certain UI's within my app and inherent the functionality of the Android soft keyboard. Could you point me to any posts or documentation that might help? On Jan 9, 4:21 pm, Dianne Hackborn hack...@android.com wrote: Hi, no of this

[android-developers] resource not found when building application for passion

2011-01-09 Thread raja
Hi, I have a new application. If I build it for generic, and install it to the device, it works fine without any issue. If I build it for passion, it would show drawable resource not found when Inflating XML layout. Did I miss to set something? Thanks -- You received this message because you are

Re: [android-developers] Need help in using DRM protection module for a ebook reader project.

2011-01-09 Thread Sarwar Erfan
On Sunday, January 9, 2011 11:43:11 AM UTC+6, Sunil Deshpande wrote: Hi, I am trying to develop ebook reader application with DRM content protection for the each book downloaded. So I want to know is there any already available module in Android SDK so that directly I can use the module.

Re: [android-developers] Zoom on canvas.drawLine(), is that possible?

2011-01-09 Thread brian purgert
Yeah if you explain it better I bet I can answer your question because I'm doing alot of stuff like this right now. On Jan 9, 2011 9:36 PM, TreKing treking...@gmail.com wrote: On Sat, Jan 8, 2011 at 7:39 PM, kahken kah...@gmail.com wrote: How do I implement this? By doing a lot of math. And

Re: [android-developers] Zoom on canvas.drawLine(), is that possible?

2011-01-09 Thread brian purgert
Scale the entire canvas, On Jan 8, 2011 8:39 PM, kahken kah...@gmail.com wrote: Hi guys, I have a view object with series of lines drawn on it by using canvas.drawLine(). However, the lines were too big to be fitted on the screen. So, the lines have to be scaled down and user can zoom in and

Re: [android-developers] resource not found when building application for passion

2011-01-09 Thread TreKing
You really need to provide more information. Like the resource it's complaining about, how your files are laid out, and the layout in question, for starters. - TreKing

[android-developers] Does Market support installing multiple apks

2011-01-09 Thread xeagle
Hi, My application contains several apks. I'd like upload my app to android Market. If user download my app, can all of these apks be installed? Thanks! -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

[android-developers] Re: Does Market support installing multiple apks

2011-01-09 Thread Sarwar Erfan
1 apk per application please. -- 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

Re: [android-developers] resource not found when building application for passion

2011-01-09 Thread Kumar Bibek
I guess you are using some images/resources from the SDK. If the particular resource is not available on the device's build, you would get this error. Kumar Bibek http://techdroid.kbeanie.com http://www.kbeanie.com On Mon, Jan 10, 2011 at 8:57 AM, raja yunjung.ch...@gmail.com wrote: Hi, I

[android-developers] Re: Application Back button not working

2011-01-09 Thread Sarwar Erfan
You should look into your code and verify that you emailed yourself the latest code (and not a backup from few days earlier). If you believe that the code for the back button event is there but not working exists, manually open the file and find that code. If you can find it, put a break point

Re: [android-developers] Does Market support installing multiple apks

2011-01-09 Thread TreKing
On Sun, Jan 9, 2011 at 10:41 PM, xeagle xeagle...@gmail.com wrote: My application contains several apks. That doesn't make sense and I don't see how that's actually possible possible. I'd like upload my app to android Market. In the Android Market one app is represented by one APK file.

Re: [android-developers] Re: Application Back button not working

2011-01-09 Thread Robin Talwar
The code is there and is still running fine on my office machine. But on other machines it is not. The back button has simple intent call defined to the home.class. Its weird the code working on one machine and not on other On Mon, Jan 10, 2011 at 10:35 AM, Sarwar Erfan

Re: [android-developers] Re: NFC Secure Element

2011-01-09 Thread Ajith Kamath
Hi Nemik * I have small doubt with current implementation. Is SmartMX a Secure Element ?If so can you give me examples? * I have checked libnfc-nxp , enabling P2P parameter was at phnfcconfig.h. what needs to be done to enable Secure element? what are MifarePlus, Desfire, Topaz . Is it a Card

[android-developers] RTSP streaming with mediaplayer

2011-01-09 Thread mayank bisht
I am playing the media player on rtsp url its playing fine but it is not pausing and playing again and again.while if i am using VideoView to play the stream it paused but it is showing error in resume the video I am using samsung galaxy 3 with android 2.1.Can anyone help me please on this topic

[android-developers] Re: Application Back button not working

2011-01-09 Thread Zsolt Vasvari
Its weird the code working on one machine and not on other It sure is, but I am sure it's nothing that cannot be resolved with the use of the built-in debugger. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] Re: What is the name of this widget?

2011-01-09 Thread Zsolt Vasvari
I would think long and hard before putting such a widget in my app. IMHO, forcing the user to have to swipe a bunch to set a date is freaking annoying. Besides, you should probably try hard to make your app work without having to use the touch screen. Who knows in the future (hello, Google TV)

[android-developers] Re: resource not found when building application for passion

2011-01-09 Thread raja
Detail Description. I'm using Froyo source code base. The application is pretty simple, just few buttons. From the XML layout, using android:background attribute to set the background of the LinearLayout. The background image is a PNG file under the res/drawable, not using images under

Re: [android-developers] Re: What's new in honeycomb?

2011-01-09 Thread Dianne Hackborn
In fact since the APIs for this have been in the platform since 1.6, by the simple act of saying you are targeting 1.6 or later (with android:targetSdkVersion=4 or larger), you are telling the platform you know about different screen sizes and will get the full available space. You already see

[android-developers] Re: Change the background of an AppWidget

2011-01-09 Thread Zsolt Vasvari
I've been down the road with my widgets when I tried them on 2.3. I wasted about a week of my development time on this problem. Remember my thread? http://groups.google.com/group/android-developers/browse_thread/thread/6fa088c7640ca9b2/9bba78001843642b It's very frustrating that the widget

[android-developers] Re: NFC Secure Element

2011-01-09 Thread nemik
Ajith, According to http://discussion.forum.nokia.com/forum/showthread.php?199442-6212-device-how-to-work-with-the-secure-element the CN072 is a secure element in the Smart MX family. I'm not sure the same one is in the Nexus S, but I presume the one in there is at least very similar. Here is

Re: [android-developers] Re: What is the name of this widget?

2011-01-09 Thread Dianne Hackborn
One nice thing about using the standard widget is that if it improves you will automatically get the improvements. That said, the current standard widget pretty much sucks rocks. We also know it sucks rocks, and have desperately wanted to redo it since 1.0. It would be nice to fix that as part

  1   2   >