[android-developers] How to do background image in 3D SurfaceView?

2009-01-08 Thread nEx.Software
I am at a loss as to how to add a background image to the Cube sample, or any other OpenGL SurfaceView for that matter. Can anyone offer any assistance? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-developers] HttpUrlConnection - Authentication

2009-03-24 Thread nEx.Software
I am beating my head against a wall trying to figure out why I cannot get Authenticated on my server whilst using HttpUrlConnection. I need to post a file in a post method and it seems I cannot do so with the DefaultHttpClient and a regular HttpPost (unless I am completely missing something?). I

[android-developers] Re: HttpUrlConnection - Authentication

2009-03-24 Thread nEx.Software
it might have been what I needed. Anyway thanks again. On Mar 24, 6:17 am, Mark Murphy mmur...@commonsware.com wrote: nEx.Software wrote: I am beating my head against a wall trying to figure out why I cannot get Authenticated on my server whilst using HttpUrlConnection. I need to post

[android-developers] Re: HttpUrlConnection - Authentication

2009-03-24 Thread nEx.Software
I saw that, but it adds so much unnecessary weight to my apk to include additional jars. I'll give the JTwitter thing a shot. Thanks. On Mar 24, 7:10 am, Mark Murphy mmur...@commonsware.com wrote: nEx.Software wrote: Thanks for the lead Mark. I really appreciate it. I hope it gives me some

[android-developers] WebView.clearHistory()

2009-03-31 Thread nEx.Software
I call WebView.clearHistory(), but I am still able to go back after doing so. I want to reuse a WebView, but I don't want the back button to allow the user to go back further than the current session of using the WebView. Anybody know what is the best way to handle this? I thought for sure that

[android-developers] Re: SQLite functions - how to use them?

2009-04-01 Thread nEx.Software
I have found that, if you will be doing a lot of data access, compiled statements will cut the time to complete most operations in half. This is particularly true of inserts. Used in conjunction with beginTransaction()/endTransaction(), using compiled statements can make your data access quite

[android-developers] Re: WebView.clearHistory()

2009-04-03 Thread nEx.Software
to know what your start page is and clear the history only after it otherwise you will be clearing the history after every page navigated after the first. Stefan On Mar 31, 6:05 pm, nEx.Software justin.shapc...@gmail.com wrote: I call WebView.clearHistory(), but I am still able to go back after

[android-developers] Re: How can I import any widgets under com.android.internal.widget into my app?

2009-04-06 Thread nEx.Software
You should have no problem. I've included the latest HTTP from Apache, and redeployed the TabHost in my application. Hasn't caused any problems. On Apr 5, 11:44 pm, shaddu shad...@gmail.com wrote: Hi Dianne, As we are copying the code and resources from platform into our application, those

[android-developers] Re: how to let an application as the default app of certain file type

2009-04-08 Thread nEx.Software
This is how I get the filename: File f1 = new File(getIntent().getData().getPath()); I don't know how to enumerate applications which can handle a certain type of file though. On Apr 7, 10:49 pm, Derek xianguan...@gmail.com wrote: the other question is that if I'm develop an file explorer,

[android-developers] Re: how to let an application as the default app of certain file type

2009-04-08 Thread nEx.Software
To get a list of activities which can handle a data type: Intent.queryIntentActivities() or Intent.queryIntentActivityOptions() appear to be the ticket. or, just use: Intent.createChooser() On Apr 8, 7:56 am, nEx.Software justin.shapc...@gmail.com wrote: This is how I get the filename: File

[android-developers] Re: Uninstall reason survey - where are the results?

2009-04-09 Thread nEx.Software
I've been wondering this myself... It seems that there should be a way for the developer to see the results of this survey, else it's not really worth having the survey. On Apr 8, 5:59 pm, Jesse McGrew jmcg...@gmail.com wrote: (No response on android-discuss, trying here instead.) I've

[android-developers] Re: How could I put tab widget at the right or left side ?

2009-04-09 Thread nEx.Software
Something I am in the process of doing right now. It's wonderful being able to look at the source of the TabWidget in GIT. makes it a lot easier. On Apr 9, 11:19 am, Dianne Hackborn hack...@android.com wrote: It's not supported.  You'd need to write your own tab widget (which is certainly

[android-developers] Re: How to determine the amount of characters that will fit into a TextView

2009-04-10 Thread nEx.Software
I'd say if you know the text you want to put into the TextView, you should be able to measure the text and compare to the size of the TextView... In the API Demos, there is a measure text sample. I'd start there. On Apr 9, 3:11 pm, nwmotog...@gmail.com nwmotog...@gmail.com wrote: I am trying to

[android-developers] Re: Using SQLite for caching and serialization options

