Re: [android-beginners] Animation tutorial

2010-06-15 Thread Marc Young
There is a free app in the marketplace called Animation Demo and it
gives you a visual demo of how and what the various animation
parameters work.  Not sure if that will help you at all but it is a
good starting point.
-- 
Sent from my non-fruity robot device.

On Mon, Jun 14, 2010 at 6:36 PM, Ubuntu Explorer
 wrote:
> Is there any sample app or tutorial that explains how to do animations
> in Android.
> In particular I am interested in doing "translate" animation.
>
> Regards,
> UE
>
> --
> 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://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
>

-- 
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://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


[android-beginners] Re: LogCat window seems to stop working

2010-01-30 Thread Marc
did you try selecting the devices tab and making sure the device is
selected.

On Jan 28, 10:20 pm, Kevin Duffey  wrote:
> Hey all,
>
> Has anyone noticed that their LogCat window seems to stop working after an
> app force closes.. or maybe for some other reason? I've been having issues
> getting debugging to work on my Ubuntu 9.04 64-bit system with this annoying
> QEMU channel closed problem. That aside, even when things do work, it seems
> that for some odd reason LogCat stops receiving..or displaying anything.
> Even when my app works, and I redeploy it, it seems to just stop showing any
> Log.v output. I did try filtering, setting to verbose, info, error, etc, and
> it only seems on the first run of the app when all works fine that there is
> any output.
>
> Is there some way to reconnect it? When I clear the log, it stays empty
> until I restart Eclipse..which is quite painful to have to do every time I
> want to deploy to watch log output.
>
> Thanks.

-- 
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://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


[android-beginners] Layout - Is there some way to do wraparound with horizontal linear layout

2010-01-04 Thread Marc
I have been trying to create layouts that will work on various device
screen sizes. I keep running in to cases where I want to line things
up horizontally and have them wrap around if the screen is not wide
enough.

For example in landscape mode I might have
() Radio Button 1 () Radio Button 2 () Radio Button 3 ()
Radio Button 4() Radio Button 5   () Radio Button 6

but in portrait I would have
() Radio Button 1 () Radio Button 2 () Radio Button 3
() Radio Button 4() Radio Button 5   () Radio Button 6


I have the same issues with text view and edit text combinations
for a wide screen I would like
TextViewEditText

for a narrow screen I would like
TextView
EditText

It seems like there should be some way of getting views to wrap around
to a new line if there is no room, just like a text string does.

I know I can have separate layouts for different screen sizes. I am
hoping to find something more elegant.

Thanks.

-- 
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://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


[android-beginners] Getting Published - Do I need a website - Market requirements? Publish as com.example? new namespace?

2010-01-03 Thread Marc
I am finishing up my first app now and was wanting to get it on the
market. I went to sign up and it was asking me for a website url. I am
not cleat on this requirement. Do I need to register a domain name to
publish and android app? Or maybe can I use a free web site by google
or something. Also my app is still under com.example, It seems like I
would need to change this to publish and it seems related but I am
unclear on this aspect. Could somebody explain to me the requirements
for being published, related to namespace and a web site?

Thank You.

-- 
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://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


[android-beginners] importing nbandroid into netbeans

2009-12-31 Thread Marc Mrc
I am new to this. I have downloaded the Android SDK and the android platform
components up to 2.0.1,  Java Netbeans IDE 6.7.1 and can't seem to find
where to pull the nbandroid files into it? I have not used netbeans before
and I am learning, when I open a "new project" I don't see it listed in the
project category, nor do I see it listed under tools. plug-ins. How do I
point the file so netbeans imports it or sees it?

Thanks,

Tag

-- 
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://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


[android-beginners] Re: Android Best Practices

2009-12-13 Thread Marc
Here is my take on it:
An activity is a self contained thing, like a mini program. You don't
pass complex data structures between activities. All the data that
goes to/from an Activity gets passes through an intent. An activity
can be called from another program through an intent. So an activity
is a self contained thing and a View is just something you can see.

If 2 pieces of a program are very tightly bound in that they share
some internal data and/or each part of the program can not logically
be instantiated by itself then it is not a new activity just a new
view.

Examples:
A database of car maintaince records might have a few reports that it
displays and a "enter a new record" screen. In this case the "enter
new record" screen and the reports could in theory get instantiated
outside the context of the rest of the program and therefore would be
a good candidate for separate activities.

A 3d modeling/editing program that lets you open windows that allow
you to edit some of the 3d model data. Since the 3d model data is kept
in memory and the edit screen is only editing a small piece of it, and
the edit screen makes no sense outside the context model screen. This
would be best done with separate views.

This thing of having your program broken up in to mini programs
(activities) that are callable by other programs is really new to me,
but the more i understand it the more I realize it is a really
powerful thing to be able to integrate parts of other programs in to
my own.




On Dec 10, 4:50 pm, Kanizares  wrote:
> Yes, same question from me. I currently am building an app that has
> certain repetitive screens (e.g. drill-down through lists of items).
> Is a ViewFlipper or multiple Activities the better way to go?
>
> cheers
> Kanizares
>
> On Nov 10, 4:26 pm, "jphani...@gmail.com"  wrote:
>
>
>
> > I have a question with respect to best practices in android? Which one
> > is more efficient? A ViewFlipper to go through multiple defined
> > layouts or have an activity for each layout and one main layout.
> > Please let me know if my question is not clear.
>
> > Thanks
> > Phani

-- 
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
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


[android-beginners] Re: Using Google Maps API for a navigational app

2009-12-13 Thread Marc
I am in the process of starting a navigation app as well.  I have been
looking in to the API's as well. I do not think the premier has much
to do with it. From there web site this is what premier gives you
extra:

A robust Service Level Agreement (SLA)
Customer support
Increased geocoding limits
Commercial-grade terms and conditions
Intranet application support within the enterprise
Access to the API via a secure https connection

I have not found any navigation api's. I was hoping to find an api
that would return driving directions between 2 spots. But I found no
such api. I am thinking that it needs to be done with a combination of
accessing web pages and parsing them, the static maps api, and intents
in to the google nav app.



On Dec 10, 6:36 am, Chris Janota  wrote:
> Does anybody know if you require Google Maps api PREMIER to create a
> Android navigational app?  I understand you must use Premier instead
> of the free Google Maps api if you are charging a fee for use.    But
> i have requested info on Premier so i can get the pricing structure
> and never receive a response.  Any navigational app developers
> experience this?

