|
|
I want to play any file .swf,.html etc using smart device application using C#.net from SD card in web browser control. Is it possible?
|
|
|
|
|
I want to get SD card CID using smart device application using .net. How do I get it? please guide me and i am very suffering from this problem and I am new in mobile application development.
|
|
|
|
|
See here[^].
One of these days I'm going to think of a really clever signature.
|
|
|
|
|
What is the recently used method in authenticate a mobile web service??
I mean if I have a web service require user name and password and I could invoke it from application exist in my mobile phone ,what is the recent methods or protocol used ???
|
|
|
|
|
Hi All,
Hope you are doing good!!
We have one requirement , i.e. Integrate PayPal with application for payment process.
Say for example, If user register and want to purchase one package with 49$ then we have to accept the payment via PayPal,
I would like to if this is possible and also would like to know that apple is approve the application with PayPal Integration.
Looking forward to hear back from all of you.
Thanks,
Regards
Keyur Satyadev
|
|
|
|
|
keyur satyadev wrote: I would like to if this is possible Yes, but you need to setup your own Paypal account and integrate through the Paypal API[^].
keyur satyadev wrote: would like to know that apple is approve the application with PayPal Integration. You could always ask them ...
One of these days I'm going to think of a really clever signature.
|
|
|
|
|
This is my code
package nct.edu.om.nizcotec;
import nct.edu.om.nizcotec.R;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.ImageButton;
import android.widget.TextView;
import android.widget.Toast;
public class Event extends Activity {
SQLiteDatabase mydatabase;
ImageButton home;
TextView mytext;
//String name;
String name,age,address,mobile,deptname;
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.event);
try{
mydatabase=openOrCreateDatabase("NCTDB",Context.MODE_PRIVATE,null);
mydatabase.execSQL("create table events(eventID integer primary key autoincrement,event_Name text not null,event_group text not null,event_startDate date not null,event_endDate date not null,event_time text not null,event_location text not null,event_type text not null);");
//Toast.makeText(nct.edu.om.nizcotec.Event.this,"The Database is Created..." , Toast.LENGTH_LONG).show();
}
catch(Exception e) {
//Toast.makeText(nct.edu.om.nizcotec.Event.this, "Database already exits, can't create", Toast.LENGTH_LONG).show();
}
home=(ImageButton)this.findViewById(R.id.imageButton1);
Button btn_upload = (Button)this.findViewById(R.id.upload );
Button btn_delete = (Button)this.findViewById(R.id.wipe );
ImageButton college = (ImageButton)this.findViewById(R.id.imageButton2);
//mytext = (TextView)this.findViewById(R.id.recname);
home.setOnClickListener(new OnClickListener() {
public void onClick(View v) {
// TODO Auto-generated method stub
Intent home=new Intent(Event.this,Home.class);
startActivity(home);
finish();
}
});
/* btn_upload.setOnClickListener(new OnClickListener() {
public void onClick(View v) {
// TODO Auto-generated method stub
try{
mydatabase=openOrCreateDatabase("NCTDB",Context.MODE_PRIVATE,null);
mydatabase.execSQL("create table events(eventID integer primary key autoincrement,event_Name text not null,event_group text not null,event_startDate date not null,event_endDate date not null,event_time text not null,event_location text not null,event_type text not null);");
//Toast.makeText(nct.edu.om.nizcotec.Event.this,"The Database is Created..." , Toast.LENGTH_LONG).show();
}
catch(Exception e) {
//Toast.makeText(nct.edu.om.nizcotec.Event.this, "Database already exits, can't create", Toast.LENGTH_LONG).show();
}
}
});
*/ //Button btn_insert - This code is to insert record into the students table. //
btn_upload.setOnClickListener(new OnClickListener() {
public void onClick(View v) {
try{
mydatabase.execSQL("insert into events values(1 ,'A','Mubadron','2012-07-05','2012-07-09','8AM-9AM ','jabrain hall','SA')");
mydatabase.execSQL("insert into events values(2,'B','Ebdaat','2012-04-04','2012-04-05',' 10AM-APM','multi postin hall','CA')");
mydatabase.execSQL("insert into events values(3,'C','health group','2012-03-13','2012-03-15','8AM-10AM ','student club','CA')");
mydatabase.execSQL("insert into events values(4,'D','IT club','2012-02-11','2012-02-13','8AM-12AM ','jbrain hall','TW')");
mydatabase.execSQL("insert into events values(5,'F','Ebdaat','2012-07-22','-2012-07-22',' 7PM-10PM','jbrain hall','SP')");
mydatabase.execSQL("insert into events values(6,'E','Hamsat','2012-03-03','2012-03-04','10AM-12AM ','jbrain hall','SP')");
mydatabase.execSQL("insert into events values(7,'G','IT club','2012-1-12','2012-1-13','8AM-3PM ','multi postin hall','TW')");
mydatabase.execSQL("insert into events values(8,'H','college group','2012-5-4','2012-5-5','10AM-12AM ','college area','CA')");
mydatabase.execSQL("insert into events values(9,'K','Mubadron','2012-8-6','2012-08-08','10AM-12AM ','multi postin hall','SA')");
mydatabase.execSQL("insert into events values(10,'K','college group','2012-10-09','2012-10-10','8AM-10AM ','student hall','CA')");
Toast.makeText(nct.edu.om.nizcotec.Event.this,"Data uploaded.." , Toast.LENGTH_LONG).show();
}
catch(Exception e) {
Toast.makeText(nct.edu.om.nizcotec.Event.this, "Exception" +e, Toast.LENGTH_LONG).show();
//Toast.makeText(nct.edu.om.nizcotec.Event.this,"Data uploaded.." , Toast.LENGTH_LONG).show();
}
}
});
//Button btn_delete - This code is to delete all the records in evente table. //
btn_delete.setOnClickListener(new OnClickListener() {
public void onClick(View v) {
try{
mydatabase.execSQL("delete from events");
Toast.makeText(nct.edu.om.nizcotec.Event.this,"Data Deleted...", Toast.LENGTH_LONG).show();
}
catch(Exception e)
{
Toast.makeText(nct.edu.om.nizcotec.Event.this,"Exception : " + e, Toast.LENGTH_LONG).show();
//Toast.makeText(nct.edu.om.nizcotec.Event.this,"Data Deleted...", Toast.LENGTH_LONG).show();
}
}
});
college.setOnClickListener(new OnClickListener() {
public void onClick(View v) {
Intent college=new Intent(Event.this,College.class);
startActivity(college);
finish();
final Cursor c = mydatabase.rawQuery("select * from events where event_type='SA'",null);
int count=c.getCount();
//String event_Name = null;
Toast.makeText(nct.edu.om.nizcotec.Event.this,"Total Nof of rows are..."+count, Toast.LENGTH_LONG).show();
if (count==0)
{
Toast.makeText(nct.edu.om.nizcotec.Event.this,"There is no Data ...", Toast.LENGTH_LONG).show();
}
while (!c.isAfterLast()){
// Toast.makeText(nct.edu.om.nizcotec.Event.this,c.getInt(0)+" "+c.getString(1), Toast.LENGTH_LONG).show();
// c.getString(1).show();
//mytext.setText(c.getInt(0)+" "+c.getString(1));
// mytext.setText(c.getString(1));
c.moveToNext();
}
c.close();
}
});
}
}
|
|
|
|
|
I am able to get latitude and longitude of a current location. but unable to get the location name. So, anybody can help me for this
Regards,
Aman Arora
|
|
|
|
|
Hi Guys,
I populated my listview in android using ArrayAdapter . Populating my listview is easy BUT I'm having trouble adding new item on it dynamically.
Kindly check my code.
[Activity(Label = "Country List", MainLauncher = true)]
public class MyListViewActivity : Activity
{
List<string> countries = new List<string>();
ArrayAdapter<string> adapter;
ListView lvw;
protected override void OnCreate(Bundle bundle)
{
base.OnCreate(bundle);
SetContentView(Resource.Layout.ListviewLayout);
InitCounties();
lvw = FindViewById<ListView>(Resource.Id.lvwCountry);
EditText txtMsg = FindViewById<EditText>(Resource.Id.edit_text_out);
Button btnSend = FindViewById<Button>(Resource.Id.button_send);
adapter = new ArrayAdapter<string>(this, Android.Resource.Layout.SimpleListItem1, countries);
lvw.Adapter = adapter;
lvw.TextFilterEnabled = true;
lvw.FastScrollEnabled = true;
btnSend.Click += delegate(object sender, EventArgs e)
{
addItems(txtMsg.Text);
};
}
}
void InitCounties()
{
countries.Add("Philippines");
countries.Add("USA");
countries.Add("Hong Kong");
countries.Add("Singapore");
countries.Add("Russia");
countries.Add("Afghanistan");
countries.Add("Albania");
countries.Add("Algeria");
countries.Add("American Samoa");
countries.Add("Andorra");
}
public void addItems(string newItem)
{
counties.Add(newItem);
adapter.NotifyDataSetChanged();
}
Actually the newitem will add in the collection but when I break and check the adapter, the property Count does not changed and my listview is still the same.
I know I'm missing somewhere in my code but I don't know where exactly it is.
BTW, I'm using Visual Studio 2010 (Mono for Android) in my code.
Thanks
if(you type your code here) {
Messagebox.Show("You help me a lot!");
}
else {
You help me = null;
}
modified 19-Oct-12 3:39am.
|
|
|
|
|
i'm a comsci student wanna develop for mobile game for various platform with any knowledge thus wanna learn a programming language is html 5 good? easy to learn? can develop game in short time??
|
|
|
|
|
kakah1000 wrote: wanna develop for mobile game for various platform with any knowledge The first thing you should do is decide which platform and then study the development languages that you need for it.
One of these days I'm going to think of a really clever signature.
|
|
|
|
|
Every platform so decided to start html 5
|
|
|
|
|
Did you check that they all support running HTML5 applications?
One of these days I'm going to think of a really clever signature.
|
|
|
|
|
Phone gap do offer cross platform develop like ios, android, wp7
|
|
|
|
|
Dear All, I am going to learn windows mobile application development in c#, although i have read some topics and beginner books for mobile development, I am looking forward to hear from friends here which they already developed and deployed real mobile application.
Your cooperation are highly appreciated!!!
Abdul Rahaman Hamidy
Database Developer
Kabul, Afghanistan
|
|
|
|
|
Are you talking about developing for Windows Phone here, or developing for multiple platforms using Mono?
|
|
|
|
|
Thanks for your reply, Its only windows platform (windows 7 or later)
Abdul Rahaman Hamidy
Database Developer
Kabul, Afghanistan
|
|
|
|
|
I hope that you are not saying developing those 'apps' like those appear in Apple AppStore or Android Market.
Yes I have developed mobile applications. Development machine is a Windows 7 64 bit machine. VS2008. SQL Server also 2008. The mobile is Intermec with OS Windows Mobile 6.5.
The mobile application is a mobile point of sale system. My client use the application to select item, enter quantity to sell, save the invoice and print it out.
After doing a day's job, my client goes to processing office and upload data. Management can then process data for analysis.
That is in.
|
|
|
|
|
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.
|
|
|
|
|