2009-04-13 Thread nEx.Software
You could use an object-oriented database such as http://www.db4o.com/android/, of course this one requires GPL. On Apr 13, 5:41 am, Alan Jones skyp...@gmail.com wrote: Hi All, I've got some classes which inherit from a single class, but differ significantly in the data they store. They

[android-developers] Re: using touch screen to draw a straight line

2009-04-14 Thread nEx.Software
You aren't limiting this to ACTION_DOWN and/or ACTION_UP so on every ACTION_MOVE, you are running this code. Probably the reason it crashes. I'd do this: @Override public boolean onTouch(View v, MotionEvent event) { switch (event.getAction()) { case MotionEvent.ACTION_DOWN:

[android-developers] Re: SharedPreferences got deleted! - What could be the problem?

2009-04-23 Thread nEx.Software
I was having this issue but couldn't figure it out. Now, I store all of my settings in the SQLiteDatabase I use for the rest of the Application. I don't even touch the SharedPreferences for fear of losing the Preferences altogether. On Apr 23, 1:27 pm, Mattaku Betsujin mattaku.betsu...@gmail.com

[android-developers] Re: Android v. 1.5 = FAIL #2: Directly Manipulating Settings

2009-04-24 Thread nEx.Software
So, if I understand this all correctly... Those of us who have paid for an app to toggle settings for us, specifically - Power Manager (which, by the way, is currently the 2nd most popular Paid Application), have thrown away our money since we will be prompted to allow changes for some of the

[android-developers] Re: Android v. 1.5 = FAIL #2: Directly Manipulating Settings

2009-04-24 Thread nEx.Software
Of nEx.Software Sent: 24 April 2009 20:01 To: Android Developers Subject: [android-developers] Re: Android v. 1.5 = FAIL #2: Directly Manipulating Settings So, if I understand this all correctly... Those of us who have paid for an app to toggle settings for us, specifically - Power Manager

[android-developers] What UI Elements in AppWidget?

2009-04-25 Thread nEx.Software
Just wonder what limitations there are for UI elements in AppWidgets? I tried a ListView and was met with an error... I saw the other post that EditText isn't available. Just wondering if there was a full list somewhere? --~--~-~--~~~---~--~~ You received this

[android-developers] Re: What UI Elements in AppWidget?

2009-04-25 Thread nEx.Software
at 6:24 PM, nEx.Software justin.shapc...@gmail.com wrote: Just wonder what limitations there are for UI elements in AppWidgets? I tried a ListView and was met with an error... I saw the other post that EditText isn't available.  Just wondering if there was a full list somewhere? -- Jeff

[android-developers] Re: What UI Elements in AppWidget?

2009-04-26 Thread nEx.Software
Is it safe to assume that classes derived of those allowed are not usable? So, if I created a custom button or something that extends one of those available classes, it wouldn't be available to RemoteViews? On Apr 25, 6:56 pm, nEx.Software justin.shapc...@gmail.com wrote: Awesome. Thanks

[android-developers] Re: What UI Elements in AppWidget?

2009-04-26 Thread nEx.Software
Thanks for the info. Again, I appreciate the quick response... That is very refreshing to see. On Apr 26, 6:31 am, Jean-Baptiste Queru j...@android.com wrote: Correct, you can only use the exact classes that are marked as available. JBQ On Sun, Apr 26, 2009 at 6:09 AM, nEx.Software

[android-developers] Re: What UI Elements in AppWidget?

2009-04-26 Thread nEx.Software
them out and the control will automatically show the correct time for you.) Same with ProgressBar too, using android:progressDrawable.  :) j On Sun, Apr 26, 2009 at 6:36 AM, nEx.Software justin.shapc...@gmail.com wrote: Thanks for the info. Again, I appreciate the quick response

[android-developers] Use Widgets (Clock Search Etc...) on Custom Home

2009-02-19 Thread nEx.Software
Is there any way to re-use the existing Widgets provided by the default Launcher in a custom Launcher application? At least without going into the main android source tree in order to use the internal classes? Thanks for any insight you can give.

[android-developers] Re: Paid applications - are they downloadable now?

2009-02-19 Thread nEx.Software
I've not seen any priced apps in the U.S. Market yet. On Feb 19, 3:31 am, ellipsoidmob...@googlemail.com ellipsoidmob...@googlemail.com wrote: Hi I'm a UK-based developer. Is there any way for me to tell what paid applications are available in the US? Also, can US customers now download

[android-developers] Re: Use Widgets (Clock Search Etc...) on Custom Home

2009-02-19 Thread nEx.Software
romain...@google.com wrote: You can't reuse them without duplicating the source code. On Thu, Feb 19, 2009 at 7:03 AM, nEx.Software justin.shapc...@gmail.com wrote: Is there any way to re-use the existing Widgets provided by the default Launcher in a custom Launcher application? At least

