[android-developers] EditText with bitmaps

2012-02-02 Thread Robert Slama
Hi guys,

is any way how make edittext custumized as is on attached image?

r^

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=enattachment: edittext.png

Re: [android-developers] Re: date and time

2011-11-02 Thread Robert Slama
try add follow line before format to string :
date.setTime(System.currentTimeMillis());

r^

On 2 November 2011 10:44, leigh8347 leigh8...@aol.com wrote:

 The peice of code im using to disply the date and time is as follows

 datetime.toString()

 but like i said this does not update
 regards


 On Nov 2, 12:02 am, Lew lewbl...@gmail.com wrote:
  leigh8347 wrote:
 
   im [sic] making an app that writes to a .txt file and at the end of
 each
   save i want to put the date and time.
 
   this is my code that turns the time/date into a string. which works
   fine.
 
   SimpleDateFormat dateFormat = new SimpleDateFormat(dd/MM/
   hh:mm:ss);
   java.util.Date date = new java.util.Date();
   final String datetime = dateFormat.format(date);
 
   The problem im [sic] having is every time i save the time does not
 update.
   each row has the same time and date?
 
  Sounds like you are using the same 'datetime' reference for each save,
  perhaps by doing the save at the end of a longer process?
 
  It's impossible to say since the problem is in the code you have not
 shown.
 
  http://sscce.org/
  please
 
  --
  Lew

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] ltl doubt

2011-11-02 Thread Robert Slama
no way u can have just one manifest in apk

On 2 November 2011 13:22, bhanu prasad bhanu4ug...@gmail.com wrote:

 Is it possible to develop an application with two manifest xml
 files
 Thanks in advance!!!

 could u had done ever??


 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Users cannot install my application because of incorrect signing

2011-11-02 Thread Robert Slama
problem is happens when first app what is installed at handset was signed
with diff key. Usually when u install apk to handset with dev key and then
u try install that same apk but signed with production key.

r^

On 2 November 2011 17:23, John Raftery john.rafte...@gmail.com wrote:

 I used eclipse to compile and sign my app and it works fine when I
 email the .APK file to people, but when they download it from the
 market, installation fails with this error message: Package file was
 not signed correctly.

 Do I need to use my public key in the signing process? Is that what
 the problem is?

 Thanks,
 John Raftery

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] How start youtube app with search terms

2011-11-01 Thread Robert Slama
Unfortunatlly its its not opening default youtube app but ask for action
and outube app is not offered. If I call Intent.ACTION_VIEW with url what
lead direct to any video YT app is started.

r^

On 1 November 2011 03:27, TreKing treking...@gmail.com wrote:

 On Mon, Oct 31, 2011 at 12:52 PM, Robert Slama robsl...@gmail.com wrote:

 I'm looking for solution how I can start youtube activity with search
 terms. Can someone help me with that?
 Or ist  possible start yt activity with that or not?


 Try launching:
 http://www.youtube.com/results?search_query=your+search+termaq=f


 -
 TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago
 transit tracking app for Android-powered devices

  --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] How start youtube app with search terms

2011-10-31 Thread Robert Slama
Hi guys,
I'm looking for solution how I can start youtube activity with search
terms. Can someone help me with that?
Or ist  possible start yt activity with that or not?

Rob

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Screen Shot

2011-10-31 Thread Robert Slama
if u have handset connected to computer u ca use ddms
r^

On 28 October 2011 16:46, vins vinaayak...@gmail.com wrote:

 Anybody know how to take a screen shot of current screen using app and to
 save that in a sd card 

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] LogCat on Intellij IDEA

2011-06-29 Thread Robert Slama
I use version 10.5 and logcat is there ...

r^

On 29 June 2011 13:17, Kostya Vasilyev kmans...@gmail.com wrote:
 You can always use the host computer's command line window and run adb
 logcat there.

 29.06.2011 15:12, gaara пишет:

 hi group,
 i wanna to knwo how to get the functionality of the logcat but this
 time on Intellij IDEA.
 Peace,
 Gaara


 --
 Kostya Vasilyev

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] installation URL in apk

2011-06-16 Thread Robert Slama
Hi guys,

exist any way how I can get URL from what was apk installed direct in
instaled application?

