Re: [android-developers] back arrow

2012-05-23 Thread TreKing
On Wed, May 23, 2012 at 12:19 AM, jadranko bodiroga jadrankobodiroga1...@gmail.com wrote: In my app a make button which is function to open item which has been open before that-back button...but i whant to implement that function in button on android phone...button looks like arrow...

Re: [android-developers] Cannot build my apps after upgrade

2012-05-23 Thread TreKing
On Tue, May 22, 2012 at 11:32 PM, Chibuike Mba chibe...@gmail.com wrote: The error message I do get is Your project contains error(s), please fix them before running your application. What are the errors it reports? Have you tried fixing those?

Re: [android-developers] Re: factory data reset in source code?

2012-05-23 Thread Kristopher Micinski
But this asks the user, right, you can't programatically just wipe everything without input, correct? kris On Wed, May 23, 2012 at 1:40 AM, Dianne Hackborn hack...@android.com wrote: You can do this by writing a device administrator:

Re: [android-developers] back arrow

2012-05-23 Thread Jason Teagle
In my app a make button which is function to open item which has been open before that-back button...but i whant to implement that function in button on android phone...button looks like arrow... In your the activity you launch from your first button: @Override public void onBackPressed() {

Re: [android-developers] Cannot build my apps after upgrade

2012-05-23 Thread David Olsson
Check as Treking said the error logs in eclipse. One problem I have read about and found out myself after updating is that the debug key somehow expires. But that is stated in the error log too. On Wed, May 23, 2012 at 8:08 AM, TreKing treking...@gmail.com wrote: On Tue, May 22, 2012 at 11:32

[android-developers] Incorrect pointer count in onInterceptTouchEvent?

2012-05-23 Thread Andreas
I have a scenario where a parent view should handle multi touch events, but it's children should handle single touch events. Hence, I override public boolean onInterceptTouchEvent(MotionEvent ev) in the parent in order to intercept any events that are considered as multi touch (getPointerCount()

[android-developers] RelativeLayout clips children despite being set not to do so.

2012-05-23 Thread Matías Laíno
Hello, I'm very new to Android and trying to develop an app. I have a FrameLayout, which hosts an ImageView, loaded with a scaled image, and a RelativeLayout which hosts a number of ImageButtons. The idea is for the ImageView to display a map, and the RelativeView to have a number of buttons

[android-developers] actionbar fragment tabs

2012-05-23 Thread dkg432
Hi, I want to develop an application (in honeycomb) which has three fragment tabs in the action bar: SHARE, HOME, HELPLINE. (This part is done). When i should click on the fragment SHARE, i should see two buttons: SHARE VIA EMAIL and SHARE VIA FACEBOOK. when i click on either of the buttons i am

[android-developers] Setting up email app with android emulators

2012-05-23 Thread Intern Mint
hi, I am trying to develop an application that sends email on users behalf. for that the email app with the emulator needs to be set up with a valid email. when i try to do that, it gives me an error that could not establish connection with the server i have tried several different things but i am

[android-developers] Making ListView item invisible while long press

2012-05-23 Thread Cronosis
I am trying to make my view item in my ListView invisible while the long press on the view item is activated. I am expecting a black slot to be shown after the view disappearing. But instead of having a black slot, the view became invisible and leave a solid grey color behind. It only fade off to

[android-developers] .net compact framework support in android

2012-05-23 Thread Ventanas
I know that there is the Mono droid project in order to run c# and vb.net apps in android, but I am looking for something of more compatible with existing .net compact framework applications, the ones that want to create windows forms, for example. does anyone if there is an open source project

[android-developers] onPeriodicNotification(AudioRecord recorder) is never called

2012-05-23 Thread Ji Zhoubo
Hi, I am doing a simple app to record a wav file. In my codes, I use onPeriodicNotification function (wait for notification to write to file). However, this function is never called. Please help me. Below is my code regarding this function. private AudioRecord.OnRecordPositionUpdateListener

[android-developers] Problème d'exécution

2012-05-23 Thread Adnan Amara
j'ai essayé de développer une application de guidage touristique , mon projet ne contient pas des erreurs mais lorsque j'ai lancé l'exécution il y à lieu d'un message d'erreur The application has stopped unexpectedly -- You received this message because you are subscribed to the Google Groups

[android-developers] Re: How to convert .swf to .apk ?

2012-05-23 Thread Duco Infinitum
I don't believe you can do a simple conversion from an AIR app to Android. You'll probably need to port the entire project: http://www.adobe.com/newsletters/inspire/august2010/articles/article1/index.html?trackingid=HRTDI On Monday, July 5, 2010 4:15:25 AM UTC-4, VENU GOPAL wrote: Hi

[android-developers] Database access.

2012-05-23 Thread Laxmihari
Hello everybody , I've just started Android application development only for my use. I succeed to develop small apps. Now, I'm trying to enhance my android development skills further and want to access central MySql database server from my android tablet / phone, like adding, deleting,

Re: [android-developers] Android ADK Arduino 1.0 compability

2012-05-23 Thread Katsumi ISHIDA
Hi Jens ADK Study Group Tokyo provides an alternative ADK library which is compatible to Arduino IDE 1.0 too. https://github.com/ADKstudyGroupTokyo/Yaoadk/ It may help you, I think. 2012/5/12 jenosch jens.grub...@gmail.com: When can we expect the Android ADK

[android-developers] android application development

2012-05-23 Thread AKASH PRIYADARSHI
I want to write a code for my application which blocks user from accessing all the other resources till my code is running . someone please suggest me any code module or concept to achieve this task. -- You received this message because you are subscribed to the Google Groups Android

[android-developers] E-mail the source code for that app ?

2012-05-23 Thread Mhamed HLIOUI
Hi, well I'm developing an app where I download information from the server (like contact, address, names..) and every time I must synchronise with the DataBase so this information will be accesible offline. I'm using Gson to convert from json to Objects and OrmLite to synchronise the database.

[android-developers] Re: Pasar de una pantalla a otra

2012-05-23 Thread colitere
En el evento del boton (OnClick) llamas la proxima activity. El metodo para empezar la activity es startActivity(intent); Debes tener ambas actividades registradas en el Android Manifest. Lee sobre Activity, Intent, Android Manifest. -- You received this message because you are subscribed

[android-developers] How to detect a busy signal

2012-05-23 Thread geo
Hello! I know that currently the Android SDK does not support detecting a busy signal, but there are applications that detect this signal. Can you give me ideas on how to do it? Thank you! geo -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Android Browser has a problem for play list with HTML5 Audio in background mode

2012-05-23 Thread Nohyun Kwak
I want to make Radio Web App Android-browser-based. The key function for my Web App is continuously playing music-list (mp3 files) ... JavaScript Code is simple ... And it works well in PC Browser, iOS safari, and Android Dolphin Browser (3rd party browser)...

[android-developers] Marking places in android app not on the 'Google Places' database

2012-05-23 Thread Kangkan
I want to add markers on map for my android app. I do know how to do it (overlay items). *My question is:* Since I am manually putting markers on points(on the map) whose lat/long's I already know, I want to know if there is any way to get the exact latitude and longitude of a place on google

[android-developers] Re: Hybrid apps android

2012-05-23 Thread Duco Infinitum
If by hybrid you mean combining two different applications, look into Intents and Intent Filters.http://developer.android.com/guide/topics/intents/intents-filters.html If you want to use two different languages, look into using the NDKhttp://developer.android.com/sdk/ndk/overview.htmlfor C/C++

[android-developers] Shoutcast service help sending to mediaplayer

2012-05-23 Thread Johnh10000
Hi folks, with the help of The Code Project and a Android Developers member I have cobbled together this little shoutcast recorder. I was wondering if you may be able to help me improve it. What I need it to do now is send the stream to a socket, I think for mediaplayer to pickup the stream

[android-developers] Does Android 3.x and up support https connections on ports other than 443?

2012-05-23 Thread melo
Hello, my question: Does Android Browser or the Android WebView support https on ports other than 443, e.g. 447? I have some html resources hosted on a server, accessible using https but on port 447, so my urls look like this: https://my.domain.com:447/path/to/resource.html My application

[android-developers] Multishots in android

2012-05-23 Thread Saurav Aran
Hi all, I've been trying to take two pictures with the difference of just fractions of seconds ( multiple photos in 1 second). I've been stuck on this problem since a long time. I tried these two things and yet unable to succeed: 1) Calling two takePicture(...) methods simultaneously but it

