[android-developers] GPS on Droid issues

2009-11-16 Thread Robert
oid though, the GPS stays on the entire time without sleeping feeding me an update every minute. This is killing the battery when my application is running, I need it to sleep just like it does on the G1 to conserve. Anyone have any thoughts/ideas? Robert -- You received this message becau

[android-developers] system notification while app is running

2009-03-18 Thread Robert
Hello, After I install an apk and run it immediately, it seems the system notification (app installed) is pushed only when I exit the app. Any possible way to detect this whilst app is running? Thanks Robert --~--~-~--~~~---~--~~ You received this message

[android-developers] Question about Preference Screen

2009-02-09 Thread robert
Hi All: When I see the doc of Preference Screen, there is one paragraph about the sub-preference screen related to dialog, the doc is as follow: ---> When it appears inside another preference hierarchy, it is shown and serves as the gateway to another screen of preferences (either

[android-developers] Re: Question about Preference Screen

2009-02-09 Thread robert
at it is. (As an alternative, the inner > PreferenceScreen could specify an activity intent that is fired when > the user clicks on its list entry.) > > Christoph > > On Tue, Feb 10, 2009 at 2:00 AM, robert wrote: > > > Hi All: > >    When I see the doc of Preferen

[android-developers] Re: Question about Preference Screen

2009-02-09 Thread robert
on when exactly you call it. > > What is it exactly you want to achieve after accessing the dialog? > > On Tue, Feb 10, 2009 at 3:11 AM, robert wrote: > > > Dear Christoph > > Thanks for ur reply:) > > I've tried as you said and I got the concept of the structure.

[android-developers] Re: Question about Preference Screen

2009-02-09 Thread robert
; On Tue, Feb 10, 2009 at 3:11 AM, robert wrote: > > > Dear Christoph > > Thanks for ur reply:) > > I've tried as you said and I got the concept of the structure.But > > there is still a problem when I use the getDialog() method. > > I found that the return of t

[android-developers] Re: How to share preference across several Activities?

2009-02-14 Thread robert
preference package, and I'll create a new post to describe the issues, if you have any suggestion, pleasure for me to see the reply:) Regards Robert Ma On 2月15日, 上午11时11分, Mattaku Betsujin wrote: > Hello, > > I have two activities in two different packages: com.foo.a and com.foo.b. Is &g

[android-developers] Question about PreferenceManager.setDefaultValues

2009-02-14 Thread robert
Hi All: When I use PreferenceManager.setDefaultValues() in my main activity, and then use getDefaultSharedPreferences(), the returned SharedPreferences has nothing in it(getAll().size == 0). And when I use addPreferencesFromResource() in my own PreferenceActivity, SharedPreferences has the a

[android-developers] Re: Question about PreferenceManager.setDefaultValues

2009-02-14 Thread robert
ality if the Context is the same, but I used different activity and got the same return, why? On 2月15日, 下午12时43分, robert wrote: > Hi All: > When I use PreferenceManager.setDefaultValues() in my main > activity, and then use getDefaultSharedPreferences(), the returned > Shar

[android-developers] storing apps in Sd card

2009-03-09 Thread Robert
Is there anyway to store the apps on the SD card? I just bought the G1 and if i can't find a way to store the apps on the SD within two day i'll definitely return it to the store. My memory is already running low! This is ridiculous! --~--~-~--~~~---~--~~ You rec

[android-developers] Resizing camera preview dimensions

2009-01-06 Thread Robert
Is anyone aware of how to lower the width and height size that is returned by previewCallback for Camera? Right now it returns an image with dimensions 480x320 and I would like to reduce that by at least half. Any suggestions? Robert --~--~-~--~~~---~--~~ You

[android-developers] How to get the picture(like a .jpg picture) in Android?

2008-10-27 Thread robert
Maybe there is one way, that is to decodeResource to be a bitmap and get height and width of this bitmap, but if there is any other way to get the size of picture(obtained by id)? Plz help me, thanks a lot! --~--~-~--~~~---~--~~ You received this message because yo

