[android-developers] WebView.createDocumentAdapter doesn't care about margins

2018-01-28 Thread Alain Bonnefoy
I tried desesperately to write a PrintService and here is a problem regarding margins. This is my DiscoverySession code where I define my printer capabilities: int LEFT_MARGIN = 0; // Or 500 int RIGHT_MARGIN = 0; public void finishEvent(PrinterEvent event) { Log.d(TAG,

[android-developers] Andoird Webview HTML5 video not reaching readyState == 4

2016-10-31 Thread Alain Vanderbroeck
Hi, I was wondering if somebody here can help me with my question i posted on stackoverflow: http://stackoverflow.com/q/40320661/6229090 -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving

Re: [android-developers] Re: FCM data messages not received anymore in background

2016-07-13 Thread Alain Bonnefoy
or killed the data part will not be recieved!!! > On Jul 13, 2016 7:25 PM, "Alain Bonnefoy" <alain.b...@gmail.com > > wrote: > >> Additional Info, >> >> I looked at the messages with ADM and when I send a message, I can see >> the following display: &g

[android-developers] Re: FCM data messages not received anymore in background

2016-07-13 Thread Alain Bonnefoy
Additional Info, I looked at the messages with ADM and when I send a message, I can see the following display: 07-13 15:46:34.179: W/GCM-DMM(3997): broadcast intent callback: result=CANCELLED forIntent { act=com.google.android.c2dm.intent.RECEIVE flg=0x1000 pkg= com.my.example (has

[android-developers] FCM data messages not received anymore in background

2016-07-13 Thread Alain Bonnefoy
Hello, Data messages *are succesfully sent* via Advanced REST client, but not received anymore when my application is in background (no problem in foreground). But I really don't understand why My manifest is: http://schemas.android.com/apk/res/android; package="com.my.example"

Re: [android-developers] Question regarding "massive" application downloads

2016-05-12 Thread Alain Bonnefoy
ll >> make people in cave get a version one version behind google play version >> but same apk as was earlier put on Google play -- then google will give >> them option to upgrade apk from Google play... and so you will see download >> count increase. .. >> >

[android-developers] Re: Question regarding "massive" application downloads

2016-03-20 Thread Alain Bonnefoy
streamed instead > of download ? > > I'm still just guessing because as your issue is not clear to me, maybe > due to language translation of your original question... > > Regards > > On Sunday, March 20, 2016 at 12:40:49 AM UTC+11, Alain Bonnefoy wrote: >> >> P

[android-developers] Re: How to use offline Google Map in my MapView?

2016-03-20 Thread Alain Bonnefoy
able-disable-tileprovider?rq=1 > > <http://www.google.com/url?q=http%3A%2F%2Fstackoverflow.com%2Fquestions%2F14253790%2Fandroid-google-api-v2-enable-disable-tileprovider%3Frq%3D1=D=1=AFQjCNHDku8aJ8lLpthJy5SfclVceQ84IQ> > > that will help you with using OSM map tiles. > > R

[android-developers] Re: Question regarding "massive" application downloads

2016-03-19 Thread Alain Bonnefoy
Please reread the question Alain Le samedi 19 mars 2016 12:08:56 UTC+1, gjs a écrit : > > What is > > https://play.google.com > > for ? > > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe

[android-developers] Question regarding "massive" application downloads

2016-03-19 Thread Alain Bonnefoy
that downloading an application is a big problem if peoples have to wait long minutes to get it. I suppose that a device must access directly to the store to download an application and we cannot imagine to cache it Any idea on a possible solution? Regards, Alain -- You received

[android-developers] How to use offline Google Map in my MapView?

2016-03-19 Thread Alain Bonnefoy
Hello, It's possible to define and download a part of the map for using in non Internet covering area. But I didn't find something about using it from an application. So I'm wondering if it's possible to use it in my MapView and how? Regards, Alain -- You received this message because you

[android-developers] Could you please allow us to access to our files??

2016-01-24 Thread Alain Bonnefoy
Hello, I wonder if you will allow us to acces to our files, I mean files stored under our package name directory via android Device Monitor even on non rooted device. It's abnormal that we cannot do this. Regards, Alain -- You received this message because you are subscribed to the Google

Re: [android-developers] Re: Build fails when trying to launch my app

2016-01-10 Thread Alain Bonnefoy
Hello Adrian, Thanks a lot, this is what I finally did Regards, Alain Envoyé par TypeApp Le 10 janv. 2016 20:28, à 20:28, Adrian Ivasku <ivasku.adr...@gmail.com> a écrit: >You need to enable multiDex because the number of your metdots exced >the >65536. > >On Sunday, J

[android-developers] Build fails when trying to launch my app

2016-01-09 Thread Alain Bonnefoy
quot;:"simple","text":"\tat com.android.dx.command.Main.main(Main.java:106)","sources":[{}]} FAILED FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':app:dexDebug'. > com.android.ide.common.process.ProcessExcep

[android-developers] rounded corner imageview ?

2012-07-10 Thread Alain Tavan
Hello, I search a simple way of setting the corner radius of an imageView. I start developing on Android and iOS. This is really easy to do in iOS (i don't said this to feed some troll) and i did not found something that works for me. Of course i found some imageview extends that enable this

[android-developers] Min SDK=3 not good in ICS?

2011-12-21 Thread Alain
Some of my current apps in the market have android:minSdkVersion=3. They work fine in ICS when I downloaded them from the market. Today as I was updating a couple of them, and testing on a Galaxy Nexus running 4.0.1, the UI showed up as miniaturized window in the bottom left of the screen. I then

[android-developers] NFC can't detect iClass card

2011-06-15 Thread Alain Slak
I have been experimenting with the NFC capabilites of a Nexus S (2.3.4), and I have found that it works well with many types of tags. However, iClass cards are not even detected by the NFC hardware, not even as an unformatted tag. iClass cards operate at the same frequncy as other tags so that is

[android-developers] Can the Nexus S read HID iClass cards?

2011-06-15 Thread Alain Slak
Hi, I have been reading and writing different types of NFC tags(Mifare Classic and Desfire) with the Nexus S (2.3.4) 's NFC capability, but I have not been able to read(or write) an HID iClass card. Is it possible for the Nexus S to read this type of card? It seems to operate on the same radio

[android-developers] Re: Arabic Text to Display

2010-10-27 Thread Alain
Android does not support Right To Left text. Same issue with Hebrew. Maybe in Gingerbread but don't raise your hopes. On Oct 27, 4:30 pm, Faisal Basra faisal.g...@gmail.com wrote: Hello everyone, I just started android development and now facing an issue. I can't show arabic unicode text on

[android-developers] Re: screen occasionally goes blank on Milestones

2010-07-09 Thread Alain
This issue is not caused by your app but instead is a Milestone problem and has been reported by many people. On Jul 7, 3:58 pm, Brian bkmetz...@gmail.com wrote: I have an application I am currently working on for a client which is suffering from a particularly hard to debug problem. Every so

[android-developers] Hebrew Fonts in Froyo?

2010-06-22 Thread Alain
A Droid user mentioned that when he downloaded a Froyo image for his Droid, it included Hebrew fonts and he did not have to load them independently and that emails and SMS in Hebrew were displayed in Hebrew chars without the empty white boxes Will that be the case for the upcoming Froyo release

[android-developers] Re: Max size of string array

2010-05-05 Thread Alain
in the implementation of android. But List has never given me any problems. Sincerely Jose C Gomez http://www.josecgomez.com On Mon, May 3, 2010 at 11:49 AM, Alain aarn...@gmail.com wrote: I am usingString[] String[] items = getResources().getStringArray(R.array.arrayname); I will try

[android-developers] Max size of string array

2010-05-03 Thread Alain
I have a string-array with 2000 items, each item can be 60 characters long, the program crashes when it tries to load the complete string- array. Then I split the string-array in 4 sections, and the program loads each section with no problem. My question, what's the max number of items in a

[android-developers] Re: Max size of string array

2010-05-03 Thread Alain
it should basically be unlimited. Sincerely Jose C Gomez http://www.josecgomez.com On Mon, May 3, 2010 at 9:47 AM, Alain aarn...@gmail.com wrote: I have a string-array with 2000 items, each item can be 60 characters long, the program crashes when it tries to load the complete string- array

[android-developers] progress bar in a tabhost

2010-04-28 Thread Alain
I would like to show a progress dialog or bar in the main activity of a tabhost based app, while the tabs are loaded. I have tried: public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); //

[android-developers] Re: progress bar in a tabhost

2010-04-28 Thread Alain
to be doing the work in a separate thread, as in AsyncTask. Since the ProgressBar runs in the UI thread, if you block that, you won't get the effect that you are looking for. Is loading your tabs really that slow? On Apr 28, 3:59 pm, Alain aarn...@gmail.com wrote: I would like to show a progress

[android-developers] StartActivity in a utility class.

2010-04-15 Thread Alain
I am having a couple of issues with code within a utility class. 1. Eclipse complains when I put a StartActivity in a utility class, this will be called by two different activities in the app. import android.content.Intent; public class Util { public static void sendEmail(String

[android-developers] Re: Deletion of a view from the screen

2010-03-26 Thread alain
Context.getSystemService(). Alain http://blog.oxiane.com/tag/android/ -- 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

[android-developers] Re: ContentProviders assistance?

2010-03-23 Thread alain
How I do : In application providing content : application android:icon=@drawable/icon android:label=@string/ app_name activity android:name=.ContentActivity android:label=@string/app_name intent-filter action

[android-developers] Re: How can i select data onListClick

2010-03-23 Thread alain
Actually, it's beacause the Object itself in the Adapter is a Cursor ... This could help you maybe. Instead of : String callno = mContactList.getAdapter().getItem(position).toString(); I would try : String callno = mContactList.getAdapter().getItem(position).toString(); String callno =

[android-developers] Re: How can i select data onListClick

2010-03-22 Thread alain
); Toast.makeText(MyActivity.this, HOP : + item,Toast.LENGTH_SHORT).show(); } }); maybe it can help ! alain www.oxiane.com -- 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

