[android-developers] Get country and city from google autocomplete fragment Java android

2016-11-14 Thread Michel Figueiredo
I'm experimenting with the autocomplete widget https://developers.google.com/places/android-api/autocomplete#add_an_autocomplete_widget it works fine. Now I'm trying to get the city and country based on user selection and store the 3 of them in separate variables. Eg. user selects "Southbank

[android-developers] Re: Issue with startSession() function in VoiceInteractionService

2016-05-04 Thread Michel Fiallo
Hello Pushparaj Jayaseelan, Do you did it solve the problem? can you help me? El viernes, 15 de abril de 2016, 14:19:10 (UTC-5), Pushparaj Jayaseelan escribió: > > +Android Developers > I am really trying hard to implement my own "hotword"

[android-developers] Re: How to turn on JNI quick fix in Android Studio 1.3?

2015-07-11 Thread Michel
I found out that I was missing the android.ndk section to my gradle build file. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send

[android-developers] How to turn on JNI quick fix in Android Studio 1.3?

2015-07-11 Thread Michel
I've downloaded the latest beta version of Android Studio and was eager to try the NDK capabilities. I tried the teapot demo and all works. But then, I wanted to add some JNI native methods to my own project. Though if I declare a native method in the teapot project, I am offered a quick fix to

[android-developers] Re: APK expansion file uploader problem/question

2013-02-21 Thread Michel Cabillot
Hello, I'm also trying to implement an Expansion File to my app, did you manage to do that ? Thanks. Le lundi 6 août 2012 02:49:01 UTC+2, hdxpete a écrit : > > Is anyone using this apk expansion file technology? Am i asking the > question in the correct group? > > On Friday, August 3, 2012 3:5

[android-developers] Expansion File

2013-02-19 Thread Michel Cabillot
Hello, I would simply like to know if there is some sample project to implement an Expansion File into an Android App > 50mo. I've tried to read the Developer's guide, but as a newbie, I've been really quickly lost. Thanks for your help ! -- -- You received this message because you are subsc

[android-developers] Download Expansion File

2013-02-06 Thread Michel Cabillot
I've tried to implement expansion file to my application according to the Android Developer's guide, but I've got some erros while copying their code : boolean expansionFilesDelivered() { > for (XAPKFile xf : xAPKS) {

[android-developers] Multiple inflated views in loop for

2012-11-17 Thread Sterling Michel Diaz De Oleo
Hi everyone. I want to show several listview view with it's corresponding title in a linear layout. I have a linear layout, I inflate a view fo till the title and listview and add that view to the LinearLayout. But only appear one view with the data that was filled the first time. I want the

[android-developers] Bitmap Display

2012-10-23 Thread Michel Cabillot
Hello, I want to make a slideshow with 50 images, I've tried to use a viewFlipper to display them, but i ran out of memory. I've tried to follow the Android Developer's tutorial, but I did not succeed to modify it to u

[android-developers] Re: how to solve the error UnknownHostException

2012-10-19 Thread Sterling Michel Diaz De Oleo
Hi Bob. thanks for answering. It's need to have the host name because the server was made in SAP and sadly that's does not allow that. I tried that too, and it gave me an error. El viernes, 19 de octubre de 2012 16:40:32 UTC-4, bob escribió: > > As a quick stopgap solution, why not just use the

[android-developers] Display an Integer[] who's inside an ArrayList