[android-developers] Changing Google image server

2008-11-20 Thread Robert
? Robert --~--~-~--~~~---~--~~ 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 [EMAIL

[android-developers] Capturing frames form MediaPlayer

2008-12-03 Thread Robert
I am able to successfully play a video using MediaPlayer on my emulator. I would like to know if there is any supported functionality that can take a screen grab and save it to a Bitmap given a seekTo time? Thanks in advance, Robert --~--~-~--~~~---~--~~ You

[android-developers] Web Browser in .9

2008-09-22 Thread Robert
N has been removed, I'm stumped on how to do the same action in .9. Help is appreciated. Robert --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send em

[android-developers] ActiveSync with Outlook, Exchange and Business Users

2008-09-23 Thread Robert
Email, Contacts and Calendar. I found nothing how to Sync or DirectPush? -robert- --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to and

[android-developers] Re: Problem with MapView

2008-10-23 Thread Robert
MapView was working fine until yesterday. Since yesterday i run into problems too. Please have a look at this: http://code.google.com/android/reference/com/google/android/maps/MapView.html and this: http://code.google.com/android/toolbox/apis/mapkey.html Nageshwar schrieb: > I'm also having the s

[android-developers] data exchagne on client/server applications

2009-10-12 Thread Robert
tream (xmpp) or packets (http) from one direction to another? How would you solve this? Looking forward for inspirating answers, Robert --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" gr

[android-developers] Re: Confusing Problem about MediaPlayer

2008-04-11 Thread Robert
uck with that either :( What else can I try? This is how the surface is defined in main.xml: Also can you suggest a way to display a PNG image from SD card on a SurfaceView? Seems that MediaPlayer was not designed for this. Thanks and regards Robert On Apr 8, 1:19 am, "Megha Joshi" &

[android-developers] Re: Confusing Problem about MediaPlayer

2008-04-12 Thread Robert
her ideas to try out? Thanks, Robert On Apr 12, 4:41 am, "Megha Joshi" <[EMAIL PROTECTED]> wrote: > Hi Robert, > > What if you set mSF to null in surfaceDestroyed() call... Does that help? > > Thanks, > Megha > > On Fri, Apr 11, 2008 at 2:27 PM, Robert <[E

[android-developers] Re: Confusing Problem about MediaPlayer

2008-04-14 Thread Robert
ile. Hope the judges will understand :) Thanks for all your help, Robert On Apr 14, 10:41 pm, "Megha Joshi" <[EMAIL PROTECTED]> wrote: > Hi, > > About the MediaPlayer, I think the issue is that along with waiting for the > surface being created, the start() method sho

[android-developers] Outlook mail

2010-04-13 Thread Robert
Is anybody else having problems with their Outlook mail after the update to the Droid? I get the notification and then I clear it by viewing the email. I'll close it and then another notification will pop-up for new mail and I'll go to it but nothing is there. So basically I'm clearing the new e

[android-developers] Translation to Chinese

2010-04-15 Thread Robert
nd videos no shutter sound when capturing photos and videos Look up locations Looking up locations... Look up location Looking up location... Edit location More info on my app: http://dailyroads.com/voyager/ Thanks and regards, Robert -- You received this message because you are subscribed to the Go

[android-developers] Re: App download too less

2010-08-15 Thread Robert
Okay first off I dont want to hurt your feelings. That being said one possible problem with your app is the actual app's content. If your just going for the numbers you need to think "What are Android users looking for in the Market? Are they looking for jigsaw styled games or maybe something more

[android-developers] Re: Career as an Andoid developer. Is there any point?

2011-05-26 Thread Robert
I don't have the 40 years experience of the original poster.. just a kid in the industry at 30 years. Little more if counting the time in college doing programming. By their nature, all decisions are limiting. As I look back over the various OS/programming systems I've used, most (LInux ecosystem

[android-developers] Custom Widget Will Not Fill Parent View

2011-06-10 Thread Robert
I am trying to creating a bottom toolbar widget that dynamically adds buttons. Right now the buttons are simple TextViews. My problem lies when I add the button, it fails to fill the parent in width and height of the toolbar. Instead it simply wraps the TextView content. I don't want that. I wa

[android-developers] Re: Custom Widget Will Not Fill Parent View

2011-06-10 Thread Robert
I'm wondering if it's because I'm somehow inflating the views wrong or attaching the wrong parents, but everything seems to be fine. -- 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@go

[android-developers] [SOLVED] Custom Widget Will Not Fill Parent View

2011-06-14 Thread Robert
I managed to fill the toolbar_item within the toolbar by adding another LinearLayout inside of the toolbar.xml: http://schemas.android.com/apk/res/android"; android:layout_width="match_parent" android:layout_height="@dimen/toolbar_height" android:layout_centerVertical="true" android:

[android-developers] Long Press on custom View

2013-05-22 Thread Robert
Long story, short. 1. I have a relative layout 2. I need to program stuff to happen when the user long presses inside the view What I would really like is to have a delete button appear on the side that the user presses and the view goes away. Any idea how to do that? -- -- You received this

[android-developers] Align several Views horizontal and center them

2010-11-02 Thread Robert
Hello, I have an ImageView and a TextView which I want to have in one line and center it on the screen. Unfortunatelly with my code the Textview is not displayed but the Image is centered. http://schemas.android.com/apk/ res/android" android:layout_w

[android-developers] Re: Align several Views horizontal and center them

2010-11-02 Thread Robert
first (top-level) view in the file. > > -- Kostya > > 02.11.2010 14:14, Robert пишет: > > > > > > > > > > > Hello, > > I have an ImageView and a TextView which I want to have in one line > > and center it on the screen. Unfortunatelly wit

[android-developers] ImageView content provider causing android.process.acore crash

2010-11-22 Thread Robert
I've implemented a content provider for my imageview on a widget. I had to do this because large bitmaps won't work with the normal remoteview.setImageViewBitmap. Now I use remoteview.setImageViewUri(id, "content://com.../image?widget="+id) and it works great except one thing. Every time I redeploy

[android-developers] Gingerbread on the Nexus One

2011-01-06 Thread Robert
Does anyone have info on when the Gingerbread release will start rolling out to the Nexus One's purchased from Google? Robert -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to and

[android-developers] Re: Camera picture taking memory error

2011-01-14 Thread Robert
print a warning, and return the buffer anyway! Not discard it. Regards // Robert On Dec 14 2010, 11:14 pm, Stephen Lebed wrote: > In the app I'm working on, I'm using Camera.addCallbackBuffer and > Camera.setPreviewCallbackWithBuffer to control the camera preview. > BTW, this

[android-developers] Re: Error installing Android SDK Tools, revision 9

2011-01-27 Thread Robert
rt Eclipse - Install the new version All worked ok after that. Thanks to the Google Android team for continuous innovation and improvement. Robert On Jan 26, 10:36 pm, Xavier Ducrohet wrote: > actually you're right. Updating from eclipse might be worse. We've > mostly improv

[android-developers] How to use a local file which is a database

2009-04-30 Thread Robert
Hi all, I'm a greenhand on android. I analysis some data into a database, and I need to use it in my application. I can't create the database in my applicaiton because it will cost a long time. so I need to push it in. I heard that the database can be put in to asset folder, but it doesn't effect.

[android-developers] Problems with orientationchange

2010-07-29 Thread Robert
Hello, I have a tabactivity where my app is running in. One of the tabs needs to have landscape orientation, assume this is activity2, activity1 needs to have portrait-orientation. In activity1 I do have code like: public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInst

[android-developers] Re: Problems with orientationchange

2010-07-29 Thread Robert
vity2) > > Regards > Sarwar Erfan > > On Jul 29, 2:25 pm, Robert wrote: > > > Hello, > > I have a tabactivity where my app is running in. One of the tabs needs > > to have landscape orientation, assume this is activity2, activity1 > > needs to have

[android-developers] Re: Problems with orientationchange

2010-08-02 Thread Robert
t; any types of configuration changes you say that you handle there, you > > will receive a call to your current activity's > > onConfigurationChanged(Configuration) method instead of being > > restarted. If a configuration change involves any that you do not > > handle

[android-developers] Re: Problems with orientationchange

2010-08-02 Thread Robert
g 2, 11:55 am, Sarwar Erfan wrote: > On Aug 2, 2:11 pm, Robert wrote: > > > Thank you so much for your effort. But unfortunatelly that isnt > > working with my code. Maybe that's because I am running my activities > > in Tabs or one of my activity is the camera. &g

[android-developers] Re: Problems with orientationchange

2010-08-03 Thread Robert
hey Sarwar, Its working :) Thank you so much for your patience. Actually a pretty simple approach. Regards On Aug 2, 9:05 pm, Sarwar Erfan wrote: > Hi, > Well, I previously ignored the issue that your Activity1 and Activity2 > are not being displayed individually. > Here is the solution: > > 1. D

[android-developers] Re: Market problems again

2010-06-15 Thread Robert
One of my apps lost 1800+. I wasn't very nice this morning. Lol On Jun 12, 2:08 am, Zsolt Vasvari wrote: > My app suddenly lost half its installs  :(    Both on the Market > website and on the device Market app. > > Does anybody else ee this? -- You received this message because you are subscri

[android-developers] Re: oh no - lost my keystore

2010-07-09 Thread Robert
What we do here is we put the keystore on 3 seperate flashdrives! When one goes down we send the intern(slave) to the store yo buy one! -- 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] Access to data folder on Google Nexus S