[android-developers] Re: Can't dynamically update ListAdapter for ListView

2010-03-22 Thread alain
) { this.personnes.add(tmporder); } } If you don't want to keep the old values, you have to make the reset or something like that Alain www.oxiane.com -- 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: Variable in getResources().getStringArray

2010-03-01 Thread Alain
: Alain wrote: Mark, I tried your suggestion with this code, but this throws an exception. String varName = R.array.+itemName[listaa_position];    int itemsid=getResources().getIdentifier(varName, null, getPackageName());    items = getResources().getStringArray(itemsid); The itemName

[android-developers] Variable in getResources().getStringArray

2010-02-27 Thread Alain
Instead of accessing items in a string array directly items = getResources().getStringArray(R.array.name); Can a variable be used in getString array as shown below String itemName = name; String getRes = R.array.+ itemName; items = getResources().getStringArray(getRes); -- You

[android-developers] Re: Variable in getResources().getStringArray

2010-02-27 Thread Alain
Mark, I tried your suggestion with this code, but this throws an exception. String varName = R.array.+itemName[listaa_position]; int itemsid=getResources().getIdentifier(varName, null, getPackageName()); items = getResources().getStringArray(itemsid); The itemName[] are

[android-developers] Re: Nexus GPS antenna is always active when Use GPS Satellites is checked...

