[android-beginners] Smarter widget updates

2010-04-30 Thread Kostya Vasilyev
becomes visible, either after side-scrolling, or after the screen is unlocked? -- Kostya Vasilyev -- http://kmansoft.wordpress.com/sw/ -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow

Re: [android-beginners] Human interface guidelines. Equivalent to iPhone sectioned table

2010-05-05 Thread Kostya Vasilyev
...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -- Kostya Vasilyev - WiFi Manager + pretty widget - http://kmansoft.wordpress.com/sw -- You received this message because you are subscribed to the Google Groups Android Beginners group

Re: [android-beginners] The Android emulator runs too slowly.

2010-05-12 Thread Kostya Vasilyev
/group/android-beginners?hl=en -- Kostya Vasilyev -- WiFi Manager + pretty widget -- http://kmansoft.wordpress.com/sw -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http

Re: [android-beginners] Re: Communicating between multiple Apps/Widgets?

2010-05-12 Thread Kostya Vasilyev
://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group athttp://groups.google.com/group/android-beginners?hl=en -- Kostya Vasilyev -- WiFi Manager + pretty widget -- http

Re: [android-beginners] Re: Communicating between multiple Apps/Widgets?

2010-05-12 Thread Kostya Vasilyev
upon relevant events. -- Kostya Vasilyev -- WiFi Manager + pretty widget -- http://kmansoft.wordpress.com/sw -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http

Re: [android-beginners] Maintaining the state when changing the orientation

2010-05-13 Thread Kostya Vasilyev
on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -- Kostya Vasilyev ~ WiFi Manager + pretty

Re: [android-beginners] Re: WQVGA not respecting android:layout_height=fill_parent for layout.

2010-05-14 Thread Kostya Vasilyev
You can build against 1.6 and set min-sdk to 3, also set supports-screens for high and low screen support. There was a topic here recently about properly specifying drawables. 14 мая, 2010 8:47 PM пользователь Stormtap Studios r...@stormtapstudios.com написал: I've found the reason this

Re: [android-beginners] Different views in a widget

2010-05-19 Thread Kostya Vasilyev
19.05.2010 22:46, Justin Anderson пишет: The class I'm using is OpenXWidget, does anyone here have experience with OpenX or have any ideas as to why a class that extends ImageView wouldn't work in my Widget? It seems that OpenXWidget is well, not a widget. It is a View subclass, and can be

Re: [android-beginners] Re: Different views in a widget

2010-05-19 Thread Kostya Vasilyev
You could port OpenXWidget to work with home screen widgets. Its code structure is very close to what's needed - it does its work in a separate thread and updates the UI as needed. Take a look at Wiktionary sample in Android SDK. It also does an asynch fetch from the Web and updates the

Re: [android-beginners] Eclipse not recoginizing my attached Hero, Ubuntu 9.10

2010-05-31 Thread Kostya Vasilyev
I also have an HTC Hero... Although I use it under Windows, this might be useful. After connecting the phone, it doesn't show up in DDMS until after I've selected HTC Sync from the phone's status bar. I don't actually have this installed under Windows, so this fails, but makes the driver see

Re: [android-beginners] Re: Can a full app (not widget) be postage stamp size?

2010-06-02 Thread Kostya Vasilyev
James, The 30 minute limit only applies to automatic updates scheduled by using the widget .xml desciptor. Your widget provider can update its widgets (using the usual mechanism of RemoteViews) any time it wants. For example, in response to some other broadcast. In my application, this

Re: [android-beginners] Re: Can a full app (not widget) be postage stamp size?

2010-06-08 Thread Kostya Vasilyev
Congratulations, James. Note: you can merge the broadcast receiver with your AppWidgetProvider, same one that handles APPWIDGET_UPDATE. -- Kostya 08.06.2010 15:18, cellurl пишет: I got it working. I tossed my version and started with a copy of ApiDemos, adding code below. One interesting

Re: [android-beginners] Visibility

2010-06-09 Thread Kostya Vasilyev
This is controlled in the manifest file. Just remove launcher categories for the activity. 09.06.2010 13:47 пользователь Aviral aviral...@gmail.com написал: I noticed that we can set a view invisible by using setvisibility() function. Is it possible to do so for drawables also? I want to hide an

Re: [android-beginners] Transition animation for dynamic (single) view.

2010-06-20 Thread Kostya Vasilyev
Since I was curious about this as well, I looked at the source you pointed at. They use a ViewSwitcher with two (or actually, more, dynamically created) content views. This makes sense, since ViewSwitcher animations involve two representations of content - old and new, hence at least two