[android-developers] FWD :Retrieve OMXClient from libstagefright.so

2012-05-23 Thread tang
it doesn't show, try again. Hi All, I want to check out the OMX interface from libstagefright, one thing I found in googling result is to dlopen('libomx_sharedlibrary), but I cannot find the libomx_sharedlibrary.so in the system/lib folder. I tried to dlopen('libstagefrighthw.so as AWPlayer

[android-developers] gain OMX access from native shared library

2012-05-23 Thread tang
Hi All, I want to check out the OMX interface from libstagefright, one thing I found in googling result is to dlopen('libomx_sharedlibrary), but I cannot find the libomx_sharedlibrary.so in the system/lib folder. I tried to dlopen('libstagefrighthw.so as AWPlayer does, but the call will hang

[android-developers] Retrieve OMXClient object from libstagefright.so

2012-05-23 Thread tang
Hi All, I want to check out the OMX interface from libstagefright, one thing I found in googling result is to dlopen('libomx_sharedlibrary), but I cannot find the libomx_sharedlibrary.so in the system/lib folder. I tried to dlopen('libstagefrighthw.so as AWPlayer does, but the call will hang

[android-developers] Testing with ActivityInstrumentationTestCase

2012-05-23 Thread Marco@worldcorp
Hi all i am trying to write some tests for my Android Application I have couple of tests which extends ActivityInstrumentationTestCase2 and runs just fine. I wanted then to test one of my Activities in isolation.. so i wrote a test which extends ActivityUnitTestCase THis is my test

[android-developers] Microphone configuration with android Emulator

2012-05-23 Thread icebrk
Hi all I am developing an application that take in a voice record as an input using a microphone, however I get error from the emulator stating that the device is not detected. When I run the app on my device which is my Android Phone it works perfectly. what I would like to know is whether this

[android-developers] Re: Thread usage

2012-05-23 Thread Ravi Paduchuri
Posting again as my previous reply is not showing Hi Sujit, Use the following command from the console adb shell top -t If you want to see for one process, use the following adb shell top -t | grep android.process.media [Here i have taken android.process.media as an example] Thanks Regards,

[android-developers] Re: Thread usage

2012-05-23 Thread Ravi Paduchuri
Hi Sujit, Use the following command from the console adb shell top *-t* If you want to see the status of a specific process thread's, give a command like the following adb shell top -t | grep android.process.media here i have taken android.process.media process as an example. Thanks

[android-developers] Maximum data for EditText

2012-05-23 Thread mr look
What is the max data an EditText box can hold before it breaks? Is there some kind of hard limit, or does it depend on the memory of the phone and available stack size, and can you set it? Does it act like a FIFO when this limit is reached, does it crash, or does it just block incoming data. I

[android-developers] Re: Does Android support Multi-touch monitors like Acer T231Hbmid?

2012-05-23 Thread Yurij Mikhassiak
hi, I see Acer T231Hbmid is supported by ubuntu out of the box so i think it will be supported by android as touchscreen support depends on common linux kernel. you can read some info here: http://lii-enac.fr/en/architecture/linux-input/multitouch-android-howto.html

[android-developers] Launching settings from notification bar does not dismiss keyguard

2012-05-23 Thread sarath
Hi All, On ICS, when slide lock is set, and there is a valid sim in the phone, the notification bar is accessible for dragging. On this notification bar, clicking on any notification launches the app corresponding to it, by dismissing the keyguard. However, when we click on Settings icon on the

[android-developers] ThumbnailUtils createVideoThumbnail issue.

2012-05-23 Thread umiii
Hi, This is something weired issue. I have a video file in sdcard (say mp4 or 3gp). I can create a thumbnail of it using ThumbnailUtils.createVideoThumbnail(/sdcard/test.mp4, MediaStore.Images.Thumbnails.MINI_KIND). But the issue is if I copy the file(lets say /sdcard/copied.mp4) and try

[android-developers] Re: FTDI USB issue

2012-05-23 Thread Václav Klecanda
Hello, I have the same issue. Have you already solved it? Thanks On Tuesday, 21 February 2012 12:03:10 UTC+1, ajay wrote: Hello Everyone, I'm trying to usb an FTDI USB chip on Android following the instructions at: http://www.ftdichip.com/Android.htm

[android-developers] Android WebView never finishes loading HTML page

2012-05-23 Thread rhansen
We are developing an applictation with HTML5 and JavaScript. On Android 2.x devices there doesn't seem to be any problem. Everything works as expected. But on Android 3.x and 4.x tablets we cannot make it running. Basically we just have an HTML page which includes round about 25 JavaScript

Re: [android-developers] android application development

2012-05-23 Thread David Olsson
http://www.catb.org/~esr/faqs/smart-questions.html On Mon, May 21, 2012 at 12:56 PM, AKASH PRIYADARSHI akash39.nit...@gmail.com wrote: I want to write a code for my application which blocks user from accessing all the other resources till my code is running . someone please suggest me any

Re: [android-developers] back arrow

2012-05-23 Thread jadranko bodiroga
thanks,man.I will try that later..Seems that will work.I will response tonight did i success to make.Thanks to share -- 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: android application development

2012-05-23 Thread Ali Chousein
I want to write a code for my application which blocks user from accessing  all the other resources till my code  is running. You need to change the firmware. The rule of thumb is, the SDK in general cannot be used for disabling functionality of the system. The SDK (or in general any SDK) is

[android-developers] Re: Database access.

2012-05-23 Thread Károly Holczhauser
Hello there! I had done the same, but a little different way. I found an xml library which was able to send messages to an server( IP and Port). I had created another project (normal java) and I had implemented there a server which was able to recive the android clinet requests and communicate

[android-developers] MotionEvent event.x and event.y always returns 0 when catching MotionEvent.ACTION_OUTSIDE

2012-05-23 Thread tsukishiro
Hello everyone, I have a customized Dialog whose size does not fill the screen. I have also enabled the following flags for the dialog's window. 1. WindowManager.LayoutParams.TYPE_APPLICAITON_ATTACHED_DIALOG 2. WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE 3.

[android-developers] Create an object class but error

2012-05-23 Thread hktsang
Dear all, I've create an object class but it cannot work. any mistake of my code? Code in class: * public class MyPlayer { private int winCount = 0; private String myName = ; private int myMoney = 0; private int loseCount = 0;

Re: [android-developers] Create an object class but error

2012-05-23 Thread Jason Teagle
I've create an object class but it cannot work. any mistake of my code? private void setName() { // TODO Auto-generated method stub getNameText(); for (int i=0; iNUM_PLAYER; i++){ player.setPlayerName(name); // name is a String get from EditText by some code before } } when I run the

Re: [android-developers] onSaveInstanceState method on Fragment not called when corresponding FragmentActivity acts as a tab.

2012-05-23 Thread Bluemercury
Hi Dianne! Thanks for the reply. So you're saying i should use Activities(FragmentActivity) has tabs but instead use Fragments for each tab content?. What about dealing with different layouts like: *Activity A- Fragment A, Activity B-FragmentB for portrait *Actiivity A- Fragment A+ B for

Re: [android-developers] Create an object class but error

2012-05-23 Thread Daniel Drozdzewski
Jason name == null would not cause NPE, as it is simple assignment to a member variable in MyPlayer class. If there was anything else within setName() that caused NPE, we could see it on the top of the stacktrace. The cause is that *player* reference in *player_input.setName()* is null. The

[android-developers] Android Market not showing my app in Tablet but showing in smartphones

2012-05-23 Thread RAJESH RAJARAM
Hi Recently i posted my android application in the android market place when i search my application in the smartphone its showing the app and downloadable but when i search it in the Tablet its not showing. when i try to download it the PC it saying that its not compatible with your device. what

[android-developers] Service not re-starting on time, on a Samsung Galaxy Note device.

2012-05-23 Thread Put_tiMe
I am running my service on a Galaxy Note device. When I switch off the screen, and after a while (2 mins) switch it on and go to :: Settings - Applications - Running Services:: then I see that there are lots of services that have the Restarting tag. For my service, it restarts after a very long

Re: [android-developers] Android Market not showing my app in Tablet but showing in smartphones

2012-05-23 Thread Jim Graham
On Wed, May 23, 2012 at 03:37:30AM -0700, RAJESH RAJARAM wrote: Recently i posted my android application in the android market place when i search my application in the smartphone its showing the app and downloadable but when i search it in the Tablet its not showing. when i try to download

Re: [android-developers] Re: AppWidgetManager, function updateAppWidget not working after an undetermined time

2012-05-23 Thread Jorodan
It seems that my bug was resolved by using a service. Le mardi 22 mai 2012 08:02:27 UTC+2, Jorodan a écrit : The problem is the time to reproduce the bug (few days)*.* now I am waiting since i put the update in a service. Le 22 mai 2012 03:27, TreKing treking...@gmail.com a écrit : On

[android-developers] Re: Android Market not showing my app in Tablet but showing in smartphones

2012-05-23 Thread RAJESH RAJARAM
Thank you jim Rajesh Rajaram -- 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] Cannot build my apps after upgrade

2012-05-23 Thread Chibuike Mba
Using Lint tool, it shows warnings about some of my layout attributes but no error message. The application builds successfully on save but it's when am trying to run the app that I get the dialog box with error message I stated above. On 5/23/12, David Olsson zooklu...@gmail.com wrote: Check as

Re: [android-developers] Re: factory data reset in source code?

2012-05-23 Thread Mark Murphy
On Wed, May 23, 2012 at 2:17 AM, Kristopher Micinski krismicin...@gmail.com wrote: But this asks the user, right, you can't programatically just wipe everything without input, correct? AFAIK, the device admin APIs are designed to work without user involvement. However, not only are there

Re: [android-developers] Cannot build my apps after upgrade

2012-05-23 Thread David Olsson
The errors in eclipse then? What does that log tell you. On Wed, May 23, 2012 at 1:38 PM, Chibuike Mba chibe...@gmail.com wrote: Using Lint tool, it shows warnings about some of my layout attributes but no error message. The application builds successfully on save but it's when am trying to

[android-developers] added wrong permission but android didn't complain

2012-05-23 Thread guich
Hi, I added this: uses-permission android:name=android.permission.WRITE_MEDIA_STORAGEa / (note the leading 'a') ... and android compiler didn't complain about the wrong permission. This leads me that he is silently ignoring permissions that he doesn't handle. How can i make android

Re: [android-developers] Re: factory data reset in source code?

2012-05-23 Thread Kristopher Micinski
Ah, I had just been going off this note: Ask the user date be wiped. This will cause the device to reboot, erasing all user data while next booting up. External storage such as SD cards will not be erased. kris On Wed, May 23, 2012 at 7:38 AM, Mark Murphy mmur...@commonsware.com wrote: On

Re: [android-developers] Re: factory data reset in source code?

2012-05-23 Thread Mark Murphy
On Wed, May 23, 2012 at 8:32 AM, Kristopher Micinski krismicin...@gmail.com wrote: Ah, I had just been going off this note: Ask the user date be wiped. This will cause the device to reboot, erasing all user data while next booting up. External storage such as SD cards will not be erased. I

Re: [android-developers] added wrong permission but android didn't complain

2012-05-23 Thread Mark Murphy
On Wed, May 23, 2012 at 8:31 AM, guich guiha...@gmail.com wrote: Hi, I added this:    uses-permission android:name=android.permission.WRITE_MEDIA_STORAGEa / (note the leading 'a') ... and android compiler didn't complain about the wrong permission. This leads me that he is silently

Re: [android-developers] E-mail the source code for that app ?

2012-05-23 Thread Kristopher Micinski
In general I don't think anyone will have a link for you off the top of their head, however your messaging pattern sounds close enough to a lot of concepts that have samples included in the documentation.. kris On Tue, May 22, 2012 at 6:38 AM, Mhamed HLIOUI mahmed.hli...@verylastroom.com wrote:

Re: [android-developers] Re: factory data reset in source code?

2012-05-23 Thread Kristopher Micinski
Ah, okay, it turns out I'd been misreading it for a while anyway, kris On Wed, May 23, 2012 at 8:37 AM, Mark Murphy mmur...@commonsware.com wrote: On Wed, May 23, 2012 at 8:32 AM, Kristopher Micinski krismicin...@gmail.com wrote: Ah, I had just been going off this note: Ask the user date be

Re: [android-developers] added wrong permission but android didn't complain

2012-05-23 Thread Kristopher Micinski
I'm surprised that, in *this* case, there's not a check within lint (I haven't seen one) that warns about this, it seems like a commonly used permission would have a simple check for misspellings applied. kris On Wed, May 23, 2012 at 8:38 AM, Mark Murphy mmur...@commonsware.com wrote: On Wed,

[android-developers] Re: added wrong permission but android didn't complain

2012-05-23 Thread guich
Hi, So, the permission is written as-is and found only at runtime? I'm asking this because my applications are having problems accessing the sdcard of some tablets like Xoom and Galaxy. From this article: http://www.afternote.net/2012/03/sdcard-write-problem-fix-for-samsung.html , i added

[android-developers] Re: added wrong permission but android didn't complain

2012-05-23 Thread guich
I found this: http://www.xda-developers.com/android/android-3-2-code-inadvertently-preventing-write-access-to-external-storage/ However, i'm still stucked. -- 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: android configuration change asynctask

2012-05-23 Thread Greenhand
It's quite amazing! If I want to know more about it or read the source code, how can I get started? On 5月22日, 下午11時29分, Kostya Vasilyev kmans...@gmail.com wrote: Yes, it's the same message loop - the UI thread's message loop - which executes all Activity callbacks. A handler created with new

[android-developers] what's the safe place to create backups?

2012-05-23 Thread guich
Hi, I used to write backup files of my application's data to /sdcard, so they will survive if my application is removed (sometimes the user must remove it and then install a new version, and then restore the backup from the sdcard). However, in devices with 3.2 and up, it is not possible to

Re: [android-developers] Re: added wrong permission but android didn't complain

2012-05-23 Thread Kristopher Micinski
Basically, Determining statically a set of permissions an app will use is impossible, it requires fairly heavyweight static analysis, which necessarily makes some imprecision, thus a dynamic system is used. Since it's not entirely feasible to do real coverage of apps using dynamic analysis (or

Re: [android-developers] back arrow

2012-05-23 Thread jadranko bodiroga
i made app.thanks Jason -- 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

[android-developers] Re: MOUNT/UNMOUNT SDC

2012-05-23 Thread jadranko bodiroga
for everyoone to know how to refresh all multimedia on Android :just put it on activity: sendBroadcast(new Intent(Intent.ACTION_MEDIA_MOUNTED, Uri.parse(file://+ Environment.getExternalStorageDirectory(; if yoiu put picture on SDC IT WILL APIER ON aLBUM AUTOMATICLY... -- You received this

[android-developers] How to create an ongoing notification, without the icon in the top bar.

2012-05-23 Thread Put_tiMe
Can I create a notification only in the pull down bar? Basically I don't want an icon in the top bar. -- 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

[android-developers] Quick question about availability time?

2012-05-23 Thread Dan Uff
Hi all, How long does it usually take for a new Android app to become available in the Play store? I also noticed that their was a change in the Privacy settings - do I need to update the app for it to show up on the store? Thanks, Dan Uff -- You received this message because you are

[android-developers] How can I use a junit.extensions.TestSetup in an android junit test so I can have a one-time setup and teardown fixture for the entire TestCase?

2012-05-23 Thread Chuck Krutsinger
Since android.jar does not include junit.extensions package, how can I create a fixture that only runs setup and teardown once per TestCase, similar to how @BeforeClass and @AfterClass works in junit 4? As you know, android supports junit 3.8.2, not junit 4.x. On StackOverflow I've described my

[android-developers] How to force an exception?

2012-05-23 Thread Francisco M. Marzoa Alonso
Hi there, Just for debugging my code I rather like to simulate the case an exception is raised, and I do not know how to do it. The code is the following: try { AssetFileDescriptor assetDescriptor = assets.openFd(filename); return new

Re: [android-developers] How to create an ongoing notification, without the icon in the top bar.

2012-05-23 Thread Justin Anderson
http://stackoverflow.com/questions/2855110/android-no-icon-for-notification Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Wed, May 23, 2012 at 8:00 AM, Put_tiMe putt...@gmail.com wrote: Can I create a notification only in the pull down bar?

Re: [android-developers] How to force an exception?

2012-05-23 Thread Justin Anderson
Just throw a new IOException... Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Wed, May 23, 2012 at 9:26 AM, Francisco M. Marzoa Alonso fmmar...@gmail.com wrote: Hi there, Just for debugging my code I rather like to simulate the case an exception

Re: [android-developers] Maximum data for EditText

2012-05-23 Thread Justin Anderson
I don't know for sure, but from my experience it seems to depend on the device... Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Mon, May 21, 2012 at 2:55 PM, mr look vincent.l...@gmail.com wrote: What is the max data an EditText box can hold before

Re: [android-developers] How to force an exception?

2012-05-23 Thread Francisco M. Marzoa Alonso
Hi and thanks by your fast answer, If I try to throw an exception that way just after AssetFileDescriptor ... line, Eclipse complains about Unreachable code. Regards, On 23/05/12 17:30, Justin Anderson wrote: Just throw a new IOException... Thanks, Justin Anderson MagouyaWare Developer

[android-developers] Send the user to Google Play application's page

2012-05-23 Thread Francisco M. Marzoa Alonso
Hi there, I rather like to encourage users to write reviews on my app. Is there any manner to open the Google Play app's page from within my code when the user is leaving the application? Thanks a lot in advance, -- You received this message because you are subscribed to the Google Groups

[android-developers] Re: Send the user to Google Play application's page

2012-05-23 Thread Bas Verhoog
I don't really think you should force them into going to the Play Store, but that's not your question. I would use public void onBackPressed (right mouse click - Source - Implement/Override Methods), and make it so that a new intent is passed with the URL for your app, using the ACTION_VIEW.

Re: [android-developers] Re: Send the user to Google Play application's page

2012-05-23 Thread Francisco M. Marzoa Alonso
Hi, First, thanks by your fast answer. On the issue, I will try to be the less obstrusive as possible, showing the message just one time for the same user for the rest of his life, and only if the user has been playing the game for a long time, so he likes it. If it says no, I will not ask

Re: [android-developers] Re: android configuration change asynctask

2012-05-23 Thread Kostya Vasilyev
Android sources are available here: http://source.android.com/ For quickly jumping from docs to source, I often use this: https://chrome.google.com/webstore/detail/hgcbffeicehlpmgmnhnkjbjoldkfhoin Android SDK Reference Search -- K 2012/5/23 Greenhand cooperateonl...@gmail.com It's quite

Re: [android-developers] onSaveInstanceState method on Fragment not called when corresponding FragmentActivity acts as a tab.

2012-05-23 Thread Bluemercury
Basically you cant use fragment activities has tabs am i correct???only fragments as tabsbut now how do i deal with layout orientation?if there's no activity for each fragment, the layout stays the same even if i have a different layout for landscape On Wednesday, May 23, 2012 6:46:47

Re: [android-developers] Re: Send the user to Google Play application's page

2012-05-23 Thread Bas Verhoog
Hello, I'm also just beginning with Android, every day we learn :). So, about the intent. If you're using a normal Activity (or a derivative thereof), starting a new Intent to open a URL would look like the following: Intent i = new Intent(Intent.ACTION_VIEW);

Re: [android-developers] Re: Send the user to Google Play application's page

2012-05-23 Thread Francisco M. Marzoa Alonso
Thank you very much, Bas. In the meantime I also found this answer on stackoverflow: http://stackoverflow.com/questions/1964819/start-android-market-from-app That says the same as you. Best regards, On 23/05/12 19:07, Bas Verhoog wrote: Hello, I'm also just beginning with Android, every

Re: [android-developers] How to force an exception?

2012-05-23 Thread Kristopher Micinski
try wrapping it in an if with a guard that evaluates to true. kris On Wed, May 23, 2012 at 12:36 PM, Francisco M. Marzoa Alonso fmmar...@gmail.com wrote: Hi and thanks by your fast answer, If I try to throw an exception that way just after AssetFileDescriptor ... line, Eclipse complains

Re: [android-developers] Cannot build my apps after upgrade

2012-05-23 Thread TreKing
On Wed, May 23, 2012 at 6:38 AM, Chibuike Mba chibe...@gmail.com wrote: I get the dialog box with error message I stated above. But you did not state what the actual error(s) is / are. Just that there are errors that you need to fix. So what are the errors? This bit of information would be

Re: [android-developers] Re: Send the user to Google Play application's page

2012-05-23 Thread Bas Verhoog
Hello, Good to see that you've found an answer. That means I'm most likely right :). On Wednesday, May 23, 2012 7:30:11 PM UTC+2, Fran wrote: Thank you very much, Bas. In the meantime I also found this answer on stackoverflow:

[android-developers] need more device info for ANR and crash reports

2012-05-23 Thread Pedro
Is there a way to find out more device information for these reports? Specifically, the following would be really useful: - OS version - locale setting - manufacturer/model This would really help to reproduce these reported issues. Thanks. Pedro -- You received this message because you are

Re: [android-developers] Problème d'exécution

2012-05-23 Thread rajeb makhlouf
You should firstly check your log to detect the exception .I assume that your exception coming from the manifest file. Best regard. mrajab. On Mon, May 21, 2012 at 10:48 AM, Adnan Amara leprogrameu...@gmail.com wrote: j'ai essayé de développer une application de guidage touristique , mon

[android-developers] LogCat popping up with HDMI errors

2012-05-23 Thread Yan
Whenever I start playing audio with the MediaPlayer on the HTC EVO 4G the LogCat comes up in Eclipse with these two red messages: HDMIStatusObserverstatus: UNPLUG MediaPlayeronHDMIStateChanged I know HDMI is not part of the Android API but should there be any concern about these

[android-developers] Re: How to force an exception?

2012-05-23 Thread FiltrSoft
A simple way would be to set SharedPreferences to null, eg: SharedPreferences prefs = null; String exception = prefs.getString(,); On Wednesday, May 23, 2012 11:26:19 AM UTC-4, Fran wrote: Hi there, Just for debugging my code I rather like to simulate the case an exception is raised,

[android-developers] Re: How to properly implement dismissing HTML5 video from WebView

2012-05-23 Thread Mariusz
Brian, I have exactly the same - getFocusedChild() method returns a HTML5VideoFullScreen object, but I saw on several examples it should/could(?) return a VideoView object. Regards, Mariusz On Wednesday, May 23, 2012 1:34:39 AM UTC+2, Brian wrote: Mariusz, I almost can. If you

Re: [android-developers] need more device info for ANR and crash reports

2012-05-23 Thread TreKing
On Wed, May 23, 2012 at 2:06 PM, Pedro pwp...@gmail.com wrote: Is there a way to find out more device information for these reports? Use ACRA or some other type of your own custom bug-reporting solution.

Re: [android-developers] Cannot build my apps after upgrade

2012-05-23 Thread Chibuike Mba
This is what I can find within problems window: DescriptionResourcePathLocationType Error generating final archive: Debug Certificate expired on 4/16/12 12:16 AMOziomaUnknownAndroid Packaging Problem On Wed, May 23, 2012 at 7:47 PM, TreKing treking...@gmail.com

Re: [android-developers] How to force an exception?

2012-05-23 Thread TreKing
On Wed, May 23, 2012 at 10:26 AM, Francisco M. Marzoa Alonso fmmar...@gmail.com wrote: How could I do that? Pass in garbage for filename. On Wed, May 23, 2012 at 3:20 PM, FiltrSoft kri...@gmail.com wrote: A simple way would be to set SharedPreferences to null, eg: SharedPreferences prefs

Re: [android-developers] Re: Send the user to Google Play application's page

2012-05-23 Thread TreKing
FYI, there is a large section in the official documentation that is about the Android Mark-, Google Crap Store. One of the topics covered is exactly what you asked about: showing a given app in the store, They also document how to search and list apps for a given publisher. Documentation is your

Re: [android-developers] Cannot build my apps after upgrade

2012-05-23 Thread TreKing
On Wed, May 23, 2012 at 3:48 PM, Chibuike Mba chibe...@gmail.com wrote: This is what I can find within problems window: DescriptionResourcePathLocationType Error generating final archive: Debug Certificate expired on 4/16/12 12:16 AMOziomaUnknownAndroid

Re: [android-developers] Quick question about availability time?

2012-05-23 Thread TreKing
On Wed, May 23, 2012 at 9:06 AM, Dan Uff danny@gmail.com wrote: How long does it usually take for a new Android app to become available in the Play store? Not long. Minutes, maybe hours. I also noticed that their was a change in the Privacy settings - do I need to update the app for

[android-developers] Broadcast-Intent on cell/position change?

2012-05-23 Thread BearTi
Hi, is there any Broadcast-Message which is send when my phone is connected to another Cell or when the position changed? I don´t want to pull for this information (for example every 5 minutes). Thanks -- You received this message because you are subscribed to the Google Groups Android

  1   2   >