-- 
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
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


[android-beginners] Debugging in to android SDK code, or some other way of determining why it crashed

2009-12-10 Thread Marc
I have a subclass of AutoCompleteTextView which displays the list of
suggestions when a touch event happens.  I get a Null Pointer
Exception which I am at a loss as to how to debug.

Thread [<3> main] (Suspended (exception NullPointerException))
DataSetObservable.notifyInvalidated() line: 45
ArrayAdapter(BaseAdapter).notifyDataSetInvalidated() line: 54
ArrayAdapter$ArrayFilter.publishResults(CharSequence, Filter
$FilterResults) line: 464
Filter$ResultsHandler.handleMessage(Message) line: 263
Filter$ResultsHandler(Handler).dispatchMessage(Message) line: 99
Looper.loop() line: 123
ActivityThread.main(String[]) line: 3948
Method.invokeNative(Object, Object[], Class, Class[], Class, int,
boolean) line: not available [native method]
Method.invoke(Object, Object...) line: 521
ZygoteInit$MethodAndArgsCaller.run() line: 782
ZygoteInit.main(String[]) line: 540
NativeStart.main(String[]) line: not available [native method]


It seems like if I could step in to the Android SDK source code I
could see exactly what is going on and come up with a workaround.
Right now I have no idea what is actually going wrong. Any suggestions
as to how to debug this.

There is not much to my code, this is all I have done, It does not
crash when I remove the call to showDropDown():

class SuggestText extends AutoCompleteTextView {
int cnt=0;
public SuggestText(Context context, AttributeSet attrs) {
super(context, attrs);
}

public boolean onTouchEvent(MotionEvent event){
if (this.isFocused() && 
getEditableText().toString().length()==0) {
showDropDown();
}
return super.onTouchEvent(event);
}
}

-- 
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
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


Re: [android-beginners] Cannot get MSISDN (phone number) but can get IMSI on HTC G3

2009-11-19 Thread Marc Lester Tan
I think some carriers don't provide the MSISDN to the handset so I guess you
shouldn't rely on it. Just use the IMSI and device id to identify the user.

Marc

On Thu, Nov 19, 2009 at 11:40 PM, rodger  wrote:

> I want to use phone number as user ID,so i want to access the phone
> number.
> in my code,  i can get IMSI (International Mobile Subscriber Identity)
> by using getSubscriberId().
> but can not get  MSISDN by using  getLine1Number(),it returns null.
>
>  my test phone is HTC G3,
> anybody can solve the problem?
>
> thanks!
>
>
>  TelephonyManager tm = (TelephonyManager) getSystemService
> (Context.TELEPHONY_SERVICE);
>
>String phoneNumber = tm.getLine1Number();
>if(phoneNumber == null || phoneNumber.trim().equals("")){
>phoneNumber = "cann't get the phone number";
>}
>
>
> // permission has been added in Manifest
>  
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Beginners" group.
> To post to this group, send email to android-beginners@googlegroups.com
> 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

-- 
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
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

[android-beginners] Re: alarm manager confusion

2009-11-02 Thread marc
jeffrey, how did you solve the problem?
i made a own process for the broadcastreceiver (as said in the linked
theme), so i have 2 processes now:
cycle:
1. user starts application
2. user schedules the alarm in the application

current processes:
- application

3. scheduled alarm expires, broadcastreceiver will be started
4. broadcastreceiver execute his work and SCHEDULES A NEW ALARM

current processes:
- application
- broadcastreceiver

5. scheduled alarm expires, broadcastreceiver will be started
6. broadcastreceiver execute his work and SCHEDULES A NEW ALARM


if i kill the application after step 2, the scheduled alarm survives.
if i kill the alarm after step 4. the scheduled alarm is lost, step
5/6 will not be executed.

how did you do it?!

thank you for a answer.
marc


On Sep 13, 12:33 am, Jeffrey Blattman 
wrote:
> well, i found this,http://code.google.com/p/android/issues/detail?id=2886
>
> works for me now.
>
> On 9/12/09 2:00 PM, Mark Murphy wrote:
>
>
>
> > Jeffrey Blattman wrote:
>
> >> mark, "perhaps some sort of service" is a little vague.
>
> > Generally speaking, if your manifest-registered BroadcastReceiver will
> > be doing things that are short (say, under a second), you won't need one
> > -- just do all your work in the BroadcastReceiver.
>
> > If you are going to do things that may take longer than that, such as
> > uploading something via the Internet, you'll need to delegate that work
> > to a service that can do things in a background thread (e.g.,
> > IntentService). A manifest-registered BroadcastReceiver cannot fork a
> > thread, and it is called on the "UI thread", which does not support
> > time-consuming operations.
>
> >> the AM schedules an alarm that calls a receiver that does three things,
>
> >> 1. updates some data that is shared with the activity
>
> > You don't indicate where, but I'm going to assume the data is on the
> > device, not the Internet.
>
> >> 2. sends notifications
> >> 3. broadcasts back to another receiver that updates the activity, if
> >> it's running (the activity registers / unregisters the receiver in
> >> onResume(), onPause(), so it doesn't get called if it's paused or stopped).
>
> >> i *could* have the scheduled BR call a service like in your example, but
> >> why can't i just have the scheduled BR do the work?
>
> > Assuming #1 above is not too time-consuming, you can.
>
> >> why would that make
> >> a difference as to whether the BR is being called or not, which is the
> >> root of my problem?
>
> > In my first reply, I wrote:
>
> > "You could encounter that behavior if you registered your
> > BroadcastReceiver via Java, instead of via the manifest."
>
> > You never stated, in any of your messages, how your code sets up your
> > BroadcastReceiver. And, since the only way to really use AlarmManager
> > effectively is to use a BroadcastReceiver registered via the manifest, I
> > have been trying to steer you in that direction.
>
> > If I am correct, and presently your alarm-catching BroadcastReceiver is
> > registered via registerReceiver() in some Java code, then that will only
> > respond to alarms so long as whatever contains it (e.g., activity) is
> > running. In this case, change your application logic to have the
> > BroadcastReceiver be its own standalone public class (vs. an inner class
> > of something else), dump the registerReceiver() and unregisterReceiver()
> > calls for it, put it in the manifest via a  element, and see
> > if that improves your results. The example I have been pointing you to
> > demonstrates receivers registered this way. There are a few other
> > examples of this technique in the SystemEvents set of projects.
>
> > If you *do* have your BroadcastReceiver registered via the manifest,
> > though, and you're not getting the alarms, then something else is afoot.
>
> --