2011-02-23 Thread Robert
Hello, can someone help me. I can't access to "data" folder in Google Nexus S, any idea how I can do it? Don't ask please that I'm using DDMS the answer is YES and even there I can't access to that folder, I also tried to do it by command line and guess what... no way. Please any idea? -- You re

[android-developers] Re: Access to data folder on Google Nexus S

2011-02-25 Thread Robert
Ok so there is no option to get there?? That's really strange. So is there any option to see SQLite database file of my application?? On Feb 24, 3:50 pm, Mark Murphy wrote: > On Thu, Feb 24, 2011 at 1:56 AM, Robert wrote: > > can someone help me. I can't access to "data

[android-developers] Items Randomly Shift in ListView

2011-03-03 Thread Robert
I'm using a custom adapter which populates a ListView with a custom widget; the list shows bluetooth devices within range. I use a BroadcastReceiver to find the bluetooth devices and dynamically populate the list when I do. I call a function, addDevice(), from my custom adapter, which updates it

[android-developers] Re: Items Randomly Shift in ListView

2011-03-03 Thread Robert
Thanks for the quick reply Streets. It worked perfectly. I still don't understand why I need to re-add the data though or why it would make a change in the order of the list. Shouldn't it be the same? -- You received this message because you are subscribed to the Google Groups "Android Develope

