Hamed3d,
Nowhere in your code that you pasted do you have the "final field
hsudoku". If you mean htest instead of hsudoku, then you have not
instantiated htest in the code you have pasted. If you create public
static methods, it would work.
Balwinder Kaur
Open Source Development Center
·T· · ·Mo
What are you trying to accomplish here? If you are trying to create a
UI for your "Main" Activity, there is really no need to create another
Activity (BasicUI). I suggest you stick with the standard Android App
programming paradigm and create one Activity for each "User focused
activity" that you
There are many discussion threads on this topic.
Here is one that was recently discussed.
http://groups.google.com/group/android-beginners/browse_thread/thread/167917e69eae4544/0ba18a9811a0474f?lnk=gst&q=book#0ba18a9811a0474f
Balwinder Kaur
Open Source Development Center
·T· · ·Mobile· stick tog
Android Porting would be the correct group.
http://groups.google.com/group/android-porting
Balwinder Kaur
Open Source Development Center
·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 necessa
Try Window->Open Perspective->Java Browsing.
Balwinder Kaur
Open Source Development Center
·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
A good place to start :
http://developer.android.com/guide/index.html
The classic "Hello World" Android App is available at
http://developer.android.com/guide/tutorials/hello-world.html
Good Luck Androiding !
Balwinder Kaur
Open Source Development Center
·T· · ·Mobile· stick together
The views
The correct forum for this question would be :
http://groups.google.com/group/Android-DevPhone-Updating
And yes, the links work. I have successfully updated my ADP1 to 1.5
using the link you referred to.
Good Luck !
Balwinder Kaur
Open Source Development Center
·T· · ·Mobile· stick together
The
If you add the line
android:singleLine="True" to you XML declaration.
If you do that, the soft keyboard will show a Done button.
If you don't want to do that, you can exit the keyboard using the
backbutton key.
Hope this helps,
Balwinder Kaur
Open Source Development Center
·T· · ·Mobile· stick
Here is one way of doing it.
Create an Activity - lets call it MyDialog. If you want it look like a
Dialog, add android:theme="@android:style/Theme.Dialog" to your
tab in the AndroidManifest.xml file.
Send periodic Intents from your service class using code something
like
Intent i = new Intent
You can set android:configChanges="orientation" for your activity in
the AndroidManifest.xml file.
In your activity, override the onConfigurationChanged method.
You can scale your image according to the orientation and set it
accordingly.
Balwinder Kaur
Open Source Development Center
·T· · ·
There was a similar problem discussed a few days back, except that a
TextView was to be updated.
Check out the source code here.
http://groups.google.com/group/android-beginners/browse_thread/thread/2e614021697d15e/ec3bc0bce37cb3ef?q=handler#ec3bc0bce37cb3ef
If you still have problems, post your
solely in their individual capacity, and do not necessarily
represent those of T-Mobile USA, Inc.
On Aug 13, 4:06 pm, Neilz wrote:
> Thanks. How does the emulator mirror the actions of a real life
> device? Would this not be an issue in this instance?
>
> On Aug 13, 4:30 pm, "
You can add it to the folder : assets->fonts
You can access it with the getAssets() method.
You can create a font using the Typeface.createFromAsset(..) method.
Balwinder Kaur
Open Source Development Center
·T· · ·Mobile· stick together
The views, opinions and statements in this email are those
Please check your logcat output. It would give you the pointers.
Balwinder Kaur
Open Source Development Center
·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-
You have not setup the MediaPlayer properly that is why you have an
error. Could you please post your code ?
Also, I guess you mean VideoView not MovieView (although I do some
references to a MovieView in the documentation for MediaStore)
Balwinder Kaur
Open Source Development Center
·T· · ·Mobil
a.MovieView");
> intent.setAction(Intent.ACTION_VIEW);
> startActivity(intent);
> url is a internet address begin with "http://"; or"rtsp://".
> _________________
No, you are not. A build.xml does not show up in your Eclipse Android
project. You can use the instructions at
http://developer.android.com/guide/developing/eclipse-adt.html#RunningAnApplication
to run your app.
Balwinder Kaur
Open Source Development Center
·T· · ·Mobile· stick together
The view
http://android.git.kernel.org/?p=platform/development.git;a=tree;f=samples/SoftKeyboard;hb=cupcake
Balwinder Kaur
Open Source Development Center
·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
f the
author solely in their individual capacity, and do not necessarily
represent those of T-Mobile USA, Inc.
On Sep 1, 2:48 pm, "Balwinder Kaur (T-Mobile USA)" wrote:
> http://android.git.kernel.org/?p=platform/development.git;a=tree;f=sa...
>
> Balwinder Kaur
> Open Sou
Did you try KEYCODE_SHIFT_LEFT or KEYCODE_SHIFT_RIGHT ?
Balwinder Kaur
Open Source Development Center
·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
Here is a related thread
http://groups.google.com/group/android-developers/browse_thread/thread/0dcefbbd59ac638d
This piece of code works on a HTC device.
public class AMLRTSTPStreaming extends Activity implements
MediaPlayer.OnPr
Now would be a time as good as any to start developing apps with the
SDK 1.6 and new Level 4 APIs.
As per the Google official blog, devices with 1.6 will start appearing
in October.
http://android-developers.blogspot.com/2009/09/android-16-sdk-is-here.html.
Balwinder Kaur
Open Source Development
Environment.getExternalStorageDirectory() to get a File.
And Uri.fromFile(File f) to get the Uri.
Balwinder Kaur
Open Source Development Center
·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 n
You are right. ScrollView only supports vertical scrolling and
HoriontalScrollView supports horizontal scrolling.
Since WebView scrolls like you want to it, why don't use it ?
WebView w = (WebView)findViewById(R.id.webkit);
w.loadUrl("http://www.android.com/goodies/android_vector.jpg";);
Use th
Then probably you are not using 1.6 SDK, because invalidateAllKeys()
is a level 4 API. I suggest you check Eclipse->Preferences->Android-
>SDK Location.
Balwinder Kaur
Open Source Development Center
·T· · ·Mobile· stick together
The views, opinions and statements in this email are those of the
a
Can you post the code you used to programmatically create an
EditText ?
The following code snippet in an activity does what you want it to do.
EditText e = new EditText(this);
ViewGroup.LayoutParams vw = new ViewGroup.LayoutParams
(ViewGroup.LayoutParams.FILL_PARENT,
ViewGroup.LayoutParams.WRAP_
Did you try hitting the backbutton on the emulator ( that would remove
virtual keyboard) and see if EditBox B gets updated or not ? I think
it should.
If not, please past your code here, so folks can take a look at it.
Thanks,
Balwinder Kaur
Open Source Development Center
·T· · ·Mobile· stick to
You can check out differences from 1.6 and 1.5
http://developer.android.com/sdk/api_diff/4/changes.html
The platform highlights are here:
http://developer.android.com/sdk/android-1.6-highlights.html
Balwinder Kaur
Open Source Development Center
·T· · ·Mobile· stick together
The views, opinions
ems like that method of should be pretty common,
> it should exist as a separate component.
>
> On Sep 22, 11:49 am, "Balwinder Kaur (T-Mobile USA)"
> mobile.com> wrote:
> > You are right. ScrollView only supports vertical scrolling and
> > HoriontalScrollView su
I assume you mean Android SDK 1.6, not JDK 1.6.
Thanks for sharing the information and you can check out a
presentation made at Google I/O this year on Battery Life
http://code.google.com/events/io/sessions/CodingLifeBatteryLife.html
Balwinder Kaur
Open Source Development Center
·T· · ·Mobile· s
There are a lot of good tutorials/examples on the web on using
Intents.
If you post your code using Intents, someone will help you get
started. If you are using Android, you should be familiar with
Intents.
Thanks,
Balwinder Kaur
Open Source Development Center
·T· · ·Mobile· stick together
The
do not necessarily
represent those of T-Mobile USA, Inc.
On Sep 23, 1:19 pm, jpntiger wave wrote:
> Thanks! Sense UI is not part of 1.6. So the question now is 'Where do i get
> the sense UI theme? Is it opensourced?"
>
> thanks
>
> On Wed, Sep 23, 2009 at 12:57 PM,
he virtual(soft) keyboard does it not work. I saw some
> > posts online about using setOnKeyListener instead. But I do not know
> > how that works since it is not a method for EditText.
>
> > On Sep 23, 3:54 pm, "Balwinder Kaur (T-Mobile USA)"
> > mobile.com> wrot
their individual capacity, and do not necessarily
represent those of T-Mobile USA, Inc.
On Sep 23, 9:54 pm, "Balwinder Kaur (T-Mobile USA)" wrote:
> hmm..I don't know what is going in your environment. For me (using SDK
> 1.5) Your code as is, works too. When I hit t
Intercepting an incoming call is not supported officially from the
SDK,
which does not mean that folks are not using hacks to do just the
same, as many apps on the market will show you.
Balwinder Kaur
Mobile.Software.Development
·T· · ·Mobile· stick together
The views, opinions and statements i
There is also android.content.SharedPreferences
http://developer.android.com/reference/android/content/SharedPreferences.html
Balwinder Kaur
Mobile.Software.Development
·T· · ·Mobile· stick together
The views, opinions and statements in this email are those of the
author solely in their individ
The app context object is not available in the constructor. Try moving
that code in the onbind or onStart callback methods.
Balwinder Kaur
Mobile.Software.Development
·T· · ·Mobile· stick together
The views, opinions and statements in this email are those of the
author solely in their individual
Service is a faceless UI-less application component. You need a
"trigger" to start it, either from an Activity which then may go away
or in response to a broadcast intent from a BroadcastReceiver that may
call the Service's startService method. (Note, you can't bind to the
service from a broadcast
or is it the classic OO Parking lot design problem that needs to
be done in Android :) ?
http://stackoverflow.com/questions/764933/amazon-interview-question-design-an-oo-parking-lot
You will find plenty of solutions online if you search for it. If
there is help you need with Android, please
int rid = getResources().getIdentifier("pic_" + input, "drawable",
"your_package_name");
Drawable d = getResources().getDrawable(rid);
You may check out the file MBellishClipartSelector.java from
http://codecamp.pbworks.com/EmbellishYourPictures-BuildanApplicationforanAndroidPhone-2009
Balwind
There's a previous thread on the topic.
http://groups.google.com/group/android-developers/browse_thread/thread/1015b3516e9657c0
Balwinder Kaur
Mobile.Software.Development
·T· · ·Mobile· stick together
The views, opinions and statements in this email are those of the
author solely in their indiv
getResources().openRawResourceFd(int id)
Get the FileDescriptor for the file and use MediaPlayer.setDataSource
(FileDescriptor fd) method.
Balwinder Kaur
Mobile.Software.Development
·T· · ·Mobile· stick together
The views, opinions and statements in this email are those of the
author solely in
You can check out the source code file that gives you insights into
the layout file for simple_list_item_checked
http://android.git.kernel.org/?p=platform/frameworks/base.git;a=blob;f=core/res/res/layout/simple_list_item_checked.xml;h=95612f63f3144703913aee3f0d06e032074b8f0b;hb=HEAD
It uses the
What's your development environment setup like ?
Do you have two devices/emulators talking to each other and running
the same app ?
Are you using DDMS ?
I have seen something like this when I had two phones connected via
USB to my laptop and was using DDMS/logcat to view the output.
Balwinder K
1. Class name is ContentUris, not ContentURI
2. Package name for ContentUris is android.content.ContentUris
3. Try using android.net.Uri or the android.net.Uri.Builder;
ContentUris are for those Uris that have a scheme of "content"
Balwinder Kaur
Mobile.Software.Development
·T· · ·Mobile· stick t
The instructions for building android source code is available at
source.android.com and the forum for discussing problems related to
those are http://groups.google.com/group/android-platform
Balwinder Kaur
Mobile.Software.Development
·T· · ·Mobile· stick together
The views, opinions and stateme
The answer to your question is part of the documentation :)
Read under the topic "Showing a Dialog"
http://developer.android.com/guide/topics/ui/dialogs.html#ShowingADialog
Balwinder Kaur
Mobile.Software.Development
·T· · ·Mobile· stick together
The views, opinions and statements in this email a
In Eclipse, under the Project menu, is an option build automatically.
That would help you build the R.java file everytime modifications are
made. The Clean... option is also there under Project.
Balwinder Kaur
Mobile.Software.Development
·T· · ·Mobile· stick together
The views, opinions and stat
Could you please post the rest of your code - or at least the portion
where you "call finish". I can't reproduce your problem with the
information that is present.
Also, what version of the SDK are you using and where are you seeing
this problem..on a device (which one) or the emulator (which
pla
;
> finish();
> }
> }
>
> out side of the calls posted it doesn't really do very much it's just
> a display;ay at the moment.
>
> On 15 Oct, 18:13, "Balwinder Kaur (T-Mobile USA)"
> mobile.com> wrote:
> > Could you please pos
One solution for question 1 is :
Maintain a state machine internal to your Service. If your service is
not in "ready state", calls to bindService can return false and calls
to startService can ignore the request.
Balwinder Kaur
·T· · ·Mobile· stick together
The views, opinions and statements in
So you want to capture touch and click events that are not meant for
your application ? I don't believe that is possible using the SDK.
Balwinder Kaur
Mobile.Software.Development
·T· · ·Mobile· stick together
The views, opinions and statements in this email are those of the
author solely in thei
It is requestWindowFeature (Window.FEATURE_NO_TITLE)
this snippet will do the trick...
@Override
protected Dialog onCreateDialog(int id) {
Dialog d = new Dialog(this);
d.requestWindowFeature(Window.FEATURE_NO_TITLE);
d.setTitle("You shouldn't see this");
//
You can use methods like setGravity. You may have to create an
onKeyListener and override the onKey method.
Balwinder Kaur
Mobile.Software.Development
·T· · ·Mobile· stick together
The views, opinions and statements in this email are those of the
author solely in their individual capacity, and
Your onCreate method is taking too long to return.
Check out :
http://developer.android.com/guide/practices/design/responsiveness.html
Balwinder Kaur
Mobile.Software.Development
·T· · ·Mobile· stick together
The views, opinions and statements in this email are those of the
author solely in the
do "which adb" to see if it is on your path. If not you may have to
specify it.
Balwinder Kaur
Senior Mobile Software Engineer
·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
repres
This is a developer forum for Android SDK issues.
However, to assist you, your options are:
1. Contact Vodafone Tech support, if you want the official update.
This is the safe, official, and probably easiest way.
If you want to have some hacking fun and can live with the thrill/risk
of having
What version of Android are using and what hardware platform are you
running on ?
Balwinder Kaur
Android
·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 U
, and do not necessarily
represent those of T-Mobile USA, Inc.
On Dec 1, 7:34 am, Marton Kodok wrote:
> android 2.0
> windows 7 on 64 bit, with Java & Android setup for 32 bit
>
> 2009/12/1 Balwinder Kaur (T-Mobile USA)
>
> > What version of Android are using and what
59 matches
Mail list logo