2012-10-16 Thread Michel Cabillot
I have an arraylist with some Integer[] inside and I want to display elements of my Integer[] into a ViewFlipper. I have the function which works if you include directly an Integer[] : View addImageView(int resId) { ImageView iv = new ImageView(this); iv.setImageResource(resId); return iv;

[android-developers] ASP.NET Web API

2012-08-27 Thread Michel Lobo
I'm developing an android app that will communicate through an asp.net web application API, but when having to send data via HTTP get the following error: internal server error 500. public void addUser(User user){ HttpClient httpClient = new DefaultHttpClient(); HttpPost httpPost = new HttpPost();

[android-developers] Re: Goolge play! store crashes when showing GoodNews page

2012-08-19 Thread Michel Alexandre Salim
Pro license apk -- only for the main Good News. Really bizarre. Resorting to sending it to my app from the Google Play Store webpage instead. -- Michel -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send

[android-developers] Re: Option to unlock the boot loader for Sony Ericsson Android Gingerbread phones now available.

2011-11-13 Thread Michel
Thanks Peter! Anyone from Sony who could confirm whether these drivers are compatible with the XPeria Active model? -- 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: Option to unlock the boot loader for Sony Ericsson Android Gingerbread phones now available.

2011-11-11 Thread Michel
Hello, I am an Android Windows developer using Eclipse and I would like to develop applications for my XPeria Active. Since to connect to it I need to install the appropriate OEM USB driver... Does anyone know if there is a compatible OEM USB driver from another XPeria phone, as Sony hasn't yet r

[android-developers] Re: Auto hiddable side button bar/tool bar

2011-10-18 Thread Jean-Michel
Hi Kostya, I started to play with sliding drawer and it seems it can do the trick. My issue for now is that I cannot set the correct size... I would like the drawer to extend just enough for its content, but it seems pretty random, I tried a number of combination for width and height specificatio

[android-developers] Auto hiddable side button bar/tool bar

2011-10-18 Thread Jean-Michel
Hi there, room on screen being fairly "expensive" on small devices, I would like to implement a button/tool bar that would automatically show and hide from the side of the screen. When the user would tap anywhere on the screen, the bar would unfold and would fold back if there is no user input for

[android-developers] Re: How to display search button in actionbar on tablet (app minSdk = 8)

2011-10-10 Thread Jean-Michel
I do fully agree with the process, but apparently, with these requirements (supporting x to honeycomb), we are cornered with using build targets *above* the minSdk level which is really begging for troubles. Google dropped the ball at the last hurdle. If the XML code for tablets (showAsAction, fo

[android-developers] Re: How to display search button in actionbar on tablet (app minSdk = 8)

2011-10-10 Thread Jean-Michel
This is proving much harder than I thought... Basically, in order to show a search item in the action bar (or any item) I need to set "showAsAction" in my menu. In order to do that, I need to build with SDK >= 11. If I build with SDK >=11, I am at risk of including some code that will fail badly

[android-developers] Re: How to display search button in actionbar on tablet (app minSdk = 8)

2011-10-10 Thread Jean-Michel
Hi Mark, I cannot get "android:showAsAction" to be recognised/accepted in my project (minSDK = 8, targetSDK = 11). Eclipse tells me : "error: No resource identifier found for attribute 'showAsAction' in package 'android'". Is that supposed to work with projects below 11? That would mean that app

[android-developers] How to display search button in actionbar on tablet (app minSdk = 8)

2011-10-09 Thread Jean-Michel
Hi guys, I just (late and fairly stupidly) realised that one of the big differences of Honeycomb is the lack of "always there standard buttons" (home, back, search, menu). Home seems to be there all the time, as well as back (at least it is for my app). I found out how to get my menu back (target

[android-developers] Re: Garbage collector running every second... Normal?

2011-10-07 Thread Jean-Michel
No Kris, I just did not think about it, and apparently it does (trigger ANR). I have transformed my service in IntentService and I have not had the problem since. I think it is solved, but it was a bit touch and go I am not 100% suree yet. Thanks JM -- You received this message because you are

[android-developers] Re: Garbage collector running every second... Normal?

2011-10-06 Thread Jean-Michel
Thank you guys, I will look into this. This stated, after a bit of investigation, I was probably barking at the wrong tree. I have added a saving of a trace file that I have put into a service (thinking that it would not have an impact) but it seems that this is the culprit. The work happens in

[android-developers] Re: Garbage collector running every second... Normal?

2011-10-06 Thread Jean-Michel
It is a navigation app. Basiaclly I have a service that gets GPS location every second, stores it in an array, and that array is passed to the display activity thru a bundle (using IPC)... So yes a fairly large amount of data. -- You received this message because you are subscribed to the Goog

[android-developers] Re: Garbage collector running every second... Normal?

2011-10-06 Thread Jean-Michel
Forgot to paste my logcat output : 10-06 18:44:21.072: DEBUG/dalvikvm(6417): GC_EXTERNAL_ALLOC freed 2294 objects / 83544 bytes in 141ms 10-06 18:44:22.350: DEBUG/dalvikvm(6417): GC_EXTERNAL_ALLOC freed 2288 objects / 82976 bytes in 221ms 10-06 18:44:23.360: DEBUG/dalvikvm(6417): GC_EXTERNAL_ALLOC

[android-developers] Garbage collector running every second... Normal?

2011-10-06 Thread Jean-Michel
Hi guys, my app was all working well, but I have added a few features and now the emulator runs my PC CPU fairly hot, I had a couple of ANR exceptions, and the garbage collector is running every second. I assume this is not really normal. Unless you thinnk it is (right) could you please tell me h

[android-developers] Re: Serializable subclass of non-serializable class

2011-10-05 Thread Jean-Michel
, Daniel Drozdzewski wrote: > On 5 October 2011 16:20, Jean-Michel wrote: > > > No, I am serialising to disk. > > > Do you think it could work out? > > > Any idea how to use Parcelable ? > > > Many thanks, > > Jean-Michel > > Jean-Michel, > &g

[android-developers] Re: Serializable subclass of non-serializable class

2011-10-05 Thread Jean-Michel
No, I am serialising to disk. Do you think it could work out? Any idea how to use Parcelable ? Many thanks, Jean-Michel On 5 oct, 16:43, Daniel Drozdzewski wrote: > Now luckily for you, Location in Android implements Parcelable > interface, which could be of help, depending where a

[android-developers] Serializable subclass of non-serializable class

2011-10-05 Thread Jean-Michel
ream.java:2240) 10-05 13:50:35.278: WARN/System.err(7867): at com.droidfa.navigation.Leg.readObject(Leg.java:262) .../... Any help will be greatly appreciated. Many thanks in advance, Jean-Michel -- You received this message because you are subscribed to the Google Groups "Android Developers" group.

[android-developers] Re: Simple database form example

2011-10-03 Thread Jean-Michel
Just for the record, Delphi or the Apple dev framewiork do not generate edit dialog, they rather do the opposite. You "draw" your dialog, "bind" widgets to your data(source) and the rest of it is automated. You have actually 0 line of code to write to do a simple DB edit form, even a master-detai

[android-developers] Re: Simple database form example

2011-10-02 Thread Jean-Michel
I was afraid it would end up like that... Gone the Delphi days, gone... Gone the Objective-C days, gone... Thanks Steven -- 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

[android-developers] Re: ES File Explorer 1.6.0.6 does not return path in data.getPath() anymore...

2011-10-02 Thread Jean-Michel
Thanks Kostya, but in order to avoid reliance on external package I have now integrated my own file picker. A bit of pain in the sohort term, but probabaly a whise thing to do in the long run. Regards, JM > > > > > On Fri, Sep 30, 2011 at 4:37 PM, Jean-Michel > >  wrote:

[android-developers] Simple database form example

2011-10-02 Thread Jean-Michel
Hi guys, I need to do a simpple form to edit data in my SQLite db and it seems that you need to do pretty everything "by hand". I want the user to select records into a listview, then a dialog would open allowing the user to edit data and save it. I am a bit prerplexed that there is not much in t

[android-developers] ES File Explorer 1.6.0.6 does not return path in data.getPath() anymore...

2011-09-30 Thread Jean-Michel
Hi guys, I used to rely on ES File Explorer in my app to select files and open them but it seems the last version of ES File Explorer has changed and it does not reteurn the path in the calling activity anymore. Any one noticed that ? Any suggestion for an alternative ? I do not need complex fil

[android-developers] Re: Permission denial on ACCESS_FINE_LOCATION on Samsung Galaxy (other GPS apps work)

2011-09-30 Thread Jean-Michel
e declaring that anything that tries to > launch your application needs ACCESS_FINE_LOCATION. > > On Fri, Sep 30, 2011 at 12:54 PM, Jean-Michel > > > > > > > > > > wrote: > > Ok, I was able to reproduce the problem in the emaulator. > > >

[android-developers] Re: Permission denial on ACCESS_FINE_LOCATION on Samsung Galaxy (other GPS apps work)

2011-09-30 Thread Jean-Michel
Ok, I was able to reproduce the problem in the emaulator. It only happens on 2.3.3 (or from) and only with an installed app (app pushed from Eclipse is OK). Still have no idea where it comes from... Should I add the individual permissiopns on the activities? Here is my permission file. http:/

[android-developers] Re: Permission denial on ACCESS_FINE_LOCATION on Samsung Galaxy (other GPS apps work)

2011-09-30 Thread Jean-Michel
11 16:41, Mark Murphy пишет: > > > > > > > > > > > That seems odd. Are you sure the user has a stock ROM? > > > On Fri, Sep 30, 2011 at 8:32 AM, Jean-Michel > >  wrote: > >> Hi there, > >> just released my first app to beta testers and

[android-developers] Permission denial on ACCESS_FINE_LOCATION on Samsung Galaxy (other GPS apps work)

2011-09-30 Thread Jean-Michel
Hi there, just released my first app to beta testers and real life (the one with real users) caught me... One of them has a Samsung Galaxy phone and he cannot launched the application (had something along the lines of "application not installed"). He sent me his logs and the interesting line seem

[android-developers] Re: Managing beta testers / beta program

2011-09-28 Thread Jean-Michel
I was actually wondering about this kind of things as well. >From my quick search, ACRA would send the developper information on an application crash but is there an equivalent tool to capture the logs for example and send them from withiong the application. This can prove useful when the applicat

[android-developers] Re: Managing beta testers / beta program

2011-09-28 Thread Jean-Michel
> it with a control group. It serves no purpose to have a large scale test > until you have most of the easy to find bugs out of the system. The general > public gets frustrated easily and they'll remember bad experiences and > forget good ones. Best to keep the general public out of the test until

[android-developers] Managing beta testers / beta program

2011-09-28 Thread Jean-Michel
Hi there, I am at the point where I question releasing my application out in the wild, but before that I would like to go through a beta phase with beta testers recruited thru some forum (not my friends from childhood I mean). I am stunned that it seems Google did not plan for this at all... I am

[android-developers] Re: Defining custom drawables in XML

2011-09-13 Thread Jean-Michel
Erm... I concede, this would create some security challenges, but it is a pity there is such a limitation. Being able to use custom drawables in the XML would certainly simplify the life of a lot of developpers. Thanks for your reply anyway. JM On Sep 12, 9:18 am, Romain Guy wrote: > Hi, > > Cus

[android-developers] Defining custom drawables in XML

2011-09-12 Thread Jean-Michel
xtended to ShapeDrawable when the name of the shape in unknown. Thanks for your help anyway. Jean-Michel -- 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 unsubsc

[android-developers] HTTP progressive streaming

2010-07-14 Thread Michel
On top of that my question is what is "HTTP progressive streaming" standing for? Is that a nick name for the traditionnal progressive download .. .. or something related to "HTTP Live Streaming" from Apple (for iPhone3/4 and iPad) .. or some other additional "HTTP bitrate adaptative streaming" ju

[android-developers] Re: Contacts photos does not work after insert

2009-09-01 Thread Michel Albert
Incidentally, I am also writing a small backup tool and had a problem that sounds very similar to yours. I figured out, that adding photos does not work properly on the emulator. I added a new menu option which, when clicked, added a photo from a binary stream to a hard-coded contact URI. When I

[android-developers] Re: Inserting Photo to Contacts

2009-09-01 Thread Michel Albert
On Aug 29, 2:49 pm, Michel Albert wrote: > Hmmm... I am trying the same thing. The method with "setPhotoData" > does indeed run without a hitch. Except that the photo does not show > on the contact when displaying it with the default "Contacts" > application. I

[android-developers] Re: Inserting Photo to Contacts

2009-08-29 Thread Michel Albert
Hmmm... I am trying the same thing. The method with "setPhotoData" does indeed run without a hitch. Except that the photo does not show on the contact when displaying it with the default "Contacts" application. I double checked both the Uri and the bytearray. Both are perfectly fine. The whole thi

[android-developers] Re: Inserting a new contact is not working

2009-08-29 Thread Michel Albert
Nevermind. I got it to work. The new way to insert contacts is: Uri newPersonUri = Contacts.People .createPersonInMyContactsGroup(getContentResolver(), values); On Aug 28, 4:45 pm, Michel Albert wrote: > I am trying to insert a new contact, but, even though I get a valid > UR

[android-developers] Inserting a new contact is not working

2009-08-28 Thread Michel Albert
I am trying to insert a new contact, but, even though I get a valid URI back, the Contacts do not appear in the "Contacts" application. Code: ContentValues values = new ContentValues(); values.put( People.NAME, contact.getString("name") ); Uri uri = getContentResolver().insert(People

[android-developers] How to set device wide screen orientation

2009-07-29 Thread Michel
des the fact that I wouldn't know how, that seems a bit of a big solution for what seems to be a simple task. I thought this would be easy (and maybe it is), can somebody help me out or point me in the right direction? Thanks in advance, Michel --~--~-~--~~~---~--~-

[android-developers] Re: How to use AudioRecord and AudioTrack

2009-05-03 Thread Jean-Michel
Hi there, Looks like sipdroid (www.sipdroid.org) is using AudioTrack and AudioRecord for their SIP client. Go to the "Browse source" page and look at trunk > src > org > sipdroid > media > RtpStreamReceiver.java and RtpStreamSender.java, and search respectively for "track" and "record". On Apr 30

[android-developers] Re: android 1.5: How do we use the AudioTrack class?

2009-05-03 Thread Jean-Michel
Blindfold, I can get onMarkerReached() called for a STATIC AudioTrack instance. A few things you might want to try: - the marker position must be set in frames, not bytes. So make sure you're not giving a marker position that's not beyond your content. For instance if your content is stereo/8bit,

[android-developers] get indication

2009-04-14 Thread Michel
Is possible get indication by mapView component? thanks Michel --~--~-~--~~~---~--~~ 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@googlegro

[android-developers] Can TabHost waiting results from activity?

2009-04-14 Thread Michel
I'm create 3 tab with different activity: mTabHost.addTab(mTabHost.newTabSpec("tab_test1").setIndicator("TAB 1").setContent(new Intent(this, FirstView.class))); how the 3 different activity can exchange data? --~--~-~--~~~---~--~~ You received this message becaus

[android-developers] How can MapActivity obtain data

2009-04-14 Thread Michel
vity two variable referance to first and second class: FirstClass first SecondClass second But after i can use the intent... thanks all of you. Michel --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Devel

[android-developers] Re: ADT plugin in SDK 0.9

2008-11-01 Thread Michel
I have the same problem. Redid a fresh install of eclipse and the plugin and still no go. The log Has the following: java.version=1.6.0_10 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US Command-line arguments: -os linux -ws gtk -arch x86 !ENTRY com

[android-developers] Re: Draw graphics with opengl

2008-08-22 Thread Michel
None of the examples compile anymore. The SDK v0.9 has made drastic changes and I cannot get a single example to even compile out of the box! On Aug 7, 8:11 am, Hong <[EMAIL PROTECTED]> wrote: > there's an opengl tutorial in android development samples, as well as a > globaltime sample applicatio