[android-developers] Re: How to compile G1 apps code

2009-02-19 Thread nEx.Software
I did an app based on the Calculator.. I just downloaded the source from http://android.git.kernel.org/ and made my changes, don't know if the Calendar or Camera use classes outside of the SDK but I'd give that a shot and see what happens. On Feb 19, 10:17 am, Android

[android-developers] Re: Paid applications - are they downloadable now?

2009-02-19 Thread nEx.Software
Haha, yeah I suppose you are right. On Feb 19, 10:09 am, Mark K mark.ka...@gmail.com wrote:    No paid apps yet on the market for users, 'mid week' means COB Friday in developer speak :)                                                Mark On Feb 19, 8:58 am, nEx.Software justin.shapc

[android-developers] Re: How many projects are being canned because of Market TCs

2009-02-19 Thread nEx.Software
Just out of curiosity... Why not simply sell from outside of the Market? I understand it is not as convenient to do so but maybe is the solution for you? Do we know what TeleNav is doing? Can't you follow their subscription model? On Feb 19, 10:11 am, Al Sutton a...@funkyandroid.com wrote: The

[android-developers] Re: help us to sell paid apps (we are NOT from UK/US)!

2009-02-19 Thread nEx.Software
Sounds an awful lot like I need to get inheritance money out of my country... Let me Western Union you $5,000,000USD and I'll give you 10%. By the way I need all of your personal information to do this. While I'd like to think that your intentions are good, I'd not trust doing this for anyone.

[android-developers] Re: How many projects are being canned because of Market TCs

2009-02-19 Thread nEx.Software
give us a viable route to a significant market with no payment method restrictions and we may start work again. Al. nEx.Software wrote: Just out of curiosity... Why not simply sell from outside of the Market? I understand it is not as convenient to do so but maybe is the solution

[android-developers] Re: help us to sell paid apps (we are NOT from UK/US)!

2009-02-19 Thread nEx.Software
cedric.berge...@gmail.com wrote: On Thu, Feb 19, 2009 at 18:28, nEx.Software justin.shapc...@gmail.com wrote: Sounds an awful lot like I need to get inheritance money out of my country... Let me Western Union you $5,000,000USD and I'll give you 10%. By the way I need all of your personal

[android-developers] Re: help us to sell paid apps (we are NOT from UK/US)!

2009-02-19 Thread nEx.Software
Very true, sounds to me like it might be best to sit tight until priced apps are available in Russia... On Feb 19, 10:51 am, Cédric Berger cedric.berge...@gmail.com wrote: On Thu, Feb 19, 2009 at 18:41, nEx.Software justin.shapc...@gmail.com wrote: I guess I thought it would direct to a bank

[android-developers] Re: how to switch between two views

2009-02-19 Thread nEx.Software
I think onCreate runs all the way through before displaying the UI. I just tried this and found it to be the case. On Feb 18, 9:37 pm, guptha gjango...@gmail.com wrote: hi friends, I 'm beginner in Android ,To start with i was asked to do a simple task ,i need to make blue and red screen

[android-developers] Re: how to switch between two views

2009-02-19 Thread nEx.Software
I also think the Thread.sleep(500); is stopping the redraw from happening. On Feb 19, 11:06 am, nEx.Software justin.shapc...@gmail.com wrote: I think onCreate runs all the way through before displaying the UI. I just tried this and found it to be the case. On Feb 18, 9:37 pm, guptha gjango

[android-developers] Re: Use Widgets (Clock Search Etc...) on Custom Home

2009-02-19 Thread nEx.Software
, nEx.Software justin.shapc...@gmail.com wrote: Is there any way to re-use the existing Widgets provided by the default Launcher in a custom Launcher application? At least without going into the main android source tree in order to use the internal classes? Thanks for any insight you

[android-developers] Re: How to compile G1 apps code

2009-02-19 Thread nEx.Software
find in the code any .apk file for Camera. So i am not sure how to compile the apps code. nEx.Software justin.shapc...@gmail.com Sent by: android-developers@googlegroups.com 02/19/2009 10:50 PM Please respond to android-developers@googlegroups.com To Android Developers android-developers

[android-developers] Re: SMS sync with Gmail or something else

2009-02-19 Thread nEx.Software
http://code.google.com/p/android-sms/ On Feb 19, 8:45 pm, VA vinay.avas...@gmail.com wrote: I am looking for a functionality where the SMS on the phone can be synced to cloud (preferably to GMail, like Chat). Is there work going on in that area. Is there a SMS like service existing to which I

[android-developers] Extending Theme.Dialog Problem

