[android-beginners] Suggestions on tutorials

2009-11-02 Thread sfitzjava
I want to learn how to write android apps, let me restate that.  I
want to learn how to actually program the android using java, and not
just type a bunch of XM(hel)L tags.   Actually to be perfectly clear
I NEVER WANT TO WRITE AN XM(HEL)L TAG EVER

Given this requirement (ABSOLUTELY NO XMhelL)  is there any tutorials,
books, videos that truly teach how to write for the android platform.

Please no flames on the benefits of XML (BECAUSE YOU ARE WRONG
[PERIOD])  and I will not listen to you anyway.

Thanks
-Shawn

-- 
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: Help getting platform

2009-11-02 Thread mobiledude
Here is a solution that worked for me. It came from one of the posters
the "Android SDK 2.0 is here!" thread. You might want to check that
thread out. Note that you may have to force the use http instead of
https by checking the appropriate box in the "Settings" of the AVD
Manager. Be sure to click the "Save & Apply" button (this button
should work once you have applied the fix shown below).


I found a solution to the problem of running the Android SDK manager
on Ubuntu 9.10.  For some reason you first need to export
GDK_NATIVE_WINDOWS=true. The following command works:

br...@erisa:~/android-sdk-linux/tools$ GDK_NATIVE_WINDOWS=true ./
android
-


On Nov 1, 9:49 am, Drew  wrote:
> let me first say that I'm new to Adroid and SDK
>
> Problem: when I try to download the any platform under the "Availible
> Packages" section of the Android GUI, it doesn't do anything when I
> click "Install Selected". It will get the list and show me what can be
> downloaded, but won't actually download it.
>
> What I've done:
> Java is installed
> the PATH is set in my .bashrc file
> added "sdkman.force.http=true" to .android/androidtools.cfg
>
> Any ideas would be appreciated. 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: Rounded corners for EditText

2009-11-02 Thread westmeadboy
On Nov 2, 9:18 pm, Mark Murphy  wrote:
> Create your own custom StateListDrawable to serve as the background. The
> existing background should be in the Android source code -- clone that,
> then modify the .9.png files as desired.

Won't the existing background vary from one device to another? For
example, HTC might for Sensified it a little.

If so, wouldn't you need to programmatically modify the background to
maintain the correct look and feel?

-- 
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: Persisting a context menu after screen rotation

2009-11-02 Thread Macarse


On Oct 28, 5:54 pm, skataben  wrote:
> My app creates a simple ListActivity. I want the ListView's context
> menu to stay on the screen when it rotates, so I cache the selected
> item's position. When the activity resumes I call openContextMenu
> (getListView()) and use the cached item's position to retrieve the
> ListView item's info. The info is successfully restored (as observed
> in the debugger), but the app crashes somewhere after
> onCreateContextMenu() is finished executing.
>
> The debugger gives me the following info, but I don't know exactly
> what it means:
>
> 10-28 15:29:50.548: INFO/WindowManager(61): onOrientationChanged,
> rotation changed to 0
> 10-28 15:29:50.808: WARN/WindowManager(61): Requested window null does
> not exist
> 10-28 15:29:50.808: WARN/WindowManager(61): java.lang.RuntimeException
> 10-28 15:29:50.808: WARN/WindowManager(61):     at
> com.android.server.WindowManagerService.windowForClientLocked
> (WindowManagerService.java:7377)
> 10-28 15:29:50.808: WARN/WindowManager(61):     at
> com.android.server.WindowManagerService.addWindow
> (WindowManagerService.java:1145)
> 10-28 15:29:50.808: WARN/WindowManager(61):     at
> com.android.server.WindowManagerService$Session.add
> (WindowManagerService.java:5267)
> 10-28 15:29:50.808: WARN/WindowManager(61):     at
> android.view.IWindowSession$Stub.onTransact(IWindowSession.java:74)
> 10-28 15:29:50.808: WARN/WindowManager(61):     at
> com.android.server.WindowManagerService$Session.onTransact
> (WindowManagerService.java:5240)
> 10-28 15:29:50.808: WARN/WindowManager(61):     at
> android.os.Binder.execTransact(Binder.java:287)
> 10-28 15:29:50.808: WARN/WindowManager(61):     at
> dalvik.system.NativeStart.run(Native Method)
> 10-28 15:29:50.808: WARN/WindowManager(61): Attempted to add window
> with token that is not a window: null.  Aborting.
>
> What am I doing wrong?
>
> public class LoginActivity extends ListActivity implements Runnable {
>
>         private int mContextMenuPosition = -1;
>
>         @Override
>         public void onCreate(Bundle icicle) {
>         ...
>         registerForContextMenu(getListView());
>         ...
>         }
>
>         @Override
>         public void onCreateContextMenu(ContextMenumenu, View v,
> ContextMenuInfo menuInfo) {
>                 try {
>                         int position;
>                         super.onCreateContextMenu(menu, v, menuInfo);
>                         AdapterContextMenuInfo info = (AdapterContextMenuInfo)
> menuInfo;
>                         position = (info == null) ? mContextMenuPosition :
> info.position;
>                         more stuff
>                 }
>                 catch ( Exception ex ) { // exception not caught, so the 
> problem is
> elsewhere
>                         toastException( ex );
>                         logException(ex);
>                 }
>
>         @Override
>         protected void onSaveInstanceState(Bundle outState) {
>                 outState.putInt("contextMenuPosition", mContextMenuPosition);
>         }
>
>         @Override
>         protected void onRestoreInstanceState( Bundle inState ){
>                 if ( inState.containsKey("contextMenuPosition") ) {
>                         mContextMenuPosition = 
> inState.getInt("contextMenuPosition");
>                 }
>         }
>
>         @Override
>         protected void onResume() {
>             super.onResume();
>             if ( mContextMenuPosition > 0 ) {
>                 openContextMenu(getListView());
>         }
>     }
>
> };
>
>

I'm also looking for a way to avoid the ContextMenu to disappear when
screen rotates.

Anyone did it?

-- 
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] Installing Eclipse and Android etc WOES!!!

2009-11-02 Thread Xavier Ducrohet
if you really cannot download using the Eclipse update site, try this:
http://developer.android.com/sdk/eclipse-adt.html#troubleshooting

Xav

On Fri, Oct 30, 2009 at 3:13 AM, elpuerco  wrote:
> Hi,
>
> I am just about ready to throw my computer out of the window due to
> the problems I am having just trying to get this stuff setup let alone
> start coding!
>
> Everything I try to do just error when trying to install the ADT or
> update SDK via update manager errors!
>
> Is anyone actually using this stuff?
>
> https://dl-ssl.google.com/android/eclipse/ or 
> http://dl-ssl.google.com/android/eclipse/
> constantly gives me server not found or connection failure.  I have
> also got colleagues to start from scratch and try it to ensure it is
> not me but they get the same!
>
> --
> 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
>



-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.

Please do not send me questions directly. 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: Audio Stream Processing

2009-11-02 Thread Roman ( T-Mobile USA)
You should also be able to do some audio processing on Java level. But
be aware that it won't be as efficient as if you would do this on
native level. For example the SipDroid application does some
conversion of Audio to the G711 codec in Java.

--
Roman Baumgaertner
Sr. SW Engineer-OSDC
·T· · ·Mobile· stick together
The views, opinions and statements in this email are those of the
author solely in their individual capacity, and do not necessarily
represent those of T-Mobile USA, Inc.

On Nov 2, 7:20 am, Tim  wrote:
> You can write native functions using the NDK. It should work on any
> android phone. The only downside to this approach is that it can be
> tricky to transfer large amounts of data between the Java VM and you
> native code quickly.
>
> Seehttp://developer.android.com/sdk/ndk/1.6_r1/index.html
>
> On Nov 1, 5:08 pm, heteroskedasicity 
> wrote:
>
> > On Oct 30, 5:40 pm, "Roman ( T-Mobile USA)" 
> > mobile.com> wrote:
> > > On SDK level you won't find any API support to render your audio
> > > stream. If you want to do this, you have to do some native coding.
>
> > Thanks Roman.  Got a link to where I could begin exploring that
> > possibility?
>
> > Would such an API enhancement need 'phone manufacturer cooperation in
> > order for it to be accessible to third party apps?  Or would it be
> > possible to retrofit it into an existing Android based product?
>
>

-- 
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: No internet connection in emulator

2009-11-02 Thread Roman ( T-Mobile USA)
You might want to check when the emulator is started up whether your
network support is correctly started

You can use "dmesg" for this.