-- 
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
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


[android-beginners] Re: alarm manager confusion

2009-11-02 Thread marc
jeffrey, how did you solve the problem?
i made a own process for the broadcastreceiver (as said in the linked
theme), so i have 2 processes now:
cycle:
1. user starts application
2. user schedules the alarm in the application

current processes:
- application

3. scheduled alarm expires first time, broadcastreceiver will be
started
4. broadcastreceiver execute his work and SCHEDULES A NEW ALARM

current processes:
- application
- broadcastreceiver

5. scheduled alarm expires second time, broadcastreceiver will be
started
6. broadcastreceiver execute his work and SCHEDULES A NEW ALARM


if i kill the application after step 2, the scheduled alarm survives.
if i kill the alarm after step 4. the scheduled alarm is lost, step
5/6 will not be executed.

how did you do it?!

thank you for a answer.
marc

On Sep 13, 12:33 am, Jeffrey Blattman 
wrote:
> well, i found this,http://code.google.com/p/android/issues/detail?id=2886
>
> works for me now.
>
> On 9/12/09 2:00 PM, Mark Murphy wrote:
>
>
>
> > Jeffrey Blattman wrote:
>
> >> mark, "perhaps some sort of service" is a little vague.
>
> > Generally speaking, if your manifest-registered BroadcastReceiver will
> > be doing things that are short (say, under a second), you won't need one
> > -- just do all your work in the BroadcastReceiver.
>
> > If you are going to do things that may take longer than that, such as
> > uploading something via the Internet, you'll need to delegate that work
> > to a service that can do things in a background thread (e.g.,
> > IntentService). A manifest-registered BroadcastReceiver cannot fork a
> > thread, and it is called on the "UI thread", which does not support
> > time-consuming operations.
>
> >> the AM schedules an alarm that calls a receiver that does three things,
>
> >> 1. updates some data that is shared with the activity
>
> > You don't indicate where, but I'm going to assume the data is on the
> > device, not the Internet.
>
> >> 2. sends notifications
> >> 3. broadcasts back to another receiver that updates the activity, if
> >> it's running (the activity registers / unregisters the receiver in
> >> onResume(), onPause(), so it doesn't get called if it's paused or stopped).
>
> >> i *could* have the scheduled BR call a service like in your example, but
> >> why can't i just have the scheduled BR do the work?
>
> > Assuming #1 above is not too time-consuming, you can.
>
> >> why would that make
> >> a difference as to whether the BR is being called or not, which is the
> >> root of my problem?
>
> > In my first reply, I wrote:
>
> > "You could encounter that behavior if you registered your
> > BroadcastReceiver via Java, instead of via the manifest."
>
> > You never stated, in any of your messages, how your code sets up your
> > BroadcastReceiver. And, since the only way to really use AlarmManager
> > effectively is to use a BroadcastReceiver registered via the manifest, I
> > have been trying to steer you in that direction.
>
> > If I am correct, and presently your alarm-catching BroadcastReceiver is
> > registered via registerReceiver() in some Java code, then that will only
> > respond to alarms so long as whatever contains it (e.g., activity) is
> > running. In this case, change your application logic to have the
> > BroadcastReceiver be its own standalone public class (vs. an inner class
> > of something else), dump the registerReceiver() and unregisterReceiver()
> > calls for it, put it in the manifest via a  element, and see
> > if that improves your results. The example I have been pointing you to
> > demonstrates receivers registered this way. There are a few other
> > examples of this technique in the SystemEvents set of projects.
>
> > If you *do* have your BroadcastReceiver registered via the manifest,
> > though, and you're not getting the alarms, then something else is afoot.
>
> --

-- 
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
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


[android-beginners] Re: Android Charts

2009-10-18 Thread Marc Lester Tan
See if this will work for you:

http://www.achartengine.org

It's free.

Marc

On Fri, Oct 16, 2009 at 8:09 PM, Vinicius Carvalho <
viniciusccarva...@gmail.com> wrote:

>
> Hello there! I'm starting with android, and the app I'm developing is
> gonna need some charts. I've looked and did not find any chart API
> (there's java4less but its too poor to worth anything). First I
> thought  I could use jfreechart, but it is entirely based on
> java.awt.image and that is not supported by android.
>
> Is there a chart api out there? or should I code the charts by hand
> (man I'm doomed)
>
> Regards
>
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
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
-~--~~~~--~~--~--~---



[android-beginners] Re: Publish an ADC2 application

2009-09-08 Thread Marc Lester Tan
refactor your app to use a different package name as well as different
title.

On Tue, Sep 8, 2009 at 6:37 PM, jaaaelpumuki  wrote:

>
> HI,
> I'm trying to publish my ADC2 application in the normal market, but it
> throws me this message:
> "You have another application on Market with the same package name. Go
> to that other application, and click upgrade."
>
> So, how do i have to do?
>
> Please...
> On 6 sep, 10:46, jaaaelpumuki  wrote:
> > I published an app in the ADC2, can I publish it in the normal
> > market?
> > do I have to do any change?
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
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
-~--~~~~--~~--~--~---



[android-beginners] Re: I want to know to get browse history on android ?

2009-09-02 Thread Marc

Just press "menu"then "Favorites" (or "Bookmark") and you will find
the "History" tab

On 1 sep, 03:24, eaindra nilar  wrote:
> How do I do to get browser history on android native API .Please help and
> explain me.
> Thanks

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
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
-~--~~~~--~~--~--~---



[android-beginners] Re: A Racing Car App in Android

2009-09-02 Thread Marc Lester Tan
try this http://nehe.gamedev.net/ and someone already ported the tutorials
to android here http://insanitydesign.com/wp/projects/nehe-android-ports/

-Marc

On Wed, Sep 2, 2009 at 1:48 AM, Maxood  wrote:

>
> I want to develop an application that involves a racing car. The car
> obviously moves forward, backward, left and right in a 3D environment.
> I like to make such an app using OpenGL ES. Can someone refer me a
> tutorial.
>
> Thank you,
> Maxood
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
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
-~--~~~~--~~--~--~---



[android-beginners] Re: Developing on a G2.

2009-07-27 Thread Marc Lester Tan
Just found this on twitter:

http://twitter.com/TMobileOfficial/status/2566382164

"We can confirm that the #HTC  Hero will
now be known as the T-Mobile #G2  Touch
and yes it is planned for later this month!"

-m


On Mon, Jul 27, 2009 at 7:15 PM, Disconnect  wrote:

> Can you do me a favor and send (off the list) a quick pic of the branding?
> (Specifically the 'g2' logo/label.) Tmobile has a trademark on the 'G2' name
> and AFAIK they haven't announced anything. It'd be cool to be able to put
> info up about it..
>
>
> On Mon, Jul 27, 2009 at 12:26 AM, Mike Wolfson  wrote:
>
>>
>> I did a little development on the G2  Lack of a physical keyboard was
>> a problem for some of the tools (like putting the phone in Recovery
>> Mode, etc).
>>
>> Otherwise, for the most part there weren't any significant roadblocks
>> (the SDK works the same on both the G1 and the G2 - ie. the APIs are
>> all the same).
>>
>> I think the problems caused by lack of a physical keyboard will be
>> quickly resolved (but were significant for me).  There were already
>> some tools available that support the virtual keyboard (ie. Terminal
>> apps, etc), it just requires working a little harder to find the ones
>> that will work.
>>
>> As Disconnect mentioned, I don't believe that there is a Dev version
>> of the G2 out yet, but if you are just wanting to use your consumer
>> grade phone for development, it should work.
>>
>> On Jul 26, 6:36 pm, Dale Wiles  wrote:
>> > Is anyone developing code on a G2 phone?  If so have you run into any
>> > real world problems?
>> >
>> > I know I wouldn't be able to flash custom OS's.  Is that a real
>> > problem?  I don't have a clue how often that's needed.
>> >
>> > If anyone has had any successes or failures I'd like to hear them.
>> > I'm sure it would be useful to the rest of the group too.
>> >
>> > - Dale
>>
>>
>
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
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
-~--~~~~--~~--~--~---



[android-beginners] Re: 500kb OPML parsing issues

2009-06-10 Thread Marc Lester Tan
or use Pull Parser:

http://developer.android.com/reference/org/xmlpull/v1/XmlPullParser.html


-Marc


On Wed, Jun 10, 2009 at 3:59 PM, Dave Bordoley  wrote:

>
> Use a SAX parser to parse the XML, see
> http://developer.android.com/reference/javax/xml/parsers/SAXParser.html.
>
> Dave
>
>
> On Tue, Jun 9, 2009 at 7:36 PM,
> renegadea...@googlemail.com wrote:
> >
> > Right this is the problem. I am trying to find specific words within
> > this large OPML file which content is
> >
> > :http://news.bbc.co.uk/rss/feeds.opml
> >
> > The file is a large list of rss feeds for various bbc news items - and
> > I need to parse it to find specific feeds.
> >
> > Currently I am doing it as follows:
> >
> >  http://pastebin.com/m15e0ea5f
> >
> > This is fairly fast if i search for say "celtic" however if you enter
> > "w00f" and run the command it will be disgustingly slow.
> >
> > Can anybody demonstrate how I can parse this opml file using the
> > android xml parsers please - because i have tried, and tried, and
> > tried and cannot get it to do it!
> >
> > Cheers
> >
> > Andy
> > >
> >
>
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
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
-~--~~~~--~~--~--~---



[android-beginners] Re: Google Maps API Key Sign Up Page Is Broken (404)

2009-06-08 Thread Marc Lester Tan
Use this instead:

http://code.google.com/android/maps-api-signup.html

-Marc Tan

On Mon, Jun 8, 2009 at 2:28 AM, Yubr Neapow  wrote:

>
> http://code.google.com/android/add-ons/google-apis/maps-api-signup.html
>
> The link above WORKS but when you hit submit, the form action is a
> 404, not found.
>
> I need an API key for Maps; Android dev.
>
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
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
-~--~~~~--~~--~--~---



[android-beginners] Re: Rooting ADP1 holiday edition

2009-06-05 Thread Marc Lester Tan
Hi Mina,

It would be better if you head over xda and post your questions there.

http://forum.xda-developers.com/forumdisplay.php?f=448&order=desc&page=2

Regards,
Marc

On Sat, Jun 6, 2009 at 4:02 AM, Mina Shokry  wrote:

>
> Hi,
> I got an ADP1 but not from google (from ebay) and I think it is
> holiday edition that was with a google employee. when I got it, it was
> on version 1.1. In my first day with it, it notified me that an
> upgrade to 1.5 is available and it downloaded and installed it.
> Now, I found myself don't have root on terminal. when executing "adb -
> d root" I get message "adbd cannot run as root in production builds".
> and also I can not access paid applications in the android market!
> I don't know if my phone now is a developer phone or a normal phone?!!
>
> Settings -> About Phone reports this
> Model number: Android Dev Phone 1
> Firmware version: 1.5
> Kernel Version: 2.6.27-00393-g6607056 s...@sandroid #1
> Build number: CRB43
>
> how can I have root permissions on shell? have I to re-flash the
> phone? if yes, what image should I use? will I lose my installed apps
> and my configurations I did on the phone?
>
> thanks in advance.
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
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
-~--~~~~--~~--~--~---



[android-beginners] Re: [ LunarLander] Failed to find an AVD compatible with target 'Android 1.5'. Launch aborted.

2009-05-04 Thread Marc
You have to create an AVD. Please check:

http://developer.android.com/guide/developing/eclipse-adt.html


On Mon, May 4, 2009 at 1:33 PM, weird0  wrote:

>
> I just browsed in the application LundarLander to execute it. The IDE
> is giving me the following error:
>
> Failed to find an AVD compatible with target 'Android 1.5'. Launch
> aborted.
>
> What is the fix for the error?
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
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
-~--~~~~--~~--~--~---



[android-beginners] Re: Android 1.5 SDK now available

2009-04-27 Thread Marc Lester Tan
It works perfectly on my ADP! Still playing around with it

-Marc

On Tue, Apr 28, 2009 at 2:12 AM, Xavier Ducrohet  wrote:

>
> Hello developers,
>
> The Android 1.5 SDK, and the 1.5 images for ADP1 are now available for
> download.
>
> More information at
> http://android-developers.blogspot.com/2009/04/android-15-is-here.html
>
>
> Xav
> --
> Xavier Ducrohet
> Android Developer Tools Engineer
> Google Inc.
>
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
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
-~--~~~~--~~--~--~---



[android-beginners] Re: Creating reflection of a view

2009-04-17 Thread Marc Poppleton

Hi,

Maybe this tutorial would be a good start:
http://www.brighthub.com/mobile/google-android/articles/30676.aspx

Once you have a bitmap, you just have to flip it, add a gradient mask,
eventually blur it a little to give a little more natural look to the
reflexion, and you're done.

Marc

On 16 avr, 07:30, bhoj  wrote:
> Are there any standard Api to create reflection of a view in android ?
> any idea how to do it ?
>
> Thanks in advance

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
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
-~--~~~~--~~--~--~---



[android-beginners] Re: MediaPlayer Volume Range

2009-01-08 Thread Marc Lester Tan
So should we report that? Any reaction, google employees?

-M


On Fri, Jan 9, 2009 at 11:48 AM, Dave Sparks wrote:

>
> I took a quick look at the code, and it looks like we're not clamping
> the values. If I'm reading the code correctly - not easy because there
> are a lot of layers between the Java client and the audio output - it
> looks like some nasty wrapping effects will occur if you use values
> higher than 1.0. I would consider that a bug in the code.
>
> I suggest sticking to values between 0 and 1.
>
> On Jan 8, 3:41 am, "Marc Lester Tan"  wrote:
> > Thanks Dave. Although when I tried putting 100 in the setVolume method
> >
> > clickSound.setVolume(100, 100);
> >
> > The volume level in the emulator seems to be louder when compared to 1.0.
> > Any idea?
> >
> > -Marc
> >
> > On Thu, Jan 8, 2009 at 10:39 AM, Dave Sparks  >wrote:
> >
> >
> >
> > > The range is 0 to 1. You can use any increment you want to create a
> > > logarithmic volume scale, just make full volume 1.0. Multiply be a
> > > scalar less than 1.0 to get the next lower volume. Multiply that
> > > volume by the same scalar to get the next one. Repeat until you have
> > > enough values.
> >
> > > The number you choose for your multiplier will vary according to
> > > purpose. For example, the Android music volume control is much finer
> > > grained (32 steps?) than the notification volume control (8 steps?).
> > > To get a smooth fade, you probably want to use 1dB or less (1dB =
> > > ~0.89).
> >
> > > On Jan 7, 3:04 am, "Marc Lester Tan"  wrote:
> > > > Hi folks,
> >
> > > > I just want to ask if somebody knows the usable range for the
> > > MediaPLayer's
> > > > volume levels? The doc just says it is a raw scalar and the UI should
> > > scale
> > > > logarithmically. An example would be helpful.
> >
> > > > Thanks in advance.
> >
> > > > -Marc
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
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
-~--~~~~--~~--~--~---



[android-beginners] Re: MediaPlayer Volume Range

2009-01-08 Thread Marc Lester Tan
Thanks Dave. Although when I tried putting 100 in the setVolume method

clickSound.setVolume(100, 100);

The volume level in the emulator seems to be louder when compared to 1.0.
Any idea?

-Marc

On Thu, Jan 8, 2009 at 10:39 AM, Dave Sparks wrote:

>
> The range is 0 to 1. You can use any increment you want to create a
> logarithmic volume scale, just make full volume 1.0. Multiply be a
> scalar less than 1.0 to get the next lower volume. Multiply that
> volume by the same scalar to get the next one. Repeat until you have
> enough values.
>
> The number you choose for your multiplier will vary according to
> purpose. For example, the Android music volume control is much finer
> grained (32 steps?) than the notification volume control (8 steps?).
> To get a smooth fade, you probably want to use 1dB or less (1dB =
> ~0.89).
>
> On Jan 7, 3:04 am, "Marc Lester Tan"  wrote:
> > Hi folks,
> >
> > I just want to ask if somebody knows the usable range for the
> MediaPLayer's
> > volume levels? The doc just says it is a raw scalar and the UI should
> scale
> > logarithmically. An example would be helpful.
> >
> > Thanks in advance.
> >
> > -Marc
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
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
-~--~~~~--~~--~--~---



[android-beginners] MediaPlayer Volume Range

2009-01-07 Thread Marc Lester Tan
Hi folks,

I just want to ask if somebody knows the usable range for the MediaPLayer's
volume levels? The doc just says it is a raw scalar and the UI should scale
logarithmically. An example would be helpful.

Thanks in advance.

-Marc

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
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
-~--~~~~--~~--~--~---



[android-beginners] Re: Unable to download Eclipse plugin?

2008-11-30 Thread Marc Lester Tan
got the same problem as well. I just downloaded the zip file and install
from there.

On Sun, Nov 30, 2008 at 10:20 AM, Jesper Lundgren <[EMAIL PROTECTED]>wrote:

> i tried http too, but no luck with that either. I did however find that
> google had a zip dowload of the plugin so i could just install it manually.
>
>
> On Sat, Nov 29, 2008 at 11:01 PM, Ralf <[EMAIL PROTECTED]> wrote:
>
>>
>> Try using http instead of https. Lots of people have this issue.
>>
>> R/
>>
>> On Fri, Nov 28, 2008 at 10:06 AM, Jesper Lundgren <[EMAIL PROTECTED]>
>> wrote:
>> > Hi, i am unable to download the ADT plugin for eclipse from
>> >
>> > https://dl-ssl.google.com/android/eclipse/
>> >
>> >
>> > I was wondering if there was anyone else with this problem? the site
>> seems
>> > down to me.
>> >
>> >
>> > >
>> >
>>
>>
>>
>
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: Soap Xml parsing

2008-11-27 Thread Marc Lester Tan
Hi,

I'm still new with android but hopefully this snippet will help you:

Let's say you have your Service class:

  public class Service{
> private String serviceId
> private String name
> private String deviceId
>
> // GETTERS AND SETTERS omitted
> }
>


then you can use DOM parser to parse your xml:

DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
> DocumentBuilder db = dbf.newDocumentBuilder();
> Document dom = db.parse(is);
>
> List services = parseDocument(dom);
>

   ..

>
>
> private static ArrayList parseDocument(Document dom) {
> ArrayList list = new ArrayList();
>
> Element docEle = dom.getDocumentElement();
> if (docEle != null) {
> NodeList nl = docEle.getElementsByTagName("service");
> if (nl != null && nl.getLength() > 0) {
> for (int i = 0; i < nl.getLength(); i++) {
> Element el = (Element) nl.item(i);
> Service e = getService(el);
> list.add(e);
> }
> }
> }
> return list;
> }
>
>
> private static Service getService(Element ele) {
> Service service = new Service();
> service.setName(getTextValue(ele, "name"));
> service.setServiceId(getTextValue(ele, "serviceid"));
> service.setDeviceId(getTextValue(ele, "deviceid"));
>
> return service;
> }
>
>
> private static String getTextValue(Element ele, String tagName) {
> String textVal = null;
> NodeList nl = ele.getElementsByTagName(tagName);
> if (nl != null && nl.getLength() > 0) {
> Element el = (Element) nl.item(0);
> if(el.getFirstChild() != null){
> textVal = el.getFirstChild().getNodeValue();
> }
> }
>
> return textVal;
> }
>


-Marc

On Thu, Nov 27, 2008 at 4:01 PM, baba vali <[EMAIL PROTECTED]> wrote:

>
>
>
>  hi all,
>>
>> can anyone share the code for parsing Soap Xml to get data from it
>>
>>
>>
>> http://schemas.xmlsoap.org/soap/envelope/"; xmlns:xsd="
>> http://www.w3.org/2001/XMLSchema"; xmlns:xsi="
>> http://www.w3.org/2001/XMLSchema-instance"; xmlns="
>> http://schema.cloudengines.com/schema/2008";>
>> 
>> 
>> 
>> 
>> da17923ae45b0b55f89eba6cd850b026
>> 0
>> 1
>> xce:webdav
>> Cloud Engines
>> LINUXKUROPRO0.9.9.62
>> 
>> da17923ae45b0b55f89eba6cd850b026
>> xce:unknown
>> KUROBOX-PRO
>> LINUXKUROPRO0.9.9.62
>> 0
>> 45820d44809cf01d29ede34f3033fc40
>> 
>> 45820d44809cf01d29ede34f3033fc40
>> [EMAIL PROTECTED]
>> [EMAIL PROTECTED]
>> 
>>
>> 1
>> i want to get service id,deviceid,name of service
>>
>> i have written code but i am getting the device name
>>
>> observe which also have same tag name ..
>>
>> i want to get service name
>>
>
>i have also used 2 name variables and displayed one value getting null
>
>>
>> pls anyone can help me out
>>
>> i have been working on this problem since yesterday
>>
>> regards
>>
>
>
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: Novice programmers lets build together.

2008-10-29 Thread Marc Lester Tan
Hi folks,

i'm using java for 5 years now though still a newbie in developing for
android and I'm interested to team up with anyone for a project.

Marc



On Tue, Oct 28, 2008 at 11:19 PM, DSKG87 <[EMAIL PROTECTED]> wrote:

>
> hey there,
> i'm new to programming and wanted to know anyone out there thats also
> new or has some experience and want to learn the language together.
> Forums are great but i need immediate stimulation  since i tend to get
> bored easily. Right now, i am almost done reading the java for dummies
> and highly recommend it if your looking for something to really get
> you into understanding the java.
>
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] no XMPP support?

2008-10-26 Thread Marc Lester Tan
Hi Folks,

I've search Android Docs and it seems there is really no support for XMPP?
Is it possible to use third party library?

-Marc

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: problem in coding

2008-10-12 Thread Marc Lester Tan
if you use IDE and you've used the Adroid wizard to create your project,
then R.java will automagically be generated when you modify your string.xml

-m

On Mon, Oct 13, 2008 at 2:32 PM, baba vali <[EMAIL PROTECTED]> wrote:

>
> hi
> how can we configure strings.xml
> is it that just by saving strings in string.xml
> it will be updated automaticallj in R.java
>
> Regards
>
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Displaying CR LF on TextView

2008-10-07 Thread Marc Lester Tan
Hi Folks,

My application needs to display CR LF (new line) on the TextView. Currently
it just display a small square box instead of a new line. My data is coming
from an RSS feed and my application is parsing the text properly. It's just
that the TextView doesn't display CR LF characters property. Any idea on how
to fix this?


Thanks in advance.

Marc

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Landscape mode for the Emulator?

2008-10-05 Thread Marc Lester Tan
Hi folks,

Is it possible to change the emulator's view to landscape?

Thanks in advance.

Marc

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: ImageView Question

2008-09-30 Thread Marc Lester Tan
Thanks a lot!

On Tue, Sep 30, 2008 at 7:52 PM, Mark Murphy <[EMAIL PROTECTED]>wrote:

>
> Marc Lester Tan wrote:
> > However, isn't this consuming a lot of memory?
>
> Yes.
>
> > It might cause a problem when loading large number of images.
>
> Yes. Of course, that's the case no matter where the images come from. If
> they were on the SD card, for example, they still have to be loaded into
> memory for display purposes.
>
> --
> Mark Murphy (a Commons Guy)
> http://commonsware.com
> _The Busy Coder's Guide to Android Development_ Version 1.3 Published!
>
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Any good Book on Android?

2008-09-30 Thread Marc Lester Tan
Hi folks,

Any suggestion for a nice, newbie-friendly Android book?

-Marc

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: ImageView Question

2008-09-30 Thread Marc Lester Tan
Thanks guys, I managed to make it work by using the HttpGet and
BitmapFactory classes. However, isn't this consuming a lot of memory? It
might cause a problem when loading large number of images.

-Marc

On Tue, Sep 30, 2008 at 7:24 PM, Mark Murphy <[EMAIL PROTECTED]>wrote:

>
> Marc Lester Tan wrote:
> > Can an ImageView load its content from a remote server?
>
> Not directly, in that there is no setImage() variant that takes a URL,
> IIRC.
>
> However, I believe others have had success using a combination of
> HttpUrlConnection and BitmapFactory to download a graphic and turn it
> into a Bitmap, which can then be passed to the ImageView. I have yet to
> try this technique myself.
>
> --
> Mark Murphy (a Commons Guy)
> http://commonsware.com
> _The Busy Coder's Guide to Android Development_ Version 1.3 Published!
>
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] ImageView Question

