Android LBS Apps

by karl_os » Tue, 23 Nov 2010 14:53:19 GMT


Sponsored Links
 Hi all,
i'm newbie in developing Android Apps. Currently, i'm going to build
an android Location Based Service apps for my undergraduate thesis.
I've read some articles about displaying maps in Android but most of
them are using Google Maps. Since i'm going to use my own custom map,
is there any way to load my map in Android?
Thanks.

-- 



Re: Android LBS Apps

by ip332 » Wed, 24 Nov 2010 04:24:15 GMT


 Yes, sure. Use Overlay to show your objects on top of the Google Map.




-- 


Sponsored Links


Other Threads

1. StackOverflowError when clearing and refocusing a ghosted text view

I am getting a StackOverflowError when I try to clear a ghosted text
view's focus - see below.  I have gotten this error in the past when
my UI layout hierarchy was very deep but in this case it's not
extremely deep.  Is there an alternate way I can clear focus from a
field and update the ghost text of the newly focused view without
incurring this large overhead?

On a side note, do you plan on exposing the ghost text functionality
that can be seen since m5 in the contact details screen?

Thanks,
Cheryl

08-28 15:25:34.502: WARN/dalvikvm(450): threadid=3: thread exiting
with uncaught exception (group=0x40010e28) 08-28 15:25:34.512: ERROR/
AndroidRuntime(450): Uncaught handler: thread main exiting due to
uncaught exception 08-28 15:25:34.562: ERROR/AndroidRuntime(450):
java.lang.StackOverflowError08-28 15:25:34.562: ERROR/
AndroidRuntime(450):     at
java.lang.NullPointerException.<init>(NullPointerException.java:34)
08-28 15:25:34.562: ERROR/AndroidRuntime(450):     at
android.os.MessageQueue.removeMessages(MessageQueue.java:279) 08-28
15:25:34.562: ERROR/AndroidRuntime(450):     at
android.os.Handler.removeCallbacks(Handler.java:299) 08-28
15:25:34.562: ERROR/AndroidRuntime(450):     at
android.widget.TextView.makeBlink(TextView.java:4261) 08-28
15:25:34.562: ERROR/AndroidRuntime(450):     at
android.widget.TextView.access$800(TextView.java:149) 08-28
15:25:34.562: ERROR/AndroidRuntime(450):     at android.widget.TextView
$ChangeWatcher.spanChange(TextView.java:4202) 08-28 15:25:34.562:
ERROR/AndroidRuntime(450):     at android.widget.TextView
$ChangeWatcher.onSpanAdded(TextView.java:4241) 08-28 15:25:34.562:
ERROR/AndroidRuntime(450):     at
android.text.SpannableStringBuilder.sendSpanAdded(SpannableStringBuilder.java:
902) 08-28 15:25:34.562: ERROR/AndroidRuntime(450):     at
android.text.SpannableStringBuilder.setSpan(SpannableStringBuilder.java:
607) 08-28 15:25:34.562: ERROR/AndroidRuntime(450):     at
android.text.SpannableStringBuilder.setSpan(SpannableStringBuilder.java:
510) 08-28 15:25:34.562: ERROR/AndroidRuntime(450):     at
android.text.Selection.setSelection(Selection.java:76) 08-28
15:25:34.562: ERROR/AndroidRuntime(450):     at
android.text.Selection.setSelection(Selection.java:85) 08-28
15:25:34.562: ERROR/AndroidRuntime(450):     at
android.text.method.ArrowKeyMovementMethod.initialize(ArrowKeyMovementMethod.java:
228) 08-28 15:25:34.562: ERROR/AndroidRuntime(450):     at
android.widget.TextView.setText(TextView.java:2221) 08-28
15:25:34.562: ERROR/AndroidRuntime(450):     at
android.widget.TextView.setText(TextView.java:2117) 08-28
15:25:34.562: ERROR/AndroidRuntime(450):     at
android.widget.EditText.setText(EditText.java:72) 08-28 15:25:34.562:
ERROR/AndroidRuntime(450):     at
android.widget.TextView.setText(TextView.java:2093) 08-28
15:25:34.562: ERROR/AndroidRuntime(450):     at
com.frogdesign.common.ui.text.GhostedEditText
$OnFocusChangeListener.onFocusChange(GhostedEditText.java:230) 08-28
15:25:34.562: ERROR/AndroidRuntime(450):     at
android.view.View.onFocusChanged(View.java:2302) 08-28 15:25:34.562:
ERROR/AndroidRuntime(450):     at
android.widget.TextView.onFocusChanged(TextView.java:4323) 08-28
15:25:34.562: ERROR/AndroidRuntime(450):     at
android.view.View.handleFocusGainInternal(View.java:2144) 08-28
15:25:34.562: ERROR/AndroidRuntime(450):     at
android.view.View.requestFocus(View.java:3021) 08-28 15:25:34.562:
ERROR/AndroidRuntime(450):     at
android.widget.ScrollView.onRequestFocusInDescendants(ScrollView.java:
1064) 08-28 15:25:34.562: ERROR/AndroidRuntime(450):     at
android.view.ViewGroup.requestFocus(ViewGroup.java:937) 08-28
15:25:34.562: ERROR/AndroidRuntime(450):     at
android.view.ViewGroup.onRequestFocusInDescendants(ViewGroup.java:978)
08-28 15:25:34.562: ERROR/AndroidRuntime(450):     at
android.view.ViewGroup.requestFocus(ViewGroup.java:934) 08-28
15:25:34.562: ERROR/AndroidRuntime(450):     at
android.view.ViewGroup.onRequestFocusInDescendants(ViewGroup.java:978)
08-28 15:25:34.562: ERROR/AndroidRuntime(450):     at
android.view.ViewGroup.requestFocus(ViewGroup.java:934) 08-28
15:25:34.562: ERROR/AndroidRuntime(450):     at
android.view.ViewGroup.onRequestFocusInDescendants(ViewGroup.java:978)
08-28 15:25:34.562: ERROR/AndroidRuntime(450):     at
android.view.ViewGroup.requestFocus(ViewGroup.java:934) 08-28
15:25:34.562: ERROR/AndroidRuntime(450):     at
android.view.ViewGroup.onRequestFocusInDescendants(ViewGroup.java:978)
08-28 15:25:34.562: ERROR/AndroidRuntime(450):     at
android.view.ViewGroup.requestFocus(ViewGroup.java:934) 08-28
15:25:34.562: ERROR/AndroidRuntime(450):     at
android.view.ViewGroup.onRequestFocusInDescendants(ViewGroup.java:978)
08-28 15:25:34.562: ERROR/AndroidRuntime(450):     at
android.view.ViewGroup.requestFocus(ViewGroup.java:934) 08-28
15:25:34.562: ERROR/AndroidRuntime(450):     at
android.view.ViewGroup.onRequestFocusInDescendants(ViewGroup.java:978)
08-28 15:25:34.562: ERROR/AndroidRuntime(450):     at
android.view.ViewGroup.requestFocus(ViewGroup.java:934) 08-28
15:25:34.562: ERROR/AndroidRuntime(450):     at
android.view.View.requestFocus(View.java:2972) 08-28 15:25:34.562:
ERROR/AndroidRuntime(450):     at
android.view.ViewRoot.clearChildFocus(ViewRoot.java:980) 08-28
15:25:34.562: ERROR/AndroidRuntime(450):     at
android.view.ViewGroup.clearChildFocus(ViewGroup.java:498) 08-28
15:25:34.562: ERROR/AndroidRuntime(450):     at
android.view.ViewGroup.clearChildFocus(ViewGroup.java:498) 08-28
15:25:34.562: ERROR/AndroidRuntime(450):     at
android.view.ViewGroup.clearChildFocus(ViewGroup.java:498) 08-28
15:25:34.562: ERROR/AndroidRuntime(450):     at
android.view.ViewGroup.clearChildFocus(ViewGroup.java:498) 08-28
15:25:34.562: ERROR/AndroidRuntime(450):     at
android.view.ViewGroup.clearChildFocus(ViewGroup.java:498) 08-28
15:25:34.562: ERROR/AndroidRuntime(450):     at
android.view.ViewGroup.clearChildFocus(ViewGroup.java:498) 08-28
15:25:34.562: ERROR/AndroidRuntime(450):     at
android.view.ViewGroup.clearChildFocus(ViewGroup.java:498) 08-28
15:25:34.562: ERROR/AndroidRuntime(450):     at
android.view.ViewGroup.clearChildFocus(ViewGroup.java:498) 08-28
15:25:34.562: ERROR/AndroidRuntime(450):     at
android.view.ViewGroup.clearChildFocus(ViewGroup.java:498) 08-28
15:25:34.562: ERROR/AndroidRuntime(450):     at
android.view.ViewGroup.clearChildFocus(ViewGroup.java:498) 08-28
15:25:34.562: ERROR/AndroidRuntime(450):     at
android.view.ViewGroup.clearChildFocus(ViewGroup.java:498) 08-28
15:25:34.562: ERROR/AndroidRuntime(450):     at
android.view.ViewGroup.clearChildFocus(ViewGroup.java:498) 08-28
15:25:34.562: ERROR/AndroidRuntime(450):     at
android.view.ViewGroup.clearChildFocus(ViewGroup.java:498) 08-28
15:25:34.562: ERROR/AndroidRuntime(450):     at
android.view.View.clearFocus(View.java:2212)
--~--~---------~--~----~------------~-------~--~----~

2. ListView issues in 0.9 beta

Hi,

I'm having issues with ListView in 0.9 beta that worked fine in m5.  I
have an onItemSelectedListener registered on my listview, so when I
select an item in the list, the list should invalidate and the item
should expand to reveal more information.

                getListView().setOnItemSelectedListener(new 
OnItemSelectedListener()
{
                        public void onItemSelected(AdapterView parent, View v,
                                        int position, long id) {
                                getListView().invalidateViews();
                        }
                        public void onNothingSelected(AdapterView arg0) {
                                getListView().invalidateViews();
                        }
                });

Nothing happens when I scroll down the list, however... there is no
indication that the ListAdapter is making any attempt to redraw the
views.
--~--~---------~--~----~------------~-------~--~----~

3. Android Maps source code

4. Android Resource Site

5. sd card

6. run time exceptional error

7. HttpPost - setting parameters but the web page is not receiving them?