<6>ashmem: initialized
<6>Installing knfsd (copyright (C) 1996 o...@monad.swb.de).
<4>yaffs Feb  2 2009 12:47:30 Installing.
<6>msgmni has been set to 184
<6>io scheduler noop registered
<6>io scheduler anticipatory registered (default)
<6>io scheduler deadline registered
<6>io scheduler cfq registered
<4>allocating frame buffer 320 * 480, got ffc1
<4>Console: switching to colour frame buffer device 40x30
<6>console [ttyS0] enabled
<6>brd: module loaded
<6>loop: module loaded
<6>nbd: registered device at major 43
<6>logger: created 64K log 'log_main'
<6>logger: created 256K log 'log_events'
<6>logger: created 64K log 'log_radio'
<4>smc91x.c: v1.1, sep 22 2004 by Nicolas Pitre 
<4>No set_type function for IRQ 12 (goldfish)
<4>eth0: SMC91C11xFD (rev 1) at c680 IRQ 12 [nowait]
<4>eth0: Ethernet addr: 52:54:00:12:34:56
<7>eth0: No PHY found
<4>goldfish nand dev0: size 45e, page 2048, extra 64, erase 131072
<4>goldfish nand dev1: size 400, page 2048, extra 64, erase 131072
<4>goldfish nand dev2: size 400, page 2048, extra 64, erase 131072
<6>mice: PS/2 mouse device common for all mice
<4>*** events probe ***
<4>events_probe() addr=0xc6804000 irq=16
<4>events_probe() keymap=qwerty2
<6>input: qwerty2 as /devices/virtual/input/input0
<6>goldfish_rtc goldfish_rtc: rtc core: registered goldfish_rtc as
rtc0
<6>IPv4 over IPv4 tunneling driver
<6>GRE over IPv4 tunneling driver
<6>TCP cubic registered
<6>NET: Registered protocol family 17
<6>RPC: Registered udp transport module.
<6>RPC: Registered tcp transport module.
<6>802.1Q VLAN Support v1.8 Ben Greear 
<6>All bugs added by David S. Miller 
<6>VFP support v0.3: implementor 41 architecture 1 part 10 variant 9
rev 0
<6>goldfish_rtc goldfish_rtc: setting system clock to 2009-11-03
00:01:25 UTC (1257206485)
<6>Freeing init memory: 104K
<3>init: cannot open '/initlogo.rle'
<6>yaffs: dev is 32505856 name is "mtdblock0"
<6>yaffs: passed flags ""
<4>yaffs: Attempting MTD mount on 31.0, "mtdblock0"
<4>yaffs_read_super: isCheckpointed 0
<4>save exit: isCheckpointed 1
<6>yaffs: dev is 32505857 name is "mtdblock1"
<6>yaffs: passed flags ""
<4>yaffs: Attempting MTD mount on 31.1, "mtdblock1"
<4>yaffs_read_super: isCheckpointed 0
<6>yaffs: dev is 32505858 name is "mtdblock2"
<6>yaffs: passed flags ""
<4>yaffs: Attempting MTD mount on 31.2, "mtdblock2"
<4>yaffs_read_super: isCheckpointed 0
<3>init: cannot find '/system/bin/playmp3', disabling 'bootsound'
<3>init: cannot find '/system/bin/dbus-daemon', disabling 'dbus'
<3>init: cannot find '/system/etc/install-recovery.sh', disabling
'flash_recovery'
<6>eth0: link up
<6>warning: `rild' uses 32-bit capabilities (legacy support in use)


What do you see when you execute "netstat -r" and netcfg?

--
Roman Baumgaertner
Sr. SW Engineer-OSDC
·T· · ·Mobile· stick together
The views, opinions and statements in this email are those of the
author solely in their individual capacity, and do not necessarily
represent those of T-Mobile USA, Inc.






On Nov 2, 2:22 pm, erisa  wrote:
> After a fresh install of ubuntu 9.10 and the Android SDK, I discovered
> that the emulator has no internet access.  All websites produce the
> "Page not available" screen when accessed by the Android browser
> (1.6).  I do not have a firewall and my internet access from my
> computer is fully functional.  Any ideas on trouble shooting?
>
> Bruce

-- 
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: Slow emulator

2009-11-02 Thread Indicator Veritatis
Really? I have found a rather different situation: the emulator is
very slow to launch, but once launched, runs at a decent pace. Or is
that what you were referring to in the first place? Just to the fact
that it is so-o-o-o slow to launch?

The 'workaround', predictably, is to launch the emulator once and just
keep it loaded for as long as you can: Run under Eclipse will almost
always push the newly built code to the emulator so that you do not
need to stop and restart it.

I say "almost always" because I have seen an error message about being
unable to 'push' the code, but this is a rare error condition.

On Nov 1, 9:44 pm, Curran  wrote:
> Hi guys,
>
> Pretty new to the whole Android idea, I am buying the HTC hero soon
> and would quite like to develop for it. I have found on my PC that the
> emulator runs really slowly- to get to actually being able to use my
> app when emulating takes around a minute and a half. Can anyone
> suggest why? I use Eclipse, with Windows 7 and a good-but-not-amazing
> spec laptop. Please help! 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: Trouble editing XML files with Eclipse Galileo & SDK 1.6

2009-11-02 Thread erisa
I have the exact same problem with a fresh install in Ubuntu 9.10.  I
have to close the project and reopen, even though there are no errors
in the xml.  Bizarre!

On Oct 26, 4:02 am, "kjell.w.krona"  wrote:
> I now found out, that if I close and the reopen the project, the error
> disapears. I can also do "refresh" on the project, which seems to have
> the same effect. But this is not necessary when I update the java
> code. Cannot understand what is going on

-- 
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] Is that compulsory to use Java developing android apps????

2009-11-02 Thread Agus
you can use Scala

On Thu, Oct 29, 2009 at 11:22 PM, defyer  wrote:

> Hi, there!
> I'm fresh to Android development and am a C/C++ programmer hence not
> quite familiar with Java things
> so, is that requested to use Java here under Android system?
> thanks!!!
>
> Johnson
>
> --
> 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: Installing Android Tools in Eclipse on Ubuntu

2009-11-02 Thread Indicator Veritatis
Come to think of it, the problem sounds like the same described in
http://groups.google.com/group/android-beginners/browse_thread/thread/60eb36682825266c.
But this means that the solution really is much simpler than I thought
at first: just use 'http' instead of 'https'. Now if only we can get
someone to update the instructions to reflect this change on the
developer website...

On Nov 2, 11:36 pm, Indicator Veritatis  wrote:
> Unless this turns out to be a common problem, one that others have
> already seen and solved, I think we are going to need more
> information. Can you, for example, run Wireshark at the same time and
> verify whether or not you connected to the SSL server at all? Can you
> verify whether it finished the download? Do you have any error
> messages showing up in 'dmesg' in Ubuntu during the download? What
> version of Java and Java JDK do you have installed?
>
> There was a problem with incompatible assumptions of default Java
> version between Ubuntu, Eclipse, and the ADT. I do not know if that
> has been solved with Ubuntu 9.10, but the final note, dated 2009-10-20
> athttps://bugs.launchpad.net/ubuntu/+source/eclipse/+bug/162708seems
> to imply that it really was fixed.
>
> On Nov 2, 7:49 pm, MrBaseball34  wrote:
>
> > Ubuntu 9.10 (Karmic Koala) hosted in VirtualBox VM on WinXP SP3
> > Eclipse 3.5.1
>
> > Was able to install the SDK but cannot install the Android tols in
> > Eclipse.
> > I enterhttps://dl-ssl.google.com/android/eclipse/, the little
> > progress bar goes at the bottom/right but the Next button never gets
> > enabled and it doesn't show any results.
>
> > What could be the problem?

-- 
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: Installing Android Tools in Eclipse on Ubuntu

2009-11-02 Thread Indicator Veritatis
Unless this turns out to be a common problem, one that others have
already seen and solved, I think we are going to need more
information. Can you, for example, run Wireshark at the same time and
verify whether or not you connected to the SSL server at all? Can you
verify whether it finished the download? Do you have any error
messages showing up in 'dmesg' in Ubuntu during the download? What
version of Java and Java JDK do you have installed?

There was a problem with incompatible assumptions of default Java
version between Ubuntu, Eclipse, and the ADT. I do not know if that
has been solved with Ubuntu 9.10, but the final note, dated 2009-10-20
at https://bugs.launchpad.net/ubuntu/+source/eclipse/+bug/162708 seems
to imply that it really was fixed.

On Nov 2, 7:49 pm, MrBaseball34  wrote:
> Ubuntu 9.10 (Karmic Koala) hosted in VirtualBox VM on WinXP SP3
> Eclipse 3.5.1
>
> Was able to install the SDK but cannot install the Android tols in
> Eclipse.
> I enterhttps://dl-ssl.google.com/android/eclipse/, the little
> progress bar goes at the bottom/right but the Next button never gets
> enabled and it doesn't show any results.
>
> What could be the problem?

-- 
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: Cannot see map in my mobile device

2009-11-02 Thread Mike Wolfson
Without looking at your code.  You need a key from Google to work with
Maps (and they won't show without it).

Look at the Android Map Tutorial, and it tells you how to obtain the
key (it is free), and then you put the key in your manifest.

Here is a URL to signup as well: http://code.google.com/apis/maps/signup.html

On Nov 1, 5:39 pm, newbie123  wrote:
> Hello,
> THis is my first time deling with MapActivity and I was able to work
> the MapView example , go it to compile and launched it on my device,
> but I dont see it displaying any maps. It just shows the white screen
> with zoom button an d the overlay drawable png image I have. can any
> one tell me whats wrong.
>
> Here's my class file MapView class file.
>
> package com.example.hellomap;
>
> import java.util.List;
>
> import com.google.android.maps.GeoPoint;
> import com.google.android.maps.MapActivity;
> import com.google.android.maps.MapController;
> import com.google.android.maps.MapView;
> import com.google.android.maps.Overlay;
> import com.google.android.maps.OverlayItem;
>
> import android.graphics.drawable.Drawable;
> import android.os.Bundle;
> import android.widget.LinearLayout;
> import android.widget.ZoomControls;
>
> public class mymap extends MapActivity {
>         List mapOverlays;
>         Drawable drawable;
>         mapOverlay itemizedOverlay;
>         LinearLayout linearLayout;
>         MapView mapView;
>         ZoomControls mZoom;
>
>     /** Called when the activity is first created. */
>     @Override
>     public void onCreate(Bundle savedInstanceState) {
>         super.onCreate(savedInstanceState);
>         setContentView(R.layout.mymap);
>         linearLayout = (LinearLayout) findViewById(R.id.zoomview);
>         mapView = (MapView) findViewById(R.id.mapview);
>         mZoom = (ZoomControls) mapView.getZoomControls();
>
>         linearLayout.addView(mZoom);
>
>         mapOverlays = mapView.getOverlays();
>         drawable = this.getResources().getDrawable(R.drawable.man);
>         itemizedOverlay = new mapOverlay(drawable);
>
>         GeoPoint point = new GeoPoint(1924,-9912);
>         OverlayItem overlayitem = new OverlayItem(point, "", "");
>
>         itemizedOverlay.addOverlay(overlayitem);
>         mapOverlays.add(itemizedOverlay);
>     }
>
>     @Override
>     protected boolean isRouteDisplayed() {
>         return false;
>     }
>
> }
>
> Overlay Class file:
>
> package com.example.hellomap;
>
> import java.util.ArrayList;
>
> import android.graphics.drawable.Drawable;
>
> import com.google.android.maps.ItemizedOverlay;
> import com.google.android.maps.OverlayItem;
>
> public class mapOverlay extends ItemizedOverlay {
>
>         private ArrayList mOverlays = new ArrayList
> ();
>
>         public mapOverlay(Drawable defaultMarker) {
>                 super(boundCenterBottom(defaultMarker));
>                 // TODO Auto-generated constructor stub
>         }
>
>         @Override
>         protected OverlayItem createItem(int arg0) {
>                  return mOverlays.get(arg0);
>         }
>
>         @Override
>         public int size() {
>                 return mOverlays.size();
>         }
>
>         public void addOverlay(OverlayItem overlay) {
>             mOverlays.add(overlay);
>             populate();
>         }
>
> }
>
> Manifest File
>
> 
> http://schemas.android.com/apk/res/android";
>       package="com.example.hellomap"
>       android:versionCode="1"
>       android:versionName="1.0">
>     
>                            android:label="@string/app_name">
>             
>                 
>                  android:name="android.intent.category.LAUNCHER" />
>             
>         
>         
>     
>     
>     
> 
>
> Any help is greately appreciated...
> 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: Is that compulsory to use Java developing android apps????

2009-11-02 Thread Indicator Veritatis
I have to agree with Justin. It makes no sense to try to use Android
with anything else. By design, the SDK supports Java and supports it
well. Trying to use any other language would be like trying to empty
the ocean with a micropipette.

Since you already know C++, you already know most of the ideas about
how to support OOP/OOD in a programming language; the support in Java
can largely be described as a subset and simplification of the C++ way
of supporting OOP/OOD.

So, for example, C++ has multiple inheritance and 'friend' classes;
Java has neither, but it has the most interesting, useful and safe
instance of multiptle inheritance, the 'interface'.

The Java tutorials on http://java.sun.com/docs/books/tutorial/ are
quite good. Do the Trails under "Covering the Basics" and you will
have a good enough graps of Java to make good progress with the
Android SDK. Even just the first 4 are a good start. But trying to use
Android with less experience than that is bound to be too frustrating.

NB: lost of experience Java programmers recommend running the
tutorials w/o an IDE, using just the JDK and the text editor of your
choice (e.g. emacs). I can't claim that experience for myself, but I
concur, as long as the editor you choose is capable of syntax-based
text coloring.

On Oct 30, 7:22 am, defyer  wrote:
> Hi, there!
> I'm fresh to Android development and am a C/C++ programmer hence not
> quite familiar with Java things
> so, is that requested to use Java here under Android system?
> thanks!!!
>
> Johnson

-- 
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] Can't start apps in emulator

2009-11-02 Thread Justin Anderson
Look at the logcat output
--
There are only 10 types of people in the world...
Those who know binary and those who don't.
--


On Mon, Nov 2, 2009 at 7:56 AM, nickoff  wrote:

> I have Eclipse Galileo with ADT Plugin installed. If i make run, the
> emulator starts but doesn't show the application. What can be wrong?
>
> --
> 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

Re: [android-beginners] Is that compulsory to use Java developing android apps????

2009-11-02 Thread Justin Anderson
Ummm yes you have to use Java.  Have you read the docs?

Also, there are several threads already about integrating (to a certain
degree) C/C++ code using the NDK.  Just search for C++.

Thanks,
Justin

--
There are only 10 types of people in the world...
Those who know binary and those who don't.
--


On Fri, Oct 30, 2009 at 12:22 AM, defyer  wrote:

> Hi, there!
> I'm fresh to Android development and am a C/C++ programmer hence not
> quite familiar with Java things
> so, is that requested to use Java here under Android system?
> thanks!!!
>
> Johnson
>
> --
> 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

Re: [android-beginners] Installing Eclipse and Android etc WOES!!!

2009-11-02 Thread Justin Anderson
Try using http instead of https

--
There are only 10 types of people in the world...
Those who know binary and those who don't.
--


On Fri, Oct 30, 2009 at 4:13 AM, elpuerco wrote:

> Hi,
>
> I am just about ready to throw my computer out of the window due to
> the problems I am having just trying to get this stuff setup let alone
> start coding!
>
> Everything I try to do just error when trying to install the ADT or
> update SDK via update manager errors!
>
> Is anyone actually using this stuff?
>
> https://dl-ssl.google.com/android/eclipse/ or
> http://dl-ssl.google.com/android/eclipse/
> constantly gives me server not found or connection failure.  I have
> also got colleagues to start from scratch and try it to ensure it is
> not me but they get the same!
>
> --
> 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@googlegroups.com

2009-11-02 Thread Jeffrey Blattman
well ... what carrier was the phone made for?

i know at&t and t-mo's 3g networks are not compatible. so if it's locked 
to say t-mo and you want to unlock it and use it on at&t, you won't get 
3g (you'll get edge only). if you are just staying with t-mo (or 
whoever), then unlocking won't affect it.


On 11/1/09 11:20 PM, baddestguy wrote:
> Hey Jeffery, If i were to unlock my motorola cliq would the 3g
> coverage, mms and other stuff still work on my t-mobile?
> Thanks!!!
>
>
>
>
> On Oct 17, 6:35 pm, Jeffrey Blattman
> wrote:
>
>> that's how unlocking works for many other smartphones ... pay some shady
>> company $5 to $30  and get a code in the mail in 24 hours or less. it's
>> how i unlocked my g1.
>>
>> On 10/17/09 4:15 PM, Vladimir Kelman wrote:
>>
>>  
>>> BTW, I found this... may be a scam, what you think?
>>>
>>  
>>> http://cgi.ebay.com/%3D%3DUNLOCK-CODE-FOR-T-MOBILE-MOTOROLA-CLIQ%3D%3...
>>>
>>  
>>> On Oct 17, 5:28 pm, Vladimir Kelmanwrote:
>>>
>>  
 I'd be happy to be able to unlock Motorola Cliq and to use with AT&T.
 Any experience with that? (It was easy 
 enoughhttp://pro-thoughts.blogspot.com/2009/09/how-to-upgrade-android-devph...
 to set up Android Dev Phone 1 (HTC) to work in AT&T, except that
 Internet is a bit slow, because AT&T uses non-compatible frequency...)
  
>> --
>>  
>

-- 

-- 
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] Slow emulator

2009-11-02 Thread Jeffrey Blattman
on my mac, i find the emulator runs at about the same speed as my phone. 
i don't know if that's by design or just a coincidence. how slow is "slow"?

On 11/1/09 1:44 PM, Curran wrote:
> Hi guys,
>
> Pretty new to the whole Android idea, I am buying the HTC hero soon
> and would quite like to develop for it. I have found on my PC that the
> emulator runs really slowly- to get to actually being able to use my
> app when emulating takes around a minute and a half. Can anyone
> suggest why? I use Eclipse, with Windows 7 and a good-but-not-amazing
> spec laptop. Please help! 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] Calling all users!

2009-11-02 Thread MellyCantu
Hello guys,
I am currently with a strong Wireless Telecom company in Dallas, TX.
They have several entry level positions with anyone who has worked on
any projects with Android and/or LiMo.

Please feel free to contact me at melissaca...@worldlink-us.com

Thank you

Melissa Cantu
melissaca...@worldlink-us.com

-- 
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] Cannot see map in my mobile device

2009-11-02 Thread newbie123
Hello,
THis is my first time deling with MapActivity and I was able to work
the MapView example , go it to compile and launched it on my device,
but I dont see it displaying any maps. It just shows the white screen
with zoom button an d the overlay drawable png image I have. can any
one tell me whats wrong.

Here's my class file MapView class file.

package com.example.hellomap;

import java.util.List;

import com.google.android.maps.GeoPoint;
import com.google.android.maps.MapActivity;
import com.google.android.maps.MapController;
import com.google.android.maps.MapView;
import com.google.android.maps.Overlay;
import com.google.android.maps.OverlayItem;

import android.graphics.drawable.Drawable;
import android.os.Bundle;
import android.widget.LinearLayout;
import android.widget.ZoomControls;


public class mymap extends MapActivity {
List mapOverlays;
Drawable drawable;
mapOverlay itemizedOverlay;
LinearLayout linearLayout;
MapView mapView;
ZoomControls mZoom;

/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.mymap);
linearLayout = (LinearLayout) findViewById(R.id.zoomview);
mapView = (MapView) findViewById(R.id.mapview);
mZoom = (ZoomControls) mapView.getZoomControls();

linearLayout.addView(mZoom);

mapOverlays = mapView.getOverlays();
drawable = this.getResources().getDrawable(R.drawable.man);
itemizedOverlay = new mapOverlay(drawable);

GeoPoint point = new GeoPoint(1924,-9912);
OverlayItem overlayitem = new OverlayItem(point, "", "");

itemizedOverlay.addOverlay(overlayitem);
mapOverlays.add(itemizedOverlay);
}

@Override
protected boolean isRouteDisplayed() {
return false;
}

}

Overlay Class file:

package com.example.hellomap;

import java.util.ArrayList;

import android.graphics.drawable.Drawable;

import com.google.android.maps.ItemizedOverlay;
import com.google.android.maps.OverlayItem;

public class mapOverlay extends ItemizedOverlay {

private ArrayList mOverlays = new ArrayList
();

public mapOverlay(Drawable defaultMarker) {
super(boundCenterBottom(defaultMarker));
// TODO Auto-generated constructor stub
}


@Override
protected OverlayItem createItem(int arg0) {
 return mOverlays.get(arg0);
}

@Override
public int size() {
return mOverlays.size();
}

public void addOverlay(OverlayItem overlay) {
mOverlays.add(overlay);
populate();
}

}

Manifest File


http://schemas.android.com/apk/res/android";
  package="com.example.hellomap"
  android:versionCode="1"
  android:versionName="1.0">














Any help is greately appreciated...
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] Installing Android Tools in Eclipse on Ubuntu

2009-11-02 Thread MrBaseball34
Ubuntu 9.10 (Karmic Koala) hosted in VirtualBox VM on WinXP SP3
Eclipse 3.5.1

Was able to install the SDK but cannot install the Android tols in
Eclipse.
I enter https://dl-ssl.google.com/android/eclipse/, the little
progress bar goes at the bottom/right but the Next button never gets
enabled and it doesn't show any results.

What could be the problem?

-- 
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] Cannot debug using emulator with DROID skin

2009-11-02 Thread Zookie
Just setup Eclipse, ADT, SDK, and DROID skin.  Set path to include SDK
tools directory.

Wrote the Hello World (Hello Android) app.  I can run the app,
emulator starts, but app does not start.  If I go into applications, I
can manually run the application and it works properly.  The app
should be loading as the documentation suggests.

I then added the null pointer reference and a breakpoint to test
debugging.

When I debug, same thing happens.  Emulator loads, app does not load.
If i manually run the app, it does not break at the breakpoint.

When I debug, I get an error in Eclipse:
Emulator]emulator: ERROR: unexpected qemud char. channel close
HelloAndroid]emulator-5554 disconnected!  Cancelling
'com.test.helloandroid.HelloAndroid acitivity launch'!


-- 
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] BE:Display resolution of android

2009-11-02 Thread Sagar Gajjar
Hi friends,
   I am new to android and I m not having much knowledge about android. 
What is the maximum resolution I can get from android for video and if I want 
to increase resolution what changes I need to do. 

Regards,
Sagar Gajjar

-- 
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] Can't start apps in emulator

2009-11-02 Thread nickoff
I have Eclipse Galileo with ADT Plugin installed. If i make run, the
emulator starts but doesn't show the application. What can be wrong?

-- 
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: SDK Setup on Windows

2009-11-02 Thread mellery451
On Nov 1, 10:31 pm, Raphael  wrote:
> On Thu, Oct 29, 2009 at 10:20 AM, mellery451  wrote:
>
> > sorry for the delay in responding. Here is the output:
>
> > C:\android\android-sdk-windows>tools\android.bat
> > Starting Android SDK and AVD Manager
> > Error: Error parsing the sdk.
> > Error: C:\android\android-sdk-windows\platforms is missing.
> > Error: Unable to parse SDK content.
>
> Thanks. It looks like you don't have a "platforms" folder in your SDK
> folder. The SDK requires 3 folders there: tools, add-ons and
> platforms.
>
> Do you have them there? If you create them, does that make the SDK
> Setup.exe work?
>
> R/


I did not have those folders present. I've manually created them and
now the setup launches fine. I'm getting a download error for
repository.xml now, but I'll search around to see if I can find a
resolution for that. Thanks!

-Mike

-- 
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] ADT Plugin for Eclipse on Ubuntu 9.10

2009-11-02 Thread Waspinator
I can't install the ADP plugin for eclipse 3.5 on Ubuntu 9.10. My
first problem was that http://dl-ssl.google.com/android/eclipse/ was
not checked, and I would get an error. Once I did that, It let me
click next and it progresses to 64%, and asks me

Warning: You are installing software that contains unsigned content.
The authenticity or validity of this software cannot be established.
Do you want to continue with the installation?

The progress bar rapidly goes to 100%

and then I get the following error:

An error occurred while installing the items
  session context was:(profile=PlatformProfile,
phase=org.eclipse.equinox.internal.provisional.p2.engine.phases.Install,
operand=null --> [R]org.eclipse.ant.ui 3.4.1.v20090901_r351,
action=org.eclipse.equinox.internal.p2.touchpoint.eclipse.actions.InstallBundleAction).
  The artifact file for osgi.bundle,org.eclipse.ant.ui,
3.4.1.v20090901_r351 was not found.

-- 
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] KeyboardView issue

2009-11-02 Thread Cristei Alexandru
Hello,

I am trying to create my own keyboard because I need it in one of my
application. The problem is when I can seem to get the KeyboardView to
get displayed without an exception.
I tried two ways:
1.
 - I had the KeyboardView in my main.xml layout file:
   ...
   
  ...
- in the layout folder I wrote the keyboard layout file:
   
   http://schemas.android.com/
apk/res/android"
  android:id="@+id/mykeyboard"
  android:keyWidth="50px"
  android:keyHeight="50px"
  android:horizontalGap="2px"
  android:verticalGap="2px" >
   
 
   
   
- in onCreate I had:
  setContentView(R.layout.main);

2.
   - I commented the keyboardview from main.xml , got the LinearLayout
object from main.xml and tryed to add KeyboardView from code:
   myLayout.addView(new KeyboardView(getApplicationContext
(), null));

In any case I got the same IllegalArgumentException. I think somehow
the KeyboardView tries to grab more pixels than it got. (
http://developer.android.com/reference/android/graphics/Bitmap.html#createBitmap(int,%20int,%20android.graphics.Bitmap.Config)
)


11-02 11:49:22.638: ERROR/AndroidRuntime(340): Uncaught handler:
thread main exiting due to uncaught exception
11-02 11:49:22.669: ERROR/AndroidRuntime(340):
java.lang.IllegalArgumentException: width and height must be > 0
11-02 11:49:22.669: ERROR/AndroidRuntime(340): at
android.graphics.Bitmap.nativeCreate(Native Method)
11-02 11:49:22.669: ERROR/AndroidRuntime(340): at
android.graphics.Bitmap.createBitmap(Bitmap.java:468)
11-02 11:49:22.669: ERROR/AndroidRuntime(340): at
android.inputmethodservice.KeyboardView.onBufferDraw(KeyboardView.java:
588)
11-02 11:49:22.669: ERROR/AndroidRuntime(340): at
android.inputmethodservice.KeyboardView.onDraw(KeyboardView.java:579)
11-02 11:49:22.669: ERROR/AndroidRuntime(340): at
android.view.View.draw(View.java:6536)
11-02 11:49:22.669: ERROR/AndroidRuntime(340): at
android.view.ViewGroup.drawChild(ViewGroup.java:1526)
11-02 11:49:22.669: ERROR/AndroidRuntime(340): at
android.view.ViewGroup.dispatchDraw(ViewGroup.java:1256)
11-02 11:49:22.669: ERROR/AndroidRuntime(340): at
android.view.View.draw(View.java:6539)
11-02 11:49:22.669: ERROR/AndroidRuntime(340): at
android.view.ViewGroup.drawChild(ViewGroup.java:1526)
11-02 11:49:22.669: ERROR/AndroidRuntime(340): at
android.view.ViewGroup.dispatchDraw(ViewGroup.java:1256)
11-02 11:49:22.669: ERROR/AndroidRuntime(340): at
android.view.View.draw(View.java:6539)
11-02 11:49:22.669: ERROR/AndroidRuntime(340): at
android.view.ViewGroup.drawChild(ViewGroup.java:1526)
11-02 11:49:22.669: ERROR/AndroidRuntime(340): at
android.view.ViewGroup.dispatchDraw(ViewGroup.java:1256)
11-02 11:49:22.669: ERROR/AndroidRuntime(340): at
android.view.View.draw(View.java:6539)
11-02 11:49:22.669: ERROR/AndroidRuntime(340): at
android.widget.FrameLayout.draw(FrameLayout.java:352)
11-02 11:49:22.669: ERROR/AndroidRuntime(340): at
android.view.ViewGroup.drawChild(ViewGroup.java:1526)
11-02 11:49:22.669: ERROR/AndroidRuntime(340): at
android.view.ViewGroup.dispatchDraw(ViewGroup.java:1256)
11-02 11:49:22.669: ERROR/AndroidRuntime(340): at
android.view.View.draw(View.java:6539)
11-02 11:49:22.669: ERROR/AndroidRuntime(340): at
android.widget.FrameLayout.draw(FrameLayout.java:352)
11-02 11:49:22.669: ERROR/AndroidRuntime(340): at
com.android.internal.policy.impl.PhoneWindow$DecorView.draw
(PhoneWindow.java:1830)
11-02 11:49:22.669: ERROR/AndroidRuntime(340): at
android.view.ViewRoot.draw(ViewRoot.java:1348)
11-02 11:49:22.669: ERROR/AndroidRuntime(340): at
android.view.ViewRoot.performTraversals(ViewRoot.java:1113)
11-02 11:49:22.669: ERROR/AndroidRuntime(340): at
android.view.ViewRoot.handleMessage(ViewRoot.java:1632)
11-02 11:49:22.669: ERROR/AndroidRuntime(340): at
android.os.Handler.dispatchMessage(Handler.java:99)
11-02 11:49:22.669: ERROR/AndroidRuntime(340): at
android.os.Looper.loop(Looper.java:123)
11-02 11:49:22.669: ERROR/AndroidRuntime(340): at
android.app.ActivityThread.main(ActivityThread.java:4310)
11-02 11:49:22.669: ERROR/AndroidRuntime(340): at
java.lang.reflect.Method.invokeNative(Native Method)
11-02 11:49:22.669: ERROR/AndroidRuntime(340): at
java.lang.reflect.Method.invoke(Method.java:521)
11-02 11:49:22.669: ERROR/AndroidRuntime(340): at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run
(ZygoteInit.java:860)
11-02 11:49:22.669: ERROR/AndroidRuntime(340): at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
11-02 11:49:22.669: ERROR/AndroidRuntime(340): at
dalvik.system.NativeStart.main(Native Method)

-- 
You received this 

[android-beginners] Error with Eclipse

2009-11-02 Thread 8bit
When I go to Window > Preferences > Android I get this issue:

[2009-11-01 19:48:56 - ddms]Could not open Selected VM debug port
(8700). Make sure you do not have another instance of DDMS or of the
eclipse plugin running. If it's being used by something else, choose a
new port number in the preferences.

And when I select my SDK I still get "No target available" in the
target list.

Because of this I am unable to create a new Android project.

Also, when I select Preferences > Android > DDMS I get an error:

"An error has occurred. See error log for more details."

I'm running Linux Mint 7 and Eclipse 3.2.2.

-- 
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 2.0 SDK is here!

2009-11-02 Thread Bilthon
I was having the exact problem, until I solved it by downloading the
eclipse plug-in. Once the plug-in was installed, I realized that if
you go to the eclipse menu and select "Window"->"Android SDK and AVD
Manager" (This is all using eclipse Galileo) you get the same
configuration window as if you go through the /tools directory and
execute android. Except that (I don't know why) this way you not only
see more available packages, as you can also download at least the
latest SDK Platform Android 2.0.

Hope it helps
Nelson
PS. I'm running Ubuntu 8.10 Intrepid

On Oct 28, 8:32 am, Maxood  wrote:
> I am getting the following messages after
>
> Done. Nothing was installed.
>
> Downloading SDK Platform Android 2.0, API 5, revision 1
> SSL peer shut down incorrectly
>
> Whats the solution?
> On Oct 27, 11:16 am, Jeffrey Blattman 
> wrote:
>
> > new and updated tools. regardless of the SDK version, you can always
> > develop your app to target previous SDK versions. in your manifest, look
> > for the line,
>
> > 
>
> > 3 is for 1.5, 4 for 1.6 ...
>
> > On 10/27/09 10:42 AM, Matt Raffel wrote:
>
> > > how does this apply if my phone is currently 1.5 and I wanted my app to
> > > work on it?  Do I stick to 1.5?
>
> > > Matt
>
> > > Xavier Ducrohet wrote:
>
> > >> Hello everyone!
>
> > >> We've just announced the Android 2.0 SDK
> > >>http://android-developers.blogspot.com/2009/10/announcing-android-20-...
>
> > >> If you already have the 1.6 SDK, note that you can simply use the SDK
> > >> Manager to add Android 2.0 to your SDK. Make sure you also get the new
> > >> SDK Tools (revision 3), as the SDK Manager in revision 2 (the one that
> > >> shipped with 1.6) doesn't enforce dependencies between platforms and
> > >> Tools (fixed in rev 3)
>
> > >> For more information about using the SDK Manager, see:
> > >>http://developer.android.com/sdk/adding-components.html
>
> > >> Have fun!
> > >> Xav
>
> > --

-- 
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@googlegroups.com

2009-11-02 Thread baddestguy
Hey Jeffery, If i were to unlock my motorola cliq would the 3g
coverage, mms and other stuff still work on my t-mobile?
Thanks!!!




On Oct 17, 6:35 pm, Jeffrey Blattman 
wrote:
> that's how unlocking works for many other smartphones ... pay some shady
> company $5 to $30  and get a code in the mail in 24 hours or less. it's
> how i unlocked my g1.
>
> On 10/17/09 4:15 PM, Vladimir Kelman wrote:
>
> > BTW, I found this... may be a scam, what you think?
>
> >http://cgi.ebay.com/%3D%3DUNLOCK-CODE-FOR-T-MOBILE-MOTOROLA-CLIQ%3D%3...
>
> > On Oct 17, 5:28 pm, Vladimir Kelman  wrote:
>
> >> I'd be happy to be able to unlock Motorola Cliq and to use with AT&T.
> >> Any experience with that? (It was easy 
> >> enoughhttp://pro-thoughts.blogspot.com/2009/09/how-to-upgrade-android-devph...
> >> to set up Android Dev Phone 1 (HTC) to work in AT&T, except that
> >> Internet is a bit slow, because AT&T uses non-compatible frequency...)
>
> --

-- 
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: Audio Stream Processing

2009-11-02 Thread Tim
You can write native functions using the NDK. It should work on any
android phone. The only downside to this approach is that it can be
tricky to transfer large amounts of data between the Java VM and you
native code quickly.

See http://developer.android.com/sdk/ndk/1.6_r1/index.html

On Nov 1, 5:08 pm, heteroskedasicity 
wrote:
> On Oct 30, 5:40 pm, "Roman ( T-Mobile USA)" 
> mobile.com> wrote:
> > On SDK level you won't find any API support to render your audio
> > stream. If you want to do this, you have to do some native coding.
>
> Thanks Roman.  Got a link to where I could begin exploring that
> possibility?
>
> Would such an API enhancement need 'phone manufacturer cooperation in
> order for it to be accessible to third party apps?  Or would it be
> possible to retrofit it into an existing Android based product?

-- 
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: Can't run application in emulator from eclipse

2009-11-02 Thread marc.immediato
I'm having the same problem on a Mac running Snow Leopard.  Can't seem
to find a solution either.

On Oct 25, 8:06 pm, alanlight  wrote:
> Eclipse 3.5
> Android SDK 1.6
> Windows XP
>
> When attempting to run a simple HelloAndroid application, the emulator
> starts up and then my application will fail to run and gives the
> following message:
>
> emulator-5554disconnected! Cancelling
> 'com.alanlight.hello.HelloAndroid activity launch'!
>
> I've also tried to start the emulator first, but curiously it doesn't
> show up under "choose a running Android device'.
>
> I've scoured the forums, and others seem to have the same problem, but
> I've yet to see a solution.

-- 
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] animated splash example ?

2009-11-02 Thread zw
Hi Gurus

Could someone share his/her simple sample code that demonstrates how
an application animated splash is done ?
I don't mean the boot-screen splash but the application's.

Sample code would be nice.

Sincerely

-- 
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] Rounded corners for EditText

2009-11-02 Thread Mark Murphy
westmeadboy wrote:
> I have an EditText view and would like to make the corners more
> rounded.
> 
> How can this be done?

Create your own custom StateListDrawable to serve as the background. The
existing background should be in the Android source code -- clone that,
then modify the .9.png files as desired.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

_Android Programming Tutorials_ Version 1.0 Available!

-- 
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] AAPT usage different between 1.1 and 1.5

2009-11-02 Thread BallFlanders
Hello there,


I used an build.xml file for building projects with ant with 1.1 sdk.
When wanted to switch to 1.5_1 or 1.5_3 SDK, the aapt located now
under platforms\android-1.5\tools is not working with the build.xml.

The target for aapt is:
















This one worked and still works perfectly with the aapt under 1.1 sdk,
but not with the aapt under 1.5 sdk.
The error message i receive is,

[exec] ERROR: failed opening/creating 'res/raw/whatever.mp3' as Zip
file

I do have an mp3 file in the res\raw folder as instructed by the docs,
and the same project structure builds fine under eclipse.
Unfortunately, with ant it doesn't.

Also noticed that, even if another aaps file is in the platform
\android1.1\tools directory in 1.5 sdk, that file is different from
the one included in \tools under 1.1 sdk, and it's giving the same
error message.

Can someone help me out with this?

Thank you 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: Rank Newbie Trying to Start with 2.0

2009-11-02 Thread Joshua
I'm also stuck on this

On Oct 29, 12:15 pm, DrOrb  wrote:
> Maybe my timing is terrible, but I attempted to install Eclipse 
> andAndroidPlatform 2.0 from scratch.
>
> I installed the R3 SDK and Eclipse. When I ran the Eclipse'sAndroid
> SDK and AVP Manager, the https: URL didn't work, so I added the non-
> SSL http: URL and saw some components, butnoplatforms.
>
> When I attempt to initiate anAndroidProject, 'NoSDKTargetAvailable' is 
> displayed.
>
> Can you give me a nudge?
>
> 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


Re: [android-beginners] Re: SDK Setup on Windows

2009-11-02 Thread Shuo HUANG
I'm having the same problem. Get nothing so far.

On Mon, Nov 2, 2009 at 12:31 AM, Raphael  wrote:

> On Thu, Oct 29, 2009 at 10:20 AM, mellery451  wrote:
> >
> > sorry for the delay in responding. Here is the output:
> >
> > C:\android\android-sdk-windows>tools\android.bat
> > Starting Android SDK and AVD Manager
> > Error: Error parsing the sdk.
> > Error: C:\android\android-sdk-windows\platforms is missing.
> > Error: Unable to parse SDK content.
>
> Thanks. It looks like you don't have a "platforms" folder in your SDK
> folder. The SDK requires 3 folders there: tools, add-ons and
> platforms.
>
> Do you have them there? If you create them, does that make the SDK
> Setup.exe work?
>
> R/
>
> --
> 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

Re: [android-beginners] Starting a service from top-level launcher

2009-11-02 Thread Mark Murphy
Anders Feder wrote:
> I am trying to make a 'headless' (i.e. UI-less) application. Is it
> possible to start a service in my application from the top-level
> launcher (the one accessed from the Android home screen) directly, that
> is, without the launcher starting an activity which then start the service?

Sorry, the launcher only launches activities.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

Android App Developer Training: http://commonsware.com/training

-- 
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] Could not open Selected VM debug port (8700). [error]

2009-11-02 Thread 8bit
When I go to Window > Preferences > Android I get this issue:

[2009-11-01 19:48:56 - ddms]Could not open Selected VM debug port
(8700). Make sure you do not have another instance of DDMS or of the
eclipse plugin running. If it's being used by something else, choose a
new port number in the preferences.

And when I select my SDK I still get "No target available" in the
target list.

Because of this I am unable to create a new Android project.

Also, when I select Preferences > Android > DDMS I get an error:

"An error has occurred. See error log for more details."

I'm running Linux Mint 7 and Eclipse 3.2.2.

-- 
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: Problem with Ubuntu 9.10? Please read!

2009-11-02 Thread Songmak
Hi Xavier,

This workaround worked for me to get SDK up an running on Ubuntu 9.10
but now when I try to create an Android Project in Eclipse a Target
cannot be selected.  It appears to be a UI issue since I am able to
see the very top of the header line.  Not being able to select a
target does not allow me to move forward with the project creation.

Has anyone or is anyone experiencing the same issue?

Kevin

On Nov 2, 3:48 pm, Xavier Ducrohet  wrote:
> Hello everyone,
>
> several people are reporting problems when using the SDK manager with
> ubunto 9.10
>
> We are looking into it, but some people found a workaround:
> In your terminal run
>     export GDK_NATIVE_WINDOWS=true
>
> and then run your android tools.
>
> For more information and links to some related bugs 
> seehttp://groups.google.com/group/android-developers/msg/4d575f3ae8250312
>
> Xav
> --
> Xavier Ducrohet
> Android SDK Tech Lead
> Google Inc.
>
> Please do not send me questions directly. 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


Re: [android-beginners] Re: Very specific question about Foreground / Background tasks...

2009-11-02 Thread Mark Murphy
Indicator Veritatis wrote:
> Thank you for a useful post. But it raises a question, one which I am
> sure the OP will also find relevant: how do you know that an Service's
> process will not be destroyed by Android (when it runs low on memory)
> also?

It will.

> Please note that this does not explain how the system decides that the
> Service is no longer used. But without that information, putting the
> task in a Service instead of an Activity accomplishes nothing in terms
> of protecting it from Android deciding to kill it.

Nothing in Android is immune "from Android deciding to kill it".

http://www.androidguys.com/2009/09/09/diamonds-are-forever-services-are-not/

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

_Android Programming Tutorials_ Version 1.0 Available!

-- 
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: Very specific question about Foreground / Background tasks...

2009-11-02 Thread tob
Thanks Ver. and Lance...

If the funding comes through for this project I will be jumping in
with both feet, held nose, and eyes WIDE open  But it was hard to
commit to the "real goal" not knowing if Android would even allow me.
(As I originally said, I had gone down the iPhone path looking for the
Background / Foreground notion in that SDK and when I couldn't find
it; I started asking DIRECTLY and got so much "pushback" it surprised
me. I understand that some might not want to "just giveaway" hard
learned "secrets" but, making a living myself for the past 25 years as
a custom developer has never stopped me from offering easy advice to
help someone along. The SDK FAN BOYs seem to carry their APPLE-IS_BEST
attitude into the development side too. And this was very
disappointing to me.)

So I thought I'd just come right out and ask ...  so, many thanks for
your reasoned and helpful responses.

And BTW,  I had to laugh a bit (sorry) when you both gave detailed
responses about the TIMER --- as I said that was an made-up-example to
give you some insight -- its NOT the timer I need at all but a
different subsystem (and am held to NDA constraints so I was NOT able
to use the EXACT subsystem as an example) but from your responses I am
confident that it is HIGHLY LIKELY that I will be able to get to what
I need and run it in the "background."

I have seen in some other "android-beginners" threads that there are
several useful android tutorial and code-example websites and I shall
take full advantage of them as well -- I have a lot of experience in
dotNet (both desktop and web(aspx) side) and hopefully the object
orientation experience will prove useful as I "mentally convert"
dotNet syntax into JAVA... should be fun.

Thanks, again for all the help.
tob


On Nov 1, 6:26 am, Lance Nanek  wrote:
> In Android a service can be used to perform work in the background
> while the user is using other 
> apps:http://developer.android.com/intl/fr/reference/android/app/Service.html
>
> If the work should be done at a certain time, then there is the
> AlarmManager:http://developer.android.com/intl/fr/reference/android/app/AlarmManag...
>
> Using the Timer and TimerTask classes in your app would not allow you
> to reliably perform work while other apps are being used. This is
> because Android may decide to kill the process for an app that is in
> the background. This would interfere with the thread used by the Timer
> class. A new process would only get created when the app was again
> requested by the user.
>
> The process for a service may be killed as well, but the system will
> try to restart that on its own. Background apps are killed before
> services when resources are needed, so it is less likely as well.
>
> That said, just reporting to the user the elapsed time between uses of
> an app requires no background work at all. Just store when the app was
> last used and compare with that when it is used again.
>
> On Nov 1, 3:39 am, Indicator Veritatis  wrote:
>
>
>
> > Richard-
>
> > Your answer is true, and even helpful. But I fear it will sound too
> > much like the "fan-boy-turned developer demanding he read 12 gazillion
> > pages".
>
> > Yes, he should read the fundamentals, he should also do some of the
> > elementary tutorials, especially the classic "Hello World" in its
> > "Hello Android" incarnation. But we could answer his questions a
> > little more directly, too.
>
> > In particular, in the case of his specific example of the app using
> > the timer, the answer is yes. Any Activity can relinquish control of
> > the screen to be woken up by a timer event. The specifics of how this
> > will be done, however, can only be explained once he has read the
> > 'Fundamentals' and knows what an 'Activity' is, what an 'Intent' is,
> > and how to filter on intents or listen for Broadcasts.
>
> > Unfortunately, the Fundamentals section says precious little about how
> > to use the Timer. For that, he will have to go to the API reference
> > and look at the Timer and TimerTask classes.
>
> > We cannot tell him how to use which of these, he will have to make
> > that decision for himself based on the specifics of his planned
> > application. But we can at least point him  in the right direction.
>
> > I hope this post will accomplish that.
>
> > On Oct 30, 1:33 am, RichardC  wrote:
>
> > > Yes, and here is one page to get you 
> > > started:http://developer.android.com/intl/fr/guide/topics/fundamentals.html
>
> > > --
> > > RichardC
>
> > > On Oct 29, 2:24 pm, tob  wrote:
>
> > > > Hi,
>
> > > > I started down the road towards an iPhone app but was dismayed by so
> > > > many things (e.g.  you do not have access to some very fundamental
> > > > aspects of the device such as enabling/disabling Bluetooth, EDGE, WiFi
> > > > subsystems; you cannot run your app 'in the background', and, finally,
> > > > the arrogance of so many of the developers there.)
>
> > > > Because my knowledge of Android (and even Java) is currently mi

[android-beginners] How to add View on a Map at specific Geopoint?

2009-11-02 Thread mcc
I am able to draw a "info window" like Drawable marker on map by using
itemizedOverlay. But the marker is limited to a single image, I would
like to have put some text, image inside the marker (the info window).
So I decided to add a view to it, but I find no way to do that.

I notice that google places directory have done what I want to do. It
can put a view containing an images, text on the map. Does anyone give
me some hints about how does it do that?

http://sites.google.com/site/placesdirectory/


-- 
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] can't start application in the emulator

2009-11-02 Thread nickoff
I'm using eclipse as IDE. I have last SDK 2.0 installed and eclipse
set up as discribed. I tried different example applications , e.g.
Hello World, Snake. I can compile an application without errors and
start the emulator, but the application doesn't start. I see only the
android desktop.

-- 
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] Help getting platform

2009-11-02 Thread Drew
let me first say that I'm new to Adroid and SDK

Problem: when I try to download the any platform under the "Availible
Packages" section of the Android GUI, it doesn't do anything when I
click "Install Selected". It will get the list and show me what can be
downloaded, but won't actually download it.

What I've done:
Java is installed
the PATH is set in my .bashrc file
added "sdkman.force.http=true" to .android/androidtools.cfg

Any ideas would be appreciated. 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


Re: [android-beginners] Re: SDK r3 on Ubuntu 9.10

2009-11-02 Thread Pete Clare
running eclipse with a shell script of:

export GDK_NATIVE_WINDOWS=1
./eclipse

as per:

http://ubuntuforums.org/showthread.php?t=1285796

and installing all sdk s/w within eclipse seemed to fix it for me.

last time i upgrade the o/s right before i want to do some coding!

-- 
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: Eclipse problem: "R cannot be resolved"

2009-11-02 Thread skyhigh
R.java is a file that the android eclipse plugins creates while
bulding your application.  R.java is created under the "gen"
directory.  This file is generated from the information in the "res"
directory.  If you run select "Project" -> "Clean..." on the eclipse
menu it will remove and then regenerate the R.java file.

The problem "R cannot be resolved" happens when you change your
package name in the AndroidManifest.xml file.  It uses your android
package name to create a subdirectory under the "gen" directory where
it stores the R.java file.

Eclipse may have problems executing clean because it is confused about
where the R.java file is when you have changed the android package
name, you can either rename the subdirectory under gen to match your
new package name, or you can change your package name back to the old
name, do the clean and then change the package name to the new name
you want.  This works best if you stop eclipse from trying to build
while you are changing the package name.  Under the "Project" menu
uncheck the option to "Build Automatically" and also when the
"Clean..." dialog asks if it should "Start a build immediately"
uncheck the box so it doesn't try to build while you are changing the
package name.  After you have changed the name you can turn "Build
Automatically" back on again.

Note that if your AndroidManifest.xml file package name does not match
your java package name eclipse will end up automatically adding an
"import .R;" line in all your .java files
that have any references to R.  If you change your AndroidManifest.xml
package name, sometimes eclipse does not update all of these added
imports.  If that happens use the eclipse refactoring (Keys ALT +
SHIFT + R) to change the import statement in one of your java files to
your new AndroidManifest.xml package name.  It is best to do this
while you have disabled "Build Automatically".

-- 
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] Using XML array in program

2009-11-02 Thread Mats
Hello, I'm still a beginner with android (and also with Java a Little
bit) and i have a problem

i have and XML document in values with an array in it:




-
AP_KEU1-1
AP_KEU1-2
AP_KEU1-3
AP_KEU1-4
AP_KEU1-5
AP_KEU1-6
ATE-ORG1
ATr1a
..



how do i get this in an array that i can use like this in the program:

group[0] = "-"
group[1] = "AP_KEU1-1"
group[2] = "AP_KEU1-2"
group[3] = "AP_KEU1-3"
group[4] = "AP_KEU1-4"
group[5] = "AP_KEU1-5"
group[6] = "AP_KEU1-6"
.

-- 
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: Get an array of colors from an image

2009-11-02 Thread Vootog andarena
hi
if you are using bitmap, use an integer array to store the
bitmap. use bitmap.getPixel() to get the corresponding bitmap in
integer array. By using bitwise rotation operation, we will get RGB
values. (Also byte array can be used). See the code below.

 int[] pix = new int[picw * pich];
bitmap.getPixels(pix, 0, picw, 0, 0, picw, pich);

int R, G, B,Y;

for (int y = 0; y < pich; y++)
for (int x = 0; x < picw; x++)
{
int index = y * picw + x;
int R = (pix[index] >> 16) & 0xff; //bitwise
shifting
int G = (pix[index] >> 8) & 0xff;
int B = pix[index] & 0xff;

//R,G.B - Red, Green, Blue
 //to restore the values after RGB modification, use //
next statement
pix[index] = 0xff00 | (R << 16) | (G << 8) | B;
}



Thanks and Regards,

Andarena Vootog
Vootog Information Systems Pvt Ltd.
www.vootog.com


On Oct 31, 3:25 pm, Farproc  wrote:
> Bitmap bmp = ImageView.getDrawable().getBitmap();
> Then loop through the bitmap with
> Bitmap.getPixel()
>
> On 10月31日, 上午3时50分, Liviu Ungureanu  wrote:
>
> > Hi all!
>
> > I just want to ask if is possible togetthearraywithcolorsfrom a
> > ImageView?
>
> > Thank you!

-- 
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] gridview using array.xml

2009-11-02 Thread rgborn
I am trying to figure out a way to replace the following code in the
ImageAdapter class

private Integer[] mThumbIds = {
R.drawable.sample_2, R.drawable.sample_3,
R.drawable.sample_4, R.drawable.sample_5,
R.drawable.sample_6, R.drawable.sample_7,
R.drawable.sample_0, R.drawable.sample_1,
R.drawable.sample_2, R.drawable.sample_3,
R.drawable.sample_4, R.drawable.sample_5,
R.drawable.sample_6, R.drawable.sample_7,
R.drawable.sample_0, R.drawable.sample_1,
R.drawable.sample_2, R.drawable.sample_3,
R.drawable.sample_4, R.drawable.sample_5,
R.drawable.sample_6, R.drawable.sample_7
};

to retrieve the array data from values/array.xml

Thanks for any help!

Ray.

-- 
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: Problem with ADT plugin in Eclipse Galileo

2009-11-02 Thread Rainer
Guys, did you find a solution already?

I have the same kind of problem:

Running Ubuntu 9.04 + Eclipse 3.5 Galileo.
I installed the Google App Engine Java SDK 1.2.6 plugin, the Google
Plugin for Eclipse 3.5, and the Google Web Toolkit SDK 1.71 plugin.
The installation went ok, and the plugins show up in the list of
installed plugins, but the new project types do not show up in the
File > New > Project list.

I am not able to start a new Google App Engine project :(

Anyone suggestions?

Rainer.

-- 
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: Eclipse problem: "R cannot be resolved"

2009-11-02 Thread skyhigh
R.java is a file that the android eclipse plugins creates while
bulding your application.  R.java is created under the "gen"
directory.  This file is generated from the information in the "res"
directory.  If you run select "Project" -> "Clean..." on the eclipse
menu it will remove and then regenerate the R.java file.

The problem "R cannot be resolved" happens when you change your
package name in the AndroidManifest.xml file.  It uses your android
package name to create a subdirectory under the "gen" directory where
it stores the R.java file.

Eclipse may have problems executing clean because it is confused about
where the R.java file is when you have changed the android package
name, you can either rename the subdirectory under gen to match your
new package name, or you can change your package name back to the old
name, do the clean and then change the package name to the new name
you want.  This works best if you stop eclipse from trying to build
while you are changing the package name.  Under the "Project" menu
uncheck the option to "Build Automatically" and also when the
"Clean..." dialog asks if it should "Start a build immediately"
uncheck the box so it doesn't try to build while you are changing the
package name.  After you have changed the name you can turn "Build
Automatically" back on again.

Note that if your AndroidManifest.xml file package name does not match
your java package name eclipse will end up automatically adding an
"import .R;" line in all your .java files
that have any references to R.  If you change your AndroidManifest.xml
package name, sometimes eclipse does not update all of these added
imports.  If that happens use the eclipse refactoring (Keys ALT +
SHIFT + R) to change the import statement in one of your java files to
your new AndroidManifest.xml package name.  It is best to do this
while you have disabled "Build Automatically"

-- 
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] blackberry messenger

2009-11-02 Thread dlion
my son and wife both have blackberry tours. my son in studying in
england for a year. he and my wife are able to send blackberry
messages (bbms) back and forth for free. i have a samsung 740 and can
only send text messages to him via facebook for free, but the facebook
implementation on my phone is crippled. i looked at the new storm 2,
but i didn't like it, nor do i like the tour.

is there an app available for the new droid for verizon that will
allow instant messaging with blackberry messenger clients? if not,
what would i need to do to create such an app? i have a programming
background (from a previous life, i used visual basic) and i'd like to
explore the possibility of creating such an app.

also, if i did create a droid<->blackberry messenger app, how would i
go about marketing it?

thanks for your help.

david

-- 
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: Eclipse problem: "R cannot be resolved"

2009-11-02 Thread skyhigh
R.java is a file that the android eclipse plugins creates while
bulding your application.  R.java is created under the "gen"
directory.  This file is generated from the information in the "res"
directory.  If you run select "Project" -> "Clean..." on the eclipse
menu it will remove and then regenerate the R.java file.

The problem "R cannot be resolved" happens when you change your
package name in the AndroidManifest.xml file.  It uses your android
package name to create a subdirectory under the "gen" directory where
it stores the R.java file.

Eclipse may have problems executing clean because it is confused about
where the R.java file is when you have changed the android package
name, you can either rename the subdirectory under gen to match your
new package name, or you can change your package name back to the old
name, do the clean and then change the package name to the new name
you want.  This works best if you stop eclipse from trying to build
while you are changing the package name.  Under the "Project" menu
uncheck the option to "Build Automatically" and also when the
"Clean..." dialog asks if it should "Start a build immediately"
uncheck the box so it doesn't try to build while you are changing the
package name.  After you have changed the name you can turn "Build
Automatically" back on again.

Note that if your AndroidManifest.xml file package name does not match
your java package name eclipse will end up automatically adding an
"import .R;" line in all your .java files
that have any references to R.  If you change your AndroidManifest.xml
package name, sometimes eclipse does not update all of these added
imports.  If that happens use the eclipse refactoring (Keys ALT +
SHIFT + R) to change the import statement in one of your java files to
your new AndroidManifest.xml package name.  It is best to do this
while you have disabled "Build Automatically"

-- 
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: Eclipse problem: "R cannot be resolved"

2009-11-02 Thread skyhigh
R.java is a file that the android eclipse plugins creates while
bulding your application.  R.java is created under the "gen"
directory.  This file is generated from the information in the "res"
directory.  If you run select "Project" -> "Clean..." on the eclipse
menu it will remove and then regenerate the R.java file.

The problem "R cannot be resolved" happens when you change your
package name in the AndroidManifest.xml file.  It uses your android
package name to create a subdirectory under the "gen" directory where
it stores the R.java file.

Eclipse may have problems executing clean because it is confused about
where the R.java file is when you have changed the android package
name, you can either rename the subdirectory under gen to match your
new package name, or you can change your package name back to the old
name, do the clean and then change the package name to the new name
you want.  This works best if you stop eclipse from trying to build
while you are changing the package name.  Under the "Project" menu
uncheck the option to "Build Automatically" and also when the
"Clean..." dialog asks if it should "Start a build immediately"
uncheck the box so it doesn't try to build while you are changing the
package name.  After you have changed the name you can turn "Build
Automatically" back on again.

Note that if your AndroidManifest.xml file package name does not match
your java package name eclipse will end up automatically adding an
"import .R;" line in all your .java files
that have any references to R.  If you change your AndroidManifest.xml
package name, sometimes eclipse does not update all of these added
imports.  If that happens use the eclipse refactoring (Keys ALT +
SHIFT + R) to change the import statement in one of your java files to
your new AndroidManifest.xml package name.  It is best to do this
while you have disabled "Build Automatically"

-- 
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: Accessing Market through ACTION_VIEW Intent

2009-11-02 Thread davemac
The problem is the emulator. It doesn't come with Market. And you
can't access Market over the Internet either. Not like you want for
testing purposes. Some time ago there were some versions of Market
floating around that could be installed onto the emulator. I tried one
this morning on the Eclair emulator but it didn't work, so this may
not be an option unless you run an old version of the emulator, but
then your application would not be able to take advantage of anything
newer than that version. Your best bet is to use a real device.

- dave

On Oct 31, 12:09 am, Ryan Rowland  wrote:
> Hello all,
> My application is complete for the most part, I'm trying to add an update
> system similar to the one suggested on the android developer site: Check my
> web server for the current version, and send the user to android market if
> there's an update. However, I keep getting a "market.android.com: Not Found"
> error, the same error I get when I try to view the page on my computer, even
> though I'm passing the command through an ACTION_VIEW Intent as instructed.
> I am testing this on an emulator, not an actual device, so if that is the
> problem please let me know.
>
> Here is the code:
> Intent updateIntent = null;
> updateIntent = new Intent(Intent.ACTION_VIEW,
>                                      Uri.parse(updateURI));
> startActivity(updateIntent);
>
> The updateURI is 
> "http://market.android.com/search?q=pname:com.projects.privatecontacts";. When
> I was testing, the application was published. However, I've since pulled it
> temporarily until I get this figured out.
>
> Does anybody see where my problem is?

-- 
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: SDK r3 on Ubuntu 9.10

2009-11-02 Thread Drew
here's what I've figured out so far guys

The problem with "HTTPS ERROR" is that you need to add the line
""sdkman.force.http=true" to your androidtools.cfg file.

I'm haveing the same issue with it letting me view what updates are
availible but not downloading, if you get an older version of SDK, it
comes with 1.5 and 1.6. The version i found was "android-sdk-
linux_x86-1.6_r1".

After that you have to create the avd through the terminal with
"android create -n  -t <#oftheplatform>"
type "android list" to get what number is what platform.

That's as far as I've gotten so far but I'll keep working on it...



On Oct 31, 3:43 pm, Selmi  wrote:
> same problem. also i noticed that when i set checkbox to use http
> instead of https and press 'save & apply' it still tries to use https.
> and next time i start androidtool its unchecked

-- 
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] Slow emulator

2009-11-02 Thread Curran
Hi guys,

Pretty new to the whole Android idea, I am buying the HTC hero soon
and would quite like to develop for it. I have found on my PC that the
emulator runs really slowly- to get to actually being able to use my
app when emulating takes around a minute and a half. Can anyone
suggest why? I use Eclipse, with Windows 7 and a good-but-not-amazing
spec laptop. Please help! 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


Re: [android-beginners] Re: Android 2.0 SDK is here!

2009-11-02 Thread Francisco Bischoff
Hi Erisa,

Try to click on Install and after, press Enter. It worked for me.

--
Francisco Bischoff
http://www.cirurgiaplastica.pro.br

"O mate está para o gaúcho como o chá para os ingleses, a coca para os
bolivianos, o uísque para os escoceses e o café... para os brasileiros"
-- Eduardo Bueno


On Sat, Oct 31, 2009 at 9:11 PM, erisa  wrote:

> I did a fresh install of the new SDK on an ubuntu 9.10 system and was
> unable to install any components.  I first got the HTTPS SSL error and
> solved that by editing the androidtool.cfg directly to force use of
> http://.  The SDK manager shows all of the packages as available, but
> after checking them and clicking on Install Selected, absolutely
> nothing happens.  No error message and no install.  Something is
> definitely wrong.  Anyone have any ideas?
>
> Bruce
>
> --
> 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: Can't run application in emulator from eclipse

2009-11-02 Thread alanlight
Anybody had any luck with this?
This seems to be a common problem among some people and I just tried
it with SDK 2.0 and got the same results.

On Oct 25, 9:06 pm, alanlight  wrote:
> Eclipse 3.5
> Android SDK 1.6
> Windows XP
>
> When attempting to run a simple HelloAndroid application, theemulator
> starts up and then my application will fail to run and gives the
> following message:
>
> emulator-5554 disconnected! Cancelling
> 'com.alanlight.hello.HelloAndroid activity launch'!
>
> I've also tried to start theemulatorfirst, but curiously it doesn't
> show up under "choose a running Android device'.
>
> I've scoured the forums, and others seem to have the same problem, but
> I've yet to see a solution.

-- 
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] list of best Android Dev forums/discussions

2009-11-02 Thread Mark Murphy
Marton Kodok wrote:
> I am looking to a forum or discussion where there is more activity then
> here.

The Android Google Groups are the world's largest, most active areas for
developer questions and answers.

> As I have some questions, and I want to get answers for them very
> quickly, and I don't want to wait days until I get answers. 

Hire a consultant, so you can make demands on that person's time.

If you want free support, you may have to wait until somebody gets
around to your question, which may be "never" depending on the nature of
the question and your timing/luck.

> Do you know any Android Developer forums/discussions?

Here's one list of developer boards:

http://wiki.andmob.org/discussionboards

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

_Beginning Android_ from Apress Now Available!

-- 
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: SDK r3 on Ubuntu 9.10

2009-11-02 Thread Brian F
No.  That link doesn't help.

On Oct 31, 4:35 pm, Liviu Ungureanu  wrote:
> Hi!
>
>    Maybe this will help 
> :http://androidandme.com/2009/10/news/how-to-install-android-sdk-and-p...
>
> 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] Error occurs when layoutopt is run.

2009-11-02 Thread Ronald Mak
When I run layoutopt, the following error occurs:

Exception in thread "main" java.lang.NoClassDefFoundError: lib
\layoutopt/jar
Caused by: java.lang.ClassNotFoundException: lib\layoutopt.jar
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
Could not find the main class: lib\layoutopt.jar.  Program will exit.

How do I solve this problem? My OS is MS Windows Vista SP1. SDK Tools,
Revision 3.

-- 
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] can't download ADT Eclipse plugin

2009-11-02 Thread Dones
Hi guys, i've just installed Eclipse classic 3.5.1 and i've troubles
downloading the Android ADT Plugin...
When i put the address https://dl-ssl.google.com/android/eclipse/
(with or without "s" in http) nothing is seem to happen...it seems to
loading something (maybe it connects with google server) but nothing
appear in the list of available software below...

Any ideas? I'm using Ubuntu 9.10...

-- 
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: No project types show up in Eclipse 3.5 Galileo

2009-11-02 Thread Rainer
Hi Scott and others,

I have the same problem with Google Web Toolkit and Google App Engine
plugins. The installation of the plugins went ok, they are visible in
the list of installed plugins, but I don't see the project types show
up in the toolbar and menus, even not when I try File > New > Project
> New Project.

I am on Ubuntu 9.04 Desktop and Eclipse 3.5 Galileo.

Any ideas?

On Oct 29, 6:47 pm, "sc...@lazycoder.com" 
wrote:
> After I install the Android tools and plugins in Eclipse 3.5 and
> restart the IDE, when I click on "File" -> "New Project", there is no
> project type for Android application. I have the same problem with the
> Google Web Toolkit and Google App Engine plugins.
>
> If I install the tools in Eclipse 3.4, I get the correct project types
> showing up in the toolbar and menus.
>
> Any ideas? There are no errors during install.

-- 
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: SDK r3 on Ubuntu 9.10

2009-11-02 Thread Brian F
Bruce,

Thanks for the tip.  It looks like someone else posted a similar
suggestion here:
  http://georgia.ubuntuforums.org/showpost.php?p=8202792&postcount=4
Configuring the force http setting in androidtools.cfg seems to have
done the trick for me.  My laptop is currently [slowly] downloading
new bits after I ran 'android update sdk'.

Thanks,
brian

On Oct 31, 4:30 pm, erisa  wrote:
> You are not alone.  I too am trying to get 2.0 running on ubuntu 9.10
> and am having the same problem.  I did add the line
> "sdkman.force.http=true" to .android/androidtools.cfg, which at least
> got me a list of all the available components.  But clicking on
> "Install Selected" produced nothing.  If you find a solution please
> post it here and I will do the same.
>
> Bruce

-- 
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] How to download?

2009-11-02 Thread roly
Hi,
I'd like to download a file (.ics) over http, in background, but I
don't know to do that.
I've tried this tuto: http://developerlife.com/tutorials/?p=369 but it
does'nt work: it says that it c'ant instantiate the type httpClient.

Can anyone give me an example/a solution?
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: How to Replace of existing default Application by the Application created by me without user intervention

2009-11-02 Thread Anne
I need to replace the default Android Home screen.
How can I change the properties of the default Android Screen?.

And One more query that  I had was , is it possible to write an
application (not uses the ResolverActivity Dialog Box) that starts and
activity with some buttons and on click of the button it replaces the
existing home screen with a new home screen application?

Any suggestions would be of great help.

Thanks in Advance.

-Anne


On Oct 29, 4:55 pm, sbruno74  wrote:
> You need to make sure that the activity you want to be the home
> activity is the only one having category MAIN and category LAUNCHER
> properties. It seems that you forgot to remove those properties for
> the previous activity so android doesn't know which one to use a.d ask
> you to make a.choice.
>
> Stéphane
>
> On Oct 29, 12:47 am, Anne  wrote:
>
>
>
> > Hello All,
>
> > I Was trying toreplacetheexistinghomeapplicationwith my home
> >application.
>
> > In the Manifest file of myapplicationI have put the category as
> >DEFAULT.
> > now when the home is launched for the 1st time the Dialogue box
> > (ResolverActivity) pops up askinguserto select adefault
> >application.
>
> > Can any one please tellmeif there is a way to set myapplicationas
> >DefaultApplicationwith outUserIntervention.
> > Some Package manager API that can set myapplicationasdefaultor
> > something like that.
>
> > Thanking you in Anticipation.
>
> > Regards,
> > Anne.- Hide quoted text -
>
> - Show quoted text -

-- 
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] Re: alarm manager confusion

2009-11-02 Thread Jeffrey Blattman
hmmm. i'd suggest not killing any processes. the problem would be if 
under normal OS usage, the alarm is not activated. i can't say i 
understand exactly how the OS handles alarms, but perhaps forcefully 
killing processes interrupts it's workings.

On 10/30/09 4:04 AM, marc wrote:
> 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 aelement, 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: ADT 0.9.4 not working on Mac 10.6 (at least for me)

2009-11-02 Thread Carl
Xav,

Here is the entire log from install until 7:00AM this morning:

FYI - I did change the Java order hoping that might be it. I do have
this running on a beta version of Snow Leopard but I noticed it didn't
have 64-bit Java on that build. Also, I verified that I can run
android and create targets from the command line so it definitely
seems to just be the plug-in that is not working.

Carl

!SESSION 2009-10-28 08:07:57.453
---
eclipse.buildId=M20090917-0800
java.version=1.6.0_15
java.vendor=Apple Inc.
BootLoader constants: OS=macosx, ARCH=x86, WS=cocoa, NL=en_US
Framework arguments:  -product org.eclipse.epp.package.java.product -
keyring /Users/Carl/.eclipse_keyring -showlocation
Command-line arguments:  -os macosx -ws cocoa -arch x86 -product
org.eclipse.epp.package.java.product -keyring /Users/
Carl/.eclipse_keyring -showlocation

!ENTRY org.eclipse.core.net 1 0 2009-10-28 08:08:23.920
!MESSAGE System property http.nonProxyHosts has been set to local|
*.local|169.254/16|*.169.254/16 by an external source. This value will
be overwritten using the values from the preferences
!SESSION 2009-10-28 08:15:18.143
---
eclipse.buildId=M20090917-0800
java.version=1.6.0_15
java.vendor=Apple Inc.
BootLoader constants: OS=macosx, ARCH=x86, WS=cocoa, NL=en_US
Framework arguments:  -product org.eclipse.epp.package.java.product -
keyring /Users/Carl/.eclipse_keyring -showlocation
Command-line arguments:  -os macosx -ws cocoa -arch x86 -product
org.eclipse.epp.package.java.product -keyring /Users/
Carl/.eclipse_keyring -showlocation

!ENTRY org.eclipse.core.net 1 0 2009-10-28 08:15:27.147
!MESSAGE System property http.nonProxyHosts has been set to local|
*.local|169.254/16|*.169.254/16 by an external source. This value will
be overwritten using the values from the preferences

!ENTRY org.eclipse.ui 4 0 2009-10-28 08:17:28.797
!MESSAGE Unhandled event loop exception
!STACK 0
java.lang.NullPointerException
at
com.android.ide.eclipse.adt.internal.wizards.newproject.NewProjectCreationPage.onMinSdkVersionFieldModified
(Unknown Source)
at
com.android.ide.eclipse.adt.internal.wizards.newproject.NewProjectCreationPage.access
$27(Unknown Source)
at
com.android.ide.eclipse.adt.internal.wizards.newproject.NewProjectCreationPage
$12.handleEvent(Unknown Source)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:3543)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1250)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1273)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1079)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:
3441)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3100)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
at org.eclipse.jface.window.Window.open(Window.java:801)
at org.eclipse.ui.actions.NewProjectAction.run(NewProjectAction.java:
117)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
at
org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection
(ActionContributionItem.java:584)
at org.eclipse.jface.action.ActionContributionItem.access$2
(ActionContributionItem.java:501)
at org.eclipse.jface.action.ActionContributionItem$5.handleEvent
(ActionContributionItem.java:411)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:3543)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1250)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1273)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1079)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:
3441)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3100)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:
2405)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
at org.eclipse.core.databinding.observable.Realm.runWithDefault
(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench
(Workbench.java:493)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:
149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start
(IDEApplication.java:113)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run
(EclipseAppHandle.java:194)
at
org.eclipse.core.runtime.internal.adaptor.Eclips

[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


Re: [android-beginners] Re: How to Replace of existing default Application by the Application created by me without user intervention

2009-11-02 Thread Jeffrey Blattman
there are several home replacement apps on the market. you might try 
contacting the developers and seeing if they can give you some pointers, 
or if their apps are open source you could take a look at the source.

On 10/29/09 11:54 PM, Anne wrote:
> I want to replace the Androids Default Home screen with my Home
> Application.
> How can I remove these Properties form the Androids Default Home
> screen?
>
> One more Query I had Was.
> Is it possible to write an application with an Activity containing a
> Button, and on click of the Button the default Home application is
> replaced with my Home Screen Application( not using the
> ResolverActivity Dialogue Box)?
>
> Any suggestions on how to do is appreciated.
>
>   Thanking in Anticipation
> -Anne
>
>
> On Oct 29, 4:55 pm, sbruno74  wrote:
>
>> You need to make sure that the activity you want to be the home
>> activity is the only one having category MAIN and category LAUNCHER
>> properties. It seems that you forgot to remove those properties for
>> the previous activity so android doesn't know which one to use a.d ask
>> you to make a.choice.
>>
>> Stéphane
>>
>> On Oct 29, 12:47 am, Anne  wrote:
>>
>>  
>>> Hello All,
>>>
>>  
>>> I Was trying toreplacetheexistinghomeapplicationwith my home
>>> application.
>>>
>>  
>>> In the Manifest file of myapplicationI have put the category as
>>> DEFAULT.
>>> now when the home is launched for the 1st time the Dialogue box
>>> (ResolverActivity) pops up askinguserto select adefault
>>> application.
>>>
>>  
>>> Can any one please tellmeif there is a way to set myapplicationas
>>> DefaultApplicationwith outUserIntervention.
>>> Some Package manager API that can set myapplicationasdefaultor
>>> something like that.
>>>
>>  
>>> Thanking you in Anticipation.
>>>
>>  
>>> Regards,
>>> Anne.
>>>
>

-- 

-- 
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: Andoird SDK 2.0

2009-11-02 Thread elpuerco
The AVD does not work, period!  I have tried numerous times and all I
get is connection errors!

On Oct 30, 6:38 am, Desu Vinod Kumar  wrote:
> Just go to AVD Manager and Check the Update and do there
>
> On Fri, Oct 30, 2009 at 11:57 AM, Sasikumar.S 
> wrote:
>
>
>
>
>
>
>
> > Hi,
>
> > How to download Andoird SDK 2.0 file...
> > I need Andoird SDK 2.0 like 1.5...
> > I tryed to download that.
> > But it downloaded only 2.0 file updates.
> > we want to update it from 1.5 or 1.6...
>
> > Any one know how to donwload 2.0
> > pls reply to me
>
> > --
> > Thanks & Regards
> > Sasikumar.S
>
> --
> Regards
> ---
> Desu Vinod Kumar
> vinny.s...@gmail.com
> 09176147148

-- 
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: How to Replace of existing default Application by the Application created by me without user intervention

2009-11-02 Thread Anne
I want to replace the Androids Default Home screen with my Home
Application.
How can I remove these Properties form the Androids Default Home
screen?

One more Query I had Was.
Is it possible to write an application with an Activity containing a
Button, and on click of the Button the default Home application is
replaced with my Home Screen Application( not using the
ResolverActivity Dialogue Box)?

Any suggestions on how to do is appreciated.

 Thanking in Anticipation
-Anne


On Oct 29, 4:55 pm, sbruno74  wrote:
> You need to make sure that the activity you want to be the home
> activity is the only one having category MAIN and category LAUNCHER
> properties. It seems that you forgot to remove those properties for
> the previous activity so android doesn't know which one to use a.d ask
> you to make a.choice.
>
> Stéphane
>
> On Oct 29, 12:47 am, Anne  wrote:
>
> > Hello All,
>
> > I Was trying toreplacetheexistinghomeapplicationwith my home
> >application.
>
> > In the Manifest file of myapplicationI have put the category as
> >DEFAULT.
> > now when the home is launched for the 1st time the Dialogue box
> > (ResolverActivity) pops up askinguserto select adefault
> >application.
>
> > Can any one please tellmeif there is a way to set myapplicationas
> >DefaultApplicationwith outUserIntervention.
> > Some Package manager API that can set myapplicationasdefaultor
> > something like that.
>
> > Thanking you in Anticipation.
>
> > Regards,
> > Anne.

-- 
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] Reg the shared user id between application

2009-11-02 Thread raji
Hi,

  I just started with Android.I came across this concept "two
applications to share the same user ID, in which case they will be
able to see each other's files".Have got some silly doubts reg this.
What exaclty does this mean?My basic doubt is if two applications can
share the data's,and that these two application can also co-exist at a
single point of time (say both the app is running), Then how is the
data protected?
Whats is the exact purpose of having two application to share the user-
id?

please help me in understanding this concept.

Regards,
Raji

-- 
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] Importing existing source into NetBeans

2009-11-02 Thread Kevin
Okay, first off, I have used Eclipse and will probably start using it
for Android development, but I've got a machine with netbeans 6.7 on
it, and I thought I'd try it out.
I found a couple of web pages about using existing sources in
netbeans, and I gave it a try.  In a nutshell, here is what I did.

I've installed the nbandroid plugin.  I have also used the package
manager to add all of the different SDK's to the netbeans environment.
I create a new android project in netbeans.  I'm very careful to use
the same package name that is used in the existing source.  For the
purpose of this discussion I'm attempting to import the ApiDemos code
from the android-2.0 samples into netbeans.
After netbeans creates the project, I manually go into the directory
structures, and copy all of the source from the samples directory into
my NetBeansProjects/ApiDemos directory.  I do the same with all of the
res files.

Now when I try to build, I get a bunch of errors that I have traced to
the fact that there is no R.java file created.  I then go to the
command line and try "ant debug", which claims to be creating the
R.java file, but in fact nothing is created.  I have made sure that
all of the tools in the 2.0 sdk are available in the shell where I run
the ant build.

In looking at my build.xml file, it seems to be very sparse, maybe 30
lines or so.

Can anyone spot anything that I have done wrong? Can someone tell me
how to ensure that the build.xml file has been created correctly, and
whether or not they've been successful in generating an R.java file?

If you need more information, I'll be happy to provide it, this really
shouldn't be that hard.

Thanks in advance.

-- Kevin

-- 
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 2.0 SDK is here!

2009-11-02 Thread Archana
I am also facing the same error..."SSL Peer shut down incorrectly"
anybody fixed this error?

On Oct 30, 7:00 am, Jon  wrote:
> I was able to disable the Japanese? characters by going to Settings
> application, then Language & Keyboard settings, and unticking the
> Japanese stuff.
>
> On Oct 29, 5:20 pm, Mitch  wrote:
>
> > My emulator is showing what looks like Chinese characters when I try
> > to enter names into the address book.  Is there a configuration I need
> > to set?
>
> > Is there an emulator user's guide?
>
> > On Oct 28, 6:54 am, donden1  wrote:
>
> > > Same error here... does anyone know how to fix this error or what the
> > > problem is?
>
> > > "SSL Peer shut down incorrectly"
>
> > > On Oct 28, 8:31 am, Dori  wrote:
>
> > > > Exactly the same problem here, any suggestions?
>
> > > > On Oct 28, 10:32 am, Maxood  wrote:
>
> > > > > I am getting the following messages after
>
> > > > > Done. Nothing was installed.
>
> > > > > Downloading SDK Platform Android 2.0, API 5, revision 1
> > > > > SSL peer shut down incorrectly
>
> > > > > Whats the solution?
> > > > > On Oct 27, 11:16 am, Jeffrey Blattman 
> > > > > wrote:
>
> > > > > > new and updated tools. regardless of the SDK version, you can always
> > > > > > develop your app to target previous SDK versions. in your manifest, 
> > > > > > look
> > > > > > for the line,
>
> > > > > > 
>
> > > > > > 3 is for 1.5, 4 for 1.6 ...
>
> > > > > > On 10/27/09 10:42 AM, Matt Raffel wrote:
>
> > > > > > > how does this apply if my phone is currently 1.5 and I wanted my 
> > > > > > > app to
> > > > > > > work on it?  Do I stick to 1.5?
>
> > > > > > > Matt
>
> > > > > > > Xavier Ducrohet wrote:
>
> > > > > > >> Hello everyone!
>
> > > > > > >> We've just announced the Android 2.0 SDK
> > > > > > >>http://android-developers.blogspot.com/2009/10/announcing-android-20-...
>
> > > > > > >> If you already have the 1.6 SDK, note that you can simply use 
> > > > > > >> the SDK
> > > > > > >> Manager to add Android 2.0 to your SDK. Make sure you also get 
> > > > > > >> the new
> > > > > > >> SDK Tools (revision 3), as the SDK Manager in revision 2 (the 
> > > > > > >> one that
> > > > > > >> shipped with 1.6) doesn't enforce dependencies between platforms 
> > > > > > >> and
> > > > > > >> Tools (fixed in rev 3)
>
> > > > > > >> For more information about using the SDK Manager, see:
> > > > > > >>http://developer.android.com/sdk/adding-components.html
>
> > > > > > >> Have fun!
> > > > > > >> Xav
>
> > > > > > --- Hide quoted text -
>
> > > - Show quoted text -

-- 
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: Very specific question about Foreground / Background tasks...

2009-11-02 Thread tob
Thanks, RichardC,

I actually *did* start there and read a bit about various methods
regarding BACKGROUND tasks/services/etc  but was looking for
confirmation from any actual developer that might have used these
features (to ensure they were not "futuristic.")

So now, I see a looming "curve of learning" ahead of me ---  looks
like fun!

thanks again,
tob


On Oct 30, 4:33 am, RichardC  wrote:
> Yes, and here is one page to get you 
> started:http://developer.android.com/intl/fr/guide/topics/fundamentals.html
>
> --
> RichardC
>
> On Oct 29, 2:24 pm, tob  wrote:
>
> > Hi,
>
> > I started down the road towards an iPhone app but was dismayed by so
> > many things (e.g.  you do not have access to some very fundamental
> > aspects of the device such as enabling/disabling Bluetooth, EDGE, WiFi
> > subsystems; you cannot run your app 'in the background', and, finally,
> > the arrogance of so many of the developers there.)
>
> > Because my knowledge of Android (and even Java) is currently minimal,
> > I understand that I may be trashing and smashing terminology such as
> > PROCESS, THREAD, APPLICATION, TASK, SERVICE, ACTIVITY, etc etc etc
>
> > I would (simply) like to understand if I may develop an Android
> > "app" (see Trashing and Smashing note above ;<>)  that can have
> > aspects operating "in the background" while the device is being used
> > in a completely different manner as demanded by the user --- here's
> > one example  -->
>
> > The USER runs my brandy new "App" which monitors the TIMER
> > subsystem... but then (because staring at my App's GUI CLOCK is really
> > boring)  the user then decides to use the "phone" or play a game,
> > etc ...
>
> > Can my App continue monitoring the TIMER subsystem while these other
> > user-initiated activities take "control" ?
>
> > In this example, when the user 'returns' to my App, it could tell him
> > elapsed time since he "originally started" my App.
>
> > I ask this question so bluntly because the iPhone Fan-Boy-turned-
> > developers berated me for not having read all 12 gazzillion pages of
> > documentation first.
>
> > Thanks for any info you can provide...
>
> > tob

-- 
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: sending mock location data to emulator?

2009-11-02 Thread Tim Hutt
2009/10/30 Le Mai Tung :
> Thanks for replying,
> No, I tried turning off all firewalls already. What I want is not the
> correct location data, just get the devices connected and fake any
> location.
>
> So have you tried other methods (ddms). Which one is the easiest way?
> tks.
> Tommy.

No I've only tried 'geo fix' - it seemed the easiest for what I and
you are doing. Not sure what the problem is if you start the emulator
and it isn't listening. What do you see if you run 'netstat -an' in a
command prompt?

-- 
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] Have you ever has a experience with JSP

2009-11-02 Thread bhathiya
What do you think about jsp

-- 
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: How to use external library in Android project

2009-11-02 Thread Sj
Hi, Naveen

I know how to add .jar file in project explorer.
But when Android build the project, it doesn't add the external
class.
That's why the application (which built successfully) got crash when I
run it in the Android emulator.

Any other way you know?

On Oct 30, 6:02 am, Naveen Krishna Ch 
wrote:
> Eclipse provides an option to add the *.jar files in external libraries.
>
> 2009/10/29 Sj 
>
>
>
>
>
> > Hi, Android developers
>
> > I am trying to create very simple 'http client using Jersey API'.
> > So I included Jersey library (such as jsr311-api-1.0.jar) as
> > Referenced Library.
>
> > And my code build well.
> > But when I run it in Android Emulator, it seems the application
> > crashes.
> > The reason seems like ClassLoader of Android can't find the class
> > 'com.sun.jersey.api.client.Client'.
> > Anybody knows how to solve this?
>
> > The code is following.
>
> > package com.example.helloandroid;
>
> > import android.app.Activity;
> > import android.os.Bundle;
> > import android.widget.TextView;
>
> > //Jersey Client API
> > import com.sun.jersey.api.client.Client;
> > import com.sun.jersey.api.client.WebResource;
>
> > public class HelloAndroid extends Activity
> > {
> >    /** Called when the activity is first created. */
>
> >       �...@override
> >    public void onCreate(Bundle savedInstanceState)
> >        {
> >        super.onCreate(savedInstanceState);
> >        TextView tv = new TextView(this);
> >        //tv.setText("Hello, Android");
> >        getHTTPJAXRS(tv);
> >        setContentView(tv);
> >    }
>
> >        public void getHTTPJAXRS(TextView tv)
> >        {
> >                String url = "http://www.google.com/";;
>
> >            Client myClient = Client.create();
> >            WebResource webres = myClient.resource(url);
>
> >            String s = webres.get(String.class);
> >            tv.setText(s);
> >        }
> > }
>
> --
> Shine bright,
> (: Naveen Krishna Ch :)

-- 
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] SOAP on Android

2009-11-02 Thread Sobert
Hi,

I work on an app, and I need to insert new lines on a remote database,
and getting an int from the server.

After a few research, I've found out that it won't be a good thing to
directly connect to the remote database, and I've find that it would
be better to use SOAP or REST.

For my needs (insert in a two-column table, and retrieving a count),
SOAP seems the more accurate choice.

I've then looked forward to script an SOAP web-service in php, and
wrote it. Now I try to access it via android.

I've find this : 
http://groups.google.com/group/android-developers/browse_thread/thread/9b246db7d612a6b5/
but the examples seems undownloadable.

Is this still the way to do ?

Does someone have an example of using this ?

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] Quick contact

2009-11-02 Thread Krzysztof Wolny
Hey

I wonder if there is possibility to handle a quick contact custom IM.

For example, user adds IM type "GG" (most popular IM in Poland) and
the GG number "123456". I want to provide service to:
- show GG icon on quick contact bar
- contact with selected user by given GG number

Can I do that?

I can't find quick contact API or something like that...

-- 
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] No internet connection in emulator

2009-11-02 Thread erisa
After a fresh install of ubuntu 9.10 and the Android SDK, I discovered
that the emulator has no internet access.  All websites produce the
"Page not available" screen when accessed by the Android browser
(1.6).  I do not have a firewall and my internet access from my
computer is fully functional.  Any ideas on trouble shooting?

Bruce

-- 
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] RGB from bitmap

2009-11-02 Thread Jeffrey Blattman
http://developer.android.com/reference/android/graphics/Color.html

On 10/31/09 4:31 AM, Andareena Vootog wrote:
> hi
> if you are using bitmap, use an integer array to store the 
> bitmap. use bitmap.getPixel() to get the corresponding bitmap in 
> integer array. By using bitwise rotation operation, we will get RGB 
> values. (Also byte array can be used). See the code below.
>
>  int[] pix = new int[picw * pich];
> bitmap.getPixels(pix, 0, picw, 0, 0, picw, pich);
>
> int R, G, B,Y;
>
> for (int y = 0; y < pich; y++)
> for (int x = 0; x < picw; x++)
> {
> int index = y * picw + x;
> int R = (pix[index] >> 16) & 0xff; //bitwise shifting
> int G = (pix[index] >> 8) & 0xff;
> int B = pix[index] & 0xff;
>
> //R,G.B - Red, Green, Blue
>  //to restore the values after RGB modification, use 
> //next statement
> pix[index] = 0xff00 | (R << 16) | (G << 8) | B;
> }
>
>
>
> Thanks and Regards,
>
> Andarena Vootog
> Vootog Information Systems  Pvt Ltd.
>
> -- 
> 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: how does one change the font COLOR in an applicaton

2009-11-02 Thread Vootog andarena
Hi,,
 Change the fontcolor of textview or edittext with
android:textcolor="#c". OR
put an xml colors.xml in res\values.

colors.xml
-


   #ff00
   #ff22ff11
   #80ff



Give reference from layout as below

 


Thanks And Regards
Vootog Anderena
www.vootog.com


On Oct 31, 4:30 am, Rc3375  wrote:
> HI EVERYONE,
> How would one go about changing the FONT COLOR in your app??  Most
> font colors are black with a white background with an EdiTText or
> TextView.  Does anyone know of a "LIBRARY" that out there that can be
> used with Eclipse.??
> Thanksrc3375

-- 
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: Arch Linux 64-bit install

2009-11-02 Thread sCrIpT mUnKeE
Were you guys/gals able to get you Android dev environments working
under Archlinxu 64-bit? If not, let me know. I've gut mine up and
working with the 2.0 version of the SDK.

Ken

On Sep 18, 3:34 pm, Lee Jarvis  wrote:
> That's really strange. All that happens when I try to execute one of
> the tools packaged with the SDK is that I get a file not found error,
> regardless of whether this file was executed via the command line or
> via eclipse. It's really annoying, and I'm close to giving up.. Which
> I REALLY don't want to do.
>
> Thanks
>
> On 18 Sep, 15:52, Smelly Eddie  wrote:
>
> > HeyLee
>
> > I am running Ubuntu on a 64bit AMD machine without issues.
>
> > I am using the 64bit version of eclipse with the 32bit version of
> > android sdk(1.5). no issues at all. Though the new sdk 1.6 is out with
> > better screen support (woohoo!)
>
> >http://developer.android.com/sdk/1.6_r1/index.html
>
> > On Sep 17, 4:35 pm,LeeJarvis wrote:
>
> > > So I'm runningArchLinux64-bit and I was curious to see if anyone
> > > else managed to get the SDK up and running on a64-bitArchinstall. I
> > > know there are 32-bit libraries out there but honestly I'm unsure of
> > > what i'd need.
>
> > > I've tried running the binaries but I just get a file not found error,
> > > which is what first made me realize I was using64-bit when the SDK is
> > > built for 32-bit.
>
> > > Can anyone provide anything helpful?
>
> > > 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] How can I install android sdk on windows 7 x64?

2009-11-02 Thread Shuo HUANG
When start the SDK setup.exe, the program is automatically terminated!

Shuo

-- 
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] Cannot create avd

2009-11-02 Thread Evan
I followed the installation instructions and then started reading the
tutorial.

When I executed the line: android create avd --target 2 --name my_avd
I got the below error. I then listed the targets and saw that there
are none.

Did I not install something?

Thank You

--Evan


Microsoft Windows [Version 6.0.6001]
Copyright (c) 2006 Microsoft Corporation.  All rights reserved.

C:\Users\Evan>android create avd --target 2 --name my_avd
Error: Target id is not valid. Use 'android.bat list targets' to get
the target
ids.

C:\Users\Evan>android list targets
Available Android targets:

C:\Users\Evan>

-- 
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: Fresh Android 2.0 instance gives error on Accounts screen

2009-11-02 Thread BK
I guess I don't understand what this means?  I added my Exchange
account using the email app, so I know it exists.  But the contacts
Accounts menu option still crashes like this.

Are you saying we should wait for the r6 build?  Or maybe go back to
r4?

Are there any logs on the sync from Exchange to Android on the Android
emulator?  I'd like to if it's actually working or not.

-- 
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] Emulator Applications Are Missing (Including Account Manager/Calendar)

2009-11-02 Thread BK
I was trying to test out the features of Android 2.0, so I downloaded
the SDK and fired up a 2.0 instance.  Alas, I can't find things like
the Calendar application, nor the Accounts & Sync Settings option on
the Settings panel.  I'm simply trying to test out the Microsoft
Exchange integration with email, contacts and calendar.

Am I missing something here?  Is this simply unavailable?  Do I need
to compile from source?  Thoughts?

-- 
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] "R cannot be resolved"

2009-11-02 Thread Andareena Vootog
Hi
   If u are not able to access ur local resources using 'R', its because
u've imported "android.R" package. Just delete it and see.

Thanks and Regards,

 Vootog Andarena
Vootog Information Systems  Pvt. Ltd

On Sat, Oct 31, 2009 at 12:30 PM, eldo  wrote:

> Im a  beginner in Android,When I run an application in ecllipse,an
> error showing "R cant be resolved" How can i fix that error,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

-- 
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: Eclipse problem: "R cannot be resolved"

2009-11-02 Thread Vootog andarena
Hi
   If u are not able to access ur local resources using 'R', its
because u've imported "android.R" package. Just delete it and see.

Thanks and Regards,

 Vootog Andarena
Vootog Information Systems Pvt. Ltd
www.vootog.com

On Oct 31, 10:43 am, erisa  wrote:
> I had to abandon my old distribution and installed ubuntu and then
> installed eclipse and then the android SDK and ADT plugin.  All my
> projects now show the  error "R cannot be resolved."  The R.java file
> is simply not being generated.  I also get the error: "Error executing
> aapt. Please check aapt is present at /home/bruce/android-sdk-linux/
> platforms/android-1.6/tools/aapt."  Well, aapt is definitely in that
> location and it is executable with the correct permissions.
> I checked all the appropriate settings and everything seems correct.
> I have cleaned my projects and even tried deleting the gen
> subdirectory, all to no avail.   I am truly at a loss.
>
> erisa

-- 
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] Using SD card image (windows)

2009-11-02 Thread Krzysztof Wolny
Hey

I wanted to know what is the easiest way to use (copy files from/to)
SD card emulation file on Windows? On *nix i can mount it to some
directory. On Windows? I can use some tools like UltraISO but it's not
the same (it's a application, image is not working 'one the fly').

Any ideas?

-- 
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: list of best Android Dev forums/discussions

2009-11-02 Thread Tim
> > I am looking to a forum or discussion where there is more activity then
> > here. As I have some questions, and I want to get answers for them very
> > quickly, and I don't want to wait days until I get answers.

There's anddev.com and you can try the irc channel #android on
freenode.

-- 
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: Rank Newbie Trying to Start with 2.0

2009-11-02 Thread Carlos
Same here can't seem to figure this one out - cant connect to sites
cant see the any patforms etc please someone

On Oct 29, 7:15 pm, DrOrb  wrote:
> Maybe my timing is terrible, but I attempted to install Eclipse and
> Android Platform 2.0 from scratch.
>
> I installed the R3 SDK and Eclipse. When I ran the Eclipse's Android
> SDK and AVP Manager, the https: URL didn't work, so I added the non-
> SSL http: URL and saw some components, but no platforms.
>
> When I attempt to initiate an Android Project, 'No SDK Target
> Available' is displayed.
>
> Can you give me a nudge?
>
> 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] Android 2.0 Exchange support

2009-11-02 Thread Henrik
Hi,
I used the emulator to test connecting to the company Exchange server
(after first confirming that it could connect to other email accounts
just fine). While it seems that the account was successfully created
and configured, it does not synchronize anything. My company enforces
client security policies (more specifically ActiveSync mailbox
policies [1] - a standard Exchange deployment these days) and I am a
bit surprised that it didn't work.

* Does the native Exchange support work for anyone with a user name
+password secured account?
* Does it work for anyone with security policies, such as password/pin
enforcement?
* Is there any documentation of the native exchange support that
anyone can refer me to?
* Is there any way to get easily to any logs of the email client?
Maybe adb logcat is the easiest way?

Thanks for any replies!

[1] http://technet.microsoft.com/en-us/library/bb123484.aspx

Best regards
Henrik

-- 
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] The default Android UI

2009-11-02 Thread Amar
I was wondering if anyone could tell me about the Android UI,
specifically whether the default UI uses graphics hardware
acceleration or not.

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


  1   2   >