2008-09-30 Thread Marc Lester Tan
Hi all,

Can an ImageView load its content from a remote server?

-Marc

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Displaying Image Gallery

2008-09-29 Thread Marc Lester Tan
Hi folks,

I'm still learning a lot from the tutorials and sample codes. But could
anyone give some example on how to display an Image with a given URL (for
example, link from a flickr). I'm actually planning to create a gallery
pulled from an RSS feed.

Thanks in advance.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: Map problem on Vista

2008-07-04 Thread Marc

I must be losing it.  It's just started working, and I'm absolutely
positive NOTHING has changed.  Oh well.



On Jun 27, 10:06 pm, Marc <[EMAIL PROTECTED]> wrote:
> I'm desperately in need of some help.
>
> I can't get the maps app to work on the emulator.  I can successfully
> use the web browser to view any webpage I want (so I know it's not a
> network issue), but whenever I load the maps screen I just get a
> chequered grey screen and no map.  After awhile I get a message "Oops!
> The network seems to be down for now. We'll keep trying, though."
>
> I'm running the emulator under Windows Vista.  When I try the emulator
> under a WinXP virtual machine, everything works fine.
>
> Below is the output from the emulator when I run it with the "-logcat
> debug" option.
>
> Thanks in advance.
>
> Uncompressing
> Linux..­...
> done, booting the kernel.
> # I/DEBUG   (  499): debuggerd: Feb 28 2008 17:13:08
> D/AndroidRuntime(  501):
> D/AndroidRuntime(  501): >>>>>>>>>>>>>> AndroidRuntime START
> <<<<<<<<<<<<<<
> I/AndroidRuntime(  501): Assertions enabled for ALL code (-ea and -
> esa)
> I/runtime (  502): Startup: sys='/system' asset='/system/app' data='/
> data'
> I/runtime (  502): Entered boot_init()!
> D/runtime (  502): ProcessState: 0x124e8
> I/runtime (  502): Binder driver opened.  Multiprocess enabled.
> D/AndroidRuntime(  501): --- registering native functions ---
> D/dalvikvm(  501): Exception Ljava/lang/ClassNotFoundException; from
> PathClassLoader.java:205 not caught locally
> D/dalvikvm(  501): NOTE: loadClass 'android.app.Activity
> $LocalWindowManager' 0x40018950 threw an exception
> W/Zygote  (  501): Zygote class init exception
> java.lang.ClassNotFoundException: android.app.Activity
> $LocalWindowManager with class android.app.Activity$LocalWindowManager
> D/dalvikvm(  501): Exception Ljava/lang/ClassNotFoundException; from
> PathClassLoader.java:205 not caught locally
> D/dalvikvm(  501): NOTE: loadClass 'android.content.PackageManager'
> 0x40018950 threw an exception
> W/Zygote  (  501): Zygote class init exception
> java.lang.ClassNotFoundException: android.content.PackageManager with
> class android.content.PackageManager
> D/dalvikvm(  501): Exception Ljava/lang/ClassNotFoundException; from
> PathClassLoader.java:205 not caught locally
> D/dalvikvm(  501): NOTE: loadClass 'android.content.PackageManager
> $ActivityInfo' 0x40018950 threw an exception
> W/Zygote  (  501): Zygote class init exception
> java.lang.ClassNotFoundException: android.content.PackageManager
> $ActivityInfo with class android.content.PackageManager$ActivityInfo
> D/dalvikvm(  501): Exception Ljava/lang/ClassNotFoundException; from
> PathClassLoader.java:205 not caught locally
> D/dalvikvm(  501): NOTE: loadClass 'android.content.PackageManager
> $ActivityInfo$1' 0x40018950 threw an exception
> W/Zygote  (  501): Zygote class init exception
> java.lang.ClassNotFoundException: android.content.PackageManager
> $ActivityInfo$1 with class android.content.PackageManager$ActivityInfo
> $1
> D/dalvikvm(  501): LOADING path /system/lib/libmedia_jni.so 0x0
> I/dalvikvm(  501): Added shared lib /system/lib/libmedia_jni.so 0x0
> D/dalvikvm(  501): LOADING path /system/lib/libmedia_jni.so 0x0
> I/dalvikvm(  501): Shared lib '/system/lib/libmedia_jni.so' already
> loaded in same CL 0x0
> D/dalvikvm(  501): LOADING path /system/lib/libmedia_jni.so 0x0
> I/dalvikvm(  501): Shared lib '/system/lib/libmedia_jni.so' already
> loaded in same CL 0x0
> D/dalvikvm(  501): Exception Ljava/lang/ClassNotFoundException; from
> PathClassLoader.java:205 not caught locally
> D/dalvikvm(  501): NOTE: loadClass 'android.os.BinderNative'
> 0x40018950 threw an exception
> W/Zygote  (  501): Zygote class init exception
> java.lang.ClassNotFoundException: android.os.BinderNative with class
> android.os.BinderNative
> D/dalvikvm(  501): Exception Ljava/lang/ClassNotFoundException; from
> PathClassLoader.java:205 not caught locally
> D/dalvikvm(  501): NOTE: loadClass 'android.text.style.CharacterStyle
> $DrawState' 0x40018950 threw an exception
> W/Zygote  (  501): Zygote class init exception
> java.lang.ClassNotFoundException: android.text.style.CharacterStyle
> $DrawState with class android.text.style.CharacterStyle$DrawState
> D/dalvikvm(  501): Exception Ljava/lang/ClassNotFoundException; from
> PathClassLoader.java:205 not caught locally
> D/dalvikvm(  501): NOTE:

[android-beginners] Map problem on Vista

2008-06-27 Thread Marc

I'm desperately in need of some help.

I can't get the maps app to work on the emulator.  I can successfully
use the web browser to view any webpage I want (so I know it's not a
network issue), but whenever I load the maps screen I just get a
chequered grey screen and no map.  After awhile I get a message "Oops!
The network seems to be down for now. We'll keep trying, though."

I'm running the emulator under Windows Vista.  When I try the emulator
under a WinXP virtual machine, everything works fine.

Below is the output from the emulator when I run it with the "-logcat
debug" option.

Thanks in advance.

Uncompressing
Linux.
done, booting the kernel.
# I/DEBUG   (  499): debuggerd: Feb 28 2008 17:13:08
D/AndroidRuntime(  501):
D/AndroidRuntime(  501): >> AndroidRuntime START
<<
I/AndroidRuntime(  501): Assertions enabled for ALL code (-ea and -
esa)
I/runtime (  502): Startup: sys='/system' asset='/system/app' data='/
data'
I/runtime (  502): Entered boot_init()!
D/runtime (  502): ProcessState: 0x124e8
I/runtime (  502): Binder driver opened.  Multiprocess enabled.
D/AndroidRuntime(  501): --- registering native functions ---
D/dalvikvm(  501): Exception Ljava/lang/ClassNotFoundException; from
PathClassLoader.java:205 not caught locally
D/dalvikvm(  501): NOTE: loadClass 'android.app.Activity
$LocalWindowManager' 0x40018950 threw an exception
W/Zygote  (  501): Zygote class init exception
java.lang.ClassNotFoundException: android.app.Activity
$LocalWindowManager with class android.app.Activity$LocalWindowManager
D/dalvikvm(  501): Exception Ljava/lang/ClassNotFoundException; from
PathClassLoader.java:205 not caught locally
D/dalvikvm(  501): NOTE: loadClass 'android.content.PackageManager'
0x40018950 threw an exception
W/Zygote  (  501): Zygote class init exception
java.lang.ClassNotFoundException: android.content.PackageManager with
class android.content.PackageManager
D/dalvikvm(  501): Exception Ljava/lang/ClassNotFoundException; from
PathClassLoader.java:205 not caught locally
D/dalvikvm(  501): NOTE: loadClass 'android.content.PackageManager
$ActivityInfo' 0x40018950 threw an exception
W/Zygote  (  501): Zygote class init exception
java.lang.ClassNotFoundException: android.content.PackageManager
$ActivityInfo with class android.content.PackageManager$ActivityInfo
D/dalvikvm(  501): Exception Ljava/lang/ClassNotFoundException; from
PathClassLoader.java:205 not caught locally
D/dalvikvm(  501): NOTE: loadClass 'android.content.PackageManager
$ActivityInfo$1' 0x40018950 threw an exception
W/Zygote  (  501): Zygote class init exception
java.lang.ClassNotFoundException: android.content.PackageManager
$ActivityInfo$1 with class android.content.PackageManager$ActivityInfo
$1
D/dalvikvm(  501): LOADING path /system/lib/libmedia_jni.so 0x0
I/dalvikvm(  501): Added shared lib /system/lib/libmedia_jni.so 0x0
D/dalvikvm(  501): LOADING path /system/lib/libmedia_jni.so 0x0
I/dalvikvm(  501): Shared lib '/system/lib/libmedia_jni.so' already
loaded in same CL 0x0
D/dalvikvm(  501): LOADING path /system/lib/libmedia_jni.so 0x0
I/dalvikvm(  501): Shared lib '/system/lib/libmedia_jni.so' already
loaded in same CL 0x0
D/dalvikvm(  501): Exception Ljava/lang/ClassNotFoundException; from
PathClassLoader.java:205 not caught locally
D/dalvikvm(  501): NOTE: loadClass 'android.os.BinderNative'
0x40018950 threw an exception
W/Zygote  (  501): Zygote class init exception
java.lang.ClassNotFoundException: android.os.BinderNative with class
android.os.BinderNative
D/dalvikvm(  501): Exception Ljava/lang/ClassNotFoundException; from
PathClassLoader.java:205 not caught locally
D/dalvikvm(  501): NOTE: loadClass 'android.text.style.CharacterStyle
$DrawState' 0x40018950 threw an exception
W/Zygote  (  501): Zygote class init exception
java.lang.ClassNotFoundException: android.text.style.CharacterStyle
$DrawState with class android.text.style.CharacterStyle$DrawState
D/dalvikvm(  501): Exception Ljava/lang/ClassNotFoundException; from
PathClassLoader.java:205 not caught locally
D/dalvikvm(  501): NOTE: loadClass 'android.webkit.JsConfirmResult'
0x40018950 threw an exception
W/Zygote  (  501): Zygote class init exception
java.lang.ClassNotFoundException: android.webkit.JsConfirmResult with
class android.webkit.JsConfirmResult
D/dalvikvm(  501): LOADING path /system/lib/libwebcore.so 0x0
I/dalvikvm(  501): Added shared lib /system/lib/libwebcore.so 0x0
D/dalvikvm(  501): Exception Ljava/lang/ClassNotFoundException; from
PathClassLoader.java:205 not caught locally
D/dalvikvm(  501): NOTE: loadClass 'android.widget.AbsListView
$MyContentObserver' 0x40018950 threw an exception
W/Zygote  (  501): Zygote class init exception
java.lang.ClassNotFoundException: android.widget.AbsListView
$MyContentObserver with class android.widget.AbsListView
$MyContentObserver
D/dalvikvm(  501): Exception Ljava/lang/ClassNotFoundException; from
PathClas

[android-beginners] Re: cant find a popupwindow tutorial

2008-04-08 Thread Marc

If you are looking for alert dialog boxes,  refer
http://www.handandaily.com/android/docs/kb/commontasks.html#opennewscreen

There is a nice sample coming with android sdk in android-sdk_m5-
rc15_windows\samples\ApiDemos\src\com\google\android\samples\app
\AlertDialogSamples.java

regards,
Marc

On Apr 9, 2:24 am, Rahul <[EMAIL PROTECTED]> wrote:
> i am having trouble working with popupwindows.. where can i find an
> tutorial of how to use it, or an example
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Use AlertDialog inside a service.

2008-04-08 Thread Marc

HI All,

Is it possible to use an AlertDialog as a notification instead of
using a Toast?? My requirement is to display a text notification,
which is not disappear in few moments. User should be able to close it
by pressing the return button. Please shed some light on me.

Thanks in advance

Marc
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---