[android-developers] Different orientations for different phones/tablets?

2012-07-27 Thread limtc
Hi, Is it possible for an app to support one orientation (portrait) for phone but another orientation (landscape) for large form device like tablets? So far, it seems that we either have to support either portrait/landscape or support both orientations. You might ask why I am asking this - I

[android-developers] Re: Different orientations for different phones/tablets?

2012-07-27 Thread Zsolt Vasvari
Of course. Check the screen size and lock the orientation for one or the other. On Friday, July 27, 2012 2:10:31 PM UTC+8, limtc wrote: Hi, Is it possible for an app to support one orientation (portrait) for phone but another orientation (landscape) for large form device like tablets?

[android-developers] Re: Jelly Bean, READ_LOGS and 'Application Lockers'

2012-07-27 Thread Pent
Note that app-locking is not the only use-case for running-app- detection. My app does app-specific actions like 'if in Browser turn on wifi', 'if in Reader AND (if device orientation is vertical brightness high else brightness low)' However, Dianne has stated in another thread along the lines

[android-developers] Re: Different orientations for different phones/tablets?

2012-07-27 Thread limtc
Thanks for the help! All the examples I have seen so far asked me to put portrait or landscape in the activity. I will give this a try! If you know any examples on the net please let me know (I didn't find any). On Friday, July 27, 2012 3:06:44 PM UTC+8, Zsolt Vasvari wrote: Of course.

Re: [android-developers] Re: Lock app

2012-07-27 Thread Oleksandr Kruk
Isn't it possible to have some kind of Listener installing it whenever it's uninstalled? On Thursday, 26 July 2012 20:39:43 UTC+1, Kristopher Micinski wrote: You can't reliability do this, don't try. any user can just uninstall your blocker app On Jul 26, 2012 1:19 PM, Gabriel Augusto

[android-developers] Re: Different orientations for different phones/tablets?

2012-07-27 Thread limtc
Thanks, this is what I am doing now. I wanted to support portrait/landscape modes for 1280x720/800 device, so this is what I do, sounds OK? So far my test seems to be fine, except sometimes it starts up upside down for some tablet devices. Is any of the dimension is not 1280 I will stick to

[android-developers] Re: Different orientations for different phones/tablets?

2012-07-27 Thread Zsolt Vasvari
You should be checking the DPI, not the absolute pixel count. I dont know about the upside down part. On Friday, July 27, 2012 3:49:42 PM UTC+8, limtc wrote: Thanks, this is what I am doing now. I wanted to support portrait/landscape modes for 1280x720/800 device, so this is what I do,

Re: [android-developers] Re: Lock app

2012-07-27 Thread Zsolt Vasvari
No. Thank god. On Friday, July 27, 2012 3:48:45 PM UTC+8, Oleksandr Kruk wrote: Isn't it possible to have some kind of Listener installing it whenever it's uninstalled? On Thursday, 26 July 2012 20:39:43 UTC+1, Kristopher Micinski wrote: You can't reliability do this, don't try. any

[android-developers] add phone number to contact

2012-07-27 Thread Live Happy
i try this code to add mobile number to contact by contact id but it didnt work builder = ContentProviderOperation.newInsert(ContactsContract.Data.CONTENT_URI); builder.withValue(ContactsContract.Data.CONTACT_ID, contactID);

Re: [android-developers] Re: Custom DialogPreference and PreferenceManager.setDefaultValues issue

2012-07-27 Thread jdr88
Finally, I've found a solution to this problem! The official documentation for the preferences activity has just been updated. Check out the paragraph about Building a Custom Preference http://developer.android.com/guide/topics/ui/settings.html#Custom You have to implemenet both of the

[android-developers] Re: Different orientations for different phones/tablets?

2012-07-27 Thread limtc
There are 2 issues that I have encountered so far with this approach: - on a Samsung tablet running Android 4, setting to portrait in code will ignore the current portrait orientation and show the device upside down (if I held it in one way with the logo on left). This does not happen if

[android-developers] Re: ICS/JB adaptation rate

2012-07-27 Thread b0b
I have some amazing numbers for my app with ICS+ adoption rate. This is an app that catters to users more likely to be technical thus having high-end phones or tablets Free version: Android 4.0.3- 4.0.444.62% Android 2.3.3- 2.3.729.46% Android 3.211.66%

Re: [android-developers] mono for android

2012-07-27 Thread goran gg
java is not so different lenguage from C#,globally (oo orientation, jvm vs .net .. programming is always programming -big sweet game) but you is right, for every thing, tool can be better or not. I loooking Windows Phone (everything based on VS 2010 and c# ) It is the different street in the

[android-developers] Re: ICS/JB adaptation rate

2012-07-27 Thread Pent
Just had a look, shocked to find I have 7.18% JB installs already. 38.5% ICS. Pent -- 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,

Re: [android-developers] mono for android

2012-07-27 Thread goran gg
2012/7/27 goran gg goran...@gmail.com java is not so different lenguage from C#,globally (oo orientation, jvm vs .net .. programming is always programming -big sweet game) but you is right, for every thing, tool can be better or not. I loooking Windows Phone (everything based on VS 2010 and

Re: [android-developers] MULTISAMPLE in ES 2.0

2012-07-27 Thread Harri Smått
I think setting glSampleCoverage should be enough. Plus you may have to implement your own EGLConfigChooser which returns a multisampling supported EGLConfig. -- H On Jul 23, 2012 3:55 PM, EOG posi...@gmail.com wrote: Ho w to enable GL_MULTISAMPLE in OpenGL ES 2.0 ? there is no

[android-developers] Re: PBAP CLIENT

2012-07-27 Thread kishor
Hi Anirudh, I have a plan to implement PBAP client in Car kit to fetch contacts/incoming call/outgoing call from android powered phone. Could u please guide me some implemetation steps/tips for this?..I use ICS 4.0.3 Regards, Kishor On Friday, May 20, 2011 3:57:18 PM UTC+5:30, Anirudh Kashyap

[android-developers] Re: How to access modem in a native C libs

2012-07-27 Thread tzoukos
Did you manage to achieve what you were asking? I actually want the same thing and I'd love to hear if you managed anything :) On Saturday, July 3, 2010 1:19:09 PM UTC+3, Rover wrote: Hi there, May I ask a question here? I am porting a OS independent C library to Android (Libraries layer

[android-developers] Geolocation on ICS Browser

2012-07-27 Thread chris
Hey Guys, Have an unusual problem of html5 geolocation services not working on my galaxy tablet running ics 4.0. Both running as a phonegap application and running on the native browser.I am getting an error as *position unavailable.* Can someone please help me on this. Thanks in Advance! --

[android-developers] Using a specific GLES library with the emulator-x86

2012-07-27 Thread goodG
Hi, I have a GLES library ( libEGL.so + libGLESv2.so provided by the VGA manufacturer ) which support a GLES 2.0 hardware accelerated context for my videocard, they are compiled as a 32 bit Linux object, like the libraries used by the emulator in the Android SDK. The problem is that the

[android-developers]

2012-07-27 Thread Think Unique
Plz help me to develope the code of an app which trace the current location of phone by gps and then store that info on a web page -- On Wed 25 Jul, 2012 10:36 PM PDT Manb wrote: Hi, I am new to android development. Can I get some help to create a customized

[android-developers] Licensing question

2012-07-27 Thread Thanikai Sokka
I have a friend outside of Google that is working on an Android device and wants to ship it with YouTube already bundled. He was wondering if there is any licensing required with Google in order to do this. Not sure if this is the right forum to ask, but if anyone has any insight or can point

[android-developers] An issue with the added functionality of the home button (4.1)

2012-07-27 Thread Viché
Hey, I'm wondering if there is a way to either intercept or stop the two extra functions to the home button which is long press and swipe up, which both display the google cards type activity. Actually pressing home is ok, but I want to stop the device reacting to these actions. Any help

[android-developers] Re: Android XML Configuration File

2012-07-27 Thread Parmeshwar Changulpaye
thanks On Monday, 23 July 2012 19:09:23 UTC+5:30, Thomas Nolan wrote: I work for an enterprise support desk for a university, and for iPads/iPhones, we created XML configuration files that a user can download that confiure their exchange account for them. Is this possible to do for

[android-developers] ListView with custom view item refresh issue

2012-07-27 Thread Sergio Panico
Hi all, I need your help to understand the refresh behaviour of a ListView where I've defined a my custom view for the ListView's items. I think It's better explain it with an example: my adapter contains 7 items: A, B, C, D, E, F, G correctly initialized, filled and working. The associated

[android-developers] Re: SystemClock.elapsedRealtime() drifts by up to ~1 second when the phone is in sleep mode

2012-07-27 Thread Bill Steinberger
Leo, I am seeing this same behavior and stuggling to find a solution. Have you worked it out yet? I've tried implementing it in a Runnable and using SystemPreferences to store the times onPause, then retrieve them onResume and seen this issue. Then I moved the SystemClock.elapsedRealtime()

[android-developers] Photos not saving anywhere?

2012-07-27 Thread Vaibhav Ajay Gupta
I am developing a custom camera application on android 2.2 api level8(Device Xperia S) My application is running but when i click capture button the toast is displayed but image is not saved anywhere on the devices. Also added the permission to write on external device in menifest. Take photo

[android-developers] mobile eye for windows phone 7.5 mango

2012-07-27 Thread megatypos
i am looking for this app months and i cant find it...anyone who convert this app from ios to wp7.5 i will pay himcheck it out.http://itunes.apple.com/us/app/mobile-eye/id362651542?mt=8 -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Re: Flickering with keyboard animation

2012-07-27 Thread knaeckeKami
I have the same issue. Did you solve it? And if yes - how? -- 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] Multiple SurfaceView and threads

2012-07-27 Thread Andrey Kozak
Hi all. I have a problem. Please help. 1. I use a multiple views. Main menu surface view: view class=com.sniko.simplepong.MainMenuActivity$MainMenuSurfaceView android:layout_width=fill_parent android:layout_height=fill_parent android:padding=10dip android:scrollbars=vertical

[android-developers] Advantage of introducing Isolatedprocess tag within Services in JellyBean[Android]

2012-07-27 Thread Mehrag
http://stackoverflow.com/questions/11681115/advantage-of-introducing-isolatedprocess-tag-within-services-in-jellybeanandroi# Can anyone put some light as what's the real/main advantage of introducing Isolatedprocess tag within Services in JellyBean[Android]. Is this advantageous at

[android-developers] Re: TTS / Jellybean

2012-07-27 Thread Michael Kendle
I'm having the same problem with my app. Only an issue with Jelly Bean, worked fine before. On Monday, July 23, 2012 9:37:53 AM UTC-5, Pent wrote: On my Nexus S European GSM 4.1, if not all possible languages are installed for the 'Google Text-to-speech Engine' then checking TTS data with

[android-developers] Re: Bluetooth SPP Service Discovery Intermittent but Persistent failures

2012-07-27 Thread Konny
I noticed the same on a Galaxy S2 running 4.0.3. So I tried to check the UUIDs prior to connect() by calling BluetoothDevice#fetchUuidsWithSdp(). This works good for some time, but at some point my BroadcastReceiver stops to receive the ACTION_UUID intents (although fetchUuidsWithSdp returned

[android-developers] instantiation of main activity

2012-07-27 Thread peter gottlieb
I have gone through several stages in the development of an app, compiling and executing just fine. After my latest increment of code the app builds fine, but crashes with the following message in the Log: unable to instantiate ActivityComponentinfo {}: java.lang.NullPointerException. My

Re: [android-developers]

2012-07-27 Thread Asheesh Arya
webpage auh lots of work still left -- 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] How to make activate from sms ?

2012-07-27 Thread ono
Thanks for reply. And could you give me a sample code ? Ono 2012年7月27日金曜日 5時04分57秒 UTC+9 Kristopher Micinski: Google SMS broadcast receiver On Jul 26, 2012 5:01 AM, ono onoke...@gmail.com wrote: Hi, I am searching a sample code what make activate android app by SMS. Could anyone show

[android-developers] how to position imageview in linear layout with respect to screen size

2012-07-27 Thread Vijay Krishnan
Hi all, In my application,i used to customize the position of image view in linear layout.First,i position the first image view at the centre of the screen and then i try to position the second image view above the first image view.But i couldn't do that because the second image view is

Re: [android-developers] Public API for bluetooth headset event

2012-07-27 Thread Ankur Agarwal
Hi Raunaque, I am trying to write my application which would react to the Bluetooth headset/stereo-headset event. Pairing is done the normal way as is done between the phone and the Bluetooth device. Thanks, Ankur On Fri, Jul 27, 2012 at 2:20 PM, Raunaque Quaiser rmquai...@gmail.comwrote:

[android-developers] Re: Multiple SurfaceView and threads

2012-07-27 Thread RLScott
The rule is only the main UI thread is allowed to draw anything on the screen. Do not use other threads to try to do this because it will only get you into trouble. There are various methods of linking background thread calculations and communications with the main thread, but only the main

Re: [android-developers] How to put ads in live wallpapers?

2012-07-27 Thread MobileVisuals
Could you please explain why you think it is a terrible idea to mix live wallpapers with advertising? I have talked to several mobile advertising companies now and now one has any other advertising solution for live wallpapers than push notifications. Is any one else here developing live

Re: [android-developers] Unsubscribe

2012-07-27 Thread Jim Graham
On Thu, Jul 26, 2012 at 10:35:18PM -0700, Andy dev wrote: Anyone made any progress with this issue, I still cannot pinpoint what causes it? It's nothing new...e-mail lists have been plagued with unsubscribe requests sent to the list despite very specific instructions given to users of the list

Re: [android-developers] Jelly Bean, READ_LOGS and 'Application Lockers'

2012-07-27 Thread Mark Murphy
On Thu, Jul 26, 2012 at 10:54 PM, Bryan Ashby nuskoo...@gmail.com wrote: Google has certainly posted we're working on it type hints on many issues / upcoming features. Dates no, but it would be good to know if this is being looked at. :: snip :: I think at this point I may develop some

Re: [android-developers] instantiation of main activity

2012-07-27 Thread Mark Murphy
Please consider posting a full stack trace. On Thu, Jul 26, 2012 at 6:50 PM, peter gottlieb gottlieb...@gmail.com wrote: I have gone through several stages in the development of an app, compiling and executing just fine. After my latest increment of code the app builds fine, but crashes with

[android-developers] Re: Try to connect on SQL database jtdb drivers

2012-07-27 Thread Andre St-Onge
The XYZ is the instance of the SQL server not a path So IPADRESS/instance are not working Any idea ? -- 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

Re: [android-developers] modifying repligoreader.apk

2012-07-27 Thread Mark Murphy
So, not only are you a software pirate, but you want help from this list in your piracy. How charming. On Thu, Jul 26, 2012 at 3:32 PM, shahrokh vahedi v.shahrokh.1...@gmail.com wrote: hello... I wonder if you could modify the attached app to disable page turn animations... I'll appreciate it

Re: [android-developers] Advantage of introducing Isolatedprocess tag within Services in JellyBean[Android]

2012-07-27 Thread Mark Murphy
On Thu, Jul 26, 2012 at 11:42 PM, Mehrag gaurav.cs.me...@gmail.com wrote: Can anyone put some light as what's the real/main advantage of introducing Isolatedprocess tag within Services in JellyBean[Android]. It is a simple way of providing sandbox security, particularly for something that might

Re: [android-developers] Regarding Application is not installed alert

2012-07-27 Thread Mark Murphy
There is no solution. The OS s indicating that the home screen's process cannot run your app (though the message itself is inaccurate). You cannot customize that message, because you did not write the operating system. On Fri, Jul 27, 2012 at 1:52 AM, Bunty syed itsmeatfo...@gmail.com wrote: Plz

Re: [android-developers] Licensing question

2012-07-27 Thread Mark Murphy
On Thu, Jul 26, 2012 at 12:13 PM, Thanikai Sokka thani...@google.com wrote: I have a friend outside of Google that is working on an Android device and wants to ship it with YouTube already bundled. He was wondering if there is any licensing required with Google in order to do this. Not sure if

Re: [android-developers] An issue with the added functionality of the home button (4.1)

2012-07-27 Thread Mark Murphy
On Thu, Jul 26, 2012 at 4:25 AM, Viché vichethesco...@gmail.com wrote: I'm wondering if there is a way to either intercept or stop the two extra functions to the home button which is long press and swipe up, which both display the google cards type activity. Actually pressing home is ok, but I

Re: [android-developers] Arial show?

2012-07-27 Thread bob
Ok, thanks. I guess this is what Android folks use when they wanna get fancy: http://en.wikipedia.org/wiki/File:DroidSerifSpecimen.svg Here are the other two: http://en.wikipedia.org/wiki/File:DroidSansMonoSpecimen.svg http://en.wikipedia.org/wiki/File:DroidSansSpecimen.svg On Thursday,

Re: [android-developers] Arial show?

2012-07-27 Thread Kostya Vasilyev
Don't forget Roboto, as well - which is a sans serif type, and is densely spaced, making it somewhat decorative... 27.07.2012 15:08 пользователь bob b...@coolfone.comze.com написал: Ok, thanks. I guess this is what Android folks use when they wanna get fancy:

[android-developers] Hi Developers:

2012-07-27 Thread parthi
How to connect oracle database using android import java.sql.Connection; import java.sql.DriverManager; import java.sql.SQLException; import android.app.Activity; import android.os.Bundle; import android.widget.TextView; public class AndroidoracleActivity extends Activity { /** Called

Re: [android-developers] Unsubscribe

2012-07-27 Thread Kostya Vasilyev
2012/7/27 Jim Graham spooky1...@gmail.com On Thu, Jul 26, 2012 at 10:35:18PM -0700, Andy dev wrote: Anyone made any progress with this issue, I still cannot pinpoint what causes it? It's like life after death - no-one who knows for sure is able to share his knowledge :) It's nothing

Re: [android-developers] Re: Jelly Bean, READ_LOGS and 'Application Lockers'

2012-07-27 Thread Kristopher Micinski
Generally if you can do this, it's kind of considered a security hole, and while these chinese wall policies are implementable, I'm a little skeptical as to their real utility... On Jul 27, 2012 2:09 AM, Pent supp...@apps.dinglisch.net wrote: Note that app-locking is not the only use-case for

[android-developers] Bluetooth PAN profile in Android ICS

2012-07-27 Thread chainz roid
Hello I've a question that, is ANDROID ICS support Bluetooth Personal Area Network (PAN) profile or not .? Is any one handled that, kindly let me know.! Thanks in advance. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] Re: Dalvikvm exception instantiating org.apache.http.entity.mime.content.FileBody

2012-07-27 Thread jclove
Hi DennisG: I can upload image file to server by source solution now. I will try new method.Thanks a lot. DennisG於 2012年7月26日星期四UTC+8下午3時14分03秒寫道: Sorry to all. Please forget about sources solution. Just put .JAR file into /libs folder of the project and add link to this JAR file to the

[android-developers] Regarding Application is not installed alert

2012-07-27 Thread Spiral123
What is 'plz'? Is it some sort of insult? I'm thinking of doing something similar. I haven't researched it yet but my planned approach is to do something in the child app to check the calling intent rather than your approach. -- You received this message because you are subscribed to the

[android-developers] Re: Jelly Bean, READ_LOGS and 'Application Lockers'

2012-07-27 Thread Pent
Generally if you can do this, it's kind of considered a security hole, By whom and for what reason ? while these chinese wall policies are implementable, I'm a little skeptical as to their real utility... Luckily my customers aren't. Pent -- You received this message because you are

[android-developers] Re: ICS/JB adaptation rate

2012-07-27 Thread Zsolt Vasvari
Is yours (and Pent's) app new to the Market? On Friday, July 27, 2012 4:50:57 PM UTC+8, b0b wrote: I have some amazing numbers for my app with ICS+ adoption rate. This is an app that catters to users more likely to be technical thus having high-end phones or tablets Free version:

[android-developers] Re: ICS/JB adaptation rate

2012-07-27 Thread RichardC
http://developer.android.com/about/dashboards/index.html On Friday, July 27, 2012 6:00:06 AM UTC+1, Zsolt Vasvari wrote: I know my app may not be a perfect sample (higher price, more sophisticated users), but it's interesting to see the various SDK level breakdown as of today: Android

Re: [android-developers] Re: Try to connect on SQL database jtdb drivers

2012-07-27 Thread Andre St-Onge
Hum !!! .. my program working very well on other one SQL Server 2005 except if I tried to connect on my computer on Microsoft SQL Server Express Edition with Advanced Services This can be a problem with port lan or restriction on SQL Express When I will found a way, I will post my solution, just

[android-developers] Re: ICS/JB adaptation rate

2012-07-27 Thread Pent
Mine's been out a couple of years. Pent -- 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] Re: TTS / Jellybean

2012-07-27 Thread Michael Kendle
So I believe I figured out a way around this, which IMO is nicer anyway. Rather than check the TTS data before I create the TTS object, I just create it and then call: myTTS.isLanguageAvailable(Locale.getDefault()) // for the default locale, can change to whatever to see if there's TTS data

Re: [android-developers] Re: Jelly Bean, READ_LOGS and 'Application Lockers'

2012-07-27 Thread Kristopher Micinski
Most people I know on this list argue that apps should never be allowed to change system behavior. I hope you understand the implications for apps that aren't legitimate, unlike yours. Sure there are hacks, removing them happens slowly. Whats your app title, since I'm assuming you won't disclose

Re: [android-developers] Re: Jelly Bean, READ_LOGS and 'Application Lockers'

2012-07-27 Thread Kristopher Micinski
By the way, I think anyone at Google would argue this is a security hole, so I'm not alone On Jul 27, 2012 9:37 AM, Kristopher Micinski krismicin...@gmail.com wrote: Most people I know on this list argue that apps should never be allowed to change system behavior. I hope you understand the

[android-developers] getViewTypeCount

2012-07-27 Thread bob
I'm writing a class that implements ListAdapter. I'm looking at this method: --- public abstract int getViewTypeCount () Since: API Level 1 Returns the number of types of Views that will be created by getView(int, View, ViewGroup). Each type represents a set of

Re: [android-developers] getViewTypeCount

2012-07-27 Thread Kumar Bibek
This you would use if the list items are of different type, ie, one item could have a simple textview, and another could have a textview with a button, and provided you want to have a separate layout file for these two kinds of views. *Thanks and Regards, Kumar Bibek* *

[android-developers] Re: Jelly Bean, READ_LOGS and 'Application Lockers'

2012-07-27 Thread Pent
By the way, I think anyone at Google would argue this is a security hole, so I'm not alone They seem to allow services to do virtually anything that an activity can do at virtually any time. Doesn't seem to me they consider it a security hole. My app is called Tasker. It uses ActivityManager

Re: [android-developers] Re: Jelly Bean, READ_LOGS and 'Application Lockers'

2012-07-27 Thread Kristopher Micinski
I didn't say that was a security hole, but I believe you could. What I said was bad was when an apparently could gain power over the system. AM polling is an option, but while it's a possible hack, they certainly don't *want* this, hence lack of an API, you can see the lengthy discussions as to

Re: [android-developers] Re: Jelly Bean, READ_LOGS and 'Application Lockers'

2012-07-27 Thread Kristopher Micinski
By the way, I don't think your apparently shouldn't exist, I think there should be a way to extended system functionality in a secure way, and I don't think poor undocumented interfaces subject to change are the right way On Jul 27, 2012 10:05 AM, Kristopher Micinski krismicin...@gmail.com wrote:

Re: [android-developers] getViewTypeCount

2012-07-27 Thread Justin Anderson
Another scenario where you would use this is if you want to have sections headers in your list... For example, if you are displaying a list of contacts in alphabetical order, you can have a section header every time you get to a new letter when scrolling through the list. In this case, you would

Re: [android-developers] Re: Jelly Bean, READ_LOGS and 'Application Lockers'

2012-07-27 Thread Kristopher Micinski
App, not apparently, I have an overzealous autocorrect On Jul 27, 2012 10:13 AM, Kristopher Micinski krismicin...@gmail.com wrote: By the way, I don't think your apparently shouldn't exist, I think there should be a way to extended system functionality in a secure way, and I don't think poor

[android-developers] Re: ICS/JB adaptation rate

2012-07-27 Thread b0b
On Friday, 27 July 2012 15:28:34 UTC+2, Zsolt Vasvari wrote: Is yours (and Pent's) app new to the Market? No, 1 year. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] getViewTypeCount

2012-07-27 Thread TreKing
On Fri, Jul 27, 2012 at 9:43 AM, bob b...@coolfone.comze.com wrote: Can someone help me understand why I must implement this method? It seems like it should not be necessary to do this. You don't *have* to. It's *not* necessary to do this. On Fri, Jul 27, 2012 at 10:14 AM, Justin Anderson

[android-developers] Re: add phone number to contact

2012-07-27 Thread Nobu Games
I made a little spot the* error* game for you: builder = ContentProviderOperation.newInsert(ContactsContract.Data.CONTENT_URI); builder.withValue(ContactsContract.Data.CONTACT_ID, contactID);

Re: [android-developers] Problem Obtaining API Key and MapView not working

2012-07-27 Thread TreKing
On Thu, Jul 19, 2012 at 2:54 PM, AgricultureDeveloper juliorodriguezvasq...@gmail.com wrote: if I could just get the maps to show up on my phone I could deal with the api key later on down the road. You can just run a debug build for now with your debug key and it should work just like the

Re: [android-developers] Photos not saving anywhere?

2012-07-27 Thread TreKing
On Thu, Jul 26, 2012 at 5:26 AM, Vaibhav Ajay Gupta vaibhav.ajaygu...@gmail.com wrote: Why images are not saving anywhere?? Please break your post down to the bare minimum amount of code required to demonstrate your problem. That's too much code for mots people to weed through.

Re: [android-developers] New to android..which API to choose?

2012-07-27 Thread TreKing
On Mon, Jul 23, 2012 at 4:27 PM, Carlos Oneil dubb...@gmail.com wrote: If i develop a ICS based app, will it run on a Gingerbread device? If your minSDK is Gingerbread and you use APIs that existed then, then yes, it'll work. There is also the compatibility library for this purpose.

Re: [android-developers] Does app updates count toward user installs on play store

2012-07-27 Thread TreKing
On Mon, Jul 23, 2012 at 5:04 PM, Android Whiz hemant...@gmail.com wrote: I have basic question on how Google records the user installs that is listed on the play store. I doubt anyone here has an answer for you. The people that would know that for sure are neither on this list nor would

Re: [android-developers] Storing an array of floats in SD Card

2012-07-27 Thread TreKing
On Tue, Jul 24, 2012 at 3:17 PM, sterva7 esther.vasi...@gmail.com wrote: Can I do this? How? Is there any example I can use? http://developer.android.com/guide/topics/data/index.html - TreKing

Re: [android-developers] Google Play suspended one of our applications.

2012-07-27 Thread TreKing
On Tue, Jul 24, 2012 at 8:23 AM, Kiwe Development di.ntem...@gmail.comwrote: Do you have any clue what's the violation here? Your name and icon are fairly blatant ripoffs of Pinterest, to the point that a casual passerby might confuse your product as an official Pinterest app. They're probably

Re: [android-developers] How to cereate table on android.

2012-07-27 Thread TreKing
On Wed, Jul 25, 2012 at 5:16 PM, polvertum ivica.jo...@mposgroup.comwrote: How to pool data from mysql database and manipulate them in table form. This will work only on 10 screen tablets. Any ideas? Read the docs for SQLite. Read the docs for TableLayout.

Re: [android-developers] My app is not appearing in Google Play

2012-07-27 Thread TreKing
On Tue, Jul 24, 2012 at 8:51 PM, Bob Crowley crowco...@gmail.com wrote: I have a published app that will not show in Google Play. Not even from my browser so filters are not the issue. It has been two days. I've gone over and over the documentation regarding how to prepare the app for

[android-developers] socket sharing

2012-07-27 Thread bob
Is it possible to pass an open socket between different Activities in the same Application? Is this a reasonable practice or no? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] Voice Actions

2012-07-27 Thread TreKing
On Wed, Jul 18, 2012 at 8:49 AM, AlexTheLion shimanski.a...@gmail.comwrote: hello how can i use voice to get obeject move? for example: when i will say left my object will move left http://developer.android.com/reference/android/speech/package-summary.html

Re: [android-developers] socket sharing

2012-07-27 Thread Kristopher Micinski
Generally you write a service that handles it and coordinate network operations by using the service from different activities. kris On Fri, Jul 27, 2012 at 1:34 PM, bob b...@coolfone.comze.com wrote: Is it possible to pass an open socket between different Activities in the same Application?

[android-developers] Re: socket sharing

2012-07-27 Thread RichardC
Probably better to use a service. On Friday, July 27, 2012 6:34:11 PM UTC+1, bob wrote: Is it possible to pass an open socket between different Activities in the same Application? Is this a reasonable practice or no? -- You received this message because you are subscribed to the

Re: [android-developers] getViewTypeCount

2012-07-27 Thread Justin Anderson
On Fri, Jul 27, 2012 at 10:14 AM, Justin Anderson magouyaw...@gmail.comwrote: If you only have a single type of item in your list, just implement this and always return 1. FYI, that's unnecessary as that's the default implementation. You only need to override it if you have more than

Re: [android-developers] Hi Developers:

2012-07-27 Thread Justin Anderson
FWIW, I don't think it is possible. However I was nice enough to do the Google search you should have done before posting here: http://lmgtfy.com/?q=oracle+db+on+android Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Fri, Jul 27, 2012 at 5:52 AM,

Re: [android-developers] how to position imageview in linear layout with respect to screen size

2012-07-27 Thread Justin Anderson
How to position the image view with respect to screen size.Any one help on this? You don't want to do that... In my application,i used to customize the position of image view in linear layout.First,i position the first image view at the centre of the screen and then i try to position the

Re: [android-developers] mobile eye for windows phone 7.5 mango

2012-07-27 Thread Justin Anderson
You do realize this is an *ANDROID* group? Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Thu, Jul 26, 2012 at 7:17 AM, megatypos maragos_isto...@yahoo.gr wrote: i am looking for this app months and i cant find it...anyone who convert this app from

Re: [android-developers] ListView with custom view item refresh issue

2012-07-27 Thread Justin Anderson
Look at and implement these methods: http://developer.android.com/reference/android/widget/Adapter.html#getItemViewType(int) http://developer.android.com/reference/android/widget/Adapter.html#getViewTypeCount() Thanks, Justin Anderson MagouyaWare Developer

Re: [android-developers] Re: Try to connect on SQL database jtdb drivers

2012-07-27 Thread Andre St-Onge
And who need to know how the connection string work for SQLEXPRESS on the Android XXX.XXX.XXX.XXX:1434;instance=SQLEXPRESS;databaseName=WorkAdventures;user=**;password=** Replace XXX.XXX.XXX.XXX by computer name or IP Adress and by the SQL user information and under

Re: [android-developers] Hi Developers:

2012-07-27 Thread Nadeem Hasan
Justin, I know you are a nice guy and always do the search on other's behalf but I think the best response is to not respond at all just like everyone else here. If the poster is not smart enough to first try the options that are already available to him/her then he/she does not deserve

Re: [android-developers] Hi Developers:

2012-07-27 Thread Justin Anderson
I know you are a nice guy and always do the search on other's behalf but I think the best response is to not respond at all just like everyone else here. If the poster is not smart enough to first try the options that are already available to him/her then he/she does not deserve even a second

Re: [android-developers] getViewTypeCount

2012-07-27 Thread TreKing
On Fri, Jul 27, 2012 at 12:42 PM, Justin Anderson magouyaw...@gmail.comwrote: I was going off of this from his original post: public *abstract* int getViewTypeCount () Whether or not you have to implement it would depend on what class you are deriving from. Based on the information he

[android-developers] Intent with geo location with no maps API installed

2012-07-27 Thread Luiz Fernando Rodrigues
Hi group, In my application I launch an intent to be opened in the google maps aplication. String uri = geo:0,0?q= + announcement.getAttribute(MapRegion.ANN_GEO) + ( + announcement.getAttribute(MapRegion.ID) + ); Intent intent = new Intent(android.content.Intent.ACTION_VIEW);

Re: [android-developers] Intent with geo location with no maps API installed

2012-07-27 Thread Mark Murphy
On Fri, Jul 27, 2012 at 2:33 PM, Luiz Fernando Rodrigues emaild...@gmail.com wrote: In my application I launch an intent to be opened in the google maps aplication. String uri = geo:0,0?q= + announcement.getAttribute(MapRegion.ANN_GEO) + ( + announcement.getAttribute(MapRegion.ID) + );

Re: [android-developers] mobile eye for windows phone 7.5 mango

2012-07-27 Thread Kostya Vasilyev
Hey, some of us have Windows Phone devices too :) ( whoops... ban for life now? ) 2012/7/27 Justin Anderson magouyaw...@gmail.com You do realize this is an *ANDROID* group? Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Thu, Jul 26, 2012 at

Re: [android-developers] ListView with custom view item refresh issue

2012-07-27 Thread Kostya Vasilyev
I'm not seeing any evidence why getViewTypeCount() or getItemViewType() would be needed. Based on the description, the items views appear to be homogeneous. It looks weird to me that public void refreshView does not take an int position parameter. How does it know that it needs to set the views

  1   2   >