2010-01-22 Thread Alain
kill browser using Task Manager application the GPS goes off. On 01/21/2010 08:00 PM, Alain wrote: I have intermittently the same problem on my Milestone/Droid. The GPS comes on on its own. I end up turning off the Use GPS setting to preven the battery from draining. On Jan 21, 2:42

[android-developers] Re: Nexus GPS antenna is always active when Use GPS Satellites is checked...

2010-01-21 Thread Alain
I have intermittently the same problem on my Milestone/Droid. The GPS comes on on its own. I end up turning off the Use GPS setting to preven the battery from draining. On Jan 21, 2:42 am, String sterling.ud...@googlemail.com wrote: On Jan 20, 9:21 pm, Richard Schilling

[android-developers] Re: Large data file: how to deal with it?

2009-12-17 Thread Alain
1. How does one split an App that requires overs 10MB when the code is combined with the data, into two APKs, one APK for the code to make it as small as possible and the second APK for the 10MB data file. H 2. How does an App split into two get loaded on the Market. On Dec 11, 2:59 pm,

[android-developers] How does Android build background?

2009-11-11 Thread Alain
In my tabhost, I define a setBackgroundDrawable with a png resource that's 2px wide and 50px high. Android fills the background with this resource. The question I have: Does Android replicate the resource to fill the width of the screen or does it stretch it? The png is not 9-patch. Thanks Amiz