r^

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Rtsp Http Streaming

2011-05-30 Thread Robert Slama
hmmm

i try open your url rtsp://strm-3.tr.medianova.tv/rkraltv/rkraltv
with realplayer and with vlc and that stream is not available. Try u
open stream in some player (on pc) before u test it on android?

r^

On 26 May 2011 08:37, Filiz Gökçe sonsuzlu...@gmail.com wrote:
 Hi,
 I try to make live stream on android,
 I try lots of ways, but none of them doesnt work.
 Could you help me ?


 This is example of rtsp;
 mMediaPlayer = new MediaPlayer();
 mMediaPlayer.setDataSource(KralStream.getTvStreamUrl().toString());
 mMediaPlayer.setDisplay(holder);
 mMediaPlayer.prepareAsync();
 mMediaPlayer.setOnBufferingUpdateListener(this);
 mMediaPlayer.setOnCompletionListener(this);
 mMediaPlayer.setOnPreparedListener(this);
 mMediaPlayer.setOnVideoSizeChangedListener(this);
 mMediaPlayer.setAudioStreamType(AudioManager.STREAM_MUSIC);
 mMediaPlayer.setLooping(true);

 Exeption :05-26 10:22:46.186: ERROR/MediaPlayerService(10157):  create
 PVPlayer
 05-26 10:23:06.382: ERROR/PlayerDriver(10157): Command PLAYER_INIT completed
 with an error or info -1
 05-26 10:23:06.382: ERROR/MediaPlayer(23800): error (1, -1)
 05-26 10:23:06.382: ERROR/MediaPlayer(23800): Error (1,-1)

 rtsp;
 VideoView videoView=(VideoView)findViewById(R.id.videoView1);
 Uri uri =
 Uri.parse(http://www.kraltv.com.tr/m/app_streaming_url.asp?t=5g=DA245844BC6D4F9A8EFDD8F14D41676F;);
 videoView.setVideoURI(uri);
 videoView.start();

 Gives message;Sorry, this video connot ve played.


 rtsp;
     mPreview = (SurfaceView) findViewById(R.id.surface);
     holder = mPreview.getHolder();
     holder.addCallback(this);
     holder.setType(SurfaceHolder.SURFACE_TYPE_PUSH_BUFFERS);
     extras = getIntent().getExtras();
 public void play() {

         try {
             Uri video = KralStream.getTvStreamUrl();
             Toast.makeText(this, video.toString(),
 Toast.LENGTH_SHORT).show();
              mMediaPlayer = new MediaPlayer();
      mMediaPlayer.setDataSource(path);
      mMediaPlayer.setDisplay(holder);
      mMediaPlayer.prepare();
      mMediaPlayer.setOnBufferingUpdateListener(this);
      mMediaPlayer.setOnCompletionListener(this);
      mMediaPlayer.setOnPreparedListener(this);
      mMediaPlayer.setOnVideoSizeChangedListener(this);
      mMediaPlayer.setAudioStreamType(AudioManager.STREAM_MUSIC);
              } catch (Exception e) {
             Log.e(TAG, error:  + e.getMessage(), e);
             }
     }

 Exeption ;05-26 10:36:57.589: ERROR/MediaPlayerService(10157):  create
 PVPlayer
 05-26 10:37:20.542: ERROR/PlayerDriver(10157): Command PLAYER_INIT completed
 with an error or info -1
 05-26 10:37:20.542: ERROR/MediaPlayer(24240): error (1, -1)
 05-26 10:37:20.565: WARN/PlayerDriver(10157): PVMFInfoErrorHandlingComplete
 05-26 10:37:20.682: ERROR/MediaPlayerDemo(24240): error: Prepare failed.:
 status=0x1
 05-26 10:37:20.682: ERROR/MediaPlayerDemo(24240): java.io.IOException:
 Prepare failed.: status=0x1
 05-26 10:37:20.682: ERROR/MediaPlayerDemo(24240): at
 android.media.MediaPlayer.prepare(Native Method)
 05-26 10:37:20.682: ERROR/MediaPlayerDemo(24240): at
 com.giantrabbit.nagare.KralTvNow.play(KralTvNow.java:162)
 05-26 10:37:20.682: ERROR/MediaPlayerDemo(24240): at
 com.giantrabbit.nagare.KralTvNow.surfaceCreated(KralTvNow.java:215)
 05-26 10:37:20.682: ERROR/MediaPlayerDemo(24240): at
 android.view.SurfaceView.updateWindow(SurfaceView.java:536)
 05-26 10:37:20.682: ERROR/MediaPlayerDemo(24240): at
 android.view.SurfaceView.dispatchDraw(SurfaceView.java:339)
 05-26 10:37:20.682: ERROR/MediaPlayerDemo(24240): at
 android.view.ViewGroup.drawChild(ViewGroup.java:1638)
 05-26 10:37:20.682: ERROR/MediaPlayerDemo(24240): at
 android.view.ViewGroup.dispatchDraw(ViewGroup.java:1367)
 05-26 10:37:20.682: ERROR/MediaPlayerDemo(24240): at
 android.view.ViewGroup.drawChild(ViewGroup.java:1638)
 05-26 10:37:20.682: ERROR/MediaPlayerDemo(24240): at
 android.view.ViewGroup.dispatchDraw(ViewGroup.java:1367)
 05-26 10:37:20.682: ERROR/MediaPlayerDemo(24240): at
 android.view.View.draw(View.java:6796)
 05-26 10:37:20.682: ERROR/MediaPlayerDemo(24240): at
 android.widget.FrameLayout.draw(FrameLayout.java:352)
 05-26 10:37:20.682: ERROR/MediaPlayerDemo(24240): at
 android.view.ViewGroup.drawChild(ViewGroup.java:1640)
 05-26 10:37:20.682: ERROR/MediaPlayerDemo(24240): at
 android.view.ViewGroup.dispatchDraw(ViewGroup.java:1367)
 05-26 10:37:20.682: ERROR/MediaPlayerDemo(24240): at
 android.view.View.draw(View.java:6796)
 05-26 10:37:20.682: ERROR/MediaPlayerDemo(24240): at
 android.widget.FrameLayout.draw(FrameLayout.java:352)
 05-26 10:37:20.682: ERROR/MediaPlayerDemo(24240): at
 com.android.internal.policy.impl.PhoneWindow$DecorView.draw(PhoneWindow.java:1894)
 05-26 10:37:20.682: ERROR/MediaPlayerDemo(24240): at
 android.view.ViewRoot.draw(ViewRoot.java:1407)
 05-26 10:37:20.682: 

[android-developers] Changin view on Activity

2009-05-01 Thread Robert Slama

Hi there,


I have 1 activity class as entry point to application. There have 2
View (extends from SurfaceView) and I have problem with showing second
view.
First view is showed correctly but when I call
setContentView(secondView) I getting exception

W/System.err( 1241): java.lang.RuntimeException: Can't create handler
inside thread that has not called Looper.prepare()

Anyone can help me how I can change view on activity ?

many thx

r^

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



[android-developers] Vibration class - ClassCastException

2009-04-27 Thread Robert Slama

Hi there,

in my code I use (class Activity) follow  contruct

Vibrator vibrator = (Vibrator) getSystemService(context.VIBRATOR_SERVICE);

but after start application is crashed with classcastexception. Can
anybody help how I can create instance of Vibration class ?

many thx

r^

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



[android-developers] Re: URGENT!!!!! Can't update apps in android market!!!

2009-04-27 Thread Robert Slama

I was have that same problem and I resolved it with
uses-sdk minSdkVersion=2 / ... its located as first element in manifest

r^


2009/4/24 Yan Shi shiyansu...@gmail.com:

 When I upload an apk update for one of my apps(Hello Yahoo), I was
 told that Market requires the minSdkVersion to be set in
 AndroidManifest.xml.. So I can't do the update!

 I already set this attribute in AndroidManifest.xml. What's wrong??

 I even set it to uses-sdk minSdkVersion=3 /, but still I can't do
 the update.

 Has anyone met this problem?

 BTW, when I go to http://market.android.com/publish/Home today, I have
 accepted Term and Service again. I think already accepted it the first
 time I registered for it. Why should I accept it again?

 Could any google stuff look into this please?

 Thanks very much


 


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