2009-03-06 Thread nEx.Software
I've extended Theme.Dialog to use a different color as per the sample in the ApiDemos project but for some reason it does not use the theme properly in my project. I created a new project and it works perfectly fine there. The main problem here is that it does not show as floating in my project.

[android-developers] Re: About intercept api calls

2009-09-11 Thread nEx.Software
Well said Mark, well said... On Sep 9, 3:14 pm, Mark Murphy mmur...@commonsware.com wrote: tony wrote: I want to write an app to do the api calls interception just like what Detour does under windows. Once the app is running it can hijack all the api calls other app made to the system.

[android-developers] Re: Can android extend Google Finance ?

2009-09-11 Thread nEx.Software
There is already a Google provided Google Finance app in the Market if I am not mistaken... On Sep 9, 10:22 am, Yusuf Saib (T-Mobile USA) yusuf.s...@t- Mobile.com wrote: Yes, it can be done; but someone would have to write an app to access the GF API:http://code.google.com/apis/finance/

[android-developers] Re: SQLiteOpenHelper.onUpgrade

2009-09-11 Thread nEx.Software
Correct, you can add columns but not change or delete existing columns. On Sep 11, 2:06 pm, Steve steveoliv...@gmail.com wrote: What is it exactly you are trying to do with your statement? I think you can only add columns during an upgrade (not change existing ones). On Sep 10, 2:28 pm,

[android-developers] Re: Custom controls

2009-09-11 Thread nEx.Software
All controls in any development platform I have ever worked with have been based on rectangular bounds. Whether you use all of the available space within those bounds is, of course, up to you... but the fact remains that there is a rectangular bound. Am I misunderstanding? On Sep 11, 8:49 am,

[android-developers] Re: Khalid Shaikh is back developing Android applications under the name Sapphire Apps

2009-09-13 Thread nEx.Software
Google: Please don't ban him, but please make it easier for me, the user to choose not to see his applications. Perhaps let me filter my Market listings... or better yet, limit the amount of applications a developer can upload at the same time. Also, make it easier for me to find applications I

[android-developers] Re: Khalid Shaikh is back developing Android applications under the name Sapphire Apps

2009-09-13 Thread nEx.Software
describes what he's doing... On Sun, Sep 13, 2009 at 3:31 PM, nEx.Software email.nex.softw...@gmail.comwrote: Google: Please don't ban him, but please make it easier for me, the user to choose not to see his applications. Perhaps let me filter my Market listings... or better yet, limit

[android-developers] Re: tabs iphone style

2009-09-16 Thread nEx.Software
I have done custom tabs in my application (BarTor) using a modified version of the TabHost and TabActivity that i got from the Android Open Source Project. Granted, I leave the tabs at the top, but there is nothing really stopping me from putting them at the bottom or the the sides... I'd suggest

[android-developers] Re: tabs iphone style

2009-09-17 Thread nEx.Software
the tabs are not visible.. So i have to press return button to see my tabs again. How can i open this new activity in this tabcontent so i can see the tabs and the filmdetail Activity? Wouter On 16 sep, 15:17, nEx.Software email.nex.softw...@gmail.com wrote: I have done custom tabs in my

[android-developers] Re: tabs iphone style

2009-09-17 Thread nEx.Software
Hmm... This must be a 1.6 SDK change... On Sep 17, 8:06 am, Mark Murphy mmur...@commonsware.com wrote: nEx.Software wrote: It is incredibly easy to put tabs at the bottom... Just provide a layout xml file that places the TabWidget at the bottom, you get bottom tabs. You can then specify

[android-developers] Re: tabs iphone style

2009-09-17 Thread nEx.Software
Yes... http://developer.android.com/sdk/api_diff/4/changes/android.widget.TabHost.TabSpec.html On Sep 17, 8:16 am, nEx.Software email.nex.softw...@gmail.com wrote: Hmm... This must be a 1.6 SDK change... On Sep 17, 8:06 am, Mark Murphy mmur...@commonsware.com wrote: nEx.Software wrote

[android-developers] Re: tabs iphone style

2009-09-17 Thread nEx.Software
, 8:24 am, Mark Murphy mmur...@commonsware.com wrote: nEx.Software wrote: Yes...http://developer.android.com/sdk/api_diff/4/changes/android.widget.Ta... Ah, yes. setIndicator() used to just have the Drawable options, not the whole View. I'll have to experiment with these. Thanks for pointing

[android-developers] 1.6 SDK - OpenGL

2009-09-17 Thread nEx.Software
So, I see that there have been some changes in the android.opengl package, specifically the addition of GLES10, GLES11, GLES10Ext, and GLES11Ext. These appear to be exactly the same as those similarly named in the javax.microedition.khronos.opengles package. So I have to ask... Are these the