Re: [android-beginners] LogCat

2010-06-22 Thread Kostya Vasilyev
Don, I can recommend running adb logcat from the OS's command line window. This way, it's always around, you can make it as large as you want, and can do filtering by piping through grep or find, if necessary. -- Kostya 22.06.2010 22:02, DonFrench пишет: I use LogCat a lot when debugging

Re: [android-beginners] Problem with AppWidget Using a Service

2010-06-23 Thread Kostya Vasilyev
Jake, The error is in the way your code instantiates ComponentName. Instead of: ComponentName thisWidget = new ComponentName(this, ZMUpdateService.class); Do this: ComponentName thisWidget = new ComponentName(this,*ZmanMinderAppWidget*.class); The error message was trying to convey same

Re: [android-beginners] Re: onHandleIntent(Intent) method does not get called

2010-06-23 Thread Kostya Vasilyev
Betty, Make sure your service calls base class methods in onCreate() and onStart(). Intents for processing are queued to a worker thread by IntentService.onStart. The worker thread is set up by onCreate. class BettysService extends IntentService { @Override public void onCreate() { ...

Re: [android-beginners] Re: Problem with AppWidget Using a Service

2010-06-23 Thread Kostya Vasilyev
Jake, onUpdate is passed an explicit list of just the widget ids that need to be updated. Supposedly, there could be widgets that belong to this provider but don't need updating (e.g. on a scrolled-off home screen portion). Pushing a RemoveViews object to a paricular widget is done by

Re: [android-beginners] Re: Problem with AppWidget Using a Service

2010-06-23 Thread Kostya Vasilyev
Jake, Using a service for a widget that's not doing anything lengthy to prepare updates seems like a bit of an overkill. Certainly it works, but probably not necessary. On the other hand, using a service is definitely the way to go for widgets that fetch data from the Internet or some other

Re: [android-beginners] Re: onHandleIntent(Intent) method does not get called

2010-06-24 Thread Kostya Vasilyev
24.06.2010 10:49, appsgrrl пишет: Hi -- Okay, I got further! Yay! It turns out that I also had to call super.onCreate() to avoid the null pointer exception. So, if I call super.onCreate() and super.onStartCommand(), my onHandleIntent() does get excecuted. Great. Both superclass methods

Re: [android-beginners] Triggering an AppWidget Update

2010-06-24 Thread Kostya Vasilyev
Jake, There are two scenarios involved: 1. Android calls the widget provider's onUpdate() - when the widget is first shown and then regularly at updatePeriodMillis intervals, if specified. Note that automatic updates based on updatePeriodMillis are limited to once every 30 minutes since

Re: [android-beginners] Re: Triggering an AppWidget Update

2010-06-24 Thread Kostya Vasilyev
Jake, There are two issues here: - Getting notifications when appointment data changes. If the appointment database is your own, set up an intent to be fired whenever there is a change. If you are using the built-in calendar, there is got to be a way, too - I just don't have any pointers not

Re: [android-beginners] Re: Triggering an AppWidget Update

2010-06-24 Thread Kostya Vasilyev
Jake, The 30 minute minimum intervals only applies to updates specified in the widget's XML file (updateTimeMillis). You can have alarm-driven (or other event driven) updates as often as you like, so it's only a question of judgement with respect to battery life. Android 2.x includes

Re: [android-beginners] Appwidget Getting Location Updates

2010-06-30 Thread Kostya Vasilyev
Jake, PendingIntents are not limited to launching activites. When a PendingIntent fires, it just fires - the results of it firing depend on how the PI was created. If it's a broadcast event, it can be handled anywhere, and depends on where / how a handler for this broadcast event is

Re: [android-beginners] Re: Appwidget Getting Location Updates

2010-07-01 Thread Kostya Vasilyev
Jake, 01.07.2010 1:04, Jake Colman пишет: Kostya, I already start a service to do the initial update of the widget. Do I just start the same service again from within the appwidget's event handler for the broadcast event? If doing this will bring the widget up-to-date, then why not?

Re: [android-beginners] Clicking in an AppWidget

2010-07-02 Thread Kostya Vasilyev
Jake, You can set an on-click PendingIntent on some other View (such as a Layout). Whether or not it's a good idea - I guess it depends on how pretty you can make it look :) -- Kostya 02.07.2010 23:19, Jake Colman пишет: Is there a way to launch an activity simply by clicking anywhere in

Re: [android-beginners] Re: closing multiple activities

2010-07-02 Thread Kostya Vasilyev
Tollas, First of all, there is Activity.finish(), which closes the activity. But if the way you want your app to interact with the user doesn't fit the way Activities are managed by Android, perhaps you can consider switching views inside an Activity? You can call setContent at any time to

Re: [android-beginners] is here the right place for my question ?

2010-07-07 Thread Kostya Vasilyev
Maybe you could try geo: scheme in the links: http://developer.android.com/guide/appendix/g-app-intents.html 07.07.2010 19:08, TreKing ?: On Sun, Jul 4, 2010 at 5:18 PM, jean francois pion jean.francois.p...@free.fr mailto:jean.francois.p...@free.fr wrote: I would like to know if

Re: [android-beginners] Re: Relationship between bindService and onServiceConnected

2010-07-07 Thread Kostya Vasilyev
Bret, Set a breakpoint in the service's onBind method, run the code, see what happens. -- Kostya 07.07.2010 19:21, Bret Foreman пишет: I don't see anything unusual in the log. I've got a few debug messages and they are printing out fine. I've got a debug message in onServiceConnected that

Re: [android-beginners] Can i remove my status bar notification without opening my app?

2010-07-13 Thread Kostya Vasilyev
Nick, A Notification's PendingIntent can be anything you want - not necessarily one that launches an activity. It can be set up to trigger a BroadcastReceiver or even a Service - which could clear the notification without being visible to the user. -- Kostya 13.07.2010 11:12, Nick

Re: [android-beginners] Re: I/O

2010-07-14 Thread Kostya Vasilyev
If you are catching IOException, a NullPointerException will slip right through. Happens sometimes (i.e. file open returns null, and subsequent code tries to write to it). Have you checked the logcat to see what goes on? Also note, if a crash happens while debugging, you have to hit Resume

Re: [android-beginners] Re: Database handling - when do you open and close

2010-07-15 Thread Kostya Vasilyev
onResume / onPause are called when another activity pops in front, but your activity stays on the screen. So this is probably a bit much. You could try onStart / onStop, and move the code that populates views with database data from onCreate to onStart. -- Kostya 15.07.2010 18:49, Bender

Re: [android-beginners] Canceling an Alarm in an AppWidget

2010-07-15 Thread Kostya Vasilyev
Jake, AppWidgetProviders are transient, you can't store any data in these objects. They are created by Android as necessary and are destroyed, from what I see with my widgets, quite aggressively. Canceling an alarm doesn't require the same Java object you used to set an alarm. Just create

Re: [android-beginners] Re: Canceling an Alarm in an AppWidget

2010-07-15 Thread Kostya Vasilyev
Jake, It isn't and it doesn't. I know it's a little counter-intuitive, but that's the case. AppWidgetProvider is just a special BroadcastReceiver. It is instantiated by Android runtime / home screen in response to events defined in the manifest, and provides a RemoteViews object that defines

Re: [android-beginners] Implementing a Service - Call down to super?

2010-07-15 Thread Kostya Vasilyev
Calling the base class is required for IntentService and its subclasses (such as Mark Murphy's WakefulIntentService). 16.07.2010 1:09 пользователь Justin Anderson janderson@gmail.com написал: Jake, You haven't given enough information to determine if it should be called before or after your

Re: [android-beginners] ContextMenu Problem - how to resolve these menu items

2010-07-15 Thread Kostya Vasilyev
Just a guess - the menu XML failed to compile because of a string id with a space in it (Via Bluetooth). 16.07.2010 1:25 пользователь Victoria Busse victoriasarabu...@gmail.com написал: Hey Justin, thanks for the reply, I just solved the problem it was within the xml.file ...instead of

Re: [android-beginners] The Force Close Error is suddenly back...

2010-07-16 Thread Kostya Vasilyev
Victoria, The cause of this exception appears in logcat: 07-16 19:40:45.124: ERROR/AndroidRuntime(225): Caused by: java.lang.NullPointerException 07-16 19:40:45.124: ERROR/AndroidRuntime(225): at com.mobilevideoeditor.moved.EditGalleryView $VideoAdapter.getCount(EditGalleryView.java:73)

Re: [android-beginners] The Force Close Error is suddenly back...

2010-07-16 Thread Kostya Vasilyev
the crash for now, but still - learning how to debug and understand what the code actually does during execution is instrumental to any further development work you plan on doing. -- Kostya Vasilyev -- http://kmansoft.wordpress.com 17.07.2010 2:15 пользователь Victoria Busse victoriasarabu...@gmail.com

Re: [android-beginners] Re: Including libraries in project

2010-07-17 Thread Kostya Vasilyev
During compilation, Android tools use standard Java .class format, as you found out. However, during application packaging (I think) they are converted into Dalvik's special format, .dex, which does not use Sun's Java bytecode. If you list the contents of an .apk file, you will see one .dex

Re: [android-beginners] Returning values from dialog

2010-07-20 Thread Kostya Vasilyev
Try removing 'final' from 'final mytitle'. 'final' in Java means you are telling the compiler you are going to assign the value once, a kind of self-check. Consequent assingments are flagged as an error. -- Kostya Vasilyev -- http://kmansoft.wordpress.com 20.07.2010 18:26 пользователь nimusi

Re: [android-beginners] Force close issue!

2010-07-21 Thread Kostya Vasilyev
At this point, let the application run until you get a force close dialog on the device. Then check logcat (in Eclipse or adb logcat from the command line) to find out the cause - it will be in the stack trace, under Caused by:. The message about JAR means that the crash is somewhere inside

Re: [android-beginners] Re: Windows 7 issue? gen [in HelloAndroid] does not exist

2010-07-23 Thread Kostya Vasilyev
FWIW - the following combo works for me: - JDK 6 update 20 - 32 bit - Eclipse for Java, Galileo SR2 - win32 - Windows 7 64-bit -- Kostya 23.07.2010 21:07, Anil пишет: I installed Java 1.6.20 which avoids the Eclipse problem. Did you get it working for 64 bit Windows? I didn't see an update on

Re: [android-beginners] [Ask] Android Laptop + need to run Win XP apps

2010-07-23 Thread Kostya Vasilyev
Try virtualbox.org -- Kostya Vasilyev -- http://kmansoft.wordpress.com 24.07.2010 0:31 пользователь Umar ramu.i...@gmail.com написал: Executive Summary: * Unable to cross the chasm between Windows 7 to Windows XP, driven by a business need. (see thread below for details) {what is means for me

Re: [android-beginners] Re: Unable to deploy apps to AVD using Eclipse

2010-07-25 Thread Kostya Vasilyev
Abduaziz, Does your Windows home directory have non-English characters? (C:\Users\your name)? I found that in this case (mine has Russian characters), the emulator has various problems. I use the command line to create the emulator in some other directory that has only English characters

Re: [android-beginners] Re: Unable to deploy apps to AVD using Eclipse

2010-07-25 Thread Kostya Vasilyev
25.07.2010 13:01, Abduaziz Hasan пишет: BTW, can this be related to Windows 7? I mean is there anyone who is using Windows 7 and not having the problem? Yes, I don't any problems with the emulator on Windows 7. Maybe there are others :) -- Kostya Vasilev -- WiFi Manager + pretty widget --

Re: [android-beginners] Re: Unable to deploy apps to AVD using Eclipse

2010-07-25 Thread Kostya Vasilyev
Maybe... Why don't you try creating a new AVD using the command line, and make sure there are no spaces or non-english characters in its pathname? Also, do you run an antivirus? I use NOD32 and don't have any issues with it. Just for test purposes, you could try disabling yours. -- Kostya

Re: [android-beginners] Re: Unable to release partial wake lock in service

2010-07-25 Thread Kostya Vasilyev
Wake locks have to do with CPU state, not with service lifecycle. If you don't need the service at some point, call stopself or stopservice. -- Kostya Vasilyev -- http://kmansoft.wordpress.com 25.07.2010 19:52 пользователь Bret Foreman bret.fore...@gmail.com написал: Well, my understanding from

Re: [android-beginners] Creating a listview in for an android home screen widgets

2010-07-25 Thread Kostya Vasilyev
Sure. Add one or more (repeating) views, make a couple buttons for scrolling to previous/next positions, and update data item views when these buttons are clicked. Press and drag is reserved for home screen switching, anyway. -- Kostya Vasilyev -- http://kmansoft.wordpress.com 25.07.2010 22:30

Re: [android-beginners] Re: Unable to deploy apps to AVD using Eclipse

2010-07-25 Thread Kostya Vasilyev
No problems with NOD32 here either. Running Windows 7 64bit. -- Kostya Vasilyev -- http://kmansoft.wordpress.com 26.07.2010 1:10 пользователь Sam Hobbs s...@samhobbs.org написал: Many people have had problems with Norton. It was pre-installed in my system but I cleared it out of my system

Re: [android-beginners] Notepadv2

2010-07-26 Thread Kostya Vasilyev
Sam, According to docs: http://developer.android.com/reference/android/view/ViewGroup.LayoutParams.html match_parent is introduced in API version 8, that is, Android 2.2 Your project is probably set up to compile against an earlier version of Android. If that is the case, use

Re: [android-beginners] Changes required to handle dual orientations

2010-07-26 Thread Kostya Vasilyev
Bret, You use the same layout XML file names and same widget IDs in both files - that way, orientation changes (and other alternate resources) are completely transparent to the application code. But it's res/layout-land, not res/layout/land. More info here:

Re: [android-beginners] Re: Changes required to handle dual orientations

2010-07-26 Thread Kostya Vasilyev
Something's got to be different. Open R.java and scan for your view id there, check to see if maybe you have a close sounding ID, or there is a capitalization difference. -- Kostya 26.07.2010 21:05, Bret Foreman пишет: I mistyped. The file path is actually res/layout-land. The exception is

Re: [android-beginners] Re: Changes required to handle dual orientations

2010-07-26 Thread Kostya Vasilyev
Bret, Is there really a line break in the failing case? I mean between @+id/ and ViewEvents? 26.07.2010 21:17, Bret Foreman пишет: Here's a little more detail from layout-land (fails) and layout (works) respectivley. The fist button causes a runtime exception in findViewById, the second

Re: [android-beginners] Re: Unable to deploy apps to AVD using Eclipse

2010-07-26 Thread Kostya Vasilyev
Data Execution Protection is not unique to 64 bit. First appeared in XP, I believe. In fact, I have it enabled (at default level) and having no problems with the emulator. -- Kostya Vasilyev -- http://kmansoft.wordpress.com 26.07.2010 23:40 пользователь DanH danhi...@ieee.org написал: Also, I

Re: [android-beginners] Re: Changes required to handle dual orientations

2010-07-26 Thread Kostya Vasilyev
Hmm. Looks good. What I would do at this point is gradually rebuild the layouts bottom up, starting with the problem view, and assigning new id tokens. -- Kostya Vasilyev -- http://kmansoft.wordpress.com 26.07.2010 23:27 пользователь Bret Foreman bret.fore...@gmail.com написал: No, no line

Re: [android-beginners] Re: Changes required to handle dual orientations

2010-07-26 Thread Kostya Vasilyev
Also, try removing layout_gravity. Shouldn't matter, but that's the only difference I am able to see. -- Kostya Vasilyev -- http://kmansoft.wordpress.com 26.07.2010 23:27 пользователь Bret Foreman bret.fore...@gmail.com написал: No, no line break. That's just an artifact of the cut and paste

Re: [android-beginners] Re: Changes required to handle dual orientations

2010-07-27 Thread Kostya Vasilyev
Ah. Was this a home screen widget? 27.07.2010 0:47, Bret Foreman пишет: Found the problem. I should have learned my lesson by now. When you do any substantial resource changes, you have to uninstall the app from all your targets or you end up with a toxic mix of old and new resources info.

Re: [android-beginners] What is drawable-hdpi, drawable-ldpi and drawable-mdpi ?

2010-07-27 Thread Kostya Vasilyev
Shaista, drawable is the default. If a higher or lower resolution image is needed, depending on the screen, Android can scale it as appropriate. However, this automatic scaling doesn't always look that great. In those cases, you, as the developer, can provide alternate versions of the same

Re: [android-beginners] Re: Loading images in android

2010-07-27 Thread Kostya Vasilyev
You could use one image view and several different images with varying number of flowers. Or create the required number of image views from code, all using the same image. Or declare four image views in your layout and manage their visibility from code. -- Kostya Vasilyev -- http

Re: [android-beginners] Re: Loading images in android

2010-07-28 Thread Kostya Vasilyev
use one image view and several different images with varying number of flowers. Or create the required number of image views from code, all using the same image. Or declare four image views in your layout and manage their visibility from code. -- Kostya Vasilyev --http://kmansoft.wordpress.com

Re: [android-beginners] Build.BOOTLOADER / Build.RADIO

2010-07-28 Thread Kostya Vasilyev
Those fields are new with Android 2.2. Are you sure you're compiling against Android 2.2? -- Kostya 28.07.2010 2:38, Doward пишет: According to the SDK we should be able to read the bootloader and radio versions, but Eclipse is freaking out about it. I can read any other Build.whatever

Re: [android-beginners] Re: custom listview add button above listeview

2010-07-30 Thread Kostya Vasilyev
Declare the button in the activity's layout xml, above the ListView. -- Kostya 30.07.2010 19:20, calmchess пишет: I'm useing custom list view.which inflates the view..if you put a button in the XML it will put a button in each cell of the list view i only want 1 button above the list view

Re: [android-beginners] Re: Launching an About screen from Preferences

2010-07-30 Thread Kostya Vasilyev
Bret Mark, Sorry for interrupting, but I also got curious about this. It seems like a neat way to bring up the About box without making the context menu too large. This works, no problems at all: values/prefs.xml: . Preference android:key=aboutPref android:title=About title

Re: [android-beginners] Re: Launching an About screen from Preferences

2010-07-30 Thread Kostya Vasilyev
Ditto - I was also about to suggest this. Base Preference class is quite complete, it handles drawing the title and summary with proper fonts, and has an onClick() method. Another way - instead of subclassing Preference, add a bit of code with setOnPreferenceClickListener. -- Kostya

Re: [android-beginners] Re: Launching an About screen from Preferences

2010-07-30 Thread Kostya Vasilyev
The key was having both action and category in the intent filter. Either one by itself didn't match the intent. -- Kostya 30.07.2010 21:30, Mark Murphy пишет: Yes, I think I barked up the wrong tree by suggesting to get rid of the DEFAULT category. Glad to know this works! On Fri, Jul 30,

Re: [android-beginners] Re: Eclipse lockups and crashes

2010-08-03 Thread Kostya Vasilyev
1.6 update 21 indeed has an issue with Eclipse, was discussed recently either here or on android-developers. Either roll back, or use search. -- Kostya 03.08.2010 13:19, blindfold пишет: I'm having the same problem with the latest r06 Android SDK and using Java SDK 1.6.0_21 (C:\Program

Re: [android-beginners] Changing WiFi network login

2010-08-03 Thread Kostya Vasilyev
If the other side requires logging in, perhaps you could track usage there? -- Kostya Vasilyev -- http://kmansoft.wordpress.com 04.08.2010 0:54 пользователь Kevin Brooks bear35...@gmail.com написал: The real issue is logging into the network that is on the other side of that Access Point. I

Re: [android-beginners] Changing WiFi network login

2010-08-04 Thread Kostya Vasilyev
Then do it the same way web applications do. Implement login functionality in your application, and you can check credentials. If the app has a web service-based backend, pass some kind of login token to the server can track usage. -- Kostya 04.08.2010 1:09, Kevin Brooks пишет: My original

Re: [android-beginners] SecurityException in AccountManager.get(mContext).getPassword(account);

2010-08-04 Thread Kostya Vasilyev
Looks like Google has a special process that deals with account management. Only this process is allowed to get / set account passwords. It's probably also signed with a special key, which is checked by the kernel when it's started (guessing here). If any application was allowed this, think

Re: [android-beginners] ATTENTION: Android-Beginners will be permanently disabled on August 9 2010

2010-08-04 Thread Kostya Vasilyev
If there are so many regrets about the closing of this list isn't it possible for anyone to create a mailing list with Google Groups? Let's call it android-for-beginners or whatever. Anyone? -- Kostya Vasilyev -- http://kmansoft.wordpress.com 04.08.2010 20:39 пользователь Alessandro

Re: [android-beginners] Re: Database handling - when do you open and close

2010-08-05 Thread Kostya Vasilyev
the service is started. -- Kostya Vasilyev -- http://kmansoft.wordpress.com 06.08.2010 0:49 пользователь Bender abende...@googlemail.com написал: Thanks for your reply, and sorry for my late answer. :-) I tried to get it running as a service but I don't really get how I have to use services

Re: [android-beginners] Re: Database handling - when do you open and close

2010-08-06 Thread Kostya Vasilyev
Sure. The service connection callback you seem to already have in your code. -- Kostya Vasilyev -- http://kmansoft.wordpress.com 06.08.2010 12:10 пользователь Bender abende...@googlemail.com написал: Ok I tried to find out at which point the service is started and when I can access its database

Re: [android-beginners] Re: Database handling - when do you open and close

2010-08-06 Thread Kostya Vasilyev
. Is that wrong? On 6 Aug., 10:26, Kostya Vasilyevkmans...@gmail.com wrote: Sure. The service connection callback you seem to already have in your code. -- Kostya Vasilyev --http://kmansoft.wordpress.com -- Kostya Vasilev -- WiFi Manager + pretty widget -- http://kmansoft.wordpress.com