[android-developers] Re: Log messages no longer appear in LogCat

2009-11-19 Thread mh
No I did not get an answer but I found a solution that works here. Disconnect the device before running the emulator. The messages appear in LogCat as expected even if I the device is then reconnected. Debugging on the device seems to disable further logging of Logx until the device is again disc

[android-developers] Re: Loading Activity Darkens Screen/Loading Screen

2009-11-19 Thread matt parker
Thanks for the suggestion, Cheng, but I think what I'm looking for is a transition animation. Does anyone know a simple example with a couple very basic activities? Matt On Nov 5, 7:19 pm, Cheng Zhong wrote: > You can try Dialog instead. > > On 11月3日, 上午11时24分, matt parker wrote: > > > > > He

[android-developers] Help with cropping the top of an ImageView

2009-11-19 Thread knavewave
I am trying to place a background image within a HorizontalScrollView such that the entire width of my image is scrollable and such that the excess height will be cropped. This seems like it should be straightforward: no scaling, no centering... just peg it to the bottom left corner and lop off the

Re: [android-developers] Re: 2.0 AccountManager - Implementing a new account type with Google, Facebook and Exchange

2009-11-19 Thread sukumar bhashyam
AddAccountExplicitly() would need Authenticator of same type. I created an Authenticator and called AddAccountExplicitly() for the same type which created an account ( Could verify it from AccountManager.getAccounts()) One strange thing I observer is none of the implementation class functions of

[android-developers] Re: How does CTS work? Where can I get the test streams?

2009-11-19 Thread Chenny
Dear friends, I tried to test video by modify the CTS source code. But failed when build: cts/tests/tests/media/src/android/media/cts/MediaPlayerTest.java:486: cannot find symbol symbol : variable testvideompeg4 location: class com.android.cts.stub.R.raw final int resid = R.raw.t

[android-developers] DatagramSocket bind to a port always get SocketException