[android-developers] Re: How do I start a new activity inside a tab? TabSpec.setContent(Intent) doesn't appear to work

2009-09-17 Thread nEx.Software
It seems you cannot change the Activity of the current tab using setContent(); That being said... Doing something you really probably should not do, you can get this to work: Programmatically switch to another tab (something like getTabHost().setCurrentTab(1);), then do

[android-developers] Re: How do I start a new activity inside a tab? TabSpec.setContent(Intent) doesn't appear to work

2009-09-17 Thread nEx.Software
activity without showing my 3 tabs.. On 17 sep, 23:28, nEx.Software email.nex.softw...@gmail.com wrote: It seems you cannot change the Activity of the current tab using setContent(); That being said... Doing something you really probably should not do, you can get this to work: Programmatically

[android-developers] Re: How do I start a new activity inside a tab? TabSpec.setContent(Intent) doesn't appear to work

2009-09-18 Thread nEx.Software
Sure, I'll throw together a quick sample and post it in a bit. On Sep 18, 12:11 am, Wouter wouterg...@gmail.com wrote: And can you post the source code from this and your other example please? On 17 sep, 23:50, nEx.Software email.nex.softw...@gmail.com wrote: It just worked for me

[android-developers] Re: How do I start a new activity inside a tab? TabSpec.setContent(Intent) doesn't appear to work

2009-09-18 Thread nEx.Software
but the idea is there and should at least get you headed in the right direction. http://nexsoftware.net/Android/Tutorials/CustomTabActivity.zip On Sep 18, 6:36 am, Wouter wouterg...@gmail.com wrote: Thank you so much! On Sep 18, 3:03 pm, nEx.Software email.nex.softw...@gmail.com wrote: Sure

[android-developers] Re: tabs iphone style

2009-09-18 Thread nEx.Software
for the tabs. Also... as I said, this is compatible with Android 1.5. On Sep 17, 1:36 pm, Wouter wouterg...@gmail.com wrote: So what do I have to use? Someone has an example for me? On 17 sep, 17:30, nEx.Software email.nex.softw...@gmail.com wrote: I had actually copied the sources

[android-developers] Re: Issue (bug) reports because of custom ROMS, varying configurations, etc.

2009-09-18 Thread nEx.Software
Very good points. I think that some developers take the one-star rating the most hard when they have few ratings. An app with few user ratings can very quickly drop with even one one-star rating. Of course, then new potential users don't want to give it a shot because it has a bad overall rating.

[android-developers] Re: How do I start a new activity inside a tab? TabSpec.setContent(Intent) doesn't appear to work

2009-09-18 Thread nEx.Software
activity without tabs) and the tabs have to stay at the bottom. But how can i reach my custom tabspec cinema in CInemaActivity so i can do replaceContent -- cinema.replaceContent(new android.content.Intent(this, MovieDetail.class)); Wouter On 18 sep, 17:51, nEx.Software email.nex.softw

[android-developers] Re: How do I start a new activity inside a tab? TabSpec.setContent(Intent) doesn't appear to work

2009-09-18 Thread nEx.Software
go back now? On 18 sep, 18:49, nEx.Software email.nex.softw...@gmail.com wrote: Well, you could do it a couple ways... One way, for example: In CinemaActivity: Home parentActivity = ((Home) this.getParent()); parentActivity.cinema.replaceContent(new android.content.Intent

[android-developers] Re: How do I start a new activity inside a tab? TabSpec.setContent(Intent) doesn't appear to work

2009-09-18 Thread nEx.Software
, 19:01, nEx.Software email.nex.softw...@gmail.com wrote: You'll have to replace the content again. :) On Sep 18, 9:58 am, Wouter wouterg...@gmail.com wrote: Nice works great! But when i switch to other tab and go back to cinema tab my MovieDetail is still open and when i click

[android-developers] Re: Can I have multiple widgets in the same apk file?

2009-09-18 Thread nEx.Software
You can change the name of the widget to change how it appears in the list. Just change the android:label for the widget in the manifest. On Sep 18, 11:46 am, Satya Komatineni satya.komatin...@gmail.com wrote: The configuration seem to allow it, however both widgets show up with the same label

[android-developers] Re: How do I start a new activity inside a tab? TabSpec.setContent(Intent) doesn't appear to work

2009-09-18 Thread nEx.Software
android.content.Intent(this, CinemaActivity.class));     } And cinema -- tab 0 How can i do this? On 18 sep, 19:28, nEx.Software email.nex.softw...@gmail.com wrote: Register an OnTabChangeListener in your tab activity and handle it in there. On Sep 18, 10:10 am, Wouter wouterg...@gmail.com

[android-developers] Re: How do I start a new activity inside a tab? TabSpec.setContent(Intent) doesn't appear to work

