|
I've tried asking this in a number of forums but noone seems to want to help.
I'm trying to target ICS 4.0.4. My target choices are 4.0.3 and 4.1. I've found references to API17 supporting 4.0.4 but no valid links to get it.
I've kind of resigned myself to waiting for a 4.1 update for the device.
Can anyone give me an alternative?
|
|
|
|
|
Android 4.0.4 is API Level 15.
API 17 is going to be a release above 4.1.1. If you have two different Android versions, the higher version will have an API level greater than or equal to the lower version. API Levels tend to be equal when there are few minor, if any, API changes or improvements, or if a version is expected to be phased out very quickly, as was the case with Android 4.0, 4.0.1, and 4.0.2.
Even if your device had some weird unsupported API Level, for example pre-production devices, you should be able to target any lower API Level and have the software work perfectly. You might be missing some new APIs in those instances, but it should otherwise work perfectly.
Source: What is API Level?[^]
|
|
|
|
|
hi guys
I create action bar for android application using c#.net.
my code is:
protected override void OnCreate(Bundle bundle)
{
base.OnCreate(bundle);
SetContentView(Resource.Layout.Main);
Directory.InitializeDirectory();
ActionBar bar = ActionBar;
mActionBarView = LayoutInflater.Inflate(Resource.Layout.action_bar_custom, null);
ActionBar.SetCustomView(mActionBarView, new ActionBar.LayoutParams(WindowManagerLayoutParams.WrapContent, WindowManagerLayoutParams.WrapContent));
var tab1 = ActionBar.NewTab();
tab1.SetText("Login");
tab1.SetTabListener(actionbarInterface);
bar.AddTab(bar.NewTab().SetText("Login").SetTabListener(actionbarInterface));
bar.CustomView = mActionBarView;
bar.DisplayOptions = ActionBarDisplayOptions.ShowCustom | ActionBarDisplayOptions.UseLogo;
bar.NavigationMode = ActionBarNavigationMode.Tabs;
bar.SetDisplayShowHomeEnabled(true);
tab1.TabSelected += delegate
{
TitlesFragment titleFrag = (TitlesFragment)FragmentManager.FindFragmentById(Resource.Id.frag_title);
titleFrag.PopulateTitles(tab1.Position);
titleFrag.SelectPosition(0);
};
but in line tab1.SetTabListener(actionbarInterface)has error Unhandled Exception:
Java.Lang.IllegalStateException
plz help me.
|
|
|
|
|
Please edit your question and:
- Format your code by putting <pre> tags around it.
- Give the complete text of the exception message, or modify your code to catch it.
One of these days I'm going to think of a really clever signature.
|
|
|
|
|
my code is :
protected override void OnCreate(Bundle bundle)
{
base.OnCreate(bundle);
SetContentView(Resource.Layout.Main);
Directory.InitializeDirectory();
ActionBar bar = ActionBar;
mActionBarView = LayoutInflater.Inflate(Resource.Layout.action_bar_custom, null);
ActionBar.SetCustomView(mActionBarView, new ActionBar.LayoutParams(WindowManagerLayoutParams.WrapContent, WindowManagerLayoutParams.WrapContent));
var tab1 = ActionBar.NewTab();
tab1.SetText("Login");
tab1.SetTabListener(actionbarInterface);
bar.AddTab(bar.NewTab().SetText("Login").SetTabListener(actionbarInterface));
bar.CustomView = mActionBarView;
bar.DisplayOptions = ActionBarDisplayOptions.ShowCustom | ActionBarDisplayOptions.UseLogo;
bar.NavigationMode = ActionBarNavigationMode.Tabs;
bar.SetDisplayShowHomeEnabled(true);
The full text of the error is
Unhandled Exception:Java.Lang.IllegalStateException
.
|
|
|
|
|
It would seem that you may be calling some method before the application is ready to process it: see here[^].
One of these days I'm going to think of a really clever signature.
|
|
|
|
|
how to create action bar for android application using c#?
|
|
|
|
|
I am creating a game for that i have to move the objects i m using Blackberry OS 5.0. is there any guidance to learn how to move objects in Blackberry.
Regards,
Aman Arora
|
|
|
|
|
You do not 'move' objects so much as redraw them in a different position. There are lots of example programs around that will show how to do it.
One of these days I'm going to think of a really clever signature.
|
|
|
|
|
So is it possible for me to build a game in it. or is moving objects possible in greater OS of Blackberry
Regards,
Aman Arora
|
|
|
|
|
amanarora BB wrote: So is it possible for me to build a game in it. Assuming you have the skills and a development platform, the answer must be yes. However, it is not very clear what you are asking.
One of these days I'm going to think of a really clever signature.
|
|
|
|
|
Hello.
I am using webservice and windows mobile professional 6 device application.
I want to make application security for the device. can any one helps me?
|
|
|
|
|
Hello,
I wished to create VoIP apps for my Windows Phone 7 and I used a sample program provided by Ozeki VoIP SIP SDK. On client side I used Visual Studio 2010 for my project. They provided me codes for every step which was very helpful for me. For example: how to set the user interface layout for my project. Based on the codes it was an easy task to build my app. For example: The event handler for the Stop Call button is shown in this code:
1. private void btnStopCall_Click(object sender, RoutedEventArgs e)
2. {
3. if (callProcess)
4. {
5. txtboxInfo.Text = "Call stop, ready to call.";
6. connection.InvokeOnConnection("CallStop");
7. ReleaseStreams();
8. btnCall.IsEnabled = true;
9. }
10. }
The server side codes for server class definition, handling client connection and disconnection, changing the client’s call state into InCall, invoking the client side OnPlayRemoteStream method, notifying the remote client about the end of the call were provided as well. For example:
1. public void CallStop(IClient invokerClient)
2. {
3. if (Clients.ContainsKey(invokerClient))
4. {
5. MyClient invoker = Clients[invokerClient];
6. invoker.RemoteParty.OnCallStop();
7. }
8. }
If you are interested in this topic you can find the other codes for the project here http://voip-sip-sdk.com/p_511-windows-phone-platform-voip.html.
Good developing!
Will
|
|
|
|
|
If you wish to post articles or tips then please use the proper section[^]; these forums are for technical questions as described here[^].
One of these days I'm going to think of a really clever signature.
|
|
|
|
|
|
And what is your question? What code have you got in place already?
|
|
|
|
|
What do you think about this network scanner?
http://www.youtube.com/watch?v=_zy5UWd0jc0
|
|
|
|
|
i am creating a Roaming App in which i have to show a dialog when network moves to roaming. i have done with it using "Radio Status Listener" .I am getting prompt when my network is on roaming but there is a problem when a dialog appears on the screen on background it appears a white screen i dont want that white screen, i just want a Dialog. So, anybody help me out for this?
Regards,
Aman Arora
|
|
|
|
|
|
|
Thanks For the Help, i will try these links and get back to you
Regards,
Aman Arora
|
|
|
|
|
I am developing n android pp to control the mouse of a PC. I am almost done. The app have 4 buttons to control the movements of mouse. Its working for normal click.... But i want the mouse pointer to be moved continuously when i long press those button.... anyone have any idea....
|
|
|
|
|
I would take a look into the Android dragEvent . I haven't had any contact with it, but what I'm thinking is you could have an object on your screen that represents the mouse cursor, and use the dragEvent to move that object around the screen, while sending the X and Y values to the PC, to sync the mouse movement with your Android event.
I suggest you take a look at DragEvent[^]
Full-fledged Java/.NET lover, full-fledged PHP hater.
Full-fledged Google/Microsoft lover, full-fledged Apple hater.
Full-fledged Skype lover, full-fledged YM hater.
|
|
|
|
|
i cant go for that because i alredy have 4 buttons for controlling mouse movement. I want to perform an operation continuously when user long press on them....
|
|
|
|
|
Then you may want to override onKeyDown event and while the button is pressed do your thing. Also, this means you will have to poll for onKeyUp event to make sure the user doesn't take his finger off the button. Basically, you do your operation all the way between onKeyDown and onKeyUp events.
There is a thread on SO that may apply to your particular case here[^]
Full-fledged Java/.NET lover, full-fledged PHP hater.
Full-fledged Google/Microsoft lover, full-fledged Apple hater.
Full-fledged Skype lover, full-fledged YM hater.
|
|
|
|