[android-developers] adding media controoler in audio

2012-07-05 Thread Sadhna Upadhyay
Hi everybody, can someone tell me how to add media controller in audio -- 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] adding media controoler in audio

2012-07-05 Thread HideCheck
Hi Sadhna As you can see. VideoView video = (VideoView)findViewById(R.id.videoview_id); video.setMediaController(new MediaController(this)); Best Regards, 2012/7/5 Sadhna Upadhyay sadhna.braah...@gmail.com: Hi everybody, can someone tell me how to add media controller in audio -- You

[android-developers] Re: inject long home key press

2012-07-05 Thread Ashwani Kumar
Check this link out: http://qatesttech.wordpress.com/2012/06/20/adb-shell-sendevent-sending-touch-like-events/ On Friday, April 17, 2009 4:23:45 PM UTC+5:30, klausfpga wrote: Hi Dianna, Thanks for your reply. In fact my problems are in fact even more basic. The command 'sendevent'

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

2012-07-05 Thread Doug
This isn't the right place for ADK discussion, but as far as I can tell, there is no place set aside for it! I killed a lot of today trying to get the 2012 ADK to work and was mostly frustrated. I'm on a Mac and I found the IDE installation instructions very much do not work and I could not

Re: [android-developers] Call the functions of *.SO from JAVA

2012-07-05 Thread HideCheck
Hi chainz #put .so file. eclipse project/libs/armeabi/xxx.so #add code private native void [method name](args..); static { System.loadLibrary(so file name); } Best Regards, 2012/7/5 chainz roid sangilikumar.muniya...@marudham.co.in: Hi everyone I'm working

[android-developers] How to display static google map on android imageview?

2012-07-05 Thread Remo
Hi All, I am new in android, I dont know how to display static google map on an imageview. Something similar to Whatsapp showing while share the location. How can I do this? From googly document i came to know that we need to pass the Url in image view. Please share the code to pass the Url

Re: [android-developers] How to get size of FrameLayout in my app?

2012-07-05 Thread HideCheck
Dear hktsang Size of the View can be obtained with onWindowFocusChanged Thanks 2012/7/5 hktsang hktsan...@gmail.com: Dear all, I've a problem by getting the width of FrameLayout in my app. when I use fl.getWidth(); {fl is already assign to FrameLayout} the result is 0. Can anyone teach me

Re: [android-developers] Call the functions of *.SO from JAVA

2012-07-05 Thread Vijay Krishnan
using java native interface,we can call the function in c or c++. On Thu, Jul 5, 2012 at 12:12 PM, HideCheck hidech...@gmail.com wrote: Hi chainz #put .so file. eclipse project/libs/armeabi/xxx.so #add code private native void [method name](args..); static {

Re: [android-developers] Showing a confirm dialog from the PreferenceAcivity

2012-07-05 Thread Simon Giddings
Thank you for your reply. However, this does not answer the main problem, which is - how to show a dialogfragment from a PreferenceActivity, which is not a fragment based activity ! On Wednesday, 4 July 2012 19:40:12 UTC+2, svins wrote: sorry, an On 4 July 2012 19:39, Gergely Juhász

[android-developers] Re: how to change background of an overflow menuitem

2012-07-05 Thread marcin kolonko
ok, i found a solution for my problem: link to a post in the ActionBarSherlock google group ok, i found a solution for my problem: [link to a post in the ActionBarSherlock google group][1] i've overseen this entry: `android:actionBarWidgetTheme` in the `Theme.Holo.Light.DarkActionBar` theme.

[android-developers] Re: Way to promote android apps.

2012-07-05 Thread Uwe Maurer
Try AppBrain Android App Promotion: http://www.appbrain.com/info/advertise It is based on Cost Per Install, so you only pay for an install of your app, not for clicks. On Thursday, June 21, 2012 8:37:33 PM UTC+2, nikunj wrote: Hi All, We are fairly new to app development and see that apps

[android-developers] Re: Find technology used for an app

2012-07-05 Thread Uwe Maurer
You can find a list of the most popular Android libraries here: http://www.appbrain.com/stats/libraries/dev It is sorted by usage and also shows example apps which use these libraries. On Monday, June 25, 2012 8:13:00 AM UTC+2, symet wrote: Hello Everybody, I am a newbie to app development

Re: [android-developers] Re: Android Text To Speech