2009-09-18 Thread nEx.Software
the logic separate. On Sep 18, 1:16 pm, Wouter wouterg...@gmail.com wrote: Trying your second option now, but does not work..         if (index == mCurrentTab) {                 mTabSpecs.get(mCurrentTab);         } Not correct right? :s On 18 sep, 22:06, nEx.Software email.nex.softw

[android-developers] Re: Tab Formatting

2009-09-19 Thread nEx.Software
With the 1.6 SDK you have full contol of the look of the tab since you can set the tab to be any view you provide. Previous versions of the SDK required considerable work to do the same. On Sep 19, 2:29 pm, polyclefsoftware dja...@gmail.com wrote: I think I already know the answer to these, but

[android-developers] Re: OpenGL 2D Game Framework

2009-09-21 Thread nEx.Software
Probably some GC going on, I also noticed it but it seemed less frequent than once per second. On Sep 21, 7:45 am, Phred phr...@gmail.com wrote: I tried it out and noticed that animation and movement jerks once a second.  Anyone else get that?

[android-developers] Re: OpenGL 2D Game Framework

2009-09-21 Thread nEx.Software
Dan, that's what I was thinking as well (regarding the GPLv3). On Sep 21, 9:42 am, Dan Sherman impact...@gmail.com wrote: The library looks great (after a few hours of playing with it), definitely has some improvements that could be made, but very well laid out and easy to work with.

[android-developers] Re: Now ADC2 judging has begun.

2009-09-24 Thread nEx.Software
Yes, you can hit menu, then skip to skip it... On Sep 24, 2:55 pm, mscwd01 mscw...@gmail.com wrote: The judging app is rubbish. I just keep getting a notification to download a single app mystic maggie which is 11mb to download... Cant I skip it? On Sep 24, 10:52 pm, Maps.Huge.Info (Maps

[android-developers] Re: ADC2: Low volume of judges

2009-09-26 Thread nEx.Software
I personally have skipped about 75% of the apps that have come up in my queue. Why? Because most of them are irrelevant to me. I can't be bothered to try an app which gets public transit information in Paris, tells me which direction to face when I pray, tells me when I am supposed to pray, and

[android-developers] Contact Photo in LiveFolder

2009-09-29 Thread nEx.Software
I was hoping to include the photo for each contact in a live folder. I am using People.loadContactPhoto() to get a bitmap and am placing it into the content provider's result column for LiveFolders.ICON_BITMAP but I keep getting a NullPointerException. Any ideas? Should I not be doing this?

[android-developers] Re: Contact Photo in LiveFolder

2009-09-30 Thread nEx.Software
passed a null bitmap. LiveFolders seem to be incredibly unpopular so there is like no information anywhere. Any google folks (Romain maybe?) have any input? Of course I'll take just about any input at this point. On Sep 29, 2:11 pm, nEx.Software email.nex.softw...@gmail.com wrote: I was hoping

[android-developers] Re: Contact Photo in LiveFolder

2009-09-30 Thread nEx.Software
code of the default live folders to see how the contacts live folders are implemented. On Wed, Sep 30, 2009 at 9:18 AM, nEx.Software email.nex.softw...@gmail.com wrote: This is incredibly frustrating. If it helps, I get the same error regardless of whether it is a Contact photo or any

[android-developers] Re: Contact Photo in LiveFolder

2009-09-30 Thread nEx.Software
) { groupContacts.close(); } } } On Sep 30, 9:35 am, Romain Guy romain...@google.com wrote: Oh yeah, it used to but does not anymore. Anyway, without seeing your code... On Wed, Sep 30, 2009 at 9:29 AM, nEx.Software email.nex.softw

[android-developers] Re: Contact Photo in LiveFolder

2009-09-30 Thread nEx.Software
setting a bitmap and a resource for the icon? You are also not specifying the icon type. On Sep 30, 2009 9:44 AM, nEx.Software email.nex.softw...@gmail.com wrote: I knew I should have included that... This is a bit messy at the moment.    private static final String[] CURSOR_COLUMNS = new String

[android-developers] Re: Contact Photo in LiveFolder

2009-09-30 Thread nEx.Software
30, 2009 at 10:09 AM, Romain Guy romain...@google.com wrote: Oops, my bad I was thinking of something else. On Wed, Sep 30, 2009 at 9:51 AM, nEx.Software email.nex.softw...@gmail.com wrote: Well, I actually started off with just using the ICON_PACKAGE / ICON_RESOURCE method and wanted

[android-developers] Re: Contact Photo in LiveFolder

2009-09-30 Thread nEx.Software
that it went in, thus causing the decodeByteArray call to fail and return null. On Sep 30, 10:20 am, nEx.Software email.nex.softw...@gmail.com wrote: I've done it that way too. Are you saying that I need to include those columns and explicitly set them to null? On Sep 30, 10:16 am, Romain Guy