[android-developers] Re: [SOLVED] Items Randomly Shift in ListView

2011-03-04 Thread Robert
I actually have another question about an understanding of a particular behavior. I found that whenever I clicked on a CheckBox, while other items are being added to the list, it seems to move to other items in the list. Sometimes it would even check off another item's CheckBox at the same time

[android-developers] Threads

2010-11-30 Thread Robert
Hello everybody, I have some trouble with threads. The thing is the following: I have my main Activity, which is doing some OpenGL and should be doing it at all time. In parallel to that I start another activity, which is waiting for some network traffic, once there arrives sth a variable should be

[android-developers] Re: SharedPreferences not persisting

2010-12-21 Thread Robert
This may be a newbie comment Wouldn't it make sense to save/ commit those variables when they change and not depend on a proper shut down to save them? Is that considered too much of a performance hit? Robert On Dec 18, 5:54 pm, Dianne Hackborn wrote: > If you want to ensure the

[android-developers] Re: Google Nexus S - Please provide as DEV phone, asap :-)

2010-12-21 Thread Robert
Hmmm... lets see.. I just went to the website of 2 of your big electronics stores, MediaMarkt and Saturn to see if I could buy the really nice Toshiba Android tablet that I saw on my last trip to Osnabrueck ... Oh.. they don't have webstores or a presence in the USA. Want to put them in the sam