2012-07-05 Thread Fabien R
On 04/07/2012 10:20, Deepa M wrote: Sir,how to 1. generate the wav file and use the MediaPlayer Did you read these pages ? http://developer.android.com/reference/android/speech/tts/TextToSpeech.html http://developer.android.com/reference/android/media/MediaPlayer.html -- You received this

Re: [android-developers] adding media controoler in audio

2012-07-05 Thread Sadhna Upadhyay
Hi, but i dont want to use video On Thu, Jul 5, 2012 at 11:59 AM, HideCheck hidech...@gmail.com wrote: Hi Sadhna As you can see. VideoView video = (VideoView)findViewById(R.id.videoview_id); video.setMediaController(new MediaController(this)); Best Regards, 2012/7/5 Sadhna

[android-developers] Error loading classes from dexified bundles (OSGi Knopflerfish on Android 2.3.7)

2012-07-05 Thread Med Chakib
Hello all, I'm currently working on a project in a part of which I need to port Knopflerfish OSGi framework to android and run some bundles in it. Some of the bundles work just fine, they're installed, active and working. Some others, however, are installed and active but fail to work properly

Re: [android-developers] Distributing an Android service as a jar

2012-07-05 Thread harsh
Hi, I hope everything went fine on that one. I am also doing something on similar lines. I have a wrapper android application which uses an android jar for communication. There is a functionality in wrapper app to exit itself. I need to stop the service and end stop activity too in the

[android-developers] slow. just a big complaint.

2012-07-05 Thread seveneves
this post is just a big complaint and a little bit doubt about why they can't make android better. i'm using mac book pro and eclipse. by the way, android software emulator is really slow. it's the level of violent. surely i pitched with many options. but it seems the android team gave up

[android-developers] NDK, encoding to JPEG

2012-07-05 Thread Sanchiski
With NDK, how to encode an int[] array of RGBA pixels into JPEG file? I read about the libjpeg, etc. but I cannot find any out of be box solution. does the NDK have any api to encode JPEG files? -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Week of calender view

2012-07-05 Thread jagadeeshbabu
Hi All, I have made calendar view ,now I have to make with week selection view can any one help me for this. -- 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] Re: Issues extending ListView in Android

2012-07-05 Thread Alex Belyaev
Hello Blake, Thank you for your reply! I really appreciate it. It looks like I didn't give enough details on my problem, so here is some more information. As I already mentioned, we have the following inheritance chain: CustomListView - ListView - AbsListView - AdapterViewT - ViewGroup - ...

Re: [android-developers] Showing a confirm dialog from the PreferenceAcivity

2012-07-05 Thread Kostya Vasilyev
DialogPreference, and Dialogs in general, work just fine on Android 3.* and 4.* And if you're asking about the compat library, AFAIK, ActionBarSherlock has a PreferenceActivity reimplementation that is compatible with the compat library's fragments. -- K 2012/7/5 Simon Giddings

Re: [android-developers] Re: Issues extending ListView in Android

2012-07-05 Thread Alex Belyaev
Hello svins, thank you for your comment! Currently I'm working on the very smooth scrolling of the large amount of images on all kinds of devices, so I need to understand every aspect of how ListView class works. Thank you, Alex -- You received this message because you are subscribed to the

Re: [android-developers] Adding build versions

2012-07-05 Thread Kostya Vasilyev
I wanted the same, and so made a few changes to Android's ant build scripts to extract the version name from the manifest and append it as a suffix to the apk name. ( along with some other stuff, like Market vs. non-Market, which use slightlity different code for updating and licensing, and are

[android-developers] How to set up android emulator for live face detection?

2012-07-05 Thread Viktor Brešan
I have an emulator running 4.1 Android. Virtual device is set up so that it has camera emulated by the web cam. This part works fine. However Camera.Parameters.getMaxNumDetectedFaces() always returns 0, meaning that face detection is not supported (though it works fine on static images).

Re: [android-developers] TransactionTooLargeException exception calling queryIntentActivities()

2012-07-05 Thread Mark Murphy
On Wed, Jul 4, 2012 at 11:25 PM, Bryan Ashby nuskoo...@gmail.com wrote: Thanks, I'll try the GET_* flags -- there are quite a few bits of information I can possibly trim out that way. Do you know of a way to measure the difference in underlying IPC payload sizes? Yeah, once you get below 1MB,

[android-developers] Re: TransactionTooLargeException exception calling queryIntentActivities()