2009-11-19 Thread Dalvik
Hi I had an application, code like this: public class SomeActivity extends PreferenceActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); try { InetSocketAddress addr = new Inet

Re: [android-developers] Re: How to Load PDF to Browser?

2009-11-19 Thread Moon Technolabs
Thanks 4 reply ! @ PJ : I want to load my own PDF file from Asset folder.. I know that there are application for that which loads PDF... n they also have use some methods for that.. I want to create my own PDF reader.. On Fri, Nov 20, 2009 at 1:16 AM, PJ wrote: > There are PDF Reader applica

[android-developers] Database question

2009-11-19 Thread mh
I am developing on a MyTouch. When I run the example Notepad application data is saved but I don't see anything in the data directory when browsing with AndExplorer. 1) Is root required to see the data files in a directory listing? 2) Is there a device facility available for a typical non-root u

[android-developers] How to I get album art for each audio file from content provider

2009-11-19 Thread eaindra nilar
Hi, Everyone, I cannot see any relationship between audio file and album art . Also , genre column . I really want it. -- 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.

Re: [android-developers] Re: hidden APIs in Android

2009-11-19 Thread Amardeep Jaiman
which api jar u needed to change ? UNTOUCHABILITY IS SIN SO KEEP IN TOUCH On Thu, Nov 19, 2009 at 9:38 PM, tomei.ninge...@gmail.com < tomei.ninge...@gmail.com> wrote: > I tried and it worked. You are right that if you use the SDK straight > you won't be able to compile such code. However, if y

[android-developers] Re: Android in China - What is going on?

2009-11-19 Thread shimsim
It has been working for me almost perfectly the last 3 days, but twitter and facebook are still blocked, so maybe they are just working wherever President Obama is, either way I have a a PPTP VPN setup but thats not the point here ... Getting back to the original question .. can someone f

[android-developers] imageview under 3 linearlayouts

2009-11-19 Thread Jags
I need to arrange one background image for my 3 vertically aligned Linearlayouts. I cannot use my parent layout background, because it covers the whole screen. Is there a way to do that ? http://schemas.android.com/apk/res/ android" android:orientation="vertical" android:layout_width="fill

[android-developers] Re: Appwidget Update issue

2009-11-19 Thread tedd
Few more details on the first approach on using setImageViewBitmap() for displaying image, It works for maximum size of 420x600, which lands upto the total bitmap size == 420x600x4 ~= 1MB For more than 1MB bitmap data it fails with FAILED BINDER TRANSACTION error Can any one tell, if there i

[android-developers] Re: hidden APIs in Android

2009-11-19 Thread tomei.ninge...@gmail.com
I tried and it worked. You are right that if you use the SDK straight you won't be able to compile such code. However, if you replace the API jar file from the SDK, then you can build such apps with calls to hidden APIs. So it seems Android doesn't really try to prevent you from using hidden APIs

Re: [android-developers] Re: android.R.drawable.ic_menu_home - can not use

2009-11-19 Thread Dianne Hackborn
We don't recommend using the built-in icons. This has already been discussed fairly in-depth here, but the basic answer is: unless there is a standard icon to cover every one of your menus (unlikely, unless we have a huge number of icons in the platform, which we do not want), then you end up with

Re: [android-developers] how to remove statusbar animation when chang to fullscreen.

2009-11-19 Thread Dianne Hackborn
(Oh and this doesn't belong on android-developers since it is about modifying the framework -- please post follow-ups to android-porting. Thanks.) On Thu, Nov 19, 2009 at 8:57 PM, Dianne Hackborn wrote: > Just change the animation associated with the status bar window. I can't > point you to th

Re: [android-developers] how to remove statusbar animation when chang to fullscreen.

2009-11-19 Thread Dianne Hackborn
Just change the animation associated with the status bar window. I can't point you to the exact code, but it is where it is setting up the window. Note that this will look cruddy unless you are turning off all of the activity transition animations and such... and if you are doing that, why not j

[android-developers] Re: Android in China - What is going on?

2009-11-19 Thread westmeadboy
On Nov 19, 4:53 pm, Gmail addictor wrote: > The sync works again! Market also became accessible! WoooW~~ YEAH! Still not working for me - I can't get past the "Set up your Google account" wizard. I've tried clearing caches of numerous google/htc apps, but still no joy... Can anyone else confirm

Re: [android-developers] how to remove statusbar animation when chang to fullscreen.

2009-11-19 Thread Stephen Abrams
Hi LemonDev, If you are just wanting to remove the bar, set in OnCreate the following: requestWindowFeature(Window.FEATURE_NO_TITLE); getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN); Make sure its done before setting content vi

[android-developers] Loading Object Hierarchy

2009-11-19 Thread matt parker
Hey guys, I'm trying to figure out how load a complex object hierarchy (not that complex, basically 3 levels), with objects that contain strings, ints, images, and sounds. I can make a custom xml solution for strings and ints, but how do I put in drawables and raw sounds? I need the generated R

Re: [android-developers] Flashing Android 2.0 on G1

2009-11-19 Thread ashok chakravarthy
Hi srikanth, Look in the htc web site,there u can find images to flash ur dev phone On Thu, Nov 19, 2009 at 9:45 PM, Mark Murphy wrote: > Shrikant Agrawal wrote: > > Hi All > > > > I want to upgrade my G1, which is currently running on andriod 1.5, to > > andriod 2.0 but i ca

[android-developers] how to remove statusbar animation when chang to fullscreen.

2009-11-19 Thread LemonDev
when i chage my activity to fulscreen, the statusbar performs an animation,but not disappear immediately. so how can i make the statusbar disappear immediate ? if need to change framework , where is it? i have read the statusbarservice.java, statusbarview.java, statusbarpolicy.java and statusbarman

Re: [android-developers] question regarding dialog dismiss/cancel handling

2009-11-19 Thread TreKing
"when the dismiss listener fires, can i tell which button caused the dismiss?" No - I don't think any of the buttons by default cause the dialog to be dismissed. This happens when you call dismiss() or cancel() on the dialog or the user presses the back button. "so in the click listener, i set a

[android-developers] Re: android.R.drawable.ic_menu_home - can not use

2009-11-19 Thread Max Binshtok
This does not seem to make a lot of sense. My decision to go with built in icons in the OS was to provide a unified user experience. So if those icons are changed in some version of custom build of the Android OS, all the apps that use those icons will have a coherent menu icons. Makes a lot of sen

[android-developers] Re: Where is "dump HPROF file" button in DDMS

2009-11-19 Thread James Wang
I have confirmed that these two buttons(dump HPROF file and start method profiling) only appears since 2.0. So what the document(http://android.git.kernel.org/?p=platform/ ) says is wrong. On Nov 20, 8:56 am, James Wang wrote: > fadden, Thank you! > > I tried my ddms and did not see the buttons y

[android-developers] Re: pressed image not showing !

2009-11-19 Thread NoraBora
I had a same problem. I think the order is somewhat important.(I don't understand why the order matters, though. maybe a bug?) Have a look at the default button and change the order like this. http://android.git.kernel.org/?p=platform/frameworks/base.git;a=blob;f=core/res/res/drawable/button_ins

Re: [android-developers] For Google about BaseAdapter class

2009-11-19 Thread Robert Woodruff
Thanks all for responding. This has been most helpful! On Thu, Nov 19, 2009 at 8:49 PM, Romain Guy wrote: > ListView does everything on the UI thrad. > > > I am pretty sure the adapter in this app is not being modified outside of > > the UI thread but I can cause the exception to be thrown. > >

[android-developers] How do I create a jar containing the .class files in bin?

2009-11-19 Thread ClarkBattle
I am making an API for my own use. It is an Android project in eclipse. An Android activity project in the same workspace uses it to do stuff. Or at least, thats the idea. The problem is that when i try to export the API as a jar that can be used by the activity the JAR wizard only shows me sour

[android-developers] question regarding dialog dismiss/cancel handling

2009-11-19 Thread Jason Proctor
i never look forward to handling Android dialogs, maybe someone can point me to a better way of doing it than i'm doing right now. say i have a dialog which has one text field in it, and OK and Cancel buttons. i make the dialog with AlertDialog.Builder, and set click listeners on the buttons an

Re: [android-developers] For Google about BaseAdapter class

2009-11-19 Thread Romain Guy
ListView does everything on the UI thrad. > I am pretty sure the adapter in this app is not being modified outside of > the UI thread but I can cause the exception to be thrown. Modifying the data structure(s) that backs the adapter on a background thread could cause this. > > Thanks, > > On Thu

Re: [android-developers] For Google about BaseAdapter class

2009-11-19 Thread Robert Woodruff
Dianne, Thanks so much for responding. Let me ask, to be sure. Does the ListView do its updating on the UI thread? I ask becasue it seems the call to BaseAdapter.notifyDataSetChanged() is synchronous (so it could be spawning another thread to do the work). I am pretty sure the adapter in this ap

Re: [android-developers] android.R.drawable.ic_menu_home - can not use

2009-11-19 Thread Romain Guy
It's intentional. On Fri, Nov 20, 2009 at 2:26 AM, Max Binshtok wrote: > Hi, I have been having this problem for some time now... > > I am using the icons that are coming with the platform for the menus. > So I use: > android.R.drawable.ic_menu_help > and > android.R.drawable.ic_menu_info_details

[android-developers] android.R.drawable.ic_menu_home - can not use

2009-11-19 Thread Max Binshtok
Hi, I have been having this problem for some time now... I am using the icons that are coming with the platform for the menus. So I use: android.R.drawable.ic_menu_help and android.R.drawable.ic_menu_info_details but for some reason I can not use: android.R.drawable.ic_menu_home So basically I

[android-developers] Re: Is there any way to display 8000 * 8000 jpeg file without OutOfMemoryException

2009-11-19 Thread James Wang
> > > Step #2: Generate 10,000 tiles that are 80*80 instead (100 * 100 tiles). > > > Step #3: Render tiles on-screen by drawing them on the Canvas, and > > support swipe gestures to move through the image by replacing tiles, > > much like Google Maps works. Hi Mark, AFAIK, the decoder of jpeg on an

[android-developers] Re: Where is "dump HPROF file" button in DDMS

2009-11-19 Thread James Wang
fadden, Thank you! I tried my ddms and did not see the buttons you mentioned. In my ddms, there is only 4 buttons: show heap updates cause an immediate GC show threads updates halt the target VM I checked out the version of DDMS:v0.8.1. In fact, I got 1.5 and 1.6 SDK installed in my box. And wh

[android-developers] android Contacts application theme/style

2009-11-19 Thread n179911
Hi, Can you please tell me why the android Contacts application theme/style is using 'dark' theme? For example, the activity's background is Black instead of White. I have looked at their Android Manifest xml file and their layout xml file (e.g. call details.xml) file, but i don't see how they spe

[android-developers] Re: When a phone is factory reset, market loses track of purchased apps

2009-11-19 Thread Mike
I just wanted to follow up and confirm that this issue is related to my customers purchasing with different accounts. One of my customers just confirmed this for me. So, yes - I am getting two purchases from them. Not that I'm complaining, but if it were me, I wouldn't like having to pay twice.

[android-developers] Reusing intents with notification/pending intents

2009-11-19 Thread jsdf
Hi all, A quick question (for those who know the answer, anyway): In my app, user starts a service and shows a notification from activity A. The notification creates a PendingIntent that will invoke activity A should the user tap on it. The problem with this behavior is that, if the user starts th

[android-developers] Re: The GPS Shutdown Thing

2009-11-19 Thread jtoolsdev
I'm looking to a solution using the MyLocationOverlay library where one can use runOnFirstFix which can launch the thread (which I already have) when the current location is found. Once it is found I can shut down the location stuff as I only need it at the start of the program. On Nov 19, 3:20 

Re: [android-developers] Re: CameraSurfaceView and how surfaceCreated() gets called - Can someone please help me?

2009-11-19 Thread Mark Murphy
android-newbie wrote: > For question #1, is this surface created via createSurface() from > SurfaceFlinger client to SurfaceFlinger server? If so, there must be > 2 buffers associated with this surface: surface BB (for composition) > and surface FB (for display). Am I correct? Can you please con

[android-developers] Re: CameraSurfaceView and how surfaceCreated() gets called - Can someone please help me?

2009-11-19 Thread android-newbie
Thank you Mark for your help. For question #1, is this surface created via createSurface() from SurfaceFlinger client to SurfaceFlinger server? If so, there must be 2 buffers associated with this surface: surface BB (for composition) and surface FB (for display). Am I correct? Can you please co

[android-developers] Activity and Interface

2009-11-19 Thread fala70
I've a problem to solve about pass reference between objects Activity. Suppose follow situation with 3 class and 1 interface: I don't know how pass the reference of MyEvents (_engine) to ActivityB from ActivityA::StartActivityB() public interface MyEvents { public abstract void MakeThis()

[android-developers] Re: The GPS Shutdown Thing

2009-11-19 Thread Nathan
On Nov 19, 12:09 pm, jtoolsdev wrote: > The recommendation of > the SDK is for setting up the location listener is to set time at > 6ms or 1 minute.   Really? Does Google Maps follow that guideline? > My tests show if you use that number when > exiting the app it may not shutdown GPS.   S

Re: [android-developers] Re: 2.0 AccountManager - Implementing a new account type with Google, Facebook and Exchange

2009-11-19 Thread Dan Dumont
Because when you create an account, the only class, for security reasons, that can dissect and manage/read passwords is the class that created the account... in this case, your AccountAuthenticator implementation, and only for the account type that you registered the AccountAuthenticator to handl

[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

[android-developers] Re: Invalidating a row of a ListView?

2009-11-19 Thread Jason Proctor
no i use CursorAdapter, as the underlying objects are coming out of the database. once the AsyncTask completes, i update the database record, so the next time round, it just inflates the bitmap and sets the imageview directly. back in the day i did this synchronously and the scrolling sucked.

[android-developers] Re: Problem with drop down views on orientation change (bug?)

2009-11-19 Thread Stephen Abrams
Filed bug for this after creating test project that repo'd error: http://code.google.com/p/android/issues/detail?id=4936 On Nov 19, 2:12 pm, Stephen Abrams wrote: > Some updates here, > > I played with the Hello, Spinner demo and couldn't repo the problem. > It exists only when the Spinner is ca

Re: [android-developers] Re: about close Location Manager service

2009-11-19 Thread Hong
er... so nothing we can do about it? was it on the G1? On Wed, Nov 18, 2009 at 3:20 AM, tstanly wrote: > finally I find that it's a gps driver issue. > > On 11月17日, 上午2時57分, Hong wrote: > > can u be more specific? what driver issue? i seem to have the same > > problem. > > > > thanks > > > >

[android-developers] Re: Where is "dump HPROF file" button in DDMS

2009-11-19 Thread fadden
On Nov 18, 7:05 pm, James Wang wrote: > In "Android 1.6 ("Donut")" section, it says "Select your application > and click the "dump HPROF file" button. ". > I can find that button in DDMS. It's not in a menu. There's a row of small button icons in the top left: show heap updates dump HPROF f

Re: [android-developers] Re: Android in China - What is going on?

2009-11-19 Thread Hong
Because President Obama was in town. Many blocked service were restored, e.g. twitter. However, this won't last for long. What you will need is to get a VPN (buy 1 for about $3/mo) and set up VPN on your Android phones and you are good to go. On Thu, Nov 19, 2009 at 3:53 AM, Gmail addictor wrote

[android-developers] Re: Invalidating a row of a ListView?

2009-11-19 Thread Mark Wyszomierski
Thanks Jason, sounds good. Are you extending BaseAdapter for your listview adapter? I thought it'd be a bit slow since every time getView () is called, I have to do the re-setting of my row's ImageView, but it's for the most part pretty smooth, just wondering how you find performance in your case?

[android-developers] verizon 3g

2009-11-19 Thread Andrei
Does verizon drop connection when streaming audio over 3g? -- 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-develo

Re: [android-developers] Invalidating a row of a ListView?

2009-11-19 Thread Jason Proctor
i have almost the same situation as you, but the way i do it is a little different -- when a list item view is made or recycled, it checks to see whether its image is loaded or not. if it's not, it kicks off an AsyncTask whose job it is to grab it using its URL. when that completes, it calls t

[android-developers] AdSense for Mobile Content New high-end devices!

2009-11-19 Thread Vassilios Kirellous
Hi, Is there anyone here aware of the new Adsense for Mobile Content adverts by Google? You should be able to see these in your adsense account. AdSense for Mobile Content New high-end devices! I'd like to know if there is anyone here incorporatin

[android-developers] Invalidating a row of a ListView?

2009-11-19 Thread Mark Wyszomierski
Hi, I have a ListView, its rows each have an image downloaded from the net in a separate thread. When the image is done downloading, I notify my main thread, and need to invalidate the corresponding row if it's on screen. I'm doing this: // run on the main thread. public void onThumbnailDownlo

[android-developers] Android - NPE in BrowserFrame

2009-11-19 Thread droidin.net
I get this exception triggered by users occasionally that I cannot reproduce. Since it's issued from looper I suppose it is result of Handler-type callback. I found similar bug on Google code but putting the solution into code didn't solve it. The problem is at this line of code in BrowserFrame: W

[android-developers] Re: Accessing contact's phone numbers

2009-11-19 Thread Lukasz Wisniewski
So I am trying to use new contacts API to query for contacts that has phone number. resolver.query( ContactsContract.Contacts.CONTENT_URI, new String[]{ContactsContract.Contacts._ID, ContactsContract.Contacts.DISPLAY_NAME, ContactsContract.Contacts.LOOKUP_KEY}, ContactsCont

[android-developers] Re: Android in China - What is going on?

2009-11-19 Thread Gmail addictor
The sync works again! Market also became accessible! WoooW~~ YEAH! I just discovered this morning. Everything looks fine~ Hope this sort of blocking wont happen again. "Free the Internet! Lame China gov!" On Nov 18, 9:22 am, shimsim wrote: > As you mentioned siuying, its thesyncservices that

Re: [android-developers] Managed dialogs with state changes

2009-11-19 Thread TreKing
You may want to clarify what you're asking, but if you mean you need to dynamically populate the contents of the dialog or set a different click listener based on what the user did to bring up the dialog, then you may want to simply call Activity.removeDialog(DIALOG_ID) after you're done with it.

[android-developers] Querying Media Artists, coming up 1 short

2009-11-19 Thread DulcetTone
I have a the following code which aims to get the names of the music artists on the external media that came with my T-Mobile MyTouch3G. The Music app shows 6 songs which apparently come with the phone -- 2 each from 3 artists (Jennifer Hudson, Sara Bareilles, and Britney Spears), but my code seems

[android-developers] Re: Safe way to get the My Contacts Group?

2009-11-19 Thread jak.
I'm a little worried about using the literal string 'System Group: My Contacts' to find the group. Can this differ on certain devices or locales? > String where = ContactsContract.Groups.ACCOUNT_NAME + " =='" + toAcct > + "' AND " + ContactsContract.Groups.TITLE + "=='System Group: My > Contacts'"

[android-developers] The GPS Shutdown Thing

2009-11-19 Thread jtoolsdev
I have two apps that take advantage of GPS. The recommendation of the SDK is for setting up the location listener is to set time at 6ms or 1 minute. My tests show if you use that number when exiting the app it may not shutdown GPS. Even using the call to stop location updates when onStop

Re: [android-developers] Task List

2009-11-19 Thread Dianne Hackborn
Long press on home to show recent tasks has been in since 1.0. On Thu, Nov 19, 2009 at 4:53 AM, Raja Nagendra Kumar < nagendra.r...@tejasoft.com> wrote: > Hi, > > Does Android 2.0 support Tasksbar to view the list of applications > which are opened.. > Application switching this way can be much f

[android-developers] Re: Installing APK from Internet?

2009-11-19 Thread nEx.Software
Also, make sure that you are serving the APK file as the right mime- type... It should be: application/vnd.android.package-archive On Nov 19, 12:00 pm, "Roman ( T-Mobile USA)" wrote: > You want to make sure that you use a public reachable URL. The href in > your post for example won't work to dow

[android-developers] Managed dialogs with state changes

2009-11-19 Thread Miguel Paraz
Hi, I have Dialog code whose actions in onClick() change, depending on a selected item on a ListView. I believe that Dialogs are better when managed, right? But, showDialog() and onPrepareDialog() don't give me a chance to change the dialog state. Does this mean, managed dialogs are meant for non-c

[android-developers] Re: I Didn't come here to cause no trouble, I just came to do the Android Market Shuffle!

2009-11-19 Thread PJ
On Nov 19, 8:53 am, Vassilios Kirellous wrote: > Its great you made a song out of this. Do you have dance moves to go with > it? > > Anyway, does this mean we get to have our $25 subscription back? > > 2009/11/19 niko20 > > > > > This also came to me last night, a little rendition of American

[android-developers] Re: How to Load PDF to Browser?

2009-11-19 Thread PJ
There are PDF Reader applications on the Market. But... what are you trying to accomplish? -- PJ On Nov 19, 9:32 am, Mark Murphy wrote: > xu haojie wrote: > > As I know, there isn't one function now, which can show PDF or DOC. > > > On Nov 18, 4:28 pm, Moon Technolabs > > wrote: > >> Is there

Re: [android-developers] For Google about BaseAdapter class

2009-11-19 Thread Dianne Hackborn
As the exception says: throw new IllegalStateException("The content of the adapter has changed but " + "ListView did not receive a notification. Make sure the content of " + "your adapter is not modified from a background thread, but

[android-developers] Re: Saving Activity state when pressing "Home"

2009-11-19 Thread vendor.net
How do you store that variable? On 19 Ноем, 17:18, jax wrote: > I need to store a variable that contains my application state > "restoredClockTime" > > I do this in onSaveInstanceState and onRestoreInstanceState and it > works when I flip the screen on the G1. > > The problem is when I press the

[android-developers] Re: Problem with drop down views on orientation change (bug?)

2009-11-19 Thread Stephen Abrams
Some updates here, I played with the Hello, Spinner demo and couldn't repo the problem. It exists only when the Spinner is called from a Dialog. I've seen it happen in 1.6, but not 1.5. Additionally, it has been described on this list before, but without resolution: http://osdir.com/ml/Android-

[android-developers] Re: Issue creating shared preferences file in 2.0

2009-11-19 Thread cvance383
bump... On Nov 17, 4:48 pm, cvance383 wrote: > Trying to create shared preferences for my class representing my api > and one for my main class. I create a shared preference file by making > this call in my api & main classes > > String PREF_NAME = "API"; > > this.pref = context.getSharedPreferen

Re: [android-developers] Market issues and missing applications

2009-11-19 Thread Justin Giles
So, did HTC have to put out a fix for this new issue for those users or did it resolve itself over time? This is very frustrating. The interesting thing is that my friend who has a Hero upgraded to the new ROM and can see everything just fine. Thanks for the info. Justin On Thu, Nov 19, 2009

[android-developers] Re: Installing APK from Internet?

2009-11-19 Thread Roman ( T-Mobile USA)
You want to make sure that you use a public reachable URL. The href in your post for example won't work to download the APK. Setup Apache-Tomcat for testing web access and place your apk somewhere in the webapps folder of your Tomcat setup. You should be able to download the apk using the followi

Re: [android-developers] Market issues and missing applications

2009-11-19 Thread SoftwareForMe.com SoftwareForMe.com
We have received reports of PhoneMyPC (and others) being unavailable to users of the new Hero ROM. Notably: the Hero roll-out in Europe had this issue, and the HTC Eric has this issue. I don't think this is related to the Android Market problems; I think this is an HTC glitch that somehow keeps r

Re: [android-developers] Pass image to a new Intent

2009-11-19 Thread Stephen Abrams
Hi Erick, I didn't find a way to get the resource id of an ImageView after setting it (which seems odd, someone may know more about this than I), but if you are setting up your images by using setImageResource(int resId), for example, you could extend the ImageView class to one that overrides setI

[android-developers] Re: Android Market Anti-Piracy

2009-11-19 Thread strazzere
IANAL, but I think your misquoting it there. > - in order to protect the vital interests of the data subject or; Meaning in order to protect the vital interests of the /data subject/. The data subject being the person you are collecting data from, not the person who is collecting the data. On No

[android-developers] Re: Android Market Anti-Piracy

2009-11-19 Thread AlexK
{QUOTE} The legitimacy of data processing: personal data may be processed only if the data subject has unambiguously given his/her consent or processing is necessary: - for the performance of a contract to which the data subject is party or; - for compliance with a legal obligation to which the co

[android-developers] Re: Problem running Android jUnit tests on Android project with multiple included auxiliary projects

2009-11-19 Thread emitya
Two workarounds that partially solve the problem 1) move the implementation classes to another project outside main android project and include it (this project may include android.jar as a library) 2) move tests into the main project and adjust main manifest file accordingly. On Nov 18, 9:20 am,

[android-developers] Re: Android Market Anti-Piracy

2009-11-19 Thread nEx.Software
On Nov 19, 11:11 am, niko20 wrote: > Seriously, stop worrying so much about this. It's a fact of life, get > used to it. I don't think you have reached the acceptance stage yet in > your seven stages of grieving about your app being pirated...:) LOL... Being pirated is a compliment isn't it? I m

[android-developers] Re: Android Market Anti-Piracy

2009-11-19 Thread niko20
Dude, next thing you'll want a dongle hanging out the side of the phone in order to use the app. Seriously, stop worrying so much about this. It's a fact of life, get used to it. I don't think you have reached the acceptance stage yet in your seven stages of grieving about your app being pirated..

[android-developers] Pass image to a new Intent

2009-11-19 Thread erick nicolas
Hi I've got a problem My app show a first layout like: Gridview1 (3 images in 1 row) ImageView1 (1 image) Gridview2 (3 images in 1 row) ImgaeView2 (1 image) Gridview3 (3 images in 1 row) ImgaeView3 (1 image) When you clik over an image it will be open full screen in a second layout The problem

[android-developers] Re: Android Market Anti-Piracy

2009-11-19 Thread LambergaR
http://europa.eu/legislation_summaries/information_society/l14012_en.htm -- 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: Android Market Anti-Piracy

2009-11-19 Thread LambergaR
Which law do you break by gathering personal data without informing the user? -- 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 emai

[android-developers] EGL and surface destruction

2009-11-19 Thread David Given
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I have an application that uses EGL. It creates an EGLSurface in the normal manner, draws on it, etc. Then the user presses the HOME button. The EGL spec says this: > Following a power management event, calls to eglSwapBuffers, eglCopy- > Buffers

[android-developers] Re: Building your own UI library like the embeddable Google Maps library

2009-11-19 Thread Edward Falk
> Reusable classes cannot use the R.* notation to reference resources. > > You can either: > > -- Accept resource IDs as parameters, the way much of the Android SDK is > set up. That way, the calling application controls the name of the > resource. You just get an opaque integer identifying the r

[android-developers] Geocoder address specification compared to Google Maps

2009-11-19 Thread ole!
I've been doing some comparisons of Android Geocoder.getfromLocationName with Google Maps to do a simple geocode of an address to a latitude, longitude. The specification of an address is much more flexible with Google Maps. Google Maps allows more ways to specify an address compared with Android

Re: [android-developers] Saving Activity state when pressing "Home"

2009-11-19 Thread TreKing
"You might want to save your variable when onPause gets called." Forgot to add, and restore it in onResume(). - TreKing - Chicago transit tracking app for Android-powered devices http://sites.google.co

Re: [android-developers] Saving Activity state when pressing "Home"

2009-11-19 Thread TreKing
onSaveInstanceState gets called when you're activity is likely to be killed off so you can restore it when it's recreated. When you open / close the keyboard on the G1 your activity gets destroyed and recreated, triggering the call to onSaveInstanceState. Pressing the Home key, however, will only

[android-developers] Re: Android Market Anti-Piracy

2009-11-19 Thread AlexK
On Nov 19, 2:04 pm, LambergaR wrote: > There are a few things I would like to point out. First of all, I > think, that Google (or the OHA) are not there to support some lazy > developers that are not able to implement some simple web activation > mechanism. Java apps ware (and will be) subject t

[android-developers] Market issues and missing applications

2009-11-19 Thread Justin Giles
I don't know if this is a relic of the issues earlier this morning with the Market or if it is because I just upgraded to the new HTC Hero firmware, but I cannot see any of my applications on the Market, nor can I see several others that I have downloaded before or am familiar with. Are there sti

[android-developers] Making a request over mobile network when WiFi is enabled

2009-11-19 Thread Adrian Jackson
Is there any way for an application to force a network request to go over the mobile network if it's available in preference to WiFi? I'm looking at ConnectivityManager#setNetworkPreference, but there's no documentation, and looking at the source seems to suggest it's setting a global preference so

[android-developers] Re: How to get all contact's name phone number, email for 2.0

2009-11-19 Thread Henry
Really appreciated!!! I tried and worked. Here is the original query I used for 1.6: String[] PROJECTS = new String[] { People._ID, People.DISPLAY_NAME, People.NAME, People.NUMBER, People.PRIMARY_EMAIL_ID }; Cursor cursor = getConte

[android-developers] Re: Android Market Anti-Piracy

2009-11-19 Thread AlexK
Catch You! Ha-ha! BTW he wrote own applications not only for our company! On Nov 19, 5:31 pm, strazzere wrote: > > As a developer, I will definitely integrate their protection system in > > my application and WILL deny activation if IMEI is in the black list. > > It would make sense for a softwa

[android-developers] Re: Android Market Anti-Piracy

2009-11-19 Thread AlexK
On Nov 19, 6:10 pm, G wrote: > Honestly I think you guys are spending way too much time and energy on > this thing. Less talks, more actions... Critics that authors place here helps a lot, but in most cases are covered by our team "brainstorming". Solution will become better if we find support

Re: [android-developers] Flashing Android 2.0 on G1

2009-11-19 Thread Mark Murphy
Shrikant Agrawal wrote: > Hi All > > I want to upgrade my G1, which is currently running on andriod 1.5, to > andriod 2.0 but i cant find the system.img file in the andorid2.0 sdk. > > Do anybody know where I can the system.img file android 2.0 ??? Android 2.0 has not been officially released fo

Re: [android-developers] Re: Android Market Anti-Piracy

2009-11-19 Thread Dan Sherman
Just as a helpful suggestion, you'd be best off tracking based on some pub/priv key system, which developer issued "evidence", so when the inevitable happens, you can retract evidence from a certain user. Otherwise, even with a captcha, this is just asking to be hit hard... On Thu, Nov 19, 2009 at

[android-developers] Re: Android Market Anti-Piracy

2009-11-19 Thread G
Honestly I think you guys are spending way too much time and energy on this thing. Here are the facts: FACT: Piracy is a part of life, you will never stop it, ever. FACT: On the first page of this thread someone mentioned that we are now in 2009 where every major application has online activation

[android-developers] Re: Android market .... what's happening?

2009-11-19 Thread nubin...@gmail.com
Back to normal now. Thanks! On Nov 19, 6:53 am, Bahadır Yağan wrote: > My stats are back to normal now. > > > > On Thu, Nov 19, 2009 at 4:11 PM, ty wrote: > > Same problem here. All of our apps are being affected by this. > > > For example, one went from 6+ downloads to only 5018 overnight.

[android-developers] Re: Android Market Anti-Piracy

2009-11-19 Thread AlexK
Thanks for yours nice ideas. I'll install CAPTCHA on form. On Nov 19, 5:04 pm, Kaj Bjurman wrote: > So how do they they expect piracy to be reported? How do they handle a > worm or malicious program / user that reports all IMEI numbers that it > finds (or generates)? > > Creating a program that g

[android-developers] Flashing Android 2.0 on G1

2009-11-19 Thread Shrikant Agrawal
Hi All I want to upgrade my G1, which is currently running on andriod 1.5, to andriod 2.0 but i cant find the system.img file in the andorid2.0 sdk. Do anybody know where I can the system.img file android 2.0 ??? Thanks in advance Shrikant Agrawal -- You received this message because you are s

  1   2   >