[android-developers] Re: Contact Photo in LiveFolder

2009-09-30 Thread nEx.Software
as the data for ICON_BITMAP. Try that. On Wed, Sep 30, 2009 at 10:37 AM, nEx.Software email.nex.softw...@gmail.com wrote: I am beginning to wonder whether this is an issue with LiveFolders, or with the ContentProvider not passing the blob properly. I know for a fact that the data getting put

[android-developers] Re: Contact Photo in LiveFolder

2009-10-01 Thread nEx.Software
Arg! So, I found the bug. Kind of. Somehow, all get calls (getLong (), getBlob(), and of course getString()) on my Cursor are being treated as getString(). This makes no sense to me at all. Why are they not getting directed to the correct functions? On Sep 30, 12:14 pm, nEx.Software

[android-developers] Re: Contact Photo in LiveFolder

2009-10-01 Thread nEx.Software
Finally got it to work. I needed to override fillWindow in my MatrixCursor and tell it to not get String values for every column. On Oct 1, 8:35 am, nEx.Software email.nex.softw...@gmail.com wrote: Arg! So, I found the bug. Kind of. Somehow, all get calls (getLong (), getBlob(), and of course

[android-developers] Re: Getting the key from a ListPreference

2009-10-02 Thread nEx.Software
Does this not work for you? listPreference.getEntry()); On Oct 2, 7:40 am, Neil neilb...@gmail.com wrote: That's an idea, but it's messy.  I can't believe that the best way to solve this is to repeat that chunk of code everywhere you need it.  I could put it in some utility class, but I'm

[android-developers] Re: Getting the key from a ListPreference

2009-10-02 Thread nEx.Software
Without that extra closing paren of course. :) On Oct 2, 8:12 am, nEx.Software email.nex.softw...@gmail.com wrote: Does this not work for you? listPreference.getEntry()); On Oct 2, 7:40 am, Neil neilb...@gmail.com wrote: That's an idea, but it's messy.  I can't believe that the best way

[android-developers] Re: Getting the key from a ListPreference

2009-10-02 Thread nEx.Software
Hmm, I was under the impression that this was being done from a PreferenceActivity. On Oct 2, 8:18 am, Mark Murphy mmur...@commonsware.com wrote: Does this not work for you? listPreference.getEntry()); That only works from a PreferenceActivity. AFAIK, it does not help if you are looking

[android-developers] Re: Persistent data even when app uninstalled

2009-10-02 Thread nEx.Software
I'd say your options are: 1) Save the data to the SD Card (Easiest, but as you said, fragile.) 2) Save the data to the Web. (Not so easy, would be hard to work with from other applications.) 3) Provide the Content Provider as a separate application. (More work, more complicated for end-user, but

[android-developers] Re: Persistent data even when app uninstalled

2009-10-02 Thread nEx.Software
Okt, 17:38, nEx.Software email.nex.softw...@gmail.com wrote: I'd say your options are: 1) Save the data to the SD Card (Easiest, but as you said, fragile.) 2) Save the data to the Web. (Not so easy, would be hard to work with from other applications.) 3) Provide the Content Provider

[android-developers] Re: Persistent data even when app uninstalled

2009-10-02 Thread nEx.Software
, nEx.Software email.nex.softw...@gmail.com wrote: I'd say your options are: 1) Save the data to the SD Card (Easiest, but as you said, fragile.) 2) Save the data to the Web. (Not so easy, would be hard to work with from other applications.) 3) Provide the Content Provider as a separate

[android-developers] Re: Splintering of the Market

2009-10-11 Thread nEx.Software
I would imagine that there are few developers who will actually choose to limit their applications to specific networks. I agree though, that this will not do much to help the situation in the Market. There is enough fragmentation as it is. And users who cannot get their hands on an app through

[android-developers] Re: Someone advertising pirated apps by posting feedback on market and pointing to his Twitter account

2009-10-12 Thread nEx.Software
I see this a lot, from a lot of people, on a lot of apps. On Oct 12, 8:31 am, Mike michaeldouglaskra...@gmail.com wrote: One of the other reasons I posted here is to give Google to opportunity to see this as a problem. It's one thing to notice it and not raise the issue.  But I'm hoping now

[android-developers] Re: Application compatibility between SDK 1.5 and 1.6

2009-10-12 Thread nEx.Software
It sure would be nice if we could upload multiple versions of an application into the same space, and have the Market deliver the appropriate version for the user's device. So if User1 is running a device with API Level 3, they get the API Level 3 release (description, binary, etc...) and if

[android-developers] Re: Application could not be installed on this phone?

