|
i need a remote android source code for make a project. i want to view my frnds android phn using my phne and i need to contol his phn. its my android project like remodroid. but i can't make such like app in android eclips. pllz help me to create such lyk app.. please provide the souce code for it
|
|
|
|
|
|
Samsung has disabled OTG support on my S3 Neo I9301I and I have program that enables it.When I plug in otg cable inside phone and open app and enable switch,app writes "1" inside /sys/kernel/debug/regulator/8226_smbbp_otg/enable/ file and writes "0" inside it when I disable switch!When "1" otg is enabled,when "0" otg is disabled!
How to make that app automatically enables switch to write "1" when I plug in cable without going inside app and manually turning on switch?
|
|
|
|
|
This sounds like illegal hacking and we do not condone it, let alone help you to do it.
|
|
|
|
|
Hello Ladies & Gentlemen,
I would like to learn Android Apps and Android Games Apps development. Only latest version of the compiler as of Jan 2017.
Q1. What are your top best Android Apps and Android Games Apps development (latest version of the compiler) programming tutorial paperback books, ebooks, online text tutorials and online video tutorials suitable for complete beginners and why do you suggest them over others ?
Q2. Is it possible to build mobile phone apps and mobile phone game apps (only Android) with Python or do I need to learn Java for that ?
Q3. Where did you learn Android Apps and Android Games Apps development and why particularly from there ?
Q4. How many years experience do you have in Android Apps and Android Games Apps development and which version of the compiler do you use and which compiler ?
Q5. Which other languages you know and how many years experience ?
Q6. Where are your Android Apps and Android Games Apps development portfolios (work samples) ?
Q7. Anything else I should know ?
|
|
|
|
|
|
i have a save button make it to input selected excel file into sqlite Db in android,
|
|
|
|
|
Where is the excel file and how do you read it? What information do you want to store in the database?
|
|
|
|
|
it is in the sd card,it is result data of the students
|
|
|
|
|
Very helpful information.
|
|
|
|
|
Is it a CSV file?
Do you actually need to import it into a database, or can you simply process the file to get the desired numbers?
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles
|
|
|
|
|
Hi
Im doing chatting application like whatsapp , so i want to validate the customer mobile no, if any one have the sample code or sample program pl send it to my mail id finalchat193@gmail.com
|
|
|
|
|
Validate it against what?
|
|
|
|
|
|
How to make doctor appointment app in android,i'm new android developer please provide me doctor appointment full source code
|
|
|
|
|
Member 12928292 wrote: please provide me doctor appointment full source code How much are you willing to pay?
BTW, asking questions like this is a sure-fire way to have your account suspended. Since you're new to the site, you may want to read this[^] post.
/ravi
|
|
|
|
|
Firstly, asking for full code is not the right way to get help here. We help people with the programming work that they have tried to produce.
Secondly, as someone new to Android this project is quite advanced. I suggest you go to Learn Android Tutorials and spend some time getting familiar with some of the basics of Android programming.
|
|
|
|
|
please send me android project on doctor apppointment
|
|
|
|
|
full code for simple appoitment app
|
|
|
|
|
"simpe doctor appointment app" not found. Redirect to www.freelance.com[^]
Peter Leow
http://www.peterleowblog.com/
https://www.amazon.com/author/peterleow
|
|
|
|
|
|
|
Expecting : I am displaying more than one notification in Notification bar. In this notification i have three button like 1, 2 and 3. From the notification if click 1 button then it has to go the first activity if click 2 button it has to go second activity same like 3 button also.
But i am stuck below:
1. displaying more than one notification => No problem 2. But if i click 1 st button it is going the 1st activity.(Now app is opening) again when i click the 1 st button some other notification as displayed in notification status bar it not opening the 1st activity
AirshipReceiver(Push Receiver)
@Override
protected boolean onNotificationOpened(@NonNull Context context, @NonNull NotificationInfo notificationInfo, @NonNull ActionButtonInfo actionButtonInfo) {
Log.i(TAG, "Notification action button opened. Button ID: " + actionButtonInfo.getButtonId() + ". NotificationId: " + notificationInfo.getNotificationId());
Toast.makeText(context.getApplicationContext(),"Button Click",Toast.LENGTH_LONG).show();
Log.e("@@@@@@@ID", String.valueOf(notificationInfo.getNotificationId()));
Log.e("$$", String.valueOf(notificationInfo.getMessage().getAlert()));
Log.e("eGSSSHKJHSHJS", (String) notificationInfo.getMessage().getPushBundle().get("AlarmJson"));
String pushjson=(String) notificationInfo.getMessage().getPushBundle().get("AlarmJson");
if(actionButtonInfo.getButtonId()!=null && actionButtonInfo.getButtonId().equalsIgnoreCase("Graph")) {
Log.e("Graph","You clicked Graph");
Toast.makeText(context.getApplicationContext(),"Graph Click",Toast.LENGTH_LONG).show();
Intent i = new Intent(context.getApplicationContext(), **ResultActivity**.class);
i.putExtra("From", "from@@#graphicViewRoute");
i.putExtra("Pushjson","json@@"+pushjson);
i.addFlags(Intent.FLAG_ACTIVITY_REORDER_TO_FRONT | Intent.FLAG_ACTIVITY_NEW_TASK |Intent.FLAG_ACTIVITY_CLEAR_TOP |Intent.FLAG_ACTIVITY_SINGLE_TOP);
context.startActivity(i);
return true;
}
else if(actionButtonInfo.getButtonId()!=null && actionButtonInfo.getButtonId().equalsIgnoreCase("DD"))
{
Log.e("DD","You clicked DD");
Intent i = new Intent(context.getApplicationContext(), **ResultActivity**.class);
i.putExtra("From", "from@@#ddviewRoute");
i.putExtra("Pushjson","json@@"+pushjson);
i.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TASK);
i.setFlags(Intent.FLAG_ACTIVITY_SINGLE_TOP);
i.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
context.startActivity(i);
return true;
}
return false;
}
ResultActivity.class:
public class ResultActivity extends CordovaActivity{
public static boolean mIsInForegroundMode;
public static String PREF_FILE = "eG_sp";
@Override
public void onCreate(Bundle savedInstanceState)
{
super.onCreate(savedInstanceState);
Log.e("ResultActivity","You ResultActivity");
Bundle extras = getIntent().getExtras();
String pushPage = extras.getString("From");
String pushJSON = extras.getString("Pushjson");
Toast.makeText(getApplicationContext(),"ResultActivity Click",Toast.LENGTH_LONG).show();
Log.e("ResultActivity",pushPage+pushJSON);
SharedPreferences.Editor editor = getSharedPreferences(PREF_FILE, MODE_APPEND).edit();
editor.putString("pushPage", pushPage);
editor.putString("pushJSON",pushJSON);
editor.commit();
super.loadUrl("file:///android_asset/www/index.html");
}
@Override
protected void onPause(){
super.onPause();
mIsInForegroundMode = false;
}
@Override
protected void onResume() {
super.onResume();
mIsInForegroundMode=true;
}
@Override
protected void onStop() {
super.onStop();
mIsInForegroundMode=false;
}
@Override
protected void onStart() {
super.onStart();
mIsInForegroundMode=true;
}
@Override
public void onDestroy() {
LOG.d(TAG, "CordovaActivity.onDestroy()");
super.onDestroy();
mIsInForegroundMode=false;
}
}
|
|
|
|
|
Where is the problem occurring, and which button is Button 1, 2 etc?
|
|
|
|
|
when the button click the activity not opening from notifcation bar at second time.
problem is here
@Override
protected boolean onNotificationOpened(@NonNull Context context, @NonNull NotificationInfo notificationInfo, @NonNull ActionButtonInfo actionButtonInfo) {
Log.i(TAG, "Notification action button opened. Button ID: " + actionButtonInfo.getButtonId() + ". NotificationId: " + notificationInfo.getNotificationId());
Toast.makeText(context.getApplicationContext(),"Button Click",Toast.LENGTH_LONG).show();
Log.e("@@@@@@@ID", String.valueOf(notificationInfo.getNotificationId()));
Log.e("$$", String.valueOf(notificationInfo.getMessage().getAlert()));
Log.e("eGSSSHKJHSHJS", (String) notificationInfo.getMessage().getPushBundle().get("AlarmJson"));
String pushjson=(String) notificationInfo.getMessage().getPushBundle().get("AlarmJson");
if(actionButtonInfo.getButtonId()!=null && actionButtonInfo.getButtonId().equalsIgnoreCase("Graph")) {
Log.e("Graph","You clicked Graph");
Toast.makeText(context.getApplicationContext(),"Graph Click",Toast.LENGTH_LONG).show();
Intent i = new Intent(context.getApplicationContext(), **ResultActivity**.class);
i.putExtra("From", "from@@#graphicViewRoute");
i.putExtra("Pushjson","json@@"+pushjson);
i.addFlags(Intent.FLAG_ACTIVITY_REORDER_TO_FRONT | Intent.FLAG_ACTIVITY_NEW_TASK |Intent.FLAG_ACTIVITY_CLEAR_TOP |Intent.FLAG_ACTIVITY_SINGLE_TOP);
context.startActivity(i);
return true;
}
else if(actionButtonInfo.getButtonId()!=null && actionButtonInfo.getButtonId().equalsIgnoreCase("DD"))
{
Log.e("DD","You clicked DD");
Intent i = new Intent(context.getApplicationContext(), **ResultActivity**.class);
i.putExtra("From", "from@@#ddviewRoute");
i.putExtra("Pushjson","json@@"+pushjson);
i.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TASK);
i.setFlags(Intent.FLAG_ACTIVITY_SINGLE_TOP);
i.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
context.startActivity(i);
return true;
}
return false;
}
|
|
|
|