2012-07-05 Thread RichardC
Have you looked at the Launcher source code for the various platform releases (source.android.com) ? On Tuesday, July 3, 2012 4:50:45 PM UTC+1, Bryan Ashby wrote: Part of my applications duties are to enumerate launcher activities -- to do this, I call PackageManger.queryIntentActivities().

Re: [android-developers] Android Carousel

2012-07-05 Thread Jorge Gil Royo
Problem solved. What happened was that I did not realize the resolution of the mobile screen, then the carousel buttons appear, but were covered by other layouts. Once adjusted the size and position of the buttons of the carousel, the buttons are displayed correctly. Thanks for the help!

[android-developers] Adding fancy volume controller

2012-07-05 Thread Sadhna Upadhyay
Hi everybode, can anyone tell me how to add fancy volume contrller ina ndroid. -- 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] call method after every 5 min

2012-07-05 Thread Rahul Kaushik
Hi, Can anyone pls tell me the best way to call an method after every 5 min (handler,timer),i googled and found handler.postdeleyd doesnt not guarntee to execute,timer hangs some time ,pls suggest me the way to call method after every 5 minutes Code snippet will be very useful Thanks -- You

[android-developers] Re: slow. just a big complaint.

2012-07-05 Thread Chris Stratton
On Jul 5, 5:12 am, seveneves freeander...@gmail.com wrote: this post is just a big complaint and a little bit doubt about why they can't make android better. i'm using mac book pro and eclipse. by the way, android software emulator is really slow. Yes, because it is emulating an arm

Re: [android-developers] call method after every 5 min

