Is there a reason why Android team fails to address this? I posted the same
question on the stackoverflow.com to no avail. There are also compilation
problems in Adapters.java. Please refer to
http://stackoverflow.com/questions/7139299/android-broken-xml-parsing-example
--
You received this me
Anybody? Hints? Thoughts?
On Apr 29, 9:46 am, "droidin.net" wrote:
> I'm successfully importing external contacts into the newly created
> account using this tutorialhttp://goo.gl/sLJeN. The account is setup
> to re-sync programmatically and yet to be able to see the sync
I'm successfully importing external contacts into the newly created
account using this tutorial http://goo.gl/sLJeN. The account is setup
to re-sync programmatically and yet to be able to see the synced
contact, unless the contact dupe is found, I need to do Contacts->Menu-
>Display options->Find a
Anyone? This is really makes my life miserable where's my Google
knight in shiny armor?
On Nov 29, 11:57 am, "droidin.net" wrote:
> I had a perfectly working widget as part of my project. Then I decided
> to extract common code (including the widget) into the library
> p
I had a perfectly working widget as part of my project. Then I decided
to extract common code (including the widget) into the library
project. After doing this everything works except the widget. It
appears in the list of widgets available for addition but when I place
it on the desktop all I get i
:
> Sorry that isn't the code for the news and weather app. I don't think the
> code for that app has been made available at this point.
>
>
>
> On Tue, Apr 20, 2010 at 6:18 PM, a a wrote:
> > Dear Stone,
>
> >http://android-sky.googlecode.com/svn/trunk/Sky/
>
> http://android-sky.googlecode.com/svn/trunk/Sky/
>
> 2010/4/20 droidin.net :
>
>
>
> > Hi guys,
>
> > Can anyone help me find source code for Android's Weather and News app
> > (Genie Widget). It doesn't look like it can be found
> > athttp://android.gi
Hi guys,
Can anyone help me find source code for Android's Weather and News app
(Genie Widget). It doesn't look like it can be found at
http://android.git.kernel.org/
and Google's Code Search does not return any results ether
Thanks,
Bo Stone
--
You received this message because you are subsc
The goal: refresh database from XML data
The process:
* Start transaction
* Delete all existing rows from the tables
* Per each main element of parsed XML insert row into main table
and get PK
* Per each child of the main element insert record into 2nd table
providing FK from th
I'm using ExpandableListView in my app and one of the complains is
that when expanded it's hard to visually distinguish where the child
item ends and next group item begins. So I would like to change
background of the child list item to the different shade. Brutal
attempts that I've made so far wer
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
All my 3 apps are affected and I bet there's no single App on the
marked that is intact. Interesting that I have more reviews than
ratings. They screwed the database alright. The dev concole still
shows old numbers but then it is always lagging due to caching
On Nov 18, 10:24 pm, Pieter wrote:
>
I'm trying to put a checkbox into ExpandableListView. I noticed that
doing that disables basic functionality of displaying child list when
group row is clicked. Furthermore when I click outside of checkbox the
click is detected by nether checkbox nor by OnGroupClickListener. Can
someone help me to
Thanks you... Real bummer
On Nov 4, 3:48 am, Dianne Hackborn wrote:
> No, an IME doesn't provide any modifiers, it inserts the final UTF-16
> characters into the text.
>
>
>
> On Tue, Nov 3, 2009 at 9:37 PM, droidin.net wrote:
> > Basically I want to capture Alt-ke
Basically I want to capture Alt-key combination to provide some
customized alternative text input. For example Alt-f would put FOO
into the text field. However there doesn't seem to be ALT key on the
virtual keyboard in ether portrait or landscape. Is it possible to
fake Alt key on the virtual keyb
Ha! That's interesting thought! Let me try, thanks a bunch!
On Oct 22, 8:54 pm, Nirav wrote:
> Looking at your problem, the solution is that you can use expandable
> list view to do the your task.
> It will solve your all prooblem and can change your background using
> selector also
--~--~--
Sorry - what I'm saying is no - setting background has no effect
On Oct 22, 9:18 pm, "droidin.net" wrote:
> "Are you actually getting control in your onClick()? If yes, then
> calling
> setBackgroundColor() should work fine. "
>
> Yes, I can setup a b
else {
Toast.makeText(SearchResultsView.this, "Unable
to display details for this listing",
Toast.LENGTH_LONG).show();
}
}
});
On Oct 22, 2:50 pm, Mark Murphy wrote:
> droidin.net wrote:
>
I have a ListView backed by customized ArrayAdapter where each item
has 2 LinearLayouts - one I call head, and the other one - body. The
body is hidden (gone) until user clicks on the row at which time it
slides out. The second click (on the head) will hide the body. However
if user clicks on the
rride
public void onScrollStateChanged(final AbsListView view,
final int scrollState) {
// Log.d("OnScrollListener", "state: " + scrollState);
}
});
On Oct 13, 11:58 am, "droidin.net" wrote:
> In my app I have a ListView
With sales so dismal I think freeing up your app and figuring out an
alternative way of making money from it (not ads ether) is the best
way to fight Chinese (or Russians, or whomever).
Or build-in license activation which validates that license is valid
for the particular device. Litigation is si
In my app I have a ListView backed by ArrayAdapter. In it I'm
detecting events in OnScrollListener#onScroll method to find end of
the list. I noticed that on the phone (MyTouch) both track-ball and
gesture/touch scrolling will trigger the event twice. On the emulator
I get the same behavior with a
Nevermind... Basically I should not add items to the internal list
directly but instead, use ArrayAdapter#add(Object) method. Thanks to
Mark Murphy for pointing that out
On Oct 12, 1:59 pm, "droidin.net" wrote:
> I look at some posts from the past and it seems that if I add i
I look at some posts from the past and it seems that if I add items to
the ListView adapter it should update itself and user should be able
to scroll to the newly appended items. Unfortunately it's not what I
observe. If I append new items to my existing ArrayAdapter I only will
see updated result
Is anybody have any advice, experience, suggestions? I'm pretty
comfortable with Google plugin - what would make me change to MOTODEV?
Needless to say - I will download and play with it but I'm also
interested in fellow developer's feedback.
--~--~-~--~~~---~--~~
Yo
Here's scenario:
1. Client makes remote call to the service (returns void) and provides
a callback object
2. Service executes some long running logic on the background thread
and then uses callback object to trigger ether success or failure
which (since these manipulate visual elements) execute in
Problem solved!
Turned out that for whatever reason (probably just copying some
example code without much thinking) I had this line in my theme.xml
@null. Once I removed it
- my redrawing problem was gone
On Sep 24, 2:06 pm, "droidin.net" wrote:
> I have pretty unassuming prefe
I have pretty unassuming preferences screen based on
PreferenceActivity. (You can see it in DroidIn app) I'm having some
problems with it that I think have to do with redrawing the screen
after updates. Here are the symptoms:
1. OnPreferenceChangeListener#onPreferenceChange if I change summary
of
Jason - I do want to redirect. What I also want is to stay in the
original WebView window, right now it starts there but then app pops-
up mobile browser and page is displayed in that browser rather than
the app
On Sep 21, 3:45 pm, Jason Proctor
wrote:
> do you have a WebViewClient installed in
I'm using WebView#loadUrl() to load page inside my app. Unfortunately,
the original URL redirects to some other URL and that 2nd redirect
(302) basically opens external browser and loads final page into it. I
really don't want to do anything with the page I'm loading and don't
want to add any code
Indra - I would suggest asking separate question. It's hard to answer
2 questions on a single thread however related these may be
On Sep 18, 4:10 am, indra wrote:
> Hi Guys,
>
> I am doing google search and I want to receive the data without
> loading the webView.
> Just like a query to google d
My problem is that data I'm loading/reloading into WebView takes long
time to process since it's full blown HTML + JS + CSS. I noticed that
when cached, same code loads way faster.
What I'm trying to do is to minimize loading hiccup when user reloads
already cached content
On Sep 3, 4:42 pm, Jaso
I have 3 different Activities that user navigates between in no
particular order. My goal it twofold:
1. When user switches to something else when app is resumed I want
to start where user left even if app was terminated. Specifically I
want to display last viewed activity, not the default one
If you need a stream why don't you just use HttpEntity?
// Get hold of the response entity
HttpEntity entity = response.getEntity();
// If the response does not enclose an entity, there is no need
// to worry about connection release
if (entity != null) {
InputStream instream = entity.g
Try to init your HttpClient as follows (worked for me)
final HttpParams params = new BasicHttpParams();
HttpProtocolParams.setVersion(params, HttpVersion.HTTP_1_1);
HttpProtocolParams.setContentCharset(params, "UTF-8");
final SchemeRegistry registry = new SchemeRegistry();
registry.register(new Sc
Oh my God! Access your phone from the browser - I'm going to be
sick... Beyond brilliant!
On Sep 4, 6:48 am, Neil wrote:
> I think jetty is the thing you're looking
> for:http://code.google.com/p/i-jetty/
>
> Neil
>
> http://l6n.org/android/
>
> On Sep 4, 3:11 pm, Haravikk wrote:
>
> > Does An
svn.apache.org/repos/asf/httpcomponents/httpcore/trunk/httpcor...>in
> > android
>
> > and use it it works for my requirements very well
>
> > may be it will use full for you
>
> > Thank you
>
> > Dilli
>
> > On Fri, Sep 4, 2009 at 5:19 AM, droidin.net
dk toolchain, but the android folks would say it's
> better done in java
>
> On Sep 3, 7:49 pm, "droidin.net" wrote:
>
> > Is it possible to do something like WebView#loadUrl("http://10.0.0.2/
> > index.html") with service acting as local ht
Is it possible to do something like WebView#loadUrl("http://10.0.0.2/
index.html") with service acting as local http server? Where would one
start? Will I need at least partial http server implementation that
would listen on the socket?
--~--~-~--~~~---~--~~
You rec
This really stinks (not caching data loads). Is it possible to code it
in?
On Sep 2, 4:07 pm, Jason Proctor
wrote:
> the loadData() methods don't enter anything into the history and
> rather more awkwardly don't set the current URL. so if you call
> loadData() and then getUrl() you'll find that
1. I load HTML data into WebView with loadDataWithBaseURL
2. Do it one more time
3. Execute the following code and instead of going back to the 1st
page - whole app exits. What am I doing wrong here?
public boolean onKeyDown(final int keyCode, final KeyEvent event)
{
if (keyCode == Ke
If I have a service that contains Map with some cached objects that
I'm serving "on demand" to the Activity, then how reliable that cache
is and what are the chances that server object (and my cache) may be
dropped?
The server runs in its own thread (AIDL) and Activity binds/unbinds
from it as nee
When using AIDL-based async services I've seen various examples when
the service is bound/unbound on Activity's oncreate/ondestroy, onstart/
onstop and even on onpause/onresume. Which one is "right"? And what is
acceptable recovery strategy when attempt using the service fails?
Thanks you for you
Android Market.
>
> On Aug 17, 9:34 pm, "cs_post...@hotmail.com"
> wrote:
>
> > On Aug 16, 12:15 pm, "droidin.net" wrote:
>
> > > I have 2 apps (DroidIn) on Market for some time now. Lately I start
> > > getting offers from Taiwanese/Chinese
Google be diligent about expanding merchant checkout
> (seller) accounts to more countries as to fight all those alternate
> stores popping up.
>
> On 16 Aug, 18:15, "droidin.net" wrote:
>
> > Sorry reposting here. It seems that I'm not able to post to "Android
&
Say it's clean enough to write a SAX handler with few possible
exception handling lines. I really don't want 3rd party jars. With
that aside - will it be faster to use ListView?
Bo
On Aug 16, 4:58 pm, Mark Murphy wrote:
> droidin.net wrote:
> > I guess to definitely answer
I guess to definitely answer this, one needs to run some benchmarks
but I'll ask anyway. In you opinion/experience what would work faster
after initial HTML is grabbed from the remote source. (The HTML is
group of one or two level nested OL or UL within body tag and some
DIVs)
1. Using WebView/JS
Sorry reposting here. It seems that I'm not able to post to "Android
Discuss" r my posts are getting ignored
I have 2 apps (DroidIn) on Market for some time now. Lately I start
getting offers from Taiwanese/Chinese "mobile leaders" companies
offering to host and resell the app. They are offering
siest way to get to the driver, btw is to right click on
the removable drive folder and select Properties->Hardware->Driver
On Aug 15, 6:07 pm, Mark Murphy wrote:
> droidin.net wrote:
> > All right - I admit my defeat. Can anyone walk me trough successfully
> > debugging w
All right - I admit my defeat. Can anyone walk me trough successfully
debugging with MyTouch? Here's what I tried:
1. Plugged in the phone - my XP Prfessional never asked me for
anything - just simply told me that "Hardware is ready to use"
2. In the phone - mounted USB - no problem accessing phon
I need 2 ways of showing a vertical label:
1. Horizontal label turned 90 degrees counterclockwise (letters on the
side)
2. Horizontal label with letters one under the other (like a store
sign)
Do I need to develop custom widgets for both cases (one case), can I
make TextView to render that way, a
ago:http://coffeecokeandcode.blogspot.com/2009/06/htc-magic-skin-for-andr...
>
> /Casper
>
> On 9 Aug., 18:50, "droidin.net" wrote:
>
> > I tried to Google for it to no avail. I really need it to make some
> > promos - any hint will be appreciated
>
> > Thanks,
>
> &
I tried to Google for it to no avail. I really need it to make some
promos - any hint will be appreciated
Thanks,
Bo
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group,
I need to retain a complex object in my service, so I can reliably
come back to it (it holds updates). Initially I coded it just as a
class filed in my Service implementation but I'm observing that the
updates object is periodically reset to null which tells me that
server class itself is recreate
I declare my Spinner in the following manner (it's very static so I
have 2 string arrays in array.xml for titles and values)
I expect spinner.getSelectedItem() to return an array [title, value]
but in fact it returns just a title String. Is it ignoring
android:entryValues? How do I get a value
emClick(AdapterView arg0, View arg1, int arg2,long arg3)
> the parameter of "arg1" is your selected view, and you could pick
> textview form it.
> then set the backgroud color as your like of textview
>
> On Aug 4, 1:10 pm, "droidin.net" wrote:
>
> > I'm
> task, you create a new thread that does the http stuff. If the user
> needs to wait for the data to display anyway, I think you can prevent
> the timeout from happening by using a progress bar.
>
> On Aug 4, 1:07 am, "droidin.net" wrote:
>
> > In my app I have to loa
I'm trying to use Spinner as a button with selection pop-up. Basically
I want an icon and when user clicks it - the popup list is displayed
and user can make a selection.
The Spinner happily accepts icon image as drawable background.
Unfortunately when I select a value the text overlays the backgr
In my app I have to load external page into WebView-based activity.
Some of my users with slower connections are reporting screen timeout
while waiting for the page to load. What would be a good way of
loading the page on backgorund thread and then refreshing the screen?
Use HttpClient to fetch it
manifest itself in the real device. Well - I'll check it on
Monday
Bo
On Aug 1, 5:09 pm, "droidin.net" wrote:
> Been there, done that. It's simple. I use OAuth since that gives me
> ability to mark each of messages posted with my app as "from DroidIn"
> not
y problem. I tried to load auth URL into desktop
browser on which JS is disabled. It works. So my problem is that when
page comes up in WebView view buttons are clickable but form fields
are not. I click on user name and it behaves as disabled field. What
gives?
Regards,
Bo
On Aug 1, 3:51 pm, Mark Mur
I'm trying various ways of Twitter authorization which requires
roundtrip to the browser. When I load auth URL into standalone browser
everything works well. However if I call same URL but into embedded
WebView (separate Actions, same app) the page loads but it is not
fully functional (I cannot cl
This unfortunately has a huge drawback that when exit() is executed
your debugging session goes kaput. When app restarts it's no longer in
debugger :(
On Jul 31, 5:22 am, Mark Murphy wrote:
> droidin.netwrote:
> > Mark! You are a genius!
>
> Somebody else pointed out the technique many months ag
I have a thread http://is.gd/1XVPG complaining about same thing. I
think there's something screwy with market search
Bo (DroidIn - LinkedIn + Twitter on Android)
On Aug 1, 9:07 am, rcs wrote:
> We just got an email from someone on an HTC Magic searching for our
> app and saying that it's not sh
I don't know if my question belongs to this group but I'll ask it
anyway:
I noticed that when I search for my app (DroidIn) on the market using
keyword "linkedin" the app is not coming up in the results.I tried
different combinations, currently I have 2 apps titled: "DroidInLite
linkedin + twitte
By golly! This does work! Mark what's the theory - is this by design
(weight vs fill_parent)? Are my expectations wrong? I mean - why then
not really fill the whole parent but fill from the current position to
the bottom?
Bo
On Aug 1, 7:54 am, Mark Murphy wrote:
> droidin.net wrote:
&g
I have a vertical, set height (300px) LinearLayout (LL) with 3 nested
LLs. 1 and 3rd are set with android:layout_height="wrap_content" and
the middle one with android:layout_height="fill_parent". To my dismay,
3rd LL get's pushed out with 2nd one filling parent layout right to
the bottom. How do I
Mark! You are a genius! It did exactly what I need. I'll put it as a
tip into my blog (http://dev.bostone.us) with due diligence, it's a
great testing tool
On Jul 30, 3:09 pm, Mark Murphy wrote:
> droidin.net wrote:
> > For the test purposes I need to terminate my app
For the test purposes I need to terminate my app from within my code.
Doing Activity#finish() doesn't do it. Doing
Activity#getMainLooper#quit fails with exception. Here's sequence of
steps I'm trying to do:
1. Activity calls another application
2. Original application terminates (basically I'm t
I tried to search discussions and couldn't find definite answer or
example in old thread. I want my tabs to realign vertically in the
landscape mode. Currently I have to use buttons which is sorta silly
when there is a tab control.
If it is possible short hint would be greatly appreciated
--~--~--
70 matches
Mail list logo