2009-10-12 Thread nEx.Software
Obvious question alert: Did you remove any old version you might have had had installed before trying to install the new one? On Oct 12, 10:28 am, Richard Schilling richard.rootwirel...@gmail.com wrote: I am seeing this now too.  Just upgraded the phone to 1.6.  DDMS doesn't tell me squat.

[android-developers] Re: get outgoing call details in background

2009-10-12 Thread nEx.Software
You are getting the error on startManagingCursor because that method does not exist in a Service. Leave that out and make sure you close the cursor when you are done with it. On Oct 12, 11:00 am, Roman ( T-Mobile USA) roman.baumgaert...@t- mobile.com wrote: You should be able to measure the

[android-developers] Re: Set Weight using API calls

2009-10-12 Thread nEx.Software
What you want is: LayoutParams lp = new LinearLayout.LayoutParams(width, height, weight); On Oct 12, 11:16 am, Nitin67 nitin6...@gmail.com wrote: Hello,     I am also trying to set the weight using api calls.     I have a LinearLayout, and I want to put a row of MyButtons in it, and I

[android-developers] Re: Exception - can anyone make sense of this?

2009-10-15 Thread nEx.Software
I believe that this is the same reason why the Contacts Live Folders don't include photos. I seem to recall there being a note in the source that they didn't have a good way to handle a no photo situation. On Oct 14, 9:34 am, Neilz neilhorn...@googlemail.com wrote: Yes, well I've worked out the

[android-developers] Re: Showing ellipsis in a TextView?

2009-10-21 Thread nEx.Software
I have ellipsize working for multiline text. I had to write my own ellipsize function to do it. I wanted to replace the ... with ...Read More so my implementation is highly customized. A tip, you can clone the ellipsize function from the AOSP then use it directly. The problem appears to be not in

[android-developers] Re: Changing background color of widget when tapped or scrolled to?

2009-10-21 Thread nEx.Software
I would set the background of the widget to a stateful drawable such as is the case with most of the built-in Android widgets. For example here's the background for a default button: ?xml version=1.0 encoding=utf-8? !-- Copyright (C) 2008 The Android Open Source Project Licensed under the

[android-developers] Re: Animation is slow?

2009-10-22 Thread nEx.Software
I remember hearing at some point that the current Android UI doesn't take advantage of hardware acceleration. I would imagine that this would include the Animation framework. I could be terribly wrong... But I swear I had read this on this group somewhere. On Oct 22, 10:47 am, Mark Wyszomierski

[android-developers] Re: formatting text, before adding to textview

2009-10-22 Thread nEx.Software
You don't have to set the text first. There is nothing stopping you from creating a Spannable string and feeding that to setText(). I do the same thing using SpannableStringBuilder. On Oct 22, 10:27 am, Jiri jiriheitla...@googlemail.com wrote: Thank you, so I would first have to set the

[android-developers] Re: Is your Android app on Archos Market ?

2009-10-22 Thread nEx.Software
Sounds very shady... Somewhat reminiscent of the whole pirated apps thing on the Archos forum. On Oct 22, 1:17 pm, Al Sutton a...@funkyandroid.com wrote: By hotlinking Tim means using a download URL from another application directory in their own listings, so when a user uses the AppsLib

[android-developers] Re: White screen in my OpenGL application

2009-10-23 Thread nEx.Software
I am assuming your textures are not power of 2 and square. On Oct 23, 7:43 am, Steff st...@designware.dk wrote: Hi I've just dusted off an application I did for Android half a year ago. I upgraded to the latest SDK and Eclipse ADT. After some struggeling I get the application to run again.

[android-developers] Re: ADC 2 rating

2009-10-26 Thread nEx.Software
Well, because they decided the scrap the whole thing, of course. Whatever happened to Round Two? On Oct 26, 8:19 am, Peter Jeffe pje...@gmail.com wrote: On Oct 26, 5:32 am, Omer Saatcioglu osaatcio...@gmail.com wrote: Yes, in deed! But, still, IMHO it is not enough to score user

[android-developers] Re: Linking checkout orders to devices

2009-10-26 Thread nEx.Software
The Market is most definitely tied to the Account and not the Device. I switch between devices all the time and am able to maintain my purchased apps on each of those devices via the Market. On Oct 26, 12:35 pm, Wayne Wenthin wa...@fuligin.com wrote: Well then you won't like the market.    I am

[android-developers] Re: Tripit Oauth

2009-10-26 Thread nEx.Software
I have successfully used signpost in Android for Twitter's OAuth API. If I remember correctly, it is actually quite trivial. This blog post explains how to do it with Twitter. I had commented on there that I was not able to get it to work. Found out it was something stupid on my part.

  1   2   3   >