2012-07-05 Thread arun kumar
import java.util.Date; import java.util.Timer; import java.util.TimerTask; public class ClassExecutingTask { long delay = 10*1000; // delay in ms : 10 * 1000 ms = 10 sec. LoopTask task = new LoopTask(); Timer timer = new Timer(TaskName); public void start() {

[android-developers] Jelly Bean errors with LVL

2012-07-05 Thread H
Hi, been seeing some ACRA reports from users on Jelly Bean when my app runs the LVL code. In the LicenseValidator.verify() method, I perform this twice: sig.verify(Base64.decode(signature)) I do it once to check it returns true, and then I call it again to confirm it is still true (this gets

Re: [android-developers] Jelly Bean errors with LVL

2012-07-05 Thread Nikolay Elenkov
On Thu, Jul 5, 2012 at 9:26 PM, H m...@howardb.com wrote: Hi, been seeing some ACRA reports from users on Jelly Bean when my app runs the LVL code. In the LicenseValidator.verify() method, I perform this twice: sig.verify(Base64.decode(signature)) ... Caused by:

Re: [android-developers] call method after every 5 min

2012-07-05 Thread Rahul Kaushik
It gives an compile error Compiled from Timer.java (version 1.5 : 49.0, super bit) public class java.util.Timer { // Method descriptor #8 (Ljava/lang/String;Z)V // Stack: 3, Locals: 3 public Timer(java.lang.String name, boolean isDaemon); 0 aload_0 [this] 1 invokespecial

Re: [android-developers] Jelly Bean errors with LVL

2012-07-05 Thread H
Cheers Nikolay - thanks for the quick update, I'll try your suggestion and see if that cures it. Do you know if this has been reported on b.android.com - I've been checking it as normal but not noticed anything that sounds similar to this..? I presume bouncycastle implementation might go

Re: [android-developers] Jelly Bean errors with LVL

2012-07-05 Thread Nikolay Elenkov
On Thu, Jul 5, 2012 at 9:55 PM, H m...@howardb.com wrote: Cheers Nikolay - thanks for the quick update, I'll try your suggestion and see if that cures it. Do you know if this has been reported on b.android.com - I've been checking it as normal but not noticed anything that sounds similar to

[android-developers] Re: call method after every 5 min

2012-07-05 Thread skink
Rahul Kaushik wrote: Hi, Can anyone pls tell me the best way to call an method after every 5 min (handler,timer),i googled and found handler.postdeleyd doesnt not guarntee to execute,timer hangs some time ,pls suggest me the way to call method after every 5 minutes Code snippet will be

Re: [android-developers] Re: call method after every 5 min

2012-07-05 Thread Rahul Kaushik
Intent intent = new Intent(this, TimeAlarm.class); PendingIntent pendingIntent = PendingIntent.getBroadcast(this, 0,intent, PendingIntent.FLAG_ONE_SHOT); am.set(AlarmManager.RTC_WAKEUP,System.currentTimeMillis() + (1 * 1000), pendingIntent); TimeAlarm.class is insame life as other classs

[android-developers] Re: Adding custom enum states to an ImageButton

2012-07-05 Thread li lianyu
It's seems that currently Android doesn't support non-boolean state. You can verify it by adding another item with non-a state in selector pair. I assume Android evaluates true/false only by checking whether corresonding state attribute be in drawableState returned by onCreateDrawableState. On

[android-developers] What is the function of Intent.ACTION_PRE_BOOT_COMPLETED?

2012-07-05 Thread Abhishek Kumar Gupta
Hi all, I want to know the exact functionality of Intent.ACTION_PRE_BOOT_COMPLETED. Currently, my requirement is to complete the task before the completion of booting of the device i.e. before the call of Intent.ACTION_BOOT_COMPLETED. Can anyone guide me on how to proceed to fulfil the

[android-developers] charging mats

2012-07-05 Thread bob
Do any of you use those charging mats to save a little time charging your devices? I can't remember if those things mess with the micro-USB port on the phone. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

Re: [android-developers] What is the function of Intent.ACTION_PRE_BOOT_COMPLETED?

2012-07-05 Thread Mark Murphy
On Thu, Jul 5, 2012 at 9:53 AM, Abhishek Kumar Gupta akgaec2...@gmail.com wrote: I want to know the exact functionality of Intent.ACTION_PRE_BOOT_COMPLETED. There is no ACTION_PRE_BOOT_COMPLETED in the Android SDK. Receivers of this broadcast have to be part of the system firmware (thank

Re: [android-developers] charging mats

2012-07-05 Thread Mark Murphy
On Thu, Jul 5, 2012 at 9:54 AM, bob b...@coolfone.comze.com wrote: Do any of you use those charging mats to save a little time charging your devices? I can't remember if those things mess with the micro-USB port on the phone. This has nothing to do with this list, which is for developing

Re: [android-developers] Adding fancy volume controller

2012-07-05 Thread Dalvinder Singh
Have a look at: http://developer.android.com/design/building-blocks/seek-bars.html On Thu, Jul 5, 2012 at 5:20 PM, Sadhna Upadhyay sadhna.braah...@gmail.comwrote: Hi everybode, can anyone tell me how to add fancy volume contrller ina ndroid. -- You received this message because you

Re: [android-developers] Re: Java.Text.DateFormat returns wrong pattern for en-GB in Android 4.0.x

2012-07-05 Thread Edward Lin
That is correct. It happened on my Samsung Nexus 2 and ASUS Eee Pad (All those testing devices are using platform 4.0.x). Some other phones like Motorola Atrix (2.3.6) displayed date with en-GB correctly. All of those devices are purchased from US. As I mentioned in the previous email, the Code

[android-developers] Buttons do not display properly in Graphical Layout Editor (ADT r20 Helios Mac:)

2012-07-05 Thread Paul
Just updated to ADT 20 and none of the buttons in my layouts are displaying properly in the editor. Anyone else having the problem? Basically the buttons display with no background (no default grey button background as they used to). So if I add a new button to the layout it just shows as

[android-developers] Re: slow. just a big complaint.

2012-07-05 Thread Nobu Games
Learning the difference between emulator and simulator might help. And also not being in denial of reality. I don't think Android is to blame for your real problem. You need to find other clients. -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] that's a wrap?

2012-07-05 Thread bob
Is there seriously no option for enabling word wrap in Eclipse? I'm using a Magic mouse, and whenever my finger slides slightly left or right the screen moves horizontally against my will. -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Wide ListView horizontal scrolling?

2012-07-05 Thread kodlan
Hi, I have a wide ListView that I need to scroll both vertically (for new items) and horizontal (to display entire row). Is it a good idea to do something like the code below? What are other options if any? Thanks beforehand. HorizontalScrollView android:id=@+id/scrollview

[android-developers] Bitmap.createBitmap to make an immutable copy of subregion, changes bitmap config on 2.2?

2012-07-05 Thread Olof Hedman
Hi, I'm investigating a bug that I've so far only reproduced on a Samsung i5500 running Android 2.2. I'm first creating a bitmap using ALPHA_8 config, like so: Bitmap textBmp = Bitmap.createBitmap(textureW, textureH, Bitmap.Config. ALPHA_8); Then I want to make an immutable copy of a

[android-developers] Re: Buttons do not display properly in Graphical Layout Editor (ADT r20 Helios Mac:)

2012-07-05 Thread Paul
Ok, solved this by changing the layouts to use anything but API:9 Android 2.3.1 (which is what they were set to). On Thursday, July 5, 2012 10:50:36 AM UTC-4, Paul wrote: Just updated to ADT 20 and none of the buttons in my layouts are displaying properly in the editor. Anyone else having

Re: [android-developers] Re: slow. just a big complaint.

2012-07-05 Thread Kristopher Micinski
On Thu, Jul 5, 2012 at 10:54 AM, Nobu Games dev.nobu.ga...@gmail.com wrote: Learning the difference between emulator and simulator might help. And also not being in denial of reality. I don't think Android is to blame for your real problem. You need to find other clients. At the same time,

Re: [android-developers] What is the function of Intent.ACTION_PRE_BOOT_COMPLETED?

2012-07-05 Thread Kristopher Micinski
On Thu, Jul 5, 2012 at 9:53 AM, Abhishek Kumar Gupta akgaec2...@gmail.com wrote: Hi all, I want to know the exact functionality of Intent.ACTION_PRE_BOOT_COMPLETED. Currently, my requirement is to complete the task before the completion of booting of the device i.e. before the call of

[android-developers] Help with intent-filter

2012-07-05 Thread b0b
I've written an intent-filter to receive Picasa images shared from the Gallery app on Android 2.x (on 3+ it is not the same intent but this is a different topic): intent-filter action android:name=android.intent.action.SEND / category

[android-developers] Re: Android 4.1 Jelly Bean GIF Images Not Showing?

2012-07-05 Thread Josh F.
OK, this will be my last post on this one, but I certainly hope that Google will fix this in the future as I'm sure I'm not alone here. We have moved all images away from GIF and now everything works fine in our game. We will be releasing an update with the same once testing is completed.

Re: [android-developers] Wide ListView horizontal scrolling?

2012-07-05 Thread Justin Anderson
I have a wide ListView that I need to scroll both vertically (for new items) and horizontal (to display entire row). Is it a good idea to do something like the code below? I don't know if that will work... It might. Have you tried it? What are other options if any? I would try to redesign

Re: [android-developers] that's a wrap?

2012-07-05 Thread Justin Anderson
Is there seriously no option for enabling word wrap in Eclipse? Try asking on a forum dedicated to Eclipse... Not sure if you've noticed, but this forum is specifically for questions related to developing Android app using the Android SDK. How does word wrap in Eclipse fit into this? Thanks,

Re: [android-developers] Wide ListView horizontal scrolling?

2012-07-05 Thread kodlan
I don't know if that will work... It might. Have you tried it? It seems to work, but I don't know if thats a good idea to do so. Maybe that will cause some problems that I'm not aware of. I would try to redesign each row so that it doesn't have to scroll horizontally to display

[android-developers] Re: Issues extending ListView in Android

2012-07-05 Thread G. Blake Meike
On Thursday, July 5, 2012 2:53:14 AM UTC-7, Alex Belyaev wrote: Here are the sources of: ListView.java ... Those are publicly available sources! The source that would be most helpful is the source for CustomListView... -blake -- You received this message because you are subscribed

Re: [android-developers] Re: Issues extending ListView in Android

2012-07-05 Thread Justin Anderson
Out of curiosity, what are you trying to achieve by overriding layoutChildren() in your custom listview? Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Thu, Jul 5, 2012 at 9:35 AM, G. Blake Meike blake.me...@gmail.comwrote: On Thursday, July 5,

Re: [android-developers] Wide ListView horizontal scrolling?

2012-07-05 Thread Justin Anderson
Nope, redesigning is not an option. But thanks for the recommendation. You are welcome... As the developer you know what can and can't be done with your app, but if I (as a user) came across an app that had a listview that behaved in this way, I would probably uninstall it. Thanks, Justin

Re: [android-developers] Week of calender view

2012-07-05 Thread Justin Anderson
http://catb.org/esr/faqs/smart-questions.html Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Thu, Jul 5, 2012 at 3:25 AM, jagadeeshbabu mjagadeeshb...@gmail.comwrote: Hi All, ** ** I have made calendar view ,now I have to make with week

[android-developers] Re: Issues extending ListView in Android

2012-07-05 Thread Alex Belyaev
Hello Blake! Well, the source of CustomListView class is quite simple for now: package com.cghub.android.widgets; import android.content.Context; import android.util.AttributeSet; import android.util.Log; import android.view.View; import android.widget.ListView; public class

Re: [android-developers] Re: Issues extending ListView in Android

2012-07-05 Thread Alex Belyaev
Hello Justin! As I already mentioned in this topic, I'm trying to optimize the ListView for a large amount of images. Thank you, Alex четверг, 5 июля 2012 г., 18:39:34 UTC+3 пользователь MagouyaWare написал: Out of curiosity, what are you trying to achieve by overriding layoutChildren()

Re: [android-developers] Re: call method after every 5 min

2012-07-05 Thread G. Blake Meike
+1 Starting your own thread is broken: it won't work across process boundaries. G. Blake Meike Marakana The second edition of Programming Android is now on-line: http://shop.oreilly.com/product/0636920023005.do On Thursday, July 5, 2012 6:09:47 AM UTC-7, rahul kaushik wrote: Intent intent

[android-developers] Invitation to use Google Talk

2012-07-05 Thread Google Talk
--- You've been invited by Douglas Lang to use Google Talk. If you already have a Google account, login to Gmail and accept this chat invitation: http://mail.google.com/mail/b-a6fe5d5831-f1c97face8-s0ax-pQW_IGElyEV3V4Y_ywpN9U

[android-developers] Re: no audio from bluetooth sco earpiece

2012-07-05 Thread the_edge123
I found the solution :-) I posted it on SO: http://stackoverflow.com/questions/7212783/android-playing-sound-over-sco-bluetooth-headset/11348952#11348952 -- 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] Put 3D object on screen and manage its location

2012-07-05 Thread santy
Hi. I need to put a 3D object (obj, mtl or 3ds) on screen and see that image while I'm seeing camera view. That is easy but I need to manage the position of the object WITHOUT GPS signal, I mean, if I move the mobile phone I don´t have to see the object, only when I focus to the correct

Re: [android-developers] Bitmap.createBitmap to make an immutable copy of subregion, changes bitmap config on 2.2?

2012-07-05 Thread Romain Guy
It's an unfortunate bug that was fixed in 3.x or 4.x. On Jul 5, 2012 8:05 AM, Olof Hedman o...@illusionlabs.se wrote: Hi, I'm investigating a bug that I've so far only reproduced on a Samsung i5500 running Android 2.2. I'm first creating a bitmap using ALPHA_8 config, like so: Bitmap

Re: [android-developers] Re: NotificationManager, get methods

2012-07-05 Thread Sergey Tolkachov
Why there is no read methods in NotificationManager? Because an app can keep track of its own notifications, and an app should not have access to other apps' notifications. Because an app can keep track of its own notifications... It's not an answer. You can keep track of everything

[android-developers] Re: Put 3D object on screen and manage its location

2012-07-05 Thread Nobu Games
https://www.google.com/search?q=Android+Augmented+Reality -- 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] Re: NotificationManager, get methods

2012-07-05 Thread Justin Anderson
It's not an answer. Yes it is. Just because you don't like the answer doesn't mean it isn't an answer. But I don't really see any reason why NotificationManager.notify/cancel/cancelAll return void and not giving any indication my notifications. It's looks like a poor design for me. Well,

[android-developers] TS play with VideoView

2012-07-05 Thread Leonardo
Hi, I'm working on an application that needs to play videos in the format TS (transport strem), however, as the link http://developer.android.com/guide/appendix/media-formats.html,; I play with the codec H.264 AVC in version 3.0 + Android. However, I wrote a simple code to play a video file

[android-developers] Re: Put 3D object on screen and manage its location

2012-07-05 Thread santy
Yes, of course I´ve been looking for frameworks to do it and I´ve tried lookar, min3d and some more. I am sure that they can do what I need but I don´t know how to do it. I wrote here in order to find people who have already done what I want to do, so they can explain me how they did it or

[android-developers] Re: Put 3D object on screen and manage its location

2012-07-05 Thread Nobu Games
On Thu, Jul 5, 2012 at 12:47 PM, santy wrote: Yes, of course I have been trying with all the frameworks I have found (LooakAR, min3D...) and I am sure I can do what I need with them but I don´t know how. I wrote here in order to find someone who has done exactly the same I have to do

Re: [android-developers] Re: NotificationManager, get methods

2012-07-05 Thread Sergey Tolkachov
Ok, then suggest a method how to verify that notification exists. It's not so weird scenario to be able to check that some notification exists. On Thursday, July 5, 2012 8:51:25 PM UTC+3, MagouyaWare wrote: It's not an answer. Yes it is. Just because you don't like the answer doesn't mean

[android-developers] Re: TS play with VideoView

2012-07-05 Thread Leonardo
Sorry, the error was: *Cannot played video Sorry, this video cannot be played Em quinta-feira, 5 de julho de 2012 14h57min02s UTC-3, Leonardo escreveu: Hi, I'm working on an application that needs to play videos in the format TS (transport strem), however, as the link

[android-developers] Re: Issues extending ListView in Android

2012-07-05 Thread G. Blake Meike
Whoah. I've only had a minute or two to look at this but, for the moment at least, I'm baffled. G. Blake Meike Marakana The second edition of Programming Android is now on-line: http://shop.oreilly.com/product/0636920023005.do On Thursday, July 5, 2012 8:44:51 AM UTC-7, Alex Belyaev wrote:

Re: [android-developers] Re: NotificationManager, get methods

2012-07-05 Thread Mark Murphy
On Thu, Jul 5, 2012 at 2:02 PM, Sergey Tolkachov sergey.tolkac...@gmail.com wrote: Ok, then suggest a method how to verify that notification exists. Supply both contentIntent and deleteIntent, and track it yourself, as I originally described. You can also try FLAG_NO_CREATE with the

[android-developers] Re: Put 3D object on screen and manage its location

2012-07-05 Thread santy
Thank you very much Nobu. And is it possible to place the 3D object just to see the object with the camera on its position without using the GPS??? El jueves, 5 de julio de 2012 20:02:03 UTC+2, Nobu Games escribió: On Thu, Jul 5, 2012 at 12:47 PM, santy wrote: Yes, of course I have been

[android-developers] Re: Put 3D object on screen and manage its location

2012-07-05 Thread Nobu Games
With that device rotation matrix you can only rotate your objects around the screen, where the rotation center point is the center of the device. This is independent of GPS location coordinates, and as the name of that matrix suggests, it is really rotation only, not translation (moving around

[android-developers] Re: Put 3D object on screen and manage its location

2012-07-05 Thread santy
OK. I´ll try to do it. Thank you very much El jueves, 5 de julio de 2012 20:33:27 UTC+2, Nobu Games escribió: With that device rotation matrix you can only rotate your objects around the screen, where the rotation center point is the center of the device. This is independent of GPS

[android-developers] Supported Java packages for Android

2012-07-05 Thread Dev Guy
Hello, I am in the process of moving my C++ skills over to Java. Could someone point me to reference about what Java packages are supported by Android. This will help me focus on Java as it only applies to Android development. -- Kind Regards, Rajinder Yadav -- You received this message

[android-developers] Re: Supported Java packages for Android

2012-07-05 Thread Dev Guy
On Thu, Jul 5, 2012 at 2:45 PM, Dev Guy devguy...@gmail.com wrote: Hello, I am in the process of moving my C++ skills over to Java. Could someone point me to reference about what Java packages are supported by Android. This will help me focus on Java as it only applies to Android

Re: [android-developers] Re: NotificationManager, get methods

2012-07-05 Thread Sergey Tolkachov
Supply both contentIntent and deleteIntent, and track it yourself, as I originally described. You can also try FLAG_NO_CREATE with the getActivity() (or whatever) call to PendingIntent. In theory, if it returns null, there is no existing PendingIntent to be used, and therefore the

[android-developers] Re: activity looses ArrayList items

2012-07-05 Thread alex b
I saw the notice about the syncronization of the Vector type, but it didn't help me find a solution to the problem. What I believe i need to do is... lock the ArrayList, Vector whatever update the ArrayList unlock the ArrayList but I don't know how to accomplish this. On Tuesday, July 3,

[android-developers] Re: process.destroy() logging exceptions in ICS

2012-07-05 Thread elliotn
If anybody cares, I did find a workaround: ... finally { destroyProcess(process); } private static void destroyProcess(Process process) { try { if (process != null) { // use exitValue() to determine if process is still running.

[android-developers] Regarding Ping command in android

2012-07-05 Thread Iniyan P
Hi, Do we need super user permission to execute the following command in Android App Runtime.getRuntime().exec(ping -c + count + + host).getInputStream(); Thanks, Iniyan P -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

Re: [android-developers] Re: activity looses ArrayList items

2012-07-05 Thread Kostya Vasilyev
All activity lifecycle callbacks are invoked on the same, main, UI thread. 2012/7/6 alex b alex_bramb...@yahoo.com I saw the notice about the syncronization of the Vector type, but it didn't help me find a solution to the problem. What I believe i need to do is... lock the ArrayList,

[android-developers] Re: activity looses ArrayList items

2012-07-05 Thread alex b
I've isolated the problem and this has nothing to do with ArrayList or Vector and everything to do with Garbage Collector. Both of those are working fine exactly as I coded them when I run the code in an isolated activity. Apparently GC is destorying my activity and recreating it and my

[android-developers] Re: HELP! Google removed my app with millions of users!

2012-07-05 Thread isopropanol
ICS doesn't have a hard menu button anymore, so the menu button occupies a bar at the bottom of the screen on apps that expect it and don't have their own soft-button. The issue could be that people accidentally click the ad trying to hit the menu button (complete speculation), so placing the

[android-developers] null is the loneliest number

2012-07-05 Thread bob
I'm looking at this function in Activity: public Window getWindow () Since: API Level 1 Retrieve the current Window for the activity. This can be used to directly access parts of the Window API that are not available through Activity/Screen. Returns Window The current window, or null if the

Re: [android-developers] null is the loneliest number

2012-07-05 Thread Justin Anderson
Perhaps an activity that only launches another activity... There is a theme you can use when creating an activity that doesn't have a UI: android:theme=@android:style/Theme.NoDisplay Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Thu, Jul 5, 2012 at

[android-developers] Re: How to display static google map on android imageview?

2012-07-05 Thread lbendlin
InputStream is = (InputStream) new URL(url).getContent(); drawable = Drawable.createFromStream(is, YourAppName); i_Map.setImageDrawable(drawable); i_Map.setScaleType(ScaleType.FIT_XY); On Thursday, July 5, 2012 2:48:22 AM UTC-4, Remo wrote: Hi All, I am new in

[android-developers] How to improve performance for drawing with background image?

2012-07-05 Thread limtc
Hi, I have done a few painting apps and they all worked fine as long as I don't use background images. Once I added background image, the painting becomes sluggish. I have tried 2 methods of adding background image: - use setBackgroundDrawable - in the layout, I created an overlapping

[android-developers] Updating text in a DialogFragment

2012-07-05 Thread Raymond Rodgers
Hi folks, I've been searching for a solution to this problem for the last couple hours but haven't turned up a solution. I'm very new to using Fragments, but building an app based around the ViewPager in the support library. For the most part, I haven't had any problems, but I am running

[android-developers] Re: How to improve performance for drawing with background image?

2012-07-05 Thread Nobu Games
Did you also try drawing directly into the background image bitmap? Make it a mutable bitmap, wrap that bitmap into a Canvas object and use that instead. Maybe that speeds things up a bit, because Android doesn't need to blend two views / layers all the time. -- You received this message

Re: [android-developers] Re: Adding custom enum states to an ImageButton

2012-07-05 Thread Dianne Hackborn
Yes this must be booleans. There is no way to express anything else in StateListDrawable. On Thu, Jul 5, 2012 at 6:21 AM, li lianyu ice...@gmail.com wrote: It's seems that currently Android doesn't support non-boolean state. You can verify it by adding another item with non-a state in

[android-developers] Re: How to improve performance for drawing with background image?

2012-07-05 Thread limtc
Hi, Can you points me to any codes I can read regarding setting up background this way? Thanks! On Friday, July 6, 2012 10:09:08 AM UTC+8, Nobu Games wrote: Did you also try drawing directly into the background image bitmap? Make it a mutable bitmap, wrap that bitmap into a Canvas object

[android-developers] What is the max length of the purchaseToken field in the returned JSON of a subscription item (In-App Billing API 2)

2012-07-05 Thread fiber
Hi All, I am trying to find out what is the maximum length of the purchaseToken field within the returned JSON string when a subscription item is purchased through the In-App Billing? This new field was introduced recently with the support of in-app subscriptions. I am saving that field in a

  1   2   >