[android-developers] Re: Cannot compile Desk Alarm Clock (branch eclair ver 2.1)

2010-12-26 Thread Robert
Check out Alarm Clock Xtreme by Irene Duke. http://alarmclockxtreme.blogspot.com/ It is possible to do and do well with the SDK. On Dec 26, 7:32 pm, Zsolt Vasvari wrote: > I do understand where you are coming from, though.  It would be ideal > that top-layer apps, especially simple ones like

[android-developers] Screen Rotation

2010-12-31 Thread Robert
7;ve read some pages on it but not yet clear how to do that. Sorry for maybe some terminology that isn't correct. Hopefully the issue is clear though. Thanks for any pointers to information that may help. Robert http://schemas.android.com/apk/res/android"; package="

[android-developers] Re: Screen Rotation

2010-12-31 Thread Robert
Yes, I agree and even said in my original post that I was working to understand how to make that work correctly. Still would be interested to know why the manifest entry doesn't seem to be working as documented. On Dec 31, 12:55 pm, TreKing wrote: > On Fri, Dec 31, 2010 at 11:48 AM

[android-developers] Can I use TraceView in native code when using NDK?

2009-12-10 Thread robert
Hi All We know that it's very convenient to use TraceView in Android java code to check the runtime of different chunks of code. Now I develop my app with NDK and I want to check the runtime of some native functions, but I found nothing in TraceView guide if it's possible to use this tool. Beca

[android-developers] getSupportedPictureSizes() for video?

2009-12-22 Thread Robert
Hello, In API 5 the Camera.Parameters class has getSupportedPictureSizes(). But the returned values are too high to be used for video recording. Is there any way to similarly query for the supported video resolutions? setVideoSize() expects valid width and height. Thanks, Robert -- You

[android-developers] Re: getSupportedPictureSizes() for video?

2009-12-26 Thread Robert
ct a VGA resolution, if the camera is not capable capturing video at that resolution. Is there a way to test that a specific resolution is supported by the video camera? Thanks, Robert On Dec 22, 11:51 am, Robert wrote: > Hello, > > In API 5 the Camera.Parameters class has getSupp

[android-developers] Achieving evenly spaced buttons on a layout

2009-12-29 Thread Robert
I am developing a misterhouse frontend. I have 9 image buttons that I want to be evenly spaced on all sides. See http://onlamp.com/onlamp/2004/11/11/graphics/mrhousemain.gif . What layout and xml parameters do I use to achieve this? -- You received this message because you are subscribed to th

[android-developers] Creating ImageView on the fly

2010-09-17 Thread Robert
Hello, I have a problem. I want to have several dynamicaly created 'pictures'. e.g. a cricle with some specific text in it (the text is created before, by the app and can't be predicted) ( That is the problem, as I figured out I cannot write on a bmp or drawable) I may have several of those circles

[android-developers] Re: thousands of strings

2010-10-04 Thread Robert
This is a perfect case for using androi's built in sqlite database! -- 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 andr

[android-developers] how to initialize MediaRecorder in the background?

2009-08-05 Thread Robert
y SurfaceHolder, or reuse the Camera with mMediaRecorder.setCamera(), but nothing works. Is there a way to initialize MediaRecorder in the background? Thanks and regards, Robert --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[android-developers] Re: how to initialize MediaRecorder in the background?

2009-08-06 Thread Robert
the surface being destroyed Nothing has worked as expected :( Is there a way to keep a valid surface when the view is pushed to the background? Or, make setPreviewDisplay() accept a dummy surface? Thanks, Robert On Aug 5, 1:10 pm, Robert wrote: > Hello all, > > I am building a camera a

[android-developers] Streaming video from phone

2009-06-22 Thread Robert
I looked into live video streaming from the phone during Android 1.0, but from what I gathered the framework wasn't there yet. Can anyone let me know if this has changed since the release of 1.5? Thank you. Robert --~--~-~--~~~---~--~~ You received this me

[android-developers] How to Get List of all Devices Connected to the Same Wi-Fi Network

2011-04-15 Thread Robert
I'm relatively new to Network/Socket programming so I haven't dabbled too much into it. As my phone is connected to a particular Wi-Fi network, I want to get a list of all other devices (phone, computer, or other misc) that are connected to the same network. One of the ways that I tried to acco

[android-developers] Re: How to Get List of all Devices Connected to the Same Wi-Fi Network

2011-04-15 Thread Robert
I've even tried this piece of code: byte[] ip = InetAddress.getLocalHost().getAddress(); for (int i=1; i<=254; i++) { ip[3] = (byte)i; InetAddress address = InetAddress.getByAddress(ip); if (address.isReachable(1000)) Log.d(LOG_TAG, "Name: " + address.getHostA

Re: [android-developers] Re: How to Get List of all Devices Connected to the Same Wi-Fi Network

2011-04-15 Thread Robert
Well the particular devices that I will be connecting to are custom made, so I don't know the exact protocols they'll be given yet. Other than that, is there no generic way (common java-wifi stuff) that I am able to detect the devices over the network? -- You received this message because you

[android-developers] Showing a button under a Webview in a tab

2011-04-17 Thread Robert
lativeLayout tabText is the layout for the first tab which is where we need the button. Robert http://schemas.android.com/apk/res/android"; android:id="@android:id/tabhost" android:layout_height="fill_parent"

[android-developers] Re: Showing a button under a Webview in a tab

2011-04-17 Thread Robert
Thanks very much Mark. That fixed it AND I'm happy to get rid of the nested views. Every byte saved and executable statement eliminated are good things. Robert -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to t

[android-developers] Android Dashboard - GirdView or LinearLayout

2011-04-22 Thread Robert
Following the dashboard interface from the Google I/O 2010 conference, I see that they use a LinearLayout to make the dashboard. Other examples also use this style. I was wondering why wouldn't you use a GridView instead, seeing that it's mostly organized for

[android-developers] Re: java

2011-04-23 Thread Robert
". So in summary: - Use App Inventor for a couple of apps - read the suggested documentation - do the tutorials as another person as suggested - find a tutorial that does something you want in your program and use it as the basis Robert -- You received this message because you are subscri

[android-developers] Re: Display list of saved tables to be opened

2011-04-23 Thread Robert
Well I would put the names into a table that you can read (and maybe some descriptive info too) but you didn't look far to find your answer. A quick google for "sqlite select tables" found: http://www.sqlite.org/sqlite.htmlin there is a section "Querying the database schema" go read that a

[android-developers] VideoView no longer updating the buffer

2011-04-29 Thread Robert
On Android 2.3, VideoView's getBufferPercentage is only returning 0. I depended on this value to update a progress listener when I connected to a RTSP link. Does anyone know how I can get this functionality back on 2.3? Robert -- You received this message because you are subscribed t

[android-developers] Navigation in a Help Screen

2011-05-01 Thread Robert
se buttons and control the text in the TextView programmatically. ANother was to change it to a Webview and use links/anchors. Does anyone have thoughts on a "best practice" for this type of thing? Thanks for any opinions. Robert -- You received this message because you are subscribed

[android-developers] Re: Navigation in a Help Screen

2011-05-01 Thread Robert
Thanks for the feedback. Is a good idea to have it online but this app is designed for search teams so we need to make sure that all functionality is available on or off grid since a fair number of searches are not urban and are in areas that are way off the telecom grid. I'll probably switch t

[android-developers] ListPreference

2011-03-17 Thread Robert
I know that I'm doing something really stupid but can't see "the forrest for the trees". Have the following in preferences.xml and in the program: String prefdspmeasurement; String strMeasure="initial"; prefdspmeasurement = dfltprefs.getString("dspme

[android-developers] Re: ListPreference

2011-03-17 Thread Robert
Perfect. Thanks TreKing... and thanks for the informative link. On Mar 17, 9:45 pm, TreKing wrote: > On Thu, Mar 17, 2011 at 8:38 PM, Robert wrote: > >  if (prefdspmeasurement == "MILE") > > http://www.google.com/search?q=how+t

[android-developers] How To Disconnect a Bluetooth Device With The HOME Button

2011-03-18 Thread Robert
My application connects to multiple bluetooth devices. I want to stop the connection whenever the user leaves the app, including when they press the HOME button. However I have no way of detecting when HOME is pressed, which will keep the bluetooth connection running, thus continuing to drain t

Re: [android-developers] How To Disconnect a Bluetooth Device With The HOME Button

2011-03-18 Thread Robert
The only problem with that is I need to keep a constant connection throughout the application. The idea is that the user can connect to the different devices and switch between controlling them (which will be featured as different activities). Ultimately I could keep it as a single page (single

Re: [android-developers] How To Disconnect a Bluetooth Device With The HOME Button

2011-03-18 Thread Robert
Sorry for the lack of info. The design of my app is similar to the Android's Settings application: each screen is its own PreferenceActivity. I use this to control the different devices I have connected, via bluetooth. I first connect to the different devices in one screen (one PreferenceActivit

[android-developers] Re: SQLiteDatabase or XML(saving)?

2011-03-23 Thread Robert
ve this data in a combination of internal arrays declared in the app itself and in a collection of html files in / assets Robert On Mar 23, 1:48 am, Dianne Hackborn wrote: > Um, no.  A database doesn't have anything to do with security.  An XML file > is not intrinsically tied to The

[android-developers] Is Webview with no History possible?

2011-03-25 Thread Robert
().setBuiltInZoomControls(true); >From searching it seems that this is not an unusual problem but didn't find a solution that works. What I would really like to do is to set the webviews to not save history at all since I don't need it . I really like the ease of using Webview to A

[android-developers] How To Get A Preference And ListView To Show In The Same Screen.

2011-03-25 Thread Robert
Basically I want a screen to show 3 Preferences on top and then a ListView at the bottom: Preference 1 Preference 2 Preference 3 ListView

[android-developers] Re: [SOLVED] How To Get A Preference And ListView To Show In The Same Screen.

2011-03-25 Thread Robert
Wow, I completely forgot to check what Android already had in the settings. Thanks for the info Kostya. -- 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] Re: Need Help to Develope my first Android Project.

2011-04-01 Thread Robert
IS this for a class at your college? If so give a little background on the type of class. On Mar 31, 5:22 am, Kirti Joshi wrote: > can anybudy tell me how to start it ? > > which module i do first ? n which one is last ? > > if you poeple are not able to help me then, provide another link or > f

[android-developers] Re: How to build an android project that doesn't contain AndroidManifest.xml

2011-04-02 Thread Robert
IF what you are saying is that you created what you thought was an Android project and you got those files and folders instead then you either didn't setup the SDK or didn't set it up properly. Go to http://developer.android.com/sdk/index.html and follow the instructions step-by-step. DOn't lea

[android-developers] Re: Android Layouts Are Horrible

2011-04-04 Thread Robert
the lowest level available. Learn it and it'll make you a better developer and your programs to be more efficient. Using the higher level tools makes you only as efficient at they are. Yes, it takes time and yes you have to learn it but that's what being a real developer is all abo

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

2012-05-21 Thread Robert
confused, Your link cannot be found by my browser (404 not found). Could you check it, please? -- 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 unsubscrib

[android-developers] Re: Generic resizable appwidgets in Android 3.1

2011-10-19 Thread Robert
This is something I really can't understand. Why can't the android engineers give us a way to create custom views for appwidgets? Diane Hackborn argues not to abuse them and yet why does she care? After all it's up to the user to decide if the impact on the experience is worth it or not. If they do

[android-developers] Pass Data From Activity to All Attached Fragments

2011-12-01 Thread Robert
I'd like to pass some information to all attached Fragments in my Activity. However the simplest way that I can see how to accomplish this is to keep track of the Fragments that are being attached, via the onAttachFragment() method. I would save those Fragments in a list and when I need to, go

[android-developers] Re: Pass Data From Activity to All Attached Fragments

2011-12-06 Thread Robert
Okay thanks. -- 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 For more opt

[android-developers] Parse error installing an app WonderMedia Tablet

2011-08-01 Thread Robert
oot cause. The app is fairly generic and uses WebViews but otherwise no special permissions. Thanks for any thoughts. Robert -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-devel

[android-developers] Re: OpenGL ES works fine on Emulator but on HTC Hero 1.5 it does not render vertices

2009-11-08 Thread Robert Green
I had a problem with Ortho on my phone vs on the emulator at one point as well. Could you post more of your GL initialization code? My problem was something dumb like I was calling orthox using actual screen dimensions when I needed to either use fixed point there or use orthof. On Nov 8, 3:34 p

[android-developers] Re: opengl crash after pause/unpause app

2009-11-08 Thread Robert Green
1) Don't override home. That key should always work to get the user back home. 2) Make sure you're overriding onPause and onResume in your activity and you have those calling pause and resume in GL. Normally I'd say just have it call that on your GLSurfaceView but I'm not sure how the configura

[android-developers] Re: Problems updating my app on Android Market and switching to copy protection

2009-11-09 Thread Robert Green
Not to mention that it literally doubles the installed size of your app. On Nov 9, 9:33 am, niko20 wrote: > I wouldn't bother turning copy protection on, all that does is prevent > people that have developer phones from downloading the app. People > that have rooted phones can still download it a

[android-developers] Re: OpenGL ES works fine on Emulator but on HTC Hero 1.5 it does not render vertices

2009-11-09 Thread Robert Green
sure that it's correctly initializing a GL context and surface on the device. On Nov 9, 6:35 am, Mika wrote: > Hi Robert, > > Will do. Here goes. > First part is the "sizeChange()" when Android screen size changes and > it gets called when the application launches. I'd

[android-developers] Re: Real Poly/sec on ADP1?

2009-11-10 Thread Robert Green
Jni is not really a big factor in this. In my experience, if you use vbos, you're not nearly as triangle bound as you are fill bound. If you're only filling half the screen and you use vbos with no normals and no index, I imagine you could get up there with vert count. Here's a little test to se

[android-developers] Re: Real Poly/sec on ADP1?

2009-11-10 Thread Robert Green
There are lots of optimizations but really at the end of the day you will be fill-bound. Try playing Light Racer 3D (basic or normal) and hit menu for settings, then turn off "advanced graphics". All that does is turn off the skysphere, which is only 150 triangles or so, and doesn't enable blend

[android-developers] Google Account De-Linked from Google Market Place Account

2009-11-12 Thread Robert Patterson
e are told that there is no google account linked to this account. Any advice would be greatly appreciated Regards, Robert Patterson NexStudios -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send e

Re: [android-developers] Re: Growing pains for Android developers??

2009-11-16 Thread Robert Woodruff
Dianne, Nice to have response from someone inside Google. Do you know when is 2.0 image available for ADP? On Mon, Nov 16, 2009 at 2:54 AM, Dianne Hackborn wrote: > On Sat, Nov 14, 2009 at 9:14 PM, Kieran wrote: > >> Android 2 SDK released: 27th Oct >> Droid released: 6th Nov >> So that's 9 da

[android-developers] SoundPool still crashing on 1.5, 1.6 and maybe 2.0

2009-11-19 Thread Robert Green
I've been using SoundPool since Android v1.0 and am happy that some of the problems were fixed, but I've noticed that it's still not entirely stable. As far as I know, there are still 3 major bugs with it (2 dealing with looping sound): 1) SoundPool.stop() is unstable/unusable. To reproduce, ju

  1   2   3   4